diff --git a/packages/google-cloud-geminidataanalytics/.OwlBot.yaml b/packages/google-cloud-geminidataanalytics/.OwlBot.yaml
new file mode 100644
index 000000000000..6828edb7cb4f
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.OwlBot.yaml
@@ -0,0 +1,19 @@
+# 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.
+
+deep-copy-regex:
+ - source: /google/cloud/geminidataanalytics/google-cloud-geminidataanalytics-nodejs
+ dest: /owl-bot-staging/google-cloud-geminidataanalytics
+
+api-name: geminidataanalytics
diff --git a/packages/google-cloud-geminidataanalytics/.eslintignore b/packages/google-cloud-geminidataanalytics/.eslintignore
new file mode 100644
index 000000000000..cfc348ec4d11
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.eslintignore
@@ -0,0 +1,7 @@
+**/node_modules
+**/.coverage
+build/
+docs/
+protos/
+system-test/
+samples/generated/
diff --git a/packages/google-cloud-geminidataanalytics/.eslintrc.json b/packages/google-cloud-geminidataanalytics/.eslintrc.json
new file mode 100644
index 000000000000..782153495464
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": "./node_modules/gts"
+}
diff --git a/packages/google-cloud-geminidataanalytics/.gitattributes b/packages/google-cloud-geminidataanalytics/.gitattributes
new file mode 100644
index 000000000000..33739cb74e44
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.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-geminidataanalytics/.gitignore b/packages/google-cloud-geminidataanalytics/.gitignore
new file mode 100644
index 000000000000..d4f03a0df2e8
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.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-geminidataanalytics/.jsdoc.js b/packages/google-cloud-geminidataanalytics/.jsdoc.js
new file mode 100644
index 000000000000..eb80db58176c
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.jsdoc.js
@@ -0,0 +1,55 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// 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 2025 Google LLC',
+ includeDate: false,
+ sourceFiles: false,
+ systemName: '@google-cloud/geminidataanalytics',
+ theme: 'lumen',
+ default: {
+ outputSourceFiles: false
+ }
+ },
+ markdown: {
+ idInHeadings: true
+ }
+};
diff --git a/packages/google-cloud-geminidataanalytics/.mocharc.js b/packages/google-cloud-geminidataanalytics/.mocharc.js
new file mode 100644
index 000000000000..24e9d15257f9
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.mocharc.js
@@ -0,0 +1,33 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+// ** This file is automatically generated by gapic-generator-typescript. **
+// ** https://github.com/googleapis/gapic-generator-typescript **
+// ** All changes to this file may be overwritten. **
+
+const config = {
+ "enable-source-maps": true,
+ "throw-deprecation": true,
+ "timeout": 10000
+}
+if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
+ delete config['throw-deprecation'];
+}
+if (process.env.MOCHA_REPORTER) {
+ config.reporter = process.env.MOCHA_REPORTER;
+}
+if (process.env.MOCHA_REPORTER_OUTPUT) {
+ config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
+}
+module.exports = config
diff --git a/packages/google-cloud-geminidataanalytics/.nycrc b/packages/google-cloud-geminidataanalytics/.nycrc
new file mode 100644
index 000000000000..81a95fc94b00
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.nycrc
@@ -0,0 +1,24 @@
+{
+ "report-dir": "./.coverage",
+ "reporter": ["text", "lcov"],
+ "exclude": [
+ "**/*-test",
+ "**/.coverage",
+ "**/apis",
+ "**/benchmark",
+ "**/conformance",
+ "**/docs",
+ "**/samples",
+ "**/scripts",
+ "**/protos",
+ "**/test",
+ "**/*.d.ts",
+ ".jsdoc.js",
+ "**/.jsdoc.js",
+ "karma.conf.js",
+ "webpack-tests.config.js",
+ "webpack.config.js"
+ ],
+ "exclude-after-remap": false,
+ "all": true
+}
\ No newline at end of file
diff --git a/packages/google-cloud-geminidataanalytics/.prettierignore b/packages/google-cloud-geminidataanalytics/.prettierignore
new file mode 100644
index 000000000000..9340ad9b86d3
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.prettierignore
@@ -0,0 +1,6 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
diff --git a/packages/google-cloud-geminidataanalytics/.prettierrc.js b/packages/google-cloud-geminidataanalytics/.prettierrc.js
new file mode 100644
index 000000000000..d89a632f90b0
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.prettierrc.js
@@ -0,0 +1,22 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+// ** This file is automatically generated by gapic-generator-typescript. **
+// ** https://github.com/googleapis/gapic-generator-typescript **
+// ** All changes to this file may be overwritten. **
+
+
+module.exports = {
+ ...require('gts/.prettierrc.json')
+}
diff --git a/packages/google-cloud-geminidataanalytics/.repo-metadata.json b/packages/google-cloud-geminidataanalytics/.repo-metadata.json
new file mode 100644
index 000000000000..4ec127807b7c
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/.repo-metadata.json
@@ -0,0 +1,17 @@
+{
+ "name": "geminidataanalytics",
+ "name_pretty": "Data Analytics API with Gemini",
+ "product_documentation": "https://cloud.google.com/gemini/docs/conversational-analytics-api/overview",
+ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/geminidataanalytics/latest",
+ "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
+ "release_level": "preview",
+ "language": "nodejs",
+ "repo": "googleapis/google-cloud-node",
+ "distribution_name": "@google-cloud/geminidataanalytics",
+ "api_id": "geminidataanalytics.googleapis.com",
+ "default_version": "v1beta",
+ "requires_billing": true,
+ "library_type": "GAPIC_AUTO",
+ "api_shortname": "geminidataanalytics"
+}
+
diff --git a/packages/google-cloud-geminidataanalytics/CODE_OF_CONDUCT.md b/packages/google-cloud-geminidataanalytics/CODE_OF_CONDUCT.md
new file mode 100644
index 000000000000..2add2547a812
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/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-geminidataanalytics/CONTRIBUTING.md b/packages/google-cloud-geminidataanalytics/CONTRIBUTING.md
new file mode 100644
index 000000000000..bca2caebdc76
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/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 Geminidataanalytics 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=geminidataanalytics.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
\ No newline at end of file
diff --git a/packages/google-cloud-geminidataanalytics/LICENSE b/packages/google-cloud-geminidataanalytics/LICENSE
new file mode 100644
index 000000000000..d64569567334
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/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-geminidataanalytics/README.md b/packages/google-cloud-geminidataanalytics/README.md
new file mode 100644
index 000000000000..998a76f6a4f1
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/README.md
@@ -0,0 +1,141 @@
+[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
+[//]: # "The comments you see below are used to generate those parts of the template in later states."
+
+
+# [Data Analytics API with Gemini: Nodejs Client][homepage]
+
+This library is considered to be in **preview**. This means it is still a
+work-in-progress and under active development. Any release is subject to
+backwards-incompatible changes at any time.
+
+[](https://www.npmjs.org/package/@google-cloud/geminidataanalytics)
+
+Data Analytics API with Gemini client for Node.js
+
+[//]: # "partials.introduction"
+
+A comprehensive list of changes in each version may be found in
+[the CHANGELOG][homepage_changelog].
+
+* [Data Analytics API with Gemini Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/geminidataanalytics/latest)
+* [Data Analytics API with Gemini Documentation](https://cloud.google.com/gemini/docs/conversational-analytics-api/overview)
+
+Read more about the client libraries for Cloud APIs, including the older
+Google APIs Client Libraries, in [Client Libraries Explained][explained].
+
+[explained]: https://cloud.google.com/apis/docs/client-libraries-explained
+
+**Table of contents:**
+
+* [Quickstart](#quickstart)
+ * [Before you begin](#before-you-begin)
+ * [Installing the client library](#installing-the-client-library)
+
+* [Versioning](#versioning)
+* [Contributing](#contributing)
+* [License](#license)
+
+## Quickstart
+### Before you begin
+
+1. [Select or create a Cloud Platform project][projects].
+1. [Enable billing for your project][billing].
+1. [Enable the Data Analytics API with Gemini API][enable_api].
+1. [Set up authentication][auth] so you can access the
+ API from your local workstation.
+### Installing the client library
+
+```bash
+npm install @google-cloud/geminidataanalytics
+```
+
+[//]: # "partials.body"
+
+## Samples
+
+Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample.
+
+| Sample | Source Code |
+| --------------------------- | --------------------------------- |
+| create data agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_agent_service.create_data_agent.js) |
+| delete data agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_agent_service.delete_data_agent.js) |
+| get data agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_agent_service.get_data_agent.js) |
+| get iam policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_agent_service.get_iam_policy.js) |
+| list accessible data agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_agent_service.list_accessible_data_agents.js) |
+| list data agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_agent_service.list_data_agents.js) |
+| set iam policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_agent_service.set_iam_policy.js) |
+| update data agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_agent_service.update_data_agent.js) |
+| chat | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_chat_service.chat.js) |
+| create conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_chat_service.create_conversation.js) |
+| delete conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_chat_service.delete_conversation.js) |
+| get conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_chat_service.get_conversation.js) |
+| list conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_chat_service.list_conversations.js) |
+| list messages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/data_chat_service.list_messages.js) |
+| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1alpha/snippet_metadata_google.cloud.geminidataanalytics.v1alpha.json) |
+| create data agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_agent_service.create_data_agent.js) |
+| delete data agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_agent_service.delete_data_agent.js) |
+| get data agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_agent_service.get_data_agent.js) |
+| get iam policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_agent_service.get_iam_policy.js) |
+| list accessible data agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_agent_service.list_accessible_data_agents.js) |
+| list data agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_agent_service.list_data_agents.js) |
+| set iam policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_agent_service.set_iam_policy.js) |
+| update data agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_agent_service.update_data_agent.js) |
+| chat | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_chat_service.chat.js) |
+| create conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_chat_service.create_conversation.js) |
+| get conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_chat_service.get_conversation.js) |
+| list conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_chat_service.list_conversations.js) |
+| list messages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/data_chat_service.list_messages.js) |
+| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples/generated/v1beta/snippet_metadata_google.cloud.geminidataanalytics.v1beta.json) |
+
+
+## Supported Node.js Versions
+
+Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
+Libraries are compatible with all current _active_ and _maintenance_ versions of
+Node.js.
+If you are using an end-of-life version of Node.js, we recommend that you update
+as soon as possible to an actively supported LTS version.
+
+Google's client libraries support legacy versions of Node.js runtimes on a
+best-efforts basis with the following warnings:
+
+* Legacy versions are not tested in continuous integration.
+* Some security patches and features cannot be backported.
+* Dependencies cannot be kept up-to-date.
+
+Client libraries targeting some end-of-life versions of Node.js are available, and
+can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
+The dist-tags follow the naming convention `legacy-(version)`.
+For example, `npm install @google-cloud/geminidataanalytics@legacy-8` installs client libraries
+for versions compatible with Node.js 8.
+
+## Versioning
+
+This library follows [Semantic Versioning](http://semver.org/).
+
+More Information: [Google Cloud Platform Launch Stages][launch_stages]
+
+[launch_stages]: https://cloud.google.com/terms/launch-stages
+
+## Contributing
+
+Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/CONTRIBUTING.md).
+
+Please note that this `README.md`
+and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
+are generated from a central template.
+
+## License
+
+Apache Version 2.0
+
+See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/LICENSE)
+
+[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
+[projects]: https://console.cloud.google.com/project
+[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
+[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=geminidataanalytics.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
+[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/samples
+[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics/CHANGELOG.md
+[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-geminidataanalytics
diff --git a/packages/google-cloud-geminidataanalytics/package.json b/packages/google-cloud-geminidataanalytics/package.json
new file mode 100644
index 000000000000..acdffea27dc4
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@google-cloud/geminidataanalytics",
+ "version": "0.0.0",
+ "description": "Data Analytics API with Gemini client for Node.js",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/googleapis/google-cloud-node.git",
+ "directory": "packages/google-cloud-geminidataanalytics"
+ },
+ "license": "Apache-2.0",
+ "author": "Google LLC",
+ "main": "build/src/index.js",
+ "files": [
+ "build/src",
+ "build/protos"
+ ],
+ "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-geminidataanalytics",
+ "keywords": [
+ "google apis client",
+ "google api client",
+ "google apis",
+ "google api",
+ "google",
+ "google cloud platform",
+ "google cloud",
+ "cloud",
+ "google geminidataanalytics",
+ "geminidataanalytics",
+ "Data Analytics API with Gemini"
+ ],
+ "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",
+ "postpack": "minifyProtoJson",
+ "prepare": "npm run compile",
+ "system-test": "c8 mocha build/system-test",
+ "test": "c8 mocha build/test",
+ "samples-test": "cd samples/ && npm link ../ && npm i && npm test",
+ "prelint": "cd samples; npm link ../; npm i"
+ },
+ "dependencies": {
+ "google-gax": "^5.0.0"
+ },
+ "devDependencies": {
+ "@types/mocha": "^10.0.10",
+ "@types/node": "^22.13.9",
+ "@types/sinon": "^17.0.4",
+ "c8": "^10.1.3",
+ "gapic-tools": "^1.0.0",
+ "gts": "^6.0.2",
+ "jsdoc": "^4.0.4",
+ "jsdoc-fresh": "^4.0.0",
+ "jsdoc-region-tag": "^3.0.0",
+ "linkinator": "^6.1.2",
+ "long": "^5.3.1",
+ "mocha": "^11.1.0",
+ "pack-n-play": "^3.0.0",
+ "sinon": "^21.0.0",
+ "typescript": "^5.8.2"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/context.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/context.proto
new file mode 100644
index 000000000000..ad72289556b1
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/context.proto
@@ -0,0 +1,192 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1alpha;
+
+import "google/api/field_behavior.proto";
+import "google/cloud/geminidataanalytics/v1alpha/datasource.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Alpha";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1alpha/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "ContextProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1alpha";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1alpha";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1alpha";
+
+// A collection of context to apply to this conversation
+message Context {
+ // The relationship between two tables, including referencing and referenced
+ // columns. This is a derived context retrieved from Dataplex Dataset
+ // Insights.
+ message SchemaRelationship {
+ // Represents an ordered set of paths within the table schema.
+ message SchemaPaths {
+ // The service-qualified full resource name of the table
+ // Ex:
+ // bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
+ string table_fqn = 1;
+
+ // The ordered list of paths within the table schema.
+ repeated string paths = 2;
+ }
+
+ // Source which generated the schema relation edge.
+ enum Source {
+ // The source of the schema relationship is unspecified.
+ SOURCE_UNSPECIFIED = 0;
+
+ // The source of the schema relationship is BigQuery job history.
+ BIGQUERY_JOB_HISTORY = 1;
+
+ // The source of the schema relationship is LLM suggested.
+ LLM_SUGGESTED = 2;
+
+ // The source of the schema relationship is BigQuery table constraints.
+ BIGQUERY_TABLE_CONSTRAINTS = 3;
+ }
+
+ // An ordered list of fields for the join from the first table.
+ // The size of this list must be the same as `right_schema_paths`.
+ // Each field at index i in this list must correspond to a field at the same
+ // index in the `right_schema_paths` list.
+ SchemaPaths left_schema_paths = 1;
+
+ // An ordered list of fields for the join from the second table.
+ // The size of this list must be the same as `left_schema_paths`.
+ // Each field at index i in this list must correspond to a field at the same
+ // index in the `left_schema_paths` list.
+ SchemaPaths right_schema_paths = 2;
+
+ // Sources which generated the schema relation edge.
+ repeated Source sources = 3;
+
+ // A confidence score for the suggested relationship.
+ // Manually added edges have the highest confidence score.
+ float confidence_score = 4;
+ }
+
+ // Optional. The basic entry point for data owners creating domain knowledge
+ // for Agent.
+ //
+ // Why: Business jargon (e.g., YTD revenue is calculated as…, Retirement Age
+ // is 65 in the USA, etc) and system instructions (e.g., answer like a Pirate)
+ // can help the model understand the business context around a user question.
+ string system_instruction = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. Data sources that are available for answering the question.
+ DatasourceReferences datasource_references = 7
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Additional options for the conversation.
+ ConversationOptions options = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of example queries, providing examples of relevant and
+ // commonly used SQL queries and their corresponding natural language queries
+ // optionally present. Currently only used for BigQuery data sources.
+ repeated ExampleQuery example_queries = 5
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Term definitions (currently, only user authored)
+ repeated GlossaryTerm glossary_terms = 8
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Relationships between table schema, including referencing and
+ // referenced columns.
+ repeated SchemaRelationship schema_relationships = 9
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Example of relevant and commonly used SQL query and its corresponding natural
+// language queries optionally present. Currently only used for BigQuery data
+// sources.
+message ExampleQuery {
+ // The SQL or Looker query that should be generated to answer the natural
+ // language query.
+ oneof query {
+ // Optional. The SQL query that should be generated to answer the natural
+ // language question. For example: "SELECT COUNT(*) FROM orders WHERE
+ // order_date BETWEEN '2024-01-01' AND '2024-01-31'"
+ string sql_query = 101 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. A natural language question that a user might ask.
+ // For example: "How many orders were placed last month?"
+ string natural_language_question = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Definition of a term within a specific domain.
+message GlossaryTerm {
+ // Required. User friendly display name of the glossary term being defined.
+ // For example: "CTR", "conversion rate", "pending"
+ string display_name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The description or meaning of the term.
+ // For example: "Click-through rate", "The percentage of users who complete a
+ // desired action", "An order that is waiting to be processed."
+ string description = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. A list of general purpose labels associated to this term.
+ // For example: ["click rate", "clickthrough", "waiting"]
+ repeated string labels = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Options for the conversation.
+message ConversationOptions {
+ // Optional. Options for chart generation.
+ ChartOptions chart = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Options for analysis.
+ AnalysisOptions analysis = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Options for chart generation.
+message ChartOptions {
+ // Options for rendering images of generated charts.
+ message ImageOptions {
+ // No image.
+ message NoImage {}
+
+ // SVG options.
+ message SvgOptions {}
+
+ // The kind of image to render.
+ oneof kind {
+ // No image.
+ NoImage no_image = 1;
+
+ // SVG format.
+ SvgOptions svg = 2;
+ }
+ }
+
+ // Optional. When specified, the agent will render generated charts using the
+ // provided format. Defaults to no image.
+ ImageOptions image = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Options for analysis.
+message AnalysisOptions {
+ // Options for Python analysis.
+ message Python {
+ // Optional. Whether to enable Python analysis.
+ // Defaults to false.
+ bool enabled = 1 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. Options for Python analysis.
+ Python python = 1 [(google.api.field_behavior) = OPTIONAL];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/conversation.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/conversation.proto
new file mode 100644
index 000000000000..a9936ab1f6df
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/conversation.proto
@@ -0,0 +1,167 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1alpha;
+
+import "google/api/field_behavior.proto";
+import "google/api/field_info.proto";
+import "google/api/resource.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Alpha";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1alpha/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "ConversationProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1alpha";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1alpha";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1alpha";
+
+// Message for a conversation.
+message Conversation {
+ option (google.api.resource) = {
+ type: "geminidataanalytics.googleapis.com/Conversation"
+ pattern: "projects/{project}/locations/{location}/conversations/{conversation}"
+ plural: "conversations"
+ singular: "conversation"
+ };
+
+ // Optional. Identifier. The unique resource name of a conversation. Format:
+ // `projects/{project}/locations/{location}/conversations/{conversation_id}`
+ // `{conversation_id}` is the resource id and should be 63 characters or less
+ // and must match the format described in
+ // https://google.aip.dev/122#resource-id-segments
+ //
+ // Example:
+ // `projects/1234567890/locations/global/conversations/my-conversation`.
+ //
+ // It is recommended to skip setting this field during conversation creation
+ // as it will be inferred automatically and overwritten with the
+ // {parent}/conversations/{conversation_id}.
+ string name = 1 [
+ (google.api.field_behavior) = OPTIONAL,
+ (google.api.field_behavior) = IDENTIFIER
+ ];
+
+ // Required. Agent(s) in the conversation.
+ // Currently, only one agent is supported. This field is repeated to allow
+ // for future support of multiple agents in a conversation.
+ // Format: `projects/{project}/locations/{location}/dataAgents/{agent}`
+ repeated string agents = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Creation timestamp.
+ google.protobuf.Timestamp create_time = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Timestamp of the last used conversation.
+ google.protobuf.Timestamp last_used_time = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Open-ended and user-defined labels that can be set by the client
+ // to tag a conversation (e.g. to filter conversations for specific
+ // surfaces/products).
+ map labels = 9 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request for creating a conversation.
+message CreateConversationRequest {
+ // Required. Parent value for CreateConversationRequest.
+ // Format: `projects/{project}/locations/{location}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+
+ // Optional. The conversation id of the conversation to create.
+ // Must be unique within the parent.
+ // The allowed format is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ // If not provided, the server will auto-generate a value for the id.
+ string conversation_id = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. The conversation to create.
+ Conversation conversation = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. An optional request ID to identify requests. Specify a unique
+ // request ID so that if you must retry your request, the server will know to
+ // ignore the request if it has already been completed. The server will
+ // guarantee that for at least 60 minutes since the first request.
+ string request_id = 4 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Request for getting a conversation based on parent and conversation id.
+message GetConversationRequest {
+ // Required. Name of the resource.
+ // Format:
+ // `projects/{project}/locations/{location}/conversations/{conversation}`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+}
+
+// Request for listing conversations based on parent.
+message ListConversationsRequest {
+ // Required. Parent value for ListConversationsRequest.
+ // Format: `projects/{project}/locations/{location}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+
+ // Optional. Requested page size. Server may return fewer items than
+ // requested. The max page size is 100. All larger page sizes will be coerced
+ // to 100. If unspecified, server will pick 50 as an approperiate default.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A token identifying a page of results the server should return.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Returned conversations will match criteria specified within the
+ // filter. ListConversations allows filtering by:
+ // * agents
+ // * labels
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message for response to listing conversations.
+message ListConversationsResponse {
+ // The list of conversations.
+ repeated Conversation conversations = 1;
+
+ // A token identifying a page of results the server should return.
+ string next_page_token = 2;
+}
+
+// Request for deleting a conversation based on parent and conversation id.
+message DeleteConversationRequest {
+ // Required. Name of the resource.
+ // Format:
+ // `projects/{project}/locations/{location}/conversations/{conversation}`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/credentials.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/credentials.proto
new file mode 100644
index 000000000000..fdd6195fa5b1
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/credentials.proto
@@ -0,0 +1,66 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1alpha;
+
+import "google/api/field_behavior.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Alpha";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1alpha/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "CredentialsProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1alpha";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1alpha";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1alpha";
+
+// Represents different forms of credential specification.
+message Credentials {
+ // The kind of credentials.
+ // }
+ oneof kind {
+ // OAuth credentials.
+ OAuthCredentials oauth = 1;
+ }
+}
+
+// Represents OAuth credentials.
+message OAuthCredentials {
+ // The name of the secret containing the access token.
+ // Represents secret-based OAuth credentials.
+ message SecretBased {
+ // Required. An OAuth client ID.
+ string client_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. An OAuth client secret.
+ string client_secret = 3 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Read more about Looker access tokens here:
+ // https://developers.looker.com/api/advanced-usage/looker-api-oauth
+ message TokenBased {
+ // Required. The name of the secret containing the access token.
+ string access_token = 1 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // The kind of OAuth credentials.
+ oneof kind {
+ // Secret-based OAuth credentials.
+ SecretBased secret = 2;
+
+ // Token-based OAuth credentials.
+ TokenBased token = 3;
+ }
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_agent.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_agent.proto
new file mode 100644
index 000000000000..632ed53a410b
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_agent.proto
@@ -0,0 +1,101 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1alpha;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/geminidataanalytics/v1alpha/data_analytics_agent.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Alpha";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1alpha/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DataAgentProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1alpha";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1alpha";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1alpha";
+
+// Message describing a DataAgent object.
+message DataAgent {
+ option (google.api.resource) = {
+ type: "geminidataanalytics.googleapis.com/DataAgent"
+ pattern: "projects/{project}/locations/{location}/dataAgents/{data_agent}"
+ plural: "dataAgents"
+ singular: "dataAgent"
+ };
+
+ // The type of the agent. Can be one of the following:
+ // * Data analytics agent.
+ // * Data engineering agent
+ oneof type {
+ // Data analytics agent.
+ DataAnalyticsAgent data_analytics_agent = 101;
+ }
+
+ // Optional. Identifier. The unique resource name of a DataAgent.
+ // Format:
+ // `projects/{project}/locations/{location}/dataAgents/{data_agent_id}`
+ // `{data_agent}` is the resource id and should be 63 characters or less and
+ // must match the format described in
+ // https://google.aip.dev/122#resource-id-segments
+ //
+ // Example: `projects/1234567890/locations/global/dataAgents/my-agent`.
+ //
+ // It is recommended to skip setting this field during agent creation as it
+ // will be inferred automatically and overwritten with the
+ // {parent}/dataAgents/{data_agent_id}.
+ string name = 1 [
+ (google.api.field_behavior) = OPTIONAL,
+ (google.api.field_behavior) = IDENTIFIER
+ ];
+
+ // Optional. User friendly display name.
+ //
+ // * Must be between 1-256 characters.
+ string display_name = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Description of the agent.
+ //
+ // * Must be between 1-1024 characters.
+ string description = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Labels to help users filter related agents.
+ // For example, "sales", "business", "etl", and so on.
+ // Note labels are used only for filtering and not for policies.
+ // See the [labels
+ // documentation](https://cloud.google.com/resource-manager/docs/labels-overview)
+ // for more details on label usage.
+ map labels = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. The time when the data agent was created.
+ google.protobuf.Timestamp create_time = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the data agent was last updated.
+ google.protobuf.Timestamp update_time = 8
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. [Output only] The time the data agent was soft deleted.
+ google.protobuf.Timestamp delete_time = 12
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Timestamp in UTC of when this data agent is considered
+ // expired. This is *always* provided on output, regardless of what was sent
+ // on input.
+ google.protobuf.Timestamp purge_time = 13
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_agent_service.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_agent_service.proto
new file mode 100644
index 000000000000..76a6df6858b8
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_agent_service.proto
@@ -0,0 +1,385 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1alpha;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/field_info.proto";
+import "google/api/resource.proto";
+import "google/cloud/geminidataanalytics/v1alpha/data_agent.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/longrunning/operations.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Alpha";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1alpha/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DataAgentServiceProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1alpha";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1alpha";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1alpha";
+
+// Service describing handlers for resources.
+service DataAgentService {
+ option (google.api.default_host) = "geminidataanalytics.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists DataAgents in a given project and location.
+ rpc ListDataAgents(ListDataAgentsRequest) returns (ListDataAgentsResponse) {
+ option (google.api.http) = {
+ get: "/v1alpha/{parent=projects/*/locations/*}/dataAgents"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Lists DataAgents that are accessible to the caller in a given project and
+ // location.
+ rpc ListAccessibleDataAgents(ListAccessibleDataAgentsRequest)
+ returns (ListAccessibleDataAgentsResponse) {
+ option (google.api.http) = {
+ get: "/v1alpha/{parent=projects/*/locations/*}/dataAgents:listAccessible"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single DataAgent.
+ rpc GetDataAgent(GetDataAgentRequest) returns (DataAgent) {
+ option (google.api.http) = {
+ get: "/v1alpha/{name=projects/*/locations/*/dataAgents/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new DataAgent in a given project and location.
+ rpc CreateDataAgent(CreateDataAgentRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1alpha/{parent=projects/*/locations/*}/dataAgents"
+ body: "data_agent"
+ };
+ option (google.api.method_signature) = "parent,data_agent,data_agent_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "DataAgent"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Updates the parameters of a single DataAgent.
+ rpc UpdateDataAgent(UpdateDataAgentRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1alpha/{data_agent.name=projects/*/locations/*/dataAgents/*}"
+ body: "data_agent"
+ };
+ option (google.api.method_signature) = "data_agent,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "DataAgent"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single DataAgent.
+ rpc DeleteDataAgent(DeleteDataAgentRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1alpha/{name=projects/*/locations/*/dataAgents/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Gets the IAM policy for DataAgent
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1alpha/{resource=projects/*/locations/*/dataAgents/*}:getIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource";
+ }
+
+ // Sets the IAM policy for a DataAgent.
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1alpha/{resource=projects/*/locations/*/dataAgents/*}:setIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource";
+ }
+}
+
+// Message for requesting list of DataAgents.
+message ListDataAgentsRequest {
+ // Required. Parent value for ListDataAgentsRequest.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. Server may return fewer items than requested.
+ // If unspecified, server will pick an appropriate default.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListDataAgents` call.
+ // Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other parameters provided to `ListDataAgents` must
+ // match the call that provided the page token. The service may return fewer
+ // than this value.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
+ // syntax.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. User specification for how to order the results.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If true, the list results will include soft-deleted DataAgents.
+ // Defaults to false.
+ bool show_deleted = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message for response to listing DataAgents.
+message ListDataAgentsResponse {
+ // The list of DataAgent.
+ repeated DataAgent data_agents = 1;
+
+ // The next page token or empty if none.
+ string next_page_token = 2;
+
+ // Unordered list. Locations that could not be reached.
+ repeated string unreachable = 3
+ [(google.api.field_behavior) = UNORDERED_LIST];
+}
+
+// Message for requesting list of accessible DataAgents.
+message ListAccessibleDataAgentsRequest {
+ // Filter for the creator of the agent.
+ enum CreatorFilter {
+ // Default value.
+ CREATOR_FILTER_UNSPECIFIED = 0;
+
+ // No creator-specific filter will be applied. All agents will be returned.
+ NONE = 1;
+
+ // Only agents created by the user calling the API will be returned.
+ CREATOR_ONLY = 2;
+
+ // Only agents not created by the user calling the API will be returned.
+ NOT_CREATOR_ONLY = 3;
+ }
+
+ // Required. Parent value for ListAccessibleDataAgentsRequest.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. Server may return fewer items than requested.
+ // If unspecified, server will pick an appropriate default.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListAccessibleDataAgents`
+ // call. Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other parameters provided to
+ // `ListAccessibleDataAgents` must match the call that provided the page
+ // token. The service may return fewer than this value.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
+ // syntax.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. User specification for how to order the results.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If true, the list results will include soft-deleted DataAgents.
+ // Defaults to false.
+ bool show_deleted = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter for the creator of the agent.
+ CreatorFilter creator_filter = 7 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message for response to listing accessible DataAgents.
+message ListAccessibleDataAgentsResponse {
+ // The list of accessible DataAgent.
+ repeated DataAgent data_agents = 1;
+
+ // The next page token or empty if none.
+ string next_page_token = 2;
+
+ // Unordered list. Locations that could not be reached.
+ repeated string unreachable = 3
+ [(google.api.field_behavior) = UNORDERED_LIST];
+}
+
+// Message for getting a DataAgent.
+message GetDataAgentRequest {
+ // Required. Name of the resource.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+}
+
+// Message for creating a DataAgent.
+message CreateDataAgentRequest {
+ // Required. Value for parent.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. Id of the requesting object. Must be unique within the parent.
+ // The allowed format is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ // If not provided, the server will auto-generate a value for the id.
+ string data_agent_id = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. The resource being created.
+ DataAgent data_agent = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. An optional request ID to identify requests. Specify a unique
+ // request ID so that if you must retry your request, the server will know to
+ // ignore the request if it has already been completed. The server will
+ // guarantee that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request
+ // ID, the server can check if original operation with the same request ID
+ // was received, and if so, will ignore the second request. This prevents
+ // clients from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 4 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Message for updating a DataAgent.
+message UpdateDataAgentRequest {
+ // Optional. Field mask is used to specify the fields to be overwritten in the
+ // DataAgent resource by the update.
+ // The fields specified in the update_mask are relative to the resource, not
+ // the full request. A field will be overwritten if it is in the mask. If the
+ // user does not provide a mask then all fields with non-default values
+ // present in the request will be overwritten. If a wildcard mask is provided,
+ // all fields will be overwritten.
+ google.protobuf.FieldMask update_mask = 1
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. The resource being updated.
+ DataAgent data_agent = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. An optional request ID to identify requests. Specify a unique
+ // request ID so that if you must retry your request, the server will know to
+ // ignore the request if it has already been completed. The server will
+ // guarantee that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request
+ // ID, the server can check if original operation with the same request ID
+ // was received, and if so, will ignore the second request. This prevents
+ // clients from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 3 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Message for deleting a DataAgent.
+message DeleteDataAgentRequest {
+ // Required. Name of the resource.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. An optional request ID to identify requests. Specify a unique
+ // request ID so that if you must retry your request, the server will know to
+ // ignore the request if it has already been completed. The server will
+ // guarantee that for at least 60 minutes after the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request
+ // ID, the server can check if original operation with the same request ID
+ // was received, and if so, will ignore the second request. This prevents
+ // clients from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 2 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Represents the metadata of the long-running operation.
+message OperationMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Server-defined resource path for the target of the operation.
+ string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Name of the verb executed by the operation.
+ string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Human-readable status of the operation, if any.
+ string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Identifies whether the user has requested cancellation
+ // of the operation. Operations that have been cancelled successfully
+ // have [Operation.error][] value with a
+ // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+ // `Code.CANCELLED`.
+ bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. API version used to start the operation.
+ string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_analytics_agent.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_analytics_agent.proto
new file mode 100644
index 000000000000..69dbc96a6169
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_analytics_agent.proto
@@ -0,0 +1,46 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1alpha;
+
+import "google/api/field_behavior.proto";
+import "google/cloud/geminidataanalytics/v1alpha/context.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Alpha";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1alpha/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DataAnalyticsAgentProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1alpha";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1alpha";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1alpha";
+
+// Message describing a DataAnalyticsAgent object.
+message DataAnalyticsAgent {
+ // Optional. The staging context for the agent.
+ // This context is used to test and validate changes before publishing.
+ Context staging_context = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The published context for the agent.
+ // This context is used by the Chat API in production.
+ Context published_context = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. The last published context for the agent.
+ // This is an output-only field populated by the system when the
+ // published context is updated. It is used to restore the agent to a
+ // previous state.
+ Context last_published_context = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_chat_service.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_chat_service.proto
new file mode 100644
index 000000000000..ab3bf466e1a3
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/data_chat_service.proto
@@ -0,0 +1,605 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1alpha;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/geminidataanalytics/v1alpha/context.proto";
+import "google/cloud/geminidataanalytics/v1alpha/conversation.proto";
+import "google/cloud/geminidataanalytics/v1alpha/credentials.proto";
+import "google/cloud/geminidataanalytics/v1alpha/datasource.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/struct.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Alpha";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1alpha/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DataChatServiceProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1alpha";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1alpha";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1alpha";
+
+// Service to ask a natural language question on top of BigQuery
+// and Looker Studio datasources to get back streamed responses of various kinds
+// to help provide a rich conversational answer.
+service DataChatService {
+ option (google.api.default_host) = "geminidataanalytics.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ // Answers a data question by generating a stream of
+ // [Message][google.cloud.geminidataanalytics.v1alpha.Message] objects.
+ rpc Chat(ChatRequest) returns (stream Message) {
+ option (google.api.http) = {
+ post: "/v1alpha/{parent=projects/*/locations/*}:chat"
+ body: "*"
+ };
+ }
+
+ // Creates a new conversation to persist the conversation history. Each
+ // conversation will have multiple messages associated with it.
+ rpc CreateConversation(CreateConversationRequest) returns (Conversation) {
+ option (google.api.http) = {
+ post: "/v1alpha/{parent=projects/*/locations/*}/conversations"
+ body: "conversation"
+ };
+ option (google.api.method_signature) =
+ "parent,conversation,conversation_id";
+ }
+
+ // Deletes a conversation.
+ rpc DeleteConversation(DeleteConversationRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1alpha/{name=projects/*/locations/*/conversations/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets details of a single conversation by using conversation id and parent.
+ rpc GetConversation(GetConversationRequest) returns (Conversation) {
+ option (google.api.http) = {
+ get: "/v1alpha/{name=projects/*/locations/*/conversations/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists all conversations for a given parent.
+ rpc ListConversations(ListConversationsRequest)
+ returns (ListConversationsResponse) {
+ option (google.api.http) = {
+ get: "/v1alpha/{parent=projects/*/locations/*}/conversations"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Lists all messages for a given conversation.
+ rpc ListMessages(ListMessagesRequest) returns (ListMessagesResponse) {
+ option (google.api.http) = {
+ get: "/v1alpha/{parent=projects/*/locations/*/conversations/*}/messages"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+}
+
+// Request for listing chat messages based on parent and conversation_id.
+message ListMessagesRequest {
+ // Required. The conversation to list messages under.
+ // Format:
+ // `projects/{project}/locations/{location}/conversations/{conversation_id}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+
+ // Optional. Requested page size. Server may return fewer items than
+ // requested. The max page size is 100. All larger page sizes will be coerced
+ // to 100. If unspecified, server will pick 50 as an approperiate default.
+ int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A token identifying a page of results the server should return.
+ string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
+ // syntax.
+ //
+ // ListMessages allows filtering by:
+ // * create_time (e.g., `createTime > "2025-01-28T06:51:56-08:00"`)
+ // * update_time
+ string filter = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response for listing chat messages.
+message ListMessagesResponse {
+ // The list of chat messages.
+ repeated StorageMessage messages = 1;
+
+ // A token identifying a page of results the server should return.
+ string next_page_token = 2;
+}
+
+// A stored message containing user message or system message.
+message StorageMessage {
+ // The unique resource name of a chat message.
+ string message_id = 1;
+
+ // The message content.
+ Message message = 2;
+}
+
+// Request for Chat.
+message ChatRequest {
+ // Context Provider for the chat request.
+ // It can either be -
+ // inline_context, which is a context provided inline in the request.
+ // data_agent, which is a reference to a data agent resource.
+ // conversation_reference, which is a reference to a persisted conversation
+ // and context using conversation_id and agent_id.
+ oneof context_provider {
+ // Optional. Inline context for the chat request. Use this to chat
+ // statelessly (without managed conversation persistence and without an
+ // Agent) by passing all context inline.
+ Context inline_context = 101 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Reference to a persisted conversation and agent context.
+ // Use this to chat with an Agent using managed conversation persistence.
+ ConversationReference conversation_reference = 103
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Context for the chat request. Use this to chat with an Agent
+ // statelessly, without managed conversation persistence.
+ DataAgentContext data_agent_context = 104
+ [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. The Google Cloud project to be used for quota and billing.
+ string project = 1 [
+ deprecated = true,
+ (google.api.field_behavior) = OPTIONAL,
+ (google.api.resource_reference) = {
+ type: "cloudresourcemanager.googleapis.com/Project"
+ }
+ ];
+
+ // Required. The parent value for chat request.
+ // Pattern: `projects/{project}/locations/{location}`
+ string parent = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Content of current conversation.
+ repeated Message messages = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Context for the chat request using a data agent.
+message DataAgentContext {
+ // List of context versions supported by DCS.
+ // There are two versions of context. This is to maintain versioning for the
+ // data agent.
+ enum ContextVersion {
+ // Unspecified or unrecognized.
+ CONTEXT_VERSION_UNSPECIFIED = 0;
+
+ // Using this version, DCS will use the latest staging context for the
+ // data agent.
+ STAGING = 1;
+
+ // Using this version, DCS will use the latest published context for the
+ // data agent.
+ PUBLISHED = 2;
+ }
+
+ // Required. The name of the data agent resource.
+ string data_agent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. The credentials to use when calling the Looker data source.
+ //
+ // Currently supports both OAuth token and API key-based credentials, as
+ // described in
+ // [Authentication with an
+ // SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ Credentials credentials = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Version of context to be used by DCS (e.g. STAGING, PUBLISHED)
+ ContextVersion context_version = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Reference to a persisted conversation and agent context.
+message ConversationReference {
+ // Required. Name of the conversation resource.
+ // Format:
+ // `projects/{project}/locations/{location}/conversations/{conversation_id}`
+ string conversation = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+
+ // Required. Context for the chat request using a data agent.
+ DataAgentContext data_agent_context = 3
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// A message from an interaction between the user and the system.
+message Message {
+ // The kind of message.
+ oneof kind {
+ // A message from the user that is interacting with the system.
+ UserMessage user_message = 2;
+
+ // A message from the system in response to the user.
+ SystemMessage system_message = 3;
+ }
+
+ // Output only. For user messages, this is the time at which the system
+ // received the message. For system messages, this is the time at which the
+ // system generated the message.
+ google.protobuf.Timestamp timestamp = 1
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. unique id of the message in the conversation for persistence.
+ string message_id = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A message from the user that is interacting with the system.
+message UserMessage {
+ // The kind of content in the user message.
+ oneof kind {
+ // Text should use this field instead of blob.
+ string text = 1;
+ }
+}
+
+// A message from the system in response to the user. This message can also be a
+// message from the user as historical context for multiturn conversations with
+// the system.
+message SystemMessage {
+ // The kind of content in the system message.
+ oneof kind {
+ // A direct natural language response to the user message.
+ TextMessage text = 1;
+
+ // A message produced during schema resolution.
+ SchemaMessage schema = 2;
+
+ // A message produced during data retrieval.
+ DataMessage data = 3;
+
+ // A message produced during analysis.
+ AnalysisMessage analysis = 4;
+
+ // A message produced during chart generation.
+ ChartMessage chart = 5;
+
+ // An error message.
+ ErrorMessage error = 6;
+
+ // Optional. A message containing example queries.
+ ExampleQueries example_queries = 13
+ [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Identifies the group that the event belongs to. Similar events are deemed
+ // to be logically relevant to each other and should be shown together in
+ // the UI.
+ optional int32 group_id = 12;
+}
+
+// A multi-part text message.
+message TextMessage {
+ // The type of the text message.
+ enum TextType {
+ // The default text type.
+ TEXT_TYPE_UNSPECIFIED = 0;
+
+ // The text is a final response to the user question.
+ FINAL_RESPONSE = 1;
+
+ // The text is a thinking plan generated by the thinking tool.
+ THOUGHT = 2;
+ }
+
+ // Optional. The parts of the message.
+ repeated string parts = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The type of the text message.
+ TextType text_type = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A message produced during schema resolution.
+message SchemaMessage {
+ // Whether this message contains the query or the result of the schema
+ // resolution.
+ oneof kind {
+ // A schema resolution query.
+ SchemaQuery query = 1;
+
+ // The result of a schema resolution query.
+ SchemaResult result = 2;
+ }
+}
+
+// A query for resolving the schema relevant to the posed question.
+message SchemaQuery {
+ // Optional. The question to send to the system for schema resolution.
+ string question = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The result of schema resolution.
+message SchemaResult {
+ // Optional. The datasources used to resolve the schema query.
+ repeated Datasource datasources = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A message produced during data retrieval.
+message DataMessage {
+ // Whether this message contains the query, the result, or generated SQL for
+ // the data retrieval.
+ oneof kind {
+ // A data retrieval query.
+ DataQuery query = 1;
+
+ // SQL generated by the system to retrieve data.
+ string generated_sql = 2;
+
+ // Retrieved data.
+ DataResult result = 3;
+
+ // Looker Query generated by the system to retrieve data.
+ // DEPRECATED: generated looker query is now under DataQuery.looker.
+ LookerQuery generated_looker_query = 4 [deprecated = true];
+
+ // A BigQuery job executed by the system to retrieve data.
+ BigQueryJob big_query_job = 5;
+ }
+}
+
+// A query for retrieving data from a Looker Explore. See
+// [Run Inline
+// Query](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
+message LookerQuery {
+ // A Looker query filter.
+ message Filter {
+ // Required. The field to filter on.
+ string field = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The value f field to filter on.
+ string value = 2 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Required. The LookML model used to generate the query.
+ string model = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The LookML Explore used to generate the query.
+ string explore = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The fields to retrieve from the Explore.
+ repeated string fields = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filters to apply to the Explore.
+ repeated Filter filters = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The sorts to apply to the Explore.
+ repeated string sorts = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Limit in the query.
+ optional string limit = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A query for retrieving data.
+message DataQuery {
+ // The type of query to execute.
+ oneof query_type {
+ // Optional. A query for retrieving data from a Looker explore.
+ LookerQuery looker = 4 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. A natural language question to answer.
+ string question = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A snake-case name for the query that reflects its intent. It is
+ // used to name the corresponding data result, so that it can be referenced in
+ // later steps.
+ //
+ // * Example: "total_sales_by_product"
+ // * Example: "sales_for_product_12345"
+ string name = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The datasources available to answer the question.
+ repeated Datasource datasources = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Retrieved data.
+message DataResult {
+ // Optional. A snake-case name for the data result that reflects its contents.
+ // The name is used to pass the result around by reference, and serves as a
+ // signal about its meaning.
+ //
+ // * Example: "total_sales_by_product"
+ // * Example: "sales_for_product_12345"
+ string name = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The schema of the data.
+ Schema schema = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The content of the data. Each row is a struct that matches the
+ // schema. Simple values are represented as strings, while nested structures
+ // are represented as lists or structs.
+ repeated google.protobuf.Struct data = 2
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A BigQuery job executed by the system.
+message BigQueryJob {
+ // Required. The project that the job belongs to.
+ //
+ // See
+ // [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).
+ string project_id = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The ID of the job.
+ //
+ // See
+ // [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).
+ string job_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The location of the job.
+ //
+ // See
+ // [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).
+ string location = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A reference to the destination table of the job's query results.
+ //
+ // See
+ // [JobConfigurationQuery](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationquery).
+ BigQueryTableReference destination_table = 3
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The schema of the job's query results.
+ //
+ // See
+ // [JobStatistics2](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobstatistics2).
+ Schema schema = 7 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A message produced during analysis.
+message AnalysisMessage {
+ // Whether this message contains the query or one of the events from the
+ // analysis.
+ oneof kind {
+ // An analysis query.
+ AnalysisQuery query = 1;
+
+ // An event indicating the progress of the analysis.
+ AnalysisEvent progress_event = 2;
+ }
+}
+
+// A query for performing an analysis.
+message AnalysisQuery {
+ // Optional. An analysis question to help answer the user's original question.
+ string question = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The names of previously retrieved data results to analyze.
+ repeated string data_result_names = 2
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// An event indicating the progress of an analysis.
+message AnalysisEvent {
+ // The kind of event that occurred during the analysis.
+ oneof kind {
+ // Python codegen planner's reasoning.
+ string planner_reasoning = 2;
+
+ // Instructions issued for code generation.
+ string coder_instruction = 3;
+
+ // Generated code.
+ string code = 4;
+
+ // Output from code execution.
+ string execution_output = 5;
+
+ // An error from code execution.
+ string execution_error = 6;
+
+ // Result as Vega chart JSON string.
+ string result_vega_chart_json = 7;
+
+ // Result as NL string.
+ string result_natural_language = 8;
+
+ // Result as CSV string.
+ string result_csv_data = 9;
+
+ // Result as a reference to a data source.
+ string result_reference_data = 10;
+
+ // A generic error message.
+ string error = 11;
+ }
+}
+
+// A message produced during chart generation.
+message ChartMessage {
+ // Whether this message contains the query or the result of the chart
+ // generation.
+ oneof kind {
+ // A query for generating a chart.
+ ChartQuery query = 1;
+
+ // The result of a chart generation query.
+ ChartResult result = 2;
+ }
+}
+
+// A query for generating a chart.
+message ChartQuery {
+ // Optional. Natural language instructions for generating the chart.
+ string instructions = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The name of a previously retrieved data result to use in the
+ // chart.
+ string data_result_name = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The result of a chart generation query.
+message ChartResult {
+ // Optional. A generated Vega chart config.
+ // See https://vega.github.io/vega/docs/config/
+ google.protobuf.Struct vega_config = 2
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A rendering of the chart if this was requested in the context.
+ Blob image = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// An error message.
+message ErrorMessage {
+ // Output only. The text of the error.
+ string text = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// A message containing derived and authored example queries.
+message ExampleQueries {
+ // Optional. A list of derived and authored example queries, providing
+ // examples of relevant and commonly used SQL queries and their corresponding
+ // natural language queries optionally present. Currently only used for
+ // BigQuery data sources.
+ repeated ExampleQuery example_queries = 1
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A blob of data with a MIME type.
+message Blob {
+ // Required. The IANA standard MIME type of the message data.
+ string mime_type = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The data represented as bytes.
+ bytes data = 2 [(google.api.field_behavior) = REQUIRED];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/datasource.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/datasource.proto
new file mode 100644
index 000000000000..61a445d67dea
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1alpha/datasource.proto
@@ -0,0 +1,245 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1alpha;
+
+import "google/api/field_behavior.proto";
+import "google/cloud/geminidataanalytics/v1alpha/credentials.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Alpha";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1alpha/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DatasourceProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1alpha";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1alpha";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1alpha";
+
+// The type of filter present on a datasource, such as ALWAYS_FILTER.
+enum DataFilterType {
+ // The filter type was not specified.
+ DATA_FILTER_TYPE_UNSPECIFIED = 0;
+
+ // A filter that the user configures, and any queries to the Explore will
+ // always apply this filter by default. Currently only used for Looker data
+ // sources.
+ ALWAYS_FILTER = 1;
+}
+
+// A collection of references to datasources.
+message DatasourceReferences {
+ // The datasources to use.
+ oneof references {
+ // References to BigQuery tables.
+ BigQueryTableReferences bq = 1;
+
+ // References to Looker Studio datasources.
+ StudioDatasourceReferences studio = 2;
+
+ // References to Looker Explores.
+ LookerExploreReferences looker = 3;
+ }
+}
+
+// Message representing references to BigQuery tables.
+message BigQueryTableReferences {
+ // Required. References to BigQuery tables.
+ repeated BigQueryTableReference table_references = 1
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Message representing a reference to a single BigQuery table.
+message BigQueryTableReference {
+ // Required. The project that the table belongs to.
+ string project_id = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The dataset that the table belongs to.
+ string dataset_id = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The table id.
+ string table_id = 4 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The schema of the datasource.
+ Schema schema = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message representing references to Looker Studio datasources.
+message StudioDatasourceReferences {
+ // The references to the studio datasources.
+ repeated StudioDatasourceReference studio_references = 2;
+}
+
+// Message representing a reference to a single Looker Studio datasource.
+message StudioDatasourceReference {
+ // Required. The id of the datasource.
+ string datasource_id = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Message representing references to Looker explores.
+message LookerExploreReferences {
+ // Required. References to Looker explores.
+ repeated LookerExploreReference explore_references = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The credentials to use when calling the Looker API.
+ //
+ // Currently supports both OAuth token and API key-based credentials, as
+ // described in
+ // [Authentication with an
+ // SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ Credentials credentials = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message representing a reference to a single Looker explore.
+message LookerExploreReference {
+ // The instance of the Looker explore.
+ oneof instance {
+ // Required. The base url of the Looker instance.
+ string looker_instance_uri = 9;
+
+ // Private Looker instance info.
+ PrivateLookerInstanceInfo private_looker_instance_info = 10;
+ }
+
+ // Required. Looker model, as outlined in
+ // [Major LookML
+ // structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures).
+ // Name of the LookML model.
+ string lookml_model = 4 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Looker Explore, as outlined in
+ // [Major LookML
+ // structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures).
+ // Name of the LookML Explore.
+ string explore = 5 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The schema of the datasource.
+ Schema schema = 8 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message representing a private Looker instance info required if the Looker
+// instance is behind a private network.
+message PrivateLookerInstanceInfo {
+ // The Looker instance id.
+ string looker_instance_id = 1;
+
+ // The service directory name of the Looker instance.
+ string service_directory_name = 2;
+}
+
+// A datasource that can be used to answer questions.
+message Datasource {
+ // The reference to the datasource.
+ oneof reference {
+ // A reference to a BigQuery table.
+ BigQueryTableReference bigquery_table_reference = 1;
+
+ // A reference to a Looker Studio datasource.
+ string studio_datasource_id = 2;
+
+ // A reference to a Looker explore.
+ LookerExploreReference looker_explore_reference = 4;
+ }
+
+ // Optional. The schema of the datasource.
+ Schema schema = 7 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The schema of a Datasource or QueryResult instance.
+message Schema {
+ // Optional. The fields in the schema.
+ repeated Field fields = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A textual description of the table's content and purpose.
+ // For example: "Contains information about customer orders in our e-commerce
+ // store." Currently only used for BigQuery data sources.
+ string description = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of alternative names or synonyms that can be used to refer
+ // to the table. For example: ["sales", "orders", "purchases"]. Currently only
+ // used for BigQuery data sources.
+ repeated string synonyms = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of tags or keywords associated with the table, used for
+ // categorization. For example: ["transaction", "revenue", "customer_data"].
+ // Currently only used for BigQuery data sources.
+ repeated string tags = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Table display_name (same as label in
+ // cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not
+ // required, currently only Looker has this field.
+ string display_name = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filters on the datasource's underlying data. Currently only
+ // used for Looker data sources.
+ repeated DataFilter filters = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A field in a schema.
+message Field {
+ // Optional. The name of the field.
+ string name = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The type of the field.
+ string type = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A brief description of the field.
+ string description = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The mode of the field (e.g., NULLABLE, REPEATED).
+ string mode = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of alternative names or synonyms that can be used to refer
+ // to this field. For example: ["id", "customerid", "cust_id"]. Currently only
+ // used for BigQuery data sources.
+ repeated string synonyms = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of tags or keywords associated with the field, used for
+ // categorization. For example: ["identifier", "customer", "pii"]. Currently
+ // only used for BigQuery data sources.
+ repeated string tags = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Field display_name (same as label in
+ string display_name = 8 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Recursive property for nested schema structures.
+ repeated Field subfields = 9 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Field category, not required, currently only useful for Looker.
+ // We are using a string to avoid depending on an external package and keep
+ // this package self-contained.
+ string category = 10 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Looker only. Value format of the field.
+ // Ref:
+ // https://cloud.google.com/looker/docs/reference/param-field-value-format
+ string value_format = 11 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A filter on a datasource's underlying data. Filter syntax documentation:
+// https://cloud.google.com/looker/docs/filter-expressions
+message DataFilter {
+ // Optional. The field to filter on. For example: ["event_date",
+ // "customer_id", "product_category"]
+ string field = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The default value used for this filter if the filter is not
+ // overridden in a query. For example: ["after 2024-01-01", "123", "-fashion"]
+ string value = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The type of filter present on a datasource, such as
+ // ALWAYS_FILTER.
+ DataFilterType type = 3 [(google.api.field_behavior) = OPTIONAL];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/context.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/context.proto
new file mode 100644
index 000000000000..c093e0a21515
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/context.proto
@@ -0,0 +1,116 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/cloud/geminidataanalytics/v1beta/datasource.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Beta";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "ContextProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1beta";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1beta";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1beta";
+
+// A collection of context to apply to this conversation
+message Context {
+ // Optional. The basic entry point for data owners creating domain knowledge
+ // for Agent.
+ //
+ // Why: Business jargon (e.g., YTD revenue is calculated as…, Retirement Age
+ // is 65 in the USA, etc) and system instructions (e.g., answer like a Pirate)
+ // can help the model understand the business context around a user question.
+ string system_instruction = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. Data sources that are available for answering the question.
+ DatasourceReferences datasource_references = 7
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Additional options for the conversation.
+ ConversationOptions options = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of example queries, providing examples of relevant and
+ // commonly used SQL queries and their corresponding natural language queries
+ // optionally present.
+ repeated ExampleQuery example_queries = 5
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Example of relevant and commonly used SQL query and its corresponding natural
+// language queries optionally present.
+message ExampleQuery {
+ // The SQL or Looker query that should be generated to answer the natural
+ // language query.
+ oneof query {
+ // Optional. The SQL query that should be generated to answer the natural
+ // language question. For example: "SELECT COUNT(*) FROM orders WHERE
+ // order_date BETWEEN '2024-01-01' AND '2024-01-31'"
+ string sql_query = 101 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. A natural language question that a user might ask.
+ // For example: "How many orders were placed last month?"
+ string natural_language_question = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Options for the conversation.
+message ConversationOptions {
+ // Optional. Options for chart generation.
+ ChartOptions chart = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Options for analysis.
+ AnalysisOptions analysis = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Options for chart generation.
+message ChartOptions {
+ // Options for rendering images of generated charts.
+ message ImageOptions {
+ // No image.
+ message NoImage {}
+
+ // SVG options.
+ message SvgOptions {}
+
+ // The kind of image to render.
+ oneof kind {
+ // No image.
+ NoImage no_image = 1;
+
+ // SVG format.
+ SvgOptions svg = 2;
+ }
+ }
+
+ // Optional. When specified, the agent will render generated charts using the
+ // provided format. Defaults to no image.
+ ImageOptions image = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Options for analysis.
+message AnalysisOptions {
+ // Options for Python analysis.
+ message Python {
+ // Optional. Whether to enable Python analysis.
+ // Defaults to false.
+ bool enabled = 1 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. Options for Python analysis.
+ Python python = 1 [(google.api.field_behavior) = OPTIONAL];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/conversation.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/conversation.proto
new file mode 100644
index 000000000000..460733881c69
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/conversation.proto
@@ -0,0 +1,154 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/api/field_info.proto";
+import "google/api/resource.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Beta";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "ConversationProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1beta";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1beta";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1beta";
+
+// Message for a conversation.
+message Conversation {
+ option (google.api.resource) = {
+ type: "geminidataanalytics.googleapis.com/Conversation"
+ pattern: "projects/{project}/locations/{location}/conversations/{conversation}"
+ plural: "conversations"
+ singular: "conversation"
+ };
+
+ // Optional. Identifier. The unique resource name of a conversation. Format:
+ // `projects/{project}/locations/{location}/conversations/{conversation_id}`
+ // `{conversation_id}` is the resource id and should be 63 characters or less
+ // and must match the format described in
+ // https://google.aip.dev/122#resource-id-segments
+ //
+ // Example:
+ // `projects/1234567890/locations/us-central1/conversations/my-conversation`.
+ //
+ // It is recommended to skip setting this field during conversation creation
+ // as it will be inferred automatically and overwritten with the
+ // {parent}/conversations/{conversation_id}.
+ string name = 1 [
+ (google.api.field_behavior) = OPTIONAL,
+ (google.api.field_behavior) = IDENTIFIER
+ ];
+
+ // Required. Agent(s) in the conversation.
+ // Currently, only one agent is supported. This field is repeated to allow
+ // for future support of multiple agents in a conversation.
+ // Format: `projects/{project}/locations/{location}/dataAgents/{agent}`
+ repeated string agents = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Creation timestamp.
+ google.protobuf.Timestamp create_time = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Timestamp of the last used conversation.
+ google.protobuf.Timestamp last_used_time = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Open-ended and user-defined labels that can be set by the client
+ // to tag a conversation (e.g. to filter conversations for specific
+ // surfaces/products).
+ map labels = 9 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request for creating a conversation.
+message CreateConversationRequest {
+ // Required. Parent value for CreateConversationRequest.
+ // Format: `projects/{project}/locations/{location}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+
+ // Optional. The conversation id of the conversation to create.
+ // Must be unique within the parent.
+ // The allowed format is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ // If not provided, the server will auto-generate a value for the id.
+ string conversation_id = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. The conversation to create.
+ Conversation conversation = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. An optional request ID to identify requests. Specify a unique
+ // request ID so that if you must retry your request, the server will know to
+ // ignore the request if it has already been completed. The server will
+ // guarantee that for at least 60 minutes since the first request.
+ string request_id = 4 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Request for getting a conversation based on parent and conversation id.
+message GetConversationRequest {
+ // Required. Name of the resource.
+ // Format:
+ // `projects/{project}/locations/{location}/conversations/{conversation}`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+}
+
+// Request for listing conversations based on parent.
+message ListConversationsRequest {
+ // Required. Parent value for ListConversationsRequest.
+ // Format: `projects/{project}/locations/{location}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+
+ // Optional. Requested page size. Server may return fewer items than
+ // requested. The max page size is 100. All larger page sizes will be coerced
+ // to 100. If unspecified, server will pick 50 as an approperiate default.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A token identifying a page of results the server should return.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Returned conversations will match criteria specified within the
+ // filter. ListConversations allows filtering by:
+ // * agent_id
+ // * labels
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message for response to listing conversations.
+message ListConversationsResponse {
+ // The list of conversations.
+ repeated Conversation conversations = 1;
+
+ // A token identifying a page of results the server should return.
+ string next_page_token = 2;
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/credentials.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/credentials.proto
new file mode 100644
index 000000000000..bb214f5d5cbe
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/credentials.proto
@@ -0,0 +1,66 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1beta;
+
+import "google/api/field_behavior.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Beta";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "CredentialsProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1beta";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1beta";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1beta";
+
+// Represents different forms of credential specification.
+message Credentials {
+ // The kind of credentials.
+ // }
+ oneof kind {
+ // OAuth credentials.
+ OAuthCredentials oauth = 1;
+ }
+}
+
+// Represents OAuth credentials.
+message OAuthCredentials {
+ // The name of the secret containing the access token.
+ // Represents secret-based OAuth credentials.
+ message SecretBased {
+ // Required. An OAuth client ID.
+ string client_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. An OAuth client secret.
+ string client_secret = 3 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Read more about Looker access tokens here:
+ // https://developers.looker.com/api/advanced-usage/looker-api-oauth
+ message TokenBased {
+ // Required. The name of the secret containing the access token.
+ string access_token = 1 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // The kind of OAuth credentials.
+ oneof kind {
+ // Secret-based OAuth credentials.
+ SecretBased secret = 2;
+
+ // Token-based OAuth credentials.
+ TokenBased token = 3;
+ }
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_agent.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_agent.proto
new file mode 100644
index 000000000000..f4bbf3adb2ad
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_agent.proto
@@ -0,0 +1,101 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/geminidataanalytics/v1beta/data_analytics_agent.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Beta";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DataAgentProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1beta";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1beta";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1beta";
+
+// Message describing a DataAgent object.
+message DataAgent {
+ option (google.api.resource) = {
+ type: "geminidataanalytics.googleapis.com/DataAgent"
+ pattern: "projects/{project}/locations/{location}/dataAgents/{data_agent}"
+ plural: "dataAgents"
+ singular: "dataAgent"
+ };
+
+ // The type of the agent. Can be one of the following:
+ // * Data analytics agent.
+ // * Data engineering agent
+ oneof type {
+ // Data analytics agent.
+ DataAnalyticsAgent data_analytics_agent = 101;
+ }
+
+ // Optional. Identifier. The unique resource name of a DataAgent.
+ // Format:
+ // `projects/{project}/locations/{location}/dataAgents/{data_agent_id}`
+ // `{data_agent}` is the resource id and should be 63 characters or less and
+ // must match the format described in
+ // https://google.aip.dev/122#resource-id-segments
+ //
+ // Example: `projects/1234567890/locations/us-central1/dataAgents/my-agent`.
+ //
+ // It is recommended to skip setting this field during agent creation as it
+ // will be inferred automatically and overwritten with the
+ // {parent}/dataAgents/{data_agent_id}.
+ string name = 1 [
+ (google.api.field_behavior) = OPTIONAL,
+ (google.api.field_behavior) = IDENTIFIER
+ ];
+
+ // Optional. User friendly display name.
+ //
+ // * Must be between 1-256 characters.
+ string display_name = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Description of the agent.
+ //
+ // * Must be between 1-1024 characters.
+ string description = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Labels to help users filter related agents.
+ // For example, "sales", "business", "etl", and so on.
+ // Note labels are used only for filtering and not for policies.
+ // See the [labels
+ // documentation](https://cloud.google.com/resource-manager/docs/labels-overview)
+ // for more details on label usage.
+ map labels = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. The time when the data agent was created.
+ google.protobuf.Timestamp create_time = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the data agent was last updated.
+ google.protobuf.Timestamp update_time = 8
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. [Output only] The time the data agent was soft deleted.
+ google.protobuf.Timestamp delete_time = 12
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Timestamp in UTC of when this data agent is considered
+ // expired. This is *always* provided on output, regardless of what was sent
+ // on input.
+ google.protobuf.Timestamp purge_time = 13
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_agent_service.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_agent_service.proto
new file mode 100644
index 000000000000..e53d4cabd323
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_agent_service.proto
@@ -0,0 +1,385 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1beta;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/field_info.proto";
+import "google/api/resource.proto";
+import "google/cloud/geminidataanalytics/v1beta/data_agent.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/longrunning/operations.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Beta";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DataAgentServiceProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1beta";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1beta";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1beta";
+
+// Service describing handlers for resources.
+service DataAgentService {
+ option (google.api.default_host) = "geminidataanalytics.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists DataAgents in a given project and location.
+ rpc ListDataAgents(ListDataAgentsRequest) returns (ListDataAgentsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta/{parent=projects/*/locations/*}/dataAgents"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Lists DataAgents that are accessible to the caller in a given project and
+ // location.
+ rpc ListAccessibleDataAgents(ListAccessibleDataAgentsRequest)
+ returns (ListAccessibleDataAgentsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta/{parent=projects/*/locations/*}/dataAgents:listAccessible"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single DataAgent.
+ rpc GetDataAgent(GetDataAgentRequest) returns (DataAgent) {
+ option (google.api.http) = {
+ get: "/v1beta/{name=projects/*/locations/*/dataAgents/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new DataAgent in a given project and location.
+ rpc CreateDataAgent(CreateDataAgentRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1beta/{parent=projects/*/locations/*}/dataAgents"
+ body: "data_agent"
+ };
+ option (google.api.method_signature) = "parent,data_agent,data_agent_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "DataAgent"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Updates the parameters of a single DataAgent.
+ rpc UpdateDataAgent(UpdateDataAgentRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1beta/{data_agent.name=projects/*/locations/*/dataAgents/*}"
+ body: "data_agent"
+ };
+ option (google.api.method_signature) = "data_agent,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "DataAgent"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single DataAgent.
+ rpc DeleteDataAgent(DeleteDataAgentRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1beta/{name=projects/*/locations/*/dataAgents/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Gets the IAM policy for DataAgent
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1beta/{resource=projects/*/locations/*/dataAgents/*}:getIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource";
+ }
+
+ // Sets the IAM policy for a DataAgent.
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1beta/{resource=projects/*/locations/*/dataAgents/*}:setIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource";
+ }
+}
+
+// Message for requesting list of DataAgents.
+message ListDataAgentsRequest {
+ // Required. Parent value for ListDataAgentsRequest.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. Server may return fewer items than requested.
+ // If unspecified, server will pick an appropriate default.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListDataAgents` call.
+ // Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other parameters provided to `ListDataAgents` must
+ // match the call that provided the page token. The service may return fewer
+ // than this value.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
+ // syntax.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. User specification for how to order the results.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If true, the list results will include soft-deleted DataAgents.
+ // Defaults to false.
+ bool show_deleted = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message for response to listing DataAgents.
+message ListDataAgentsResponse {
+ // The list of DataAgent.
+ repeated DataAgent data_agents = 1;
+
+ // The next page token or empty if none.
+ string next_page_token = 2;
+
+ // Unordered list. Locations that could not be reached.
+ repeated string unreachable = 3
+ [(google.api.field_behavior) = UNORDERED_LIST];
+}
+
+// Message for requesting list of accessible DataAgents.
+message ListAccessibleDataAgentsRequest {
+ // Filter for the creator of the agent.
+ enum CreatorFilter {
+ // Default value.
+ CREATOR_FILTER_UNSPECIFIED = 0;
+
+ // No creator-specific filter will be applied. All agents will be returned.
+ NONE = 1;
+
+ // Only agents created by the user calling the API will be returned.
+ CREATOR_ONLY = 2;
+
+ // Only agents not created by the user calling the API will be returned.
+ NOT_CREATOR_ONLY = 3;
+ }
+
+ // Required. Parent value for ListAccessibleDataAgentsRequest.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. Server may return fewer items than requested.
+ // If unspecified, server will pick an appropriate default.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListAccessibleDataAgents`
+ // call. Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other parameters provided to
+ // `ListAccessibleDataAgents` must match the call that provided the page
+ // token. The service may return fewer than this value.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
+ // syntax.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. User specification for how to order the results.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If true, the list results will include soft-deleted DataAgents.
+ // Defaults to false.
+ bool show_deleted = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter for the creator of the agent.
+ CreatorFilter creator_filter = 7 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message for response to listing accessible DataAgents.
+message ListAccessibleDataAgentsResponse {
+ // The list of accessible DataAgent.
+ repeated DataAgent data_agents = 1;
+
+ // The next page token or empty if none.
+ string next_page_token = 2;
+
+ // Unordered list. Locations that could not be reached.
+ repeated string unreachable = 3
+ [(google.api.field_behavior) = UNORDERED_LIST];
+}
+
+// Message for getting a DataAgent.
+message GetDataAgentRequest {
+ // Required. Name of the resource.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+}
+
+// Message for creating a DataAgent.
+message CreateDataAgentRequest {
+ // Required. Value for parent.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. Id of the requesting object. Must be unique within the parent.
+ // The allowed format is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ // If not provided, the server will auto-generate a value for the id.
+ string data_agent_id = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. The resource being created.
+ DataAgent data_agent = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. An optional request ID to identify requests. Specify a unique
+ // request ID so that if you must retry your request, the server will know to
+ // ignore the request if it has already been completed. The server will
+ // guarantee that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request
+ // ID, the server can check if original operation with the same request ID
+ // was received, and if so, will ignore the second request. This prevents
+ // clients from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 4 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Message for updating a DataAgent.
+message UpdateDataAgentRequest {
+ // Optional. Field mask is used to specify the fields to be overwritten in the
+ // DataAgent resource by the update.
+ // The fields specified in the update_mask are relative to the resource, not
+ // the full request. A field will be overwritten if it is in the mask. If the
+ // user does not provide a mask then all fields with non-default values
+ // present in the request will be overwritten. If a wildcard mask is provided,
+ // all fields will be overwritten.
+ google.protobuf.FieldMask update_mask = 1
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. The resource being updated.
+ DataAgent data_agent = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. An optional request ID to identify requests. Specify a unique
+ // request ID so that if you must retry your request, the server will know to
+ // ignore the request if it has already been completed. The server will
+ // guarantee that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request
+ // ID, the server can check if original operation with the same request ID
+ // was received, and if so, will ignore the second request. This prevents
+ // clients from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 3 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Message for deleting a DataAgent.
+message DeleteDataAgentRequest {
+ // Required. Name of the resource.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. An optional request ID to identify requests. Specify a unique
+ // request ID so that if you must retry your request, the server will know to
+ // ignore the request if it has already been completed. The server will
+ // guarantee that for at least 60 minutes after the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request
+ // ID, the server can check if original operation with the same request ID
+ // was received, and if so, will ignore the second request. This prevents
+ // clients from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 2 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Represents the metadata of the long-running operation.
+message OperationMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Server-defined resource path for the target of the operation.
+ string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Name of the verb executed by the operation.
+ string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Human-readable status of the operation, if any.
+ string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Identifies whether the user has requested cancellation
+ // of the operation. Operations that have been cancelled successfully
+ // have [Operation.error][] value with a
+ // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+ // `Code.CANCELLED`.
+ bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. API version used to start the operation.
+ string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_analytics_agent.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_analytics_agent.proto
new file mode 100644
index 000000000000..78efe3bd329a
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_analytics_agent.proto
@@ -0,0 +1,46 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/cloud/geminidataanalytics/v1beta/context.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Beta";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DataAnalyticsAgentProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1beta";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1beta";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1beta";
+
+// Message describing a DataAnalyticsAgent object.
+message DataAnalyticsAgent {
+ // Optional. The staging context for the agent.
+ // This context is used to test and validate changes before publishing.
+ Context staging_context = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The published context for the agent.
+ // This context is used by the Chat API in production.
+ Context published_context = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. The last published context for the agent.
+ // This is an output-only field populated by the system when the
+ // published context is updated. It is used to restore the agent to a
+ // previous state.
+ Context last_published_context = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_chat_service.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_chat_service.proto
new file mode 100644
index 000000000000..145efb2a384b
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/data_chat_service.proto
@@ -0,0 +1,559 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1beta;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/geminidataanalytics/v1beta/context.proto";
+import "google/cloud/geminidataanalytics/v1beta/conversation.proto";
+import "google/cloud/geminidataanalytics/v1beta/credentials.proto";
+import "google/cloud/geminidataanalytics/v1beta/datasource.proto";
+import "google/protobuf/struct.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Beta";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DataChatServiceProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1beta";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1beta";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1beta";
+
+// Service to ask a natural language question on top of BigQuery
+// and Looker Studio datasources to get back streamed responses of various kinds
+// to help provide a rich conversational answer.
+service DataChatService {
+ option (google.api.default_host) = "geminidataanalytics.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ // Answers a data question by generating a stream of
+ // [Message][google.cloud.geminidataanalytics.v1alpha.Message] objects.
+ rpc Chat(ChatRequest) returns (stream Message) {
+ option (google.api.http) = {
+ post: "/v1beta/{parent=projects/*/locations/*}:chat"
+ body: "*"
+ };
+ }
+
+ // Creates a new conversation to persist the conversation history. Each
+ // conversation will have multiple messages associated with it.
+ rpc CreateConversation(CreateConversationRequest) returns (Conversation) {
+ option (google.api.http) = {
+ post: "/v1beta/{parent=projects/*/locations/*}/conversations"
+ body: "conversation"
+ };
+ option (google.api.method_signature) =
+ "parent,conversation,conversation_id";
+ }
+
+ // Gets details of a single conversation by using conversation id and parent.
+ rpc GetConversation(GetConversationRequest) returns (Conversation) {
+ option (google.api.http) = {
+ get: "/v1beta/{name=projects/*/locations/*/conversations/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists all conversations for a given parent.
+ rpc ListConversations(ListConversationsRequest)
+ returns (ListConversationsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta/{parent=projects/*/locations/*}/conversations"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Lists all messages for a given conversation.
+ rpc ListMessages(ListMessagesRequest) returns (ListMessagesResponse) {
+ option (google.api.http) = {
+ get: "/v1beta/{parent=projects/*/locations/*/conversations/*}/messages"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+}
+
+// Request for listing chat messages based on parent and conversation_id.
+message ListMessagesRequest {
+ // Required. The conversation to list messages under.
+ // Format:
+ // `projects/{project}/locations/{location}/conversations/{conversation_id}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+
+ // Optional. Requested page size. Server may return fewer items than
+ // requested. The max page size is 100. All larger page sizes will be coerced
+ // to 100. If unspecified, server will pick 50 as an approperiate default.
+ int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A token identifying a page of results the server should return.
+ string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
+ // syntax.
+ //
+ // ListMessages allows filtering by:
+ // * create_time (e.g., `createTime > "2025-01-28T06:51:56-08:00"`)
+ // * update_time
+ string filter = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response for listing chat messages.
+message ListMessagesResponse {
+ // The list of chat messages.
+ repeated StorageMessage messages = 1;
+
+ // A token identifying a page of results the server should return.
+ string next_page_token = 2;
+}
+
+// A stored message containing user message or system message.
+message StorageMessage {
+ // The unique resource name of a chat message.
+ string message_id = 1;
+
+ // The message content.
+ Message message = 2;
+}
+
+// Request for Chat.
+message ChatRequest {
+ // Context Provider for the chat request.
+ // It can either be -
+ // inline_context, which is a context provided inline in the request.
+ // data_agent, which is a reference to a data agent resource.
+ // conversation_reference, which is a reference to a persisted conversation
+ // and context using conversation_id and agent_id.
+ oneof context_provider {
+ // Optional. Inline context for the chat request. Use this to chat
+ // statelessly (without managed conversation persistence and without an
+ // Agent) by passing all context inline.
+ Context inline_context = 101 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Reference to a persisted conversation and agent context.
+ // Use this to chat with an Agent using managed conversation persistence.
+ ConversationReference conversation_reference = 103
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Context for the chat request. Use this to chat with an Agent
+ // statelessly, without managed conversation persistence.
+ DataAgentContext data_agent_context = 104
+ [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. The Google Cloud project to be used for quota and billing.
+ string project = 1 [
+ deprecated = true,
+ (google.api.field_behavior) = OPTIONAL,
+ (google.api.resource_reference) = {
+ type: "cloudresourcemanager.googleapis.com/Project"
+ }
+ ];
+
+ // Required. The parent value for chat request.
+ // Pattern: `projects/{project}/locations/{location}`
+ string parent = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Content of current conversation.
+ repeated Message messages = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Context for the chat request using a data agent.
+message DataAgentContext {
+ // List of context versions supported by DCS.
+ // There are two versions of context. This is to maintain versioning for the
+ // data agent.
+ enum ContextVersion {
+ // Unspecified or unrecognized.
+ CONTEXT_VERSION_UNSPECIFIED = 0;
+
+ // Using this version, DCS will use the latest staging context for the
+ // data agent.
+ STAGING = 1;
+
+ // Using this version, DCS will use the latest published context for the
+ // data agent.
+ PUBLISHED = 2;
+ }
+
+ // Required. The name of the data agent resource.
+ string data_agent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/DataAgent"
+ }
+ ];
+
+ // Optional. The credentials to use when calling the Looker data source.
+ //
+ // Currently supports both OAuth token and API key-based credentials, as
+ // described in
+ // [Authentication with an
+ // SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ Credentials credentials = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Version of context to be used by DCS (e.g. STAGING, PUBLISHED)
+ ContextVersion context_version = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Reference to a persisted conversation and agent context.
+message ConversationReference {
+ // Required. Name of the conversation resource.
+ // Format:
+ // `projects/{project}/locations/{location}/conversations/{conversation_id}`
+ string conversation = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "geminidataanalytics.googleapis.com/Conversation"
+ }
+ ];
+
+ // Required. Context for the chat request using a data agent.
+ DataAgentContext data_agent_context = 3
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// A message from an interaction between the user and the system.
+message Message {
+ // The kind of message.
+ oneof kind {
+ // A message from the user that is interacting with the system.
+ UserMessage user_message = 2;
+
+ // A message from the system in response to the user.
+ SystemMessage system_message = 3;
+ }
+
+ // Output only. For user messages, this is the time at which the system
+ // received the message. For system messages, this is the time at which the
+ // system generated the message.
+ google.protobuf.Timestamp timestamp = 1
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. unique id of the message in the conversation for persistence.
+ string message_id = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A message from the user that is interacting with the system.
+message UserMessage {
+ // The kind of content in the user message.
+ oneof kind {
+ // Text should use this field instead of blob.
+ string text = 1;
+ }
+}
+
+// A message from the system in response to the user. This message can also be a
+// message from the user as historical context for multiturn conversations with
+// the system.
+message SystemMessage {
+ // The kind of content in the system message.
+ oneof kind {
+ // A direct natural language response to the user message.
+ TextMessage text = 1;
+
+ // A message produced during schema resolution.
+ SchemaMessage schema = 2;
+
+ // A message produced during data retrieval.
+ DataMessage data = 3;
+
+ // A message produced during analysis.
+ AnalysisMessage analysis = 4;
+
+ // A message produced during chart generation.
+ ChartMessage chart = 5;
+
+ // An error message.
+ ErrorMessage error = 6;
+ }
+
+ // Identifies the group that the event belongs to. Similar events are deemed
+ // to be logically relevant to each other and should be shown together in
+ // the UI.
+ optional int32 group_id = 12;
+}
+
+// A multi-part text message.
+message TextMessage {
+ // Optional. The parts of the message.
+ repeated string parts = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A message produced during schema resolution.
+message SchemaMessage {
+ // Whether this message contains the query or the result of the schema
+ // resolution.
+ oneof kind {
+ // A schema resolution query.
+ SchemaQuery query = 1;
+
+ // The result of a schema resolution query.
+ SchemaResult result = 2;
+ }
+}
+
+// A query for resolving the schema relevant to the posed question.
+message SchemaQuery {
+ // Optional. The question to send to the system for schema resolution.
+ string question = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The result of schema resolution.
+message SchemaResult {
+ // Optional. The datasources used to resolve the schema query.
+ repeated Datasource datasources = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A message produced during data retrieval.
+message DataMessage {
+ // Whether this message contains the query, the result, or generated SQL for
+ // the data retrieval.
+ oneof kind {
+ // A data retrieval query.
+ DataQuery query = 1;
+
+ // SQL generated by the system to retrieve data.
+ string generated_sql = 2;
+
+ // Retrieved data.
+ DataResult result = 3;
+
+ // Looker Query generated by the system to retrieve data.
+ LookerQuery generated_looker_query = 4;
+
+ // A BigQuery job executed by the system to retrieve data.
+ BigQueryJob big_query_job = 5;
+ }
+}
+
+// A query for retrieving data from a Looker Explore. See
+// [Run Inline
+// Query](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
+message LookerQuery {
+ // A Looker query filter.
+ message Filter {
+ // Required. The field to filter on.
+ string field = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The value f field to filter on.
+ string value = 2 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Required. The LookML model used to generate the query.
+ string model = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The LookML Explore used to generate the query.
+ string explore = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The fields to retrieve from the Explore.
+ repeated string fields = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filters to apply to the Explore.
+ repeated Filter filters = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The sorts to apply to the Explore.
+ repeated string sorts = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Limit in the query.
+ optional string limit = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A query for retrieving data.
+message DataQuery {
+ // Optional. A natural language question to answer.
+ string question = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A snake-case name for the query that reflects its intent. It is
+ // used to name the corresponding data result, so that it can be referenced in
+ // later steps.
+ //
+ // * Example: "total_sales_by_product"
+ // * Example: "sales_for_product_12345"
+ string name = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The datasources available to answer the question.
+ repeated Datasource datasources = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Retrieved data.
+message DataResult {
+ // Optional. A snake-case name for the data result that reflects its contents.
+ // The name is used to pass the result around by reference, and serves as a
+ // signal about its meaning.
+ //
+ // * Example: "total_sales_by_product"
+ // * Example: "sales_for_product_12345"
+ string name = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The schema of the data.
+ Schema schema = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The content of the data. Each row is a struct that matches the
+ // schema. Simple values are represented as strings, while nested structures
+ // are represented as lists or structs.
+ repeated google.protobuf.Struct data = 2
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A BigQuery job executed by the system.
+message BigQueryJob {
+ // Required. The project that the job belongs to.
+ //
+ // See
+ // [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).
+ string project_id = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The ID of the job.
+ //
+ // See
+ // [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).
+ string job_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The location of the job.
+ //
+ // See
+ // [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).
+ string location = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A reference to the destination table of the job's query results.
+ //
+ // See
+ // [JobConfigurationQuery](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationquery).
+ BigQueryTableReference destination_table = 3
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The schema of the job's query results.
+ //
+ // See
+ // [JobStatistics2](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobstatistics2).
+ Schema schema = 7 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A message produced during analysis.
+message AnalysisMessage {
+ // Whether this message contains the query or one of the events from the
+ // analysis.
+ oneof kind {
+ // An analysis query.
+ AnalysisQuery query = 1;
+
+ // An event indicating the progress of the analysis.
+ AnalysisEvent progress_event = 2;
+ }
+}
+
+// A query for performing an analysis.
+message AnalysisQuery {
+ // Optional. An analysis question to help answer the user's original question.
+ string question = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The names of previously retrieved data results to analyze.
+ repeated string data_result_names = 2
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// An event indicating the progress of an analysis.
+message AnalysisEvent {
+ // The kind of event that occurred during the analysis.
+ oneof kind {
+ // Python codegen planner's reasoning.
+ string planner_reasoning = 2;
+
+ // Instructions issued for code generation.
+ string coder_instruction = 3;
+
+ // Generated code.
+ string code = 4;
+
+ // Output from code execution.
+ string execution_output = 5;
+
+ // An error from code execution.
+ string execution_error = 6;
+
+ // Result as Vega chart JSON string.
+ string result_vega_chart_json = 7;
+
+ // Result as NL string.
+ string result_natural_language = 8;
+
+ // Result as CSV string.
+ string result_csv_data = 9;
+
+ // Result as a reference to a data source.
+ string result_reference_data = 10;
+
+ // A generic error message.
+ string error = 11;
+ }
+}
+
+// A message produced during chart generation.
+message ChartMessage {
+ // Whether this message contains the query or the result of the chart
+ // generation.
+ oneof kind {
+ // A query for generating a chart.
+ ChartQuery query = 1;
+
+ // The result of a chart generation query.
+ ChartResult result = 2;
+ }
+}
+
+// A query for generating a chart.
+message ChartQuery {
+ // Optional. Natural language instructions for generating the chart.
+ string instructions = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The name of a previously retrieved data result to use in the
+ // chart.
+ string data_result_name = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The result of a chart generation query.
+message ChartResult {
+ // Optional. A generated Vega chart config.
+ // See https://vega.github.io/vega/docs/config/
+ google.protobuf.Struct vega_config = 2
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A rendering of the chart if this was requested in the context.
+ Blob image = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// An error message.
+message ErrorMessage {
+ // Output only. The text of the error.
+ string text = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// A blob of data with a MIME type.
+message Blob {
+ // Required. The IANA standard MIME type of the message data.
+ string mime_type = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The data represented as bytes.
+ bytes data = 2 [(google.api.field_behavior) = REQUIRED];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/datasource.proto b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/datasource.proto
new file mode 100644
index 000000000000..206279d2237c
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/google/cloud/geminidataanalytics/v1beta/datasource.proto
@@ -0,0 +1,241 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.geminidataanalytics.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/cloud/geminidataanalytics/v1beta/credentials.proto";
+
+option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Beta";
+option go_package = "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb";
+option java_multiple_files = true;
+option java_outer_classname = "DatasourceProto";
+option java_package = "com.google.cloud.geminidataanalytics.v1beta";
+option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1beta";
+option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1beta";
+
+// The type of filter present on a datasource, such as ALWAYS_FILTER.
+enum DataFilterType {
+ // The filter type was not specified.
+ DATA_FILTER_TYPE_UNSPECIFIED = 0;
+
+ // A filter that the user configures, and any queries to the Explore will
+ // always apply this filter by default. Currently only used for Looker data
+ // sources.
+ ALWAYS_FILTER = 1;
+}
+
+// A collection of references to datasources.
+message DatasourceReferences {
+ // The datasources to use.
+ oneof references {
+ // References to BigQuery tables.
+ BigQueryTableReferences bq = 1;
+
+ // References to Looker Studio datasources.
+ StudioDatasourceReferences studio = 2;
+
+ // References to Looker Explores.
+ LookerExploreReferences looker = 3;
+ }
+}
+
+// Message representing references to BigQuery tables.
+message BigQueryTableReferences {
+ // Required. References to BigQuery tables.
+ repeated BigQueryTableReference table_references = 1
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Message representing a reference to a single BigQuery table.
+message BigQueryTableReference {
+ // Required. The project that the table belongs to.
+ string project_id = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The dataset that the table belongs to.
+ string dataset_id = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The table id.
+ string table_id = 4 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The schema of the datasource.
+ Schema schema = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message representing references to Looker Studio datasources.
+message StudioDatasourceReferences {
+ // The references to the studio datasources.
+ repeated StudioDatasourceReference studio_references = 2;
+}
+
+// Message representing a reference to a single Looker Studio datasource.
+message StudioDatasourceReference {
+ // Required. The id of the datasource.
+ string datasource_id = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Message representing references to Looker explores.
+message LookerExploreReferences {
+ // Required. References to Looker explores.
+ repeated LookerExploreReference explore_references = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The credentials to use when calling the Looker API.
+ //
+ // Currently supports both OAuth token and API key-based credentials, as
+ // described in
+ // [Authentication with an
+ // SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
+ Credentials credentials = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message representing a reference to a single Looker explore.
+message LookerExploreReference {
+ // The instance of the Looker explore.
+ oneof instance {
+ // Required. The base url of the Looker instance.
+ string looker_instance_uri = 9;
+
+ // Private Looker instance info.
+ PrivateLookerInstanceInfo private_looker_instance_info = 10;
+ }
+
+ // Required. Looker model, as outlined in
+ // [Major LookML
+ // structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures).
+ // Name of the LookML model.
+ string lookml_model = 4 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Looker Explore, as outlined in
+ // [Major LookML
+ // structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures).
+ // Name of the LookML Explore.
+ string explore = 5 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The schema of the datasource.
+ Schema schema = 8 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Message representing a private Looker instance info required if the Looker
+// instance is behind a private network.
+message PrivateLookerInstanceInfo {
+ // The Looker instance id.
+ string looker_instance_id = 1;
+
+ // The service directory name of the Looker instance.
+ string service_directory_name = 2;
+}
+
+// A datasource that can be used to answer questions.
+message Datasource {
+ // The reference to the datasource.
+ oneof reference {
+ // A reference to a BigQuery table.
+ BigQueryTableReference bigquery_table_reference = 1;
+
+ // A reference to a Looker Studio datasource.
+ string studio_datasource_id = 2;
+
+ // A reference to a Looker explore.
+ LookerExploreReference looker_explore_reference = 4;
+ }
+
+ // Optional. The schema of the datasource.
+ Schema schema = 7 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The schema of a Datasource or QueryResult instance.
+message Schema {
+ // Optional. The fields in the schema.
+ repeated Field fields = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A textual description of the table's content and purpose.
+ // For example: "Contains information about customer orders in our e-commerce
+ // store."
+ string description = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of alternative names or synonyms that can be used to refer
+ // to the table. For example: ["sales", "orders", "purchases"]
+ repeated string synonyms = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of tags or keywords associated with the table, used for
+ // categorization. For example: ["transaction", "revenue", "customer_data"]
+ repeated string tags = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Table display_name (same as label in
+ // cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not
+ // required, currently only Looker has this field.
+ string display_name = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filters on the datasource's underlying data. Currently only
+ // used for Looker data sources.
+ repeated DataFilter filters = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A field in a schema.
+message Field {
+ // Optional. The name of the field.
+ string name = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The type of the field.
+ string type = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A brief description of the field.
+ string description = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The mode of the field (e.g., NULLABLE, REPEATED).
+ string mode = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of alternative names or synonyms that can be used to refer
+ // to this field. For example: ["id", "customerid", "cust_id"]
+ repeated string synonyms = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of tags or keywords associated with the field, used for
+ // categorization. For example: ["identifier", "customer", "pii"]
+ repeated string tags = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Field display_name (same as label in
+ string display_name = 8 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Recursive property for nested schema structures.
+ repeated Field subfields = 9 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Field category, not required, currently only useful for Looker.
+ // We are using a string to avoid depending on an external package and keep
+ // this package self-contained.
+ string category = 10 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Looker only. Value format of the field.
+ // Ref:
+ // https://cloud.google.com/looker/docs/reference/param-field-value-format
+ string value_format = 11 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A filter on a datasource's underlying data. Filter syntax documentation:
+// https://cloud.google.com/looker/docs/filter-expressions
+message DataFilter {
+ // Optional. The field to filter on. For example: ["event_date",
+ // "customer_id", "product_category"]
+ string field = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The default value used for this filter if the filter is not
+ // overridden in a query. For example: ["after 2024-01-01", "123", "-fashion"]
+ string value = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The type of filter present on a datasource, such as
+ // ALWAYS_FILTER.
+ DataFilterType type = 3 [(google.api.field_behavior) = OPTIONAL];
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/protos.d.ts b/packages/google-cloud-geminidataanalytics/protos/protos.d.ts
new file mode 100644
index 000000000000..40a61c8e3c4e
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/protos.d.ts
@@ -0,0 +1,26108 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import type {protobuf as $protobuf} from "google-gax";
+import Long = require("long");
+/** Namespace google. */
+export namespace google {
+
+ /** Namespace cloud. */
+ namespace cloud {
+
+ /** Namespace geminidataanalytics. */
+ namespace geminidataanalytics {
+
+ /** Namespace v1alpha. */
+ namespace v1alpha {
+
+ /** Properties of a Context. */
+ interface IContext {
+
+ /** Context systemInstruction */
+ systemInstruction?: (string|null);
+
+ /** Context datasourceReferences */
+ datasourceReferences?: (google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences|null);
+
+ /** Context options */
+ options?: (google.cloud.geminidataanalytics.v1alpha.IConversationOptions|null);
+
+ /** Context exampleQueries */
+ exampleQueries?: (google.cloud.geminidataanalytics.v1alpha.IExampleQuery[]|null);
+
+ /** Context glossaryTerms */
+ glossaryTerms?: (google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm[]|null);
+
+ /** Context schemaRelationships */
+ schemaRelationships?: (google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship[]|null);
+ }
+
+ /** Represents a Context. */
+ class Context implements IContext {
+
+ /**
+ * Constructs a new Context.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IContext);
+
+ /** Context systemInstruction. */
+ public systemInstruction: string;
+
+ /** Context datasourceReferences. */
+ public datasourceReferences?: (google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences|null);
+
+ /** Context options. */
+ public options?: (google.cloud.geminidataanalytics.v1alpha.IConversationOptions|null);
+
+ /** Context exampleQueries. */
+ public exampleQueries: google.cloud.geminidataanalytics.v1alpha.IExampleQuery[];
+
+ /** Context glossaryTerms. */
+ public glossaryTerms: google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm[];
+
+ /** Context schemaRelationships. */
+ public schemaRelationships: google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship[];
+
+ /**
+ * Creates a new Context instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Context instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IContext): google.cloud.geminidataanalytics.v1alpha.Context;
+
+ /**
+ * Encodes the specified Context message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.verify|verify} messages.
+ * @param message Context message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Context message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.verify|verify} messages.
+ * @param message Context message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Context message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Context
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.Context;
+
+ /**
+ * Decodes a Context message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Context
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.Context;
+
+ /**
+ * Verifies a Context message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Context message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Context
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.Context;
+
+ /**
+ * Creates a plain object from a Context message. Also converts values to other types if specified.
+ * @param message Context
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.Context, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Context to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Context
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Context {
+
+ /** Properties of a SchemaRelationship. */
+ interface ISchemaRelationship {
+
+ /** SchemaRelationship leftSchemaPaths */
+ leftSchemaPaths?: (google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths|null);
+
+ /** SchemaRelationship rightSchemaPaths */
+ rightSchemaPaths?: (google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths|null);
+
+ /** SchemaRelationship sources */
+ sources?: (google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.Source[]|null);
+
+ /** SchemaRelationship confidenceScore */
+ confidenceScore?: (number|null);
+ }
+
+ /** Represents a SchemaRelationship. */
+ class SchemaRelationship implements ISchemaRelationship {
+
+ /**
+ * Constructs a new SchemaRelationship.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship);
+
+ /** SchemaRelationship leftSchemaPaths. */
+ public leftSchemaPaths?: (google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths|null);
+
+ /** SchemaRelationship rightSchemaPaths. */
+ public rightSchemaPaths?: (google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths|null);
+
+ /** SchemaRelationship sources. */
+ public sources: google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.Source[];
+
+ /** SchemaRelationship confidenceScore. */
+ public confidenceScore: number;
+
+ /**
+ * Creates a new SchemaRelationship instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaRelationship instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship): google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship;
+
+ /**
+ * Encodes the specified SchemaRelationship message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.verify|verify} messages.
+ * @param message SchemaRelationship message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaRelationship message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.verify|verify} messages.
+ * @param message SchemaRelationship message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaRelationship message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaRelationship
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship;
+
+ /**
+ * Decodes a SchemaRelationship message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaRelationship
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship;
+
+ /**
+ * Verifies a SchemaRelationship message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaRelationship message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaRelationship
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship;
+
+ /**
+ * Creates a plain object from a SchemaRelationship message. Also converts values to other types if specified.
+ * @param message SchemaRelationship
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaRelationship to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaRelationship
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SchemaRelationship {
+
+ /** Properties of a SchemaPaths. */
+ interface ISchemaPaths {
+
+ /** SchemaPaths tableFqn */
+ tableFqn?: (string|null);
+
+ /** SchemaPaths paths */
+ paths?: (string[]|null);
+ }
+
+ /** Represents a SchemaPaths. */
+ class SchemaPaths implements ISchemaPaths {
+
+ /**
+ * Constructs a new SchemaPaths.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths);
+
+ /** SchemaPaths tableFqn. */
+ public tableFqn: string;
+
+ /** SchemaPaths paths. */
+ public paths: string[];
+
+ /**
+ * Creates a new SchemaPaths instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaPaths instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths): google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths;
+
+ /**
+ * Encodes the specified SchemaPaths message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.verify|verify} messages.
+ * @param message SchemaPaths message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaPaths message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.verify|verify} messages.
+ * @param message SchemaPaths message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaPaths message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaPaths
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths;
+
+ /**
+ * Decodes a SchemaPaths message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaPaths
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths;
+
+ /**
+ * Verifies a SchemaPaths message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaPaths message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaPaths
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths;
+
+ /**
+ * Creates a plain object from a SchemaPaths message. Also converts values to other types if specified.
+ * @param message SchemaPaths
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaPaths to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaPaths
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Source enum. */
+ enum Source {
+ SOURCE_UNSPECIFIED = 0,
+ BIGQUERY_JOB_HISTORY = 1,
+ LLM_SUGGESTED = 2,
+ BIGQUERY_TABLE_CONSTRAINTS = 3
+ }
+ }
+ }
+
+ /** Properties of an ExampleQuery. */
+ interface IExampleQuery {
+
+ /** ExampleQuery sqlQuery */
+ sqlQuery?: (string|null);
+
+ /** ExampleQuery naturalLanguageQuestion */
+ naturalLanguageQuestion?: (string|null);
+ }
+
+ /** Represents an ExampleQuery. */
+ class ExampleQuery implements IExampleQuery {
+
+ /**
+ * Constructs a new ExampleQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IExampleQuery);
+
+ /** ExampleQuery sqlQuery. */
+ public sqlQuery?: (string|null);
+
+ /** ExampleQuery naturalLanguageQuestion. */
+ public naturalLanguageQuestion: string;
+
+ /** ExampleQuery query. */
+ public query?: "sqlQuery";
+
+ /**
+ * Creates a new ExampleQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExampleQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IExampleQuery): google.cloud.geminidataanalytics.v1alpha.ExampleQuery;
+
+ /**
+ * Encodes the specified ExampleQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ExampleQuery.verify|verify} messages.
+ * @param message ExampleQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IExampleQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExampleQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ExampleQuery.verify|verify} messages.
+ * @param message ExampleQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IExampleQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExampleQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExampleQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ExampleQuery;
+
+ /**
+ * Decodes an ExampleQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExampleQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ExampleQuery;
+
+ /**
+ * Verifies an ExampleQuery message.
+ * @param message Plain 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 ExampleQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExampleQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ExampleQuery;
+
+ /**
+ * Creates a plain object from an ExampleQuery message. Also converts values to other types if specified.
+ * @param message ExampleQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ExampleQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExampleQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExampleQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GlossaryTerm. */
+ interface IGlossaryTerm {
+
+ /** GlossaryTerm displayName */
+ displayName?: (string|null);
+
+ /** GlossaryTerm description */
+ description?: (string|null);
+
+ /** GlossaryTerm labels */
+ labels?: (string[]|null);
+ }
+
+ /** Represents a GlossaryTerm. */
+ class GlossaryTerm implements IGlossaryTerm {
+
+ /**
+ * Constructs a new GlossaryTerm.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm);
+
+ /** GlossaryTerm displayName. */
+ public displayName: string;
+
+ /** GlossaryTerm description. */
+ public description: string;
+
+ /** GlossaryTerm labels. */
+ public labels: string[];
+
+ /**
+ * Creates a new GlossaryTerm instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GlossaryTerm instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm): google.cloud.geminidataanalytics.v1alpha.GlossaryTerm;
+
+ /**
+ * Encodes the specified GlossaryTerm message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.verify|verify} messages.
+ * @param message GlossaryTerm message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GlossaryTerm message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.verify|verify} messages.
+ * @param message GlossaryTerm message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GlossaryTerm message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GlossaryTerm
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.GlossaryTerm;
+
+ /**
+ * Decodes a GlossaryTerm message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GlossaryTerm
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.GlossaryTerm;
+
+ /**
+ * Verifies a GlossaryTerm message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GlossaryTerm message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GlossaryTerm
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.GlossaryTerm;
+
+ /**
+ * Creates a plain object from a GlossaryTerm message. Also converts values to other types if specified.
+ * @param message GlossaryTerm
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.GlossaryTerm, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GlossaryTerm to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GlossaryTerm
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ConversationOptions. */
+ interface IConversationOptions {
+
+ /** ConversationOptions chart */
+ chart?: (google.cloud.geminidataanalytics.v1alpha.IChartOptions|null);
+
+ /** ConversationOptions analysis */
+ analysis?: (google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions|null);
+ }
+
+ /** Represents a ConversationOptions. */
+ class ConversationOptions implements IConversationOptions {
+
+ /**
+ * Constructs a new ConversationOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IConversationOptions);
+
+ /** ConversationOptions chart. */
+ public chart?: (google.cloud.geminidataanalytics.v1alpha.IChartOptions|null);
+
+ /** ConversationOptions analysis. */
+ public analysis?: (google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions|null);
+
+ /**
+ * Creates a new ConversationOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ConversationOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IConversationOptions): google.cloud.geminidataanalytics.v1alpha.ConversationOptions;
+
+ /**
+ * Encodes the specified ConversationOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ConversationOptions.verify|verify} messages.
+ * @param message ConversationOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IConversationOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ConversationOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ConversationOptions.verify|verify} messages.
+ * @param message ConversationOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IConversationOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ConversationOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ConversationOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ConversationOptions;
+
+ /**
+ * Decodes a ConversationOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ConversationOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ConversationOptions;
+
+ /**
+ * Verifies a ConversationOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ConversationOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ConversationOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ConversationOptions;
+
+ /**
+ * Creates a plain object from a ConversationOptions message. Also converts values to other types if specified.
+ * @param message ConversationOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ConversationOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ConversationOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ConversationOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChartOptions. */
+ interface IChartOptions {
+
+ /** ChartOptions image */
+ image?: (google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions|null);
+ }
+
+ /** Represents a ChartOptions. */
+ class ChartOptions implements IChartOptions {
+
+ /**
+ * Constructs a new ChartOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IChartOptions);
+
+ /** ChartOptions image. */
+ public image?: (google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions|null);
+
+ /**
+ * Creates a new ChartOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChartOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IChartOptions): google.cloud.geminidataanalytics.v1alpha.ChartOptions;
+
+ /**
+ * Encodes the specified ChartOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.verify|verify} messages.
+ * @param message ChartOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IChartOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChartOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.verify|verify} messages.
+ * @param message ChartOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IChartOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChartOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChartOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ChartOptions;
+
+ /**
+ * Decodes a ChartOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChartOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ChartOptions;
+
+ /**
+ * Verifies a ChartOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChartOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChartOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ChartOptions;
+
+ /**
+ * Creates a plain object from a ChartOptions message. Also converts values to other types if specified.
+ * @param message ChartOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChartOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChartOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ChartOptions {
+
+ /** Properties of an ImageOptions. */
+ interface IImageOptions {
+
+ /** ImageOptions noImage */
+ noImage?: (google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage|null);
+
+ /** ImageOptions svg */
+ svg?: (google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions|null);
+ }
+
+ /** Represents an ImageOptions. */
+ class ImageOptions implements IImageOptions {
+
+ /**
+ * Constructs a new ImageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions);
+
+ /** ImageOptions noImage. */
+ public noImage?: (google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage|null);
+
+ /** ImageOptions svg. */
+ public svg?: (google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions|null);
+
+ /** ImageOptions kind. */
+ public kind?: ("noImage"|"svg");
+
+ /**
+ * Creates a new ImageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImageOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions;
+
+ /**
+ * Encodes the specified ImageOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.verify|verify} messages.
+ * @param message ImageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImageOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.verify|verify} messages.
+ * @param message ImageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions;
+
+ /**
+ * Decodes an ImageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions;
+
+ /**
+ * Verifies an ImageOptions message.
+ * @param message Plain 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 ImageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions;
+
+ /**
+ * Creates a plain object from an ImageOptions message. Also converts values to other types if specified.
+ * @param message ImageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ImageOptions {
+
+ /** Properties of a NoImage. */
+ interface INoImage {
+ }
+
+ /** Represents a NoImage. */
+ class NoImage implements INoImage {
+
+ /**
+ * Constructs a new NoImage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage);
+
+ /**
+ * Creates a new NoImage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NoImage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage;
+
+ /**
+ * Encodes the specified NoImage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage.verify|verify} messages.
+ * @param message NoImage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NoImage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage.verify|verify} messages.
+ * @param message NoImage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NoImage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NoImage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage;
+
+ /**
+ * Decodes a NoImage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NoImage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage;
+
+ /**
+ * Verifies a NoImage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NoImage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NoImage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage;
+
+ /**
+ * Creates a plain object from a NoImage message. Also converts values to other types if specified.
+ * @param message NoImage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NoImage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NoImage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SvgOptions. */
+ interface ISvgOptions {
+ }
+
+ /** Represents a SvgOptions. */
+ class SvgOptions implements ISvgOptions {
+
+ /**
+ * Constructs a new SvgOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions);
+
+ /**
+ * Creates a new SvgOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SvgOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions;
+
+ /**
+ * Encodes the specified SvgOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions.verify|verify} messages.
+ * @param message SvgOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SvgOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions.verify|verify} messages.
+ * @param message SvgOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SvgOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SvgOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions;
+
+ /**
+ * Decodes a SvgOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SvgOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions;
+
+ /**
+ * Verifies a SvgOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SvgOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SvgOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions;
+
+ /**
+ * Creates a plain object from a SvgOptions message. Also converts values to other types if specified.
+ * @param message SvgOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SvgOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SvgOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of an AnalysisOptions. */
+ interface IAnalysisOptions {
+
+ /** AnalysisOptions python */
+ python?: (google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython|null);
+ }
+
+ /** Represents an AnalysisOptions. */
+ class AnalysisOptions implements IAnalysisOptions {
+
+ /**
+ * Constructs a new AnalysisOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions);
+
+ /** AnalysisOptions python. */
+ public python?: (google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython|null);
+
+ /**
+ * Creates a new AnalysisOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions): google.cloud.geminidataanalytics.v1alpha.AnalysisOptions;
+
+ /**
+ * Encodes the specified AnalysisOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.verify|verify} messages.
+ * @param message AnalysisOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.verify|verify} messages.
+ * @param message AnalysisOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.AnalysisOptions;
+
+ /**
+ * Decodes an AnalysisOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.AnalysisOptions;
+
+ /**
+ * Verifies an AnalysisOptions message.
+ * @param message Plain 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 AnalysisOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.AnalysisOptions;
+
+ /**
+ * Creates a plain object from an AnalysisOptions message. Also converts values to other types if specified.
+ * @param message AnalysisOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.AnalysisOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AnalysisOptions {
+
+ /** Properties of a Python. */
+ interface IPython {
+
+ /** Python enabled */
+ enabled?: (boolean|null);
+ }
+
+ /** Represents a Python. */
+ class Python implements IPython {
+
+ /**
+ * Constructs a new Python.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython);
+
+ /** Python enabled. */
+ public enabled: boolean;
+
+ /**
+ * Creates a new Python instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Python instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython): google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python;
+
+ /**
+ * Encodes the specified Python message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python.verify|verify} messages.
+ * @param message Python message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Python message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python.verify|verify} messages.
+ * @param message Python message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Python message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Python
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python;
+
+ /**
+ * Decodes a Python message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Python
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python;
+
+ /**
+ * Verifies a Python message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Python message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Python
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python;
+
+ /**
+ * Creates a plain object from a Python message. Also converts values to other types if specified.
+ * @param message Python
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Python to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Python
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** DataFilterType enum. */
+ enum DataFilterType {
+ DATA_FILTER_TYPE_UNSPECIFIED = 0,
+ ALWAYS_FILTER = 1
+ }
+
+ /** Properties of a DatasourceReferences. */
+ interface IDatasourceReferences {
+
+ /** DatasourceReferences bq */
+ bq?: (google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences|null);
+
+ /** DatasourceReferences studio */
+ studio?: (google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences|null);
+
+ /** DatasourceReferences looker */
+ looker?: (google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences|null);
+ }
+
+ /** Represents a DatasourceReferences. */
+ class DatasourceReferences implements IDatasourceReferences {
+
+ /**
+ * Constructs a new DatasourceReferences.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences);
+
+ /** DatasourceReferences bq. */
+ public bq?: (google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences|null);
+
+ /** DatasourceReferences studio. */
+ public studio?: (google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences|null);
+
+ /** DatasourceReferences looker. */
+ public looker?: (google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences|null);
+
+ /** DatasourceReferences references. */
+ public references?: ("bq"|"studio"|"looker");
+
+ /**
+ * Creates a new DatasourceReferences instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DatasourceReferences instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences): google.cloud.geminidataanalytics.v1alpha.DatasourceReferences;
+
+ /**
+ * Encodes the specified DatasourceReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.verify|verify} messages.
+ * @param message DatasourceReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DatasourceReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.verify|verify} messages.
+ * @param message DatasourceReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DatasourceReferences message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.DatasourceReferences;
+
+ /**
+ * Decodes a DatasourceReferences message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.DatasourceReferences;
+
+ /**
+ * Verifies a DatasourceReferences message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DatasourceReferences message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DatasourceReferences
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.DatasourceReferences;
+
+ /**
+ * Creates a plain object from a DatasourceReferences message. Also converts values to other types if specified.
+ * @param message DatasourceReferences
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.DatasourceReferences, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DatasourceReferences to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DatasourceReferences
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryTableReferences. */
+ interface IBigQueryTableReferences {
+
+ /** BigQueryTableReferences tableReferences */
+ tableReferences?: (google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference[]|null);
+ }
+
+ /** Represents a BigQueryTableReferences. */
+ class BigQueryTableReferences implements IBigQueryTableReferences {
+
+ /**
+ * Constructs a new BigQueryTableReferences.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences);
+
+ /** BigQueryTableReferences tableReferences. */
+ public tableReferences: google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference[];
+
+ /**
+ * Creates a new BigQueryTableReferences instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryTableReferences instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences): google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences;
+
+ /**
+ * Encodes the specified BigQueryTableReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.verify|verify} messages.
+ * @param message BigQueryTableReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryTableReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.verify|verify} messages.
+ * @param message BigQueryTableReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryTableReferences message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryTableReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences;
+
+ /**
+ * Decodes a BigQueryTableReferences message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryTableReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences;
+
+ /**
+ * Verifies a BigQueryTableReferences message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryTableReferences message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryTableReferences
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences;
+
+ /**
+ * Creates a plain object from a BigQueryTableReferences message. Also converts values to other types if specified.
+ * @param message BigQueryTableReferences
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryTableReferences to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryTableReferences
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryTableReference. */
+ interface IBigQueryTableReference {
+
+ /** BigQueryTableReference projectId */
+ projectId?: (string|null);
+
+ /** BigQueryTableReference datasetId */
+ datasetId?: (string|null);
+
+ /** BigQueryTableReference tableId */
+ tableId?: (string|null);
+
+ /** BigQueryTableReference schema */
+ schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+ }
+
+ /** Represents a BigQueryTableReference. */
+ class BigQueryTableReference implements IBigQueryTableReference {
+
+ /**
+ * Constructs a new BigQueryTableReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference);
+
+ /** BigQueryTableReference projectId. */
+ public projectId: string;
+
+ /** BigQueryTableReference datasetId. */
+ public datasetId: string;
+
+ /** BigQueryTableReference tableId. */
+ public tableId: string;
+
+ /** BigQueryTableReference schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+
+ /**
+ * Creates a new BigQueryTableReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryTableReference instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference): google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference;
+
+ /**
+ * Encodes the specified BigQueryTableReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.verify|verify} messages.
+ * @param message BigQueryTableReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryTableReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.verify|verify} messages.
+ * @param message BigQueryTableReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryTableReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryTableReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference;
+
+ /**
+ * Decodes a BigQueryTableReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryTableReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference;
+
+ /**
+ * Verifies a BigQueryTableReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryTableReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryTableReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference;
+
+ /**
+ * Creates a plain object from a BigQueryTableReference message. Also converts values to other types if specified.
+ * @param message BigQueryTableReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryTableReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryTableReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StudioDatasourceReferences. */
+ interface IStudioDatasourceReferences {
+
+ /** StudioDatasourceReferences studioReferences */
+ studioReferences?: (google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference[]|null);
+ }
+
+ /** Represents a StudioDatasourceReferences. */
+ class StudioDatasourceReferences implements IStudioDatasourceReferences {
+
+ /**
+ * Constructs a new StudioDatasourceReferences.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences);
+
+ /** StudioDatasourceReferences studioReferences. */
+ public studioReferences: google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference[];
+
+ /**
+ * Creates a new StudioDatasourceReferences instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StudioDatasourceReferences instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences): google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences;
+
+ /**
+ * Encodes the specified StudioDatasourceReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.verify|verify} messages.
+ * @param message StudioDatasourceReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StudioDatasourceReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.verify|verify} messages.
+ * @param message StudioDatasourceReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StudioDatasourceReferences message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StudioDatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences;
+
+ /**
+ * Decodes a StudioDatasourceReferences message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StudioDatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences;
+
+ /**
+ * Verifies a StudioDatasourceReferences message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StudioDatasourceReferences message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StudioDatasourceReferences
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences;
+
+ /**
+ * Creates a plain object from a StudioDatasourceReferences message. Also converts values to other types if specified.
+ * @param message StudioDatasourceReferences
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StudioDatasourceReferences to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StudioDatasourceReferences
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StudioDatasourceReference. */
+ interface IStudioDatasourceReference {
+
+ /** StudioDatasourceReference datasourceId */
+ datasourceId?: (string|null);
+ }
+
+ /** Represents a StudioDatasourceReference. */
+ class StudioDatasourceReference implements IStudioDatasourceReference {
+
+ /**
+ * Constructs a new StudioDatasourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference);
+
+ /** StudioDatasourceReference datasourceId. */
+ public datasourceId: string;
+
+ /**
+ * Creates a new StudioDatasourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StudioDatasourceReference instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference): google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference;
+
+ /**
+ * Encodes the specified StudioDatasourceReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference.verify|verify} messages.
+ * @param message StudioDatasourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StudioDatasourceReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference.verify|verify} messages.
+ * @param message StudioDatasourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StudioDatasourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StudioDatasourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference;
+
+ /**
+ * Decodes a StudioDatasourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StudioDatasourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference;
+
+ /**
+ * Verifies a StudioDatasourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StudioDatasourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StudioDatasourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference;
+
+ /**
+ * Creates a plain object from a StudioDatasourceReference message. Also converts values to other types if specified.
+ * @param message StudioDatasourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StudioDatasourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StudioDatasourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LookerExploreReferences. */
+ interface ILookerExploreReferences {
+
+ /** LookerExploreReferences exploreReferences */
+ exploreReferences?: (google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference[]|null);
+
+ /** LookerExploreReferences credentials */
+ credentials?: (google.cloud.geminidataanalytics.v1alpha.ICredentials|null);
+ }
+
+ /** Represents a LookerExploreReferences. */
+ class LookerExploreReferences implements ILookerExploreReferences {
+
+ /**
+ * Constructs a new LookerExploreReferences.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences);
+
+ /** LookerExploreReferences exploreReferences. */
+ public exploreReferences: google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference[];
+
+ /** LookerExploreReferences credentials. */
+ public credentials?: (google.cloud.geminidataanalytics.v1alpha.ICredentials|null);
+
+ /**
+ * Creates a new LookerExploreReferences instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LookerExploreReferences instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences): google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences;
+
+ /**
+ * Encodes the specified LookerExploreReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.verify|verify} messages.
+ * @param message LookerExploreReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LookerExploreReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.verify|verify} messages.
+ * @param message LookerExploreReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LookerExploreReferences message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LookerExploreReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences;
+
+ /**
+ * Decodes a LookerExploreReferences message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LookerExploreReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences;
+
+ /**
+ * Verifies a LookerExploreReferences message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LookerExploreReferences message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LookerExploreReferences
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences;
+
+ /**
+ * Creates a plain object from a LookerExploreReferences message. Also converts values to other types if specified.
+ * @param message LookerExploreReferences
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LookerExploreReferences to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LookerExploreReferences
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LookerExploreReference. */
+ interface ILookerExploreReference {
+
+ /** LookerExploreReference lookerInstanceUri */
+ lookerInstanceUri?: (string|null);
+
+ /** LookerExploreReference privateLookerInstanceInfo */
+ privateLookerInstanceInfo?: (google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo|null);
+
+ /** LookerExploreReference lookmlModel */
+ lookmlModel?: (string|null);
+
+ /** LookerExploreReference explore */
+ explore?: (string|null);
+
+ /** LookerExploreReference schema */
+ schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+ }
+
+ /** Represents a LookerExploreReference. */
+ class LookerExploreReference implements ILookerExploreReference {
+
+ /**
+ * Constructs a new LookerExploreReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference);
+
+ /** LookerExploreReference lookerInstanceUri. */
+ public lookerInstanceUri?: (string|null);
+
+ /** LookerExploreReference privateLookerInstanceInfo. */
+ public privateLookerInstanceInfo?: (google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo|null);
+
+ /** LookerExploreReference lookmlModel. */
+ public lookmlModel: string;
+
+ /** LookerExploreReference explore. */
+ public explore: string;
+
+ /** LookerExploreReference schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+
+ /** LookerExploreReference instance. */
+ public instance?: ("lookerInstanceUri"|"privateLookerInstanceInfo");
+
+ /**
+ * Creates a new LookerExploreReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LookerExploreReference instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference): google.cloud.geminidataanalytics.v1alpha.LookerExploreReference;
+
+ /**
+ * Encodes the specified LookerExploreReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.verify|verify} messages.
+ * @param message LookerExploreReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LookerExploreReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.verify|verify} messages.
+ * @param message LookerExploreReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LookerExploreReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LookerExploreReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.LookerExploreReference;
+
+ /**
+ * Decodes a LookerExploreReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LookerExploreReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.LookerExploreReference;
+
+ /**
+ * Verifies a LookerExploreReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LookerExploreReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LookerExploreReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.LookerExploreReference;
+
+ /**
+ * Creates a plain object from a LookerExploreReference message. Also converts values to other types if specified.
+ * @param message LookerExploreReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.LookerExploreReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LookerExploreReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LookerExploreReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PrivateLookerInstanceInfo. */
+ interface IPrivateLookerInstanceInfo {
+
+ /** PrivateLookerInstanceInfo lookerInstanceId */
+ lookerInstanceId?: (string|null);
+
+ /** PrivateLookerInstanceInfo serviceDirectoryName */
+ serviceDirectoryName?: (string|null);
+ }
+
+ /** Represents a PrivateLookerInstanceInfo. */
+ class PrivateLookerInstanceInfo implements IPrivateLookerInstanceInfo {
+
+ /**
+ * Constructs a new PrivateLookerInstanceInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo);
+
+ /** PrivateLookerInstanceInfo lookerInstanceId. */
+ public lookerInstanceId: string;
+
+ /** PrivateLookerInstanceInfo serviceDirectoryName. */
+ public serviceDirectoryName: string;
+
+ /**
+ * Creates a new PrivateLookerInstanceInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PrivateLookerInstanceInfo instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo): google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo;
+
+ /**
+ * Encodes the specified PrivateLookerInstanceInfo message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo.verify|verify} messages.
+ * @param message PrivateLookerInstanceInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PrivateLookerInstanceInfo message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo.verify|verify} messages.
+ * @param message PrivateLookerInstanceInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PrivateLookerInstanceInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PrivateLookerInstanceInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo;
+
+ /**
+ * Decodes a PrivateLookerInstanceInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PrivateLookerInstanceInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo;
+
+ /**
+ * Verifies a PrivateLookerInstanceInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PrivateLookerInstanceInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PrivateLookerInstanceInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo;
+
+ /**
+ * Creates a plain object from a PrivateLookerInstanceInfo message. Also converts values to other types if specified.
+ * @param message PrivateLookerInstanceInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PrivateLookerInstanceInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PrivateLookerInstanceInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Datasource. */
+ interface IDatasource {
+
+ /** Datasource bigqueryTableReference */
+ bigqueryTableReference?: (google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference|null);
+
+ /** Datasource studioDatasourceId */
+ studioDatasourceId?: (string|null);
+
+ /** Datasource lookerExploreReference */
+ lookerExploreReference?: (google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference|null);
+
+ /** Datasource schema */
+ schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+ }
+
+ /** Represents a Datasource. */
+ class Datasource implements IDatasource {
+
+ /**
+ * Constructs a new Datasource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDatasource);
+
+ /** Datasource bigqueryTableReference. */
+ public bigqueryTableReference?: (google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference|null);
+
+ /** Datasource studioDatasourceId. */
+ public studioDatasourceId?: (string|null);
+
+ /** Datasource lookerExploreReference. */
+ public lookerExploreReference?: (google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference|null);
+
+ /** Datasource schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+
+ /** Datasource reference. */
+ public reference?: ("bigqueryTableReference"|"studioDatasourceId"|"lookerExploreReference");
+
+ /**
+ * Creates a new Datasource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Datasource instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDatasource): google.cloud.geminidataanalytics.v1alpha.Datasource;
+
+ /**
+ * Encodes the specified Datasource message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Datasource.verify|verify} messages.
+ * @param message Datasource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDatasource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Datasource message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Datasource.verify|verify} messages.
+ * @param message Datasource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDatasource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Datasource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Datasource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.Datasource;
+
+ /**
+ * Decodes a Datasource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Datasource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.Datasource;
+
+ /**
+ * Verifies a Datasource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Datasource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Datasource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.Datasource;
+
+ /**
+ * Creates a plain object from a Datasource message. Also converts values to other types if specified.
+ * @param message Datasource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.Datasource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Datasource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Datasource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Schema. */
+ interface ISchema {
+
+ /** Schema fields */
+ fields?: (google.cloud.geminidataanalytics.v1alpha.IField[]|null);
+
+ /** Schema description */
+ description?: (string|null);
+
+ /** Schema synonyms */
+ synonyms?: (string[]|null);
+
+ /** Schema tags */
+ tags?: (string[]|null);
+
+ /** Schema displayName */
+ displayName?: (string|null);
+
+ /** Schema filters */
+ filters?: (google.cloud.geminidataanalytics.v1alpha.IDataFilter[]|null);
+ }
+
+ /** Represents a Schema. */
+ class Schema implements ISchema {
+
+ /**
+ * Constructs a new Schema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ISchema);
+
+ /** Schema fields. */
+ public fields: google.cloud.geminidataanalytics.v1alpha.IField[];
+
+ /** Schema description. */
+ public description: string;
+
+ /** Schema synonyms. */
+ public synonyms: string[];
+
+ /** Schema tags. */
+ public tags: string[];
+
+ /** Schema displayName. */
+ public displayName: string;
+
+ /** Schema filters. */
+ public filters: google.cloud.geminidataanalytics.v1alpha.IDataFilter[];
+
+ /**
+ * Creates a new Schema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Schema instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ISchema): google.cloud.geminidataanalytics.v1alpha.Schema;
+
+ /**
+ * Encodes the specified Schema message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Schema message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.Schema;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.Schema;
+
+ /**
+ * Verifies a Schema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Schema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Schema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.Schema;
+
+ /**
+ * Creates a plain object from a Schema message. Also converts values to other types if specified.
+ * @param message Schema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.Schema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Schema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Schema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Field. */
+ interface IField {
+
+ /** Field name */
+ name?: (string|null);
+
+ /** Field type */
+ type?: (string|null);
+
+ /** Field description */
+ description?: (string|null);
+
+ /** Field mode */
+ mode?: (string|null);
+
+ /** Field synonyms */
+ synonyms?: (string[]|null);
+
+ /** Field tags */
+ tags?: (string[]|null);
+
+ /** Field displayName */
+ displayName?: (string|null);
+
+ /** Field subfields */
+ subfields?: (google.cloud.geminidataanalytics.v1alpha.IField[]|null);
+
+ /** Field category */
+ category?: (string|null);
+
+ /** Field valueFormat */
+ valueFormat?: (string|null);
+ }
+
+ /** Represents a Field. */
+ class Field implements IField {
+
+ /**
+ * Constructs a new Field.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IField);
+
+ /** Field name. */
+ public name: string;
+
+ /** Field type. */
+ public type: string;
+
+ /** Field description. */
+ public description: string;
+
+ /** Field mode. */
+ public mode: string;
+
+ /** Field synonyms. */
+ public synonyms: string[];
+
+ /** Field tags. */
+ public tags: string[];
+
+ /** Field displayName. */
+ public displayName: string;
+
+ /** Field subfields. */
+ public subfields: google.cloud.geminidataanalytics.v1alpha.IField[];
+
+ /** Field category. */
+ public category: string;
+
+ /** Field valueFormat. */
+ public valueFormat: string;
+
+ /**
+ * Creates a new Field instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Field instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IField): google.cloud.geminidataanalytics.v1alpha.Field;
+
+ /**
+ * Encodes the specified Field message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Field.verify|verify} messages.
+ * @param message Field message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Field message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Field.verify|verify} messages.
+ * @param message Field message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Field message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Field
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.Field;
+
+ /**
+ * Decodes a Field message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Field
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.Field;
+
+ /**
+ * Verifies a Field message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Field message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Field
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.Field;
+
+ /**
+ * Creates a plain object from a Field message. Also converts values to other types if specified.
+ * @param message Field
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.Field, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Field to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Field
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataFilter. */
+ interface IDataFilter {
+
+ /** DataFilter field */
+ field?: (string|null);
+
+ /** DataFilter value */
+ value?: (string|null);
+
+ /** DataFilter type */
+ type?: (google.cloud.geminidataanalytics.v1alpha.DataFilterType|keyof typeof google.cloud.geminidataanalytics.v1alpha.DataFilterType|null);
+ }
+
+ /** Represents a DataFilter. */
+ class DataFilter implements IDataFilter {
+
+ /**
+ * Constructs a new DataFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDataFilter);
+
+ /** DataFilter field. */
+ public field: string;
+
+ /** DataFilter value. */
+ public value: string;
+
+ /** DataFilter type. */
+ public type: (google.cloud.geminidataanalytics.v1alpha.DataFilterType|keyof typeof google.cloud.geminidataanalytics.v1alpha.DataFilterType);
+
+ /**
+ * Creates a new DataFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataFilter instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDataFilter): google.cloud.geminidataanalytics.v1alpha.DataFilter;
+
+ /**
+ * Encodes the specified DataFilter message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataFilter.verify|verify} messages.
+ * @param message DataFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDataFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataFilter message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataFilter.verify|verify} messages.
+ * @param message DataFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDataFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.DataFilter;
+
+ /**
+ * Decodes a DataFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.DataFilter;
+
+ /**
+ * Verifies a DataFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.DataFilter;
+
+ /**
+ * Creates a plain object from a DataFilter message. Also converts values to other types if specified.
+ * @param message DataFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.DataFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Credentials. */
+ interface ICredentials {
+
+ /** Credentials oauth */
+ oauth?: (google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials|null);
+ }
+
+ /** Represents a Credentials. */
+ class Credentials implements ICredentials {
+
+ /**
+ * Constructs a new Credentials.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ICredentials);
+
+ /** Credentials oauth. */
+ public oauth?: (google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials|null);
+
+ /** Credentials kind. */
+ public kind?: "oauth";
+
+ /**
+ * Creates a new Credentials instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Credentials instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ICredentials): google.cloud.geminidataanalytics.v1alpha.Credentials;
+
+ /**
+ * Encodes the specified Credentials message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Credentials.verify|verify} messages.
+ * @param message Credentials message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ICredentials, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Credentials message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Credentials.verify|verify} messages.
+ * @param message Credentials message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ICredentials, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Credentials message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Credentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.Credentials;
+
+ /**
+ * Decodes a Credentials message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Credentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.Credentials;
+
+ /**
+ * Verifies a Credentials message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Credentials message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Credentials
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.Credentials;
+
+ /**
+ * Creates a plain object from a Credentials message. Also converts values to other types if specified.
+ * @param message Credentials
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.Credentials, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Credentials to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Credentials
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a OAuthCredentials. */
+ interface IOAuthCredentials {
+
+ /** OAuthCredentials secret */
+ secret?: (google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased|null);
+
+ /** OAuthCredentials token */
+ token?: (google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased|null);
+ }
+
+ /** Represents a OAuthCredentials. */
+ class OAuthCredentials implements IOAuthCredentials {
+
+ /**
+ * Constructs a new OAuthCredentials.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials);
+
+ /** OAuthCredentials secret. */
+ public secret?: (google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased|null);
+
+ /** OAuthCredentials token. */
+ public token?: (google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased|null);
+
+ /** OAuthCredentials kind. */
+ public kind?: ("secret"|"token");
+
+ /**
+ * Creates a new OAuthCredentials instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OAuthCredentials instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials;
+
+ /**
+ * Encodes the specified OAuthCredentials message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.verify|verify} messages.
+ * @param message OAuthCredentials message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OAuthCredentials message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.verify|verify} messages.
+ * @param message OAuthCredentials message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a OAuthCredentials message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OAuthCredentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials;
+
+ /**
+ * Decodes a OAuthCredentials message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OAuthCredentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials;
+
+ /**
+ * Verifies a OAuthCredentials message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a OAuthCredentials message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OAuthCredentials
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials;
+
+ /**
+ * Creates a plain object from a OAuthCredentials message. Also converts values to other types if specified.
+ * @param message OAuthCredentials
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OAuthCredentials to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OAuthCredentials
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace OAuthCredentials {
+
+ /** Properties of a SecretBased. */
+ interface ISecretBased {
+
+ /** SecretBased clientId */
+ clientId?: (string|null);
+
+ /** SecretBased clientSecret */
+ clientSecret?: (string|null);
+ }
+
+ /** Represents a SecretBased. */
+ class SecretBased implements ISecretBased {
+
+ /**
+ * Constructs a new SecretBased.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased);
+
+ /** SecretBased clientId. */
+ public clientId: string;
+
+ /** SecretBased clientSecret. */
+ public clientSecret: string;
+
+ /**
+ * Creates a new SecretBased instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SecretBased instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased;
+
+ /**
+ * Encodes the specified SecretBased message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased.verify|verify} messages.
+ * @param message SecretBased message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SecretBased message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased.verify|verify} messages.
+ * @param message SecretBased message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SecretBased message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SecretBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased;
+
+ /**
+ * Decodes a SecretBased message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SecretBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased;
+
+ /**
+ * Verifies a SecretBased message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SecretBased message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SecretBased
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased;
+
+ /**
+ * Creates a plain object from a SecretBased message. Also converts values to other types if specified.
+ * @param message SecretBased
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SecretBased to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SecretBased
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TokenBased. */
+ interface ITokenBased {
+
+ /** TokenBased accessToken */
+ accessToken?: (string|null);
+ }
+
+ /** Represents a TokenBased. */
+ class TokenBased implements ITokenBased {
+
+ /**
+ * Constructs a new TokenBased.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased);
+
+ /** TokenBased accessToken. */
+ public accessToken: string;
+
+ /**
+ * Creates a new TokenBased instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TokenBased instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased;
+
+ /**
+ * Encodes the specified TokenBased message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased.verify|verify} messages.
+ * @param message TokenBased message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TokenBased message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased.verify|verify} messages.
+ * @param message TokenBased message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TokenBased message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TokenBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased;
+
+ /**
+ * Decodes a TokenBased message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TokenBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased;
+
+ /**
+ * Verifies a TokenBased message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TokenBased message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TokenBased
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased;
+
+ /**
+ * Creates a plain object from a TokenBased message. Also converts values to other types if specified.
+ * @param message TokenBased
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TokenBased to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TokenBased
+ * @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 name */
+ name?: (string|null);
+
+ /** Conversation agents */
+ agents?: (string[]|null);
+
+ /** Conversation createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation lastUsedTime */
+ lastUsedTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation labels */
+ labels?: ({ [k: string]: string }|null);
+ }
+
+ /** Represents a Conversation. */
+ class Conversation implements IConversation {
+
+ /**
+ * Constructs a new Conversation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IConversation);
+
+ /** Conversation name. */
+ public name: string;
+
+ /** Conversation agents. */
+ public agents: string[];
+
+ /** Conversation createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation lastUsedTime. */
+ public lastUsedTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation labels. */
+ public labels: { [k: string]: string };
+
+ /**
+ * Creates a new Conversation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Conversation instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IConversation): google.cloud.geminidataanalytics.v1alpha.Conversation;
+
+ /**
+ * Encodes the specified Conversation message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.IConversation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Conversation message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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;
+ }
+
+ /** Properties of a CreateConversationRequest. */
+ interface ICreateConversationRequest {
+
+ /** CreateConversationRequest parent */
+ parent?: (string|null);
+
+ /** CreateConversationRequest conversationId */
+ conversationId?: (string|null);
+
+ /** CreateConversationRequest conversation */
+ conversation?: (google.cloud.geminidataanalytics.v1alpha.IConversation|null);
+
+ /** CreateConversationRequest requestId */
+ requestId?: (string|null);
+ }
+
+ /** Represents a CreateConversationRequest. */
+ class CreateConversationRequest implements ICreateConversationRequest {
+
+ /**
+ * Constructs a new CreateConversationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ICreateConversationRequest);
+
+ /** CreateConversationRequest parent. */
+ public parent: string;
+
+ /** CreateConversationRequest conversationId. */
+ public conversationId: string;
+
+ /** CreateConversationRequest conversation. */
+ public conversation?: (google.cloud.geminidataanalytics.v1alpha.IConversation|null);
+
+ /** CreateConversationRequest requestId. */
+ public requestId: string;
+
+ /**
+ * Creates a new CreateConversationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateConversationRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ICreateConversationRequest): google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest;
+
+ /**
+ * Encodes the specified CreateConversationRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ICreateConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateConversationRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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 GetConversationRequest. */
+ interface IGetConversationRequest {
+
+ /** GetConversationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetConversationRequest. */
+ class GetConversationRequest implements IGetConversationRequest {
+
+ /**
+ * Constructs a new GetConversationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IGetConversationRequest);
+
+ /** GetConversationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetConversationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetConversationRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IGetConversationRequest): google.cloud.geminidataanalytics.v1alpha.GetConversationRequest;
+
+ /**
+ * Encodes the specified GetConversationRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.IGetConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetConversationRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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 a ListConversationsRequest. */
+ interface IListConversationsRequest {
+
+ /** ListConversationsRequest parent */
+ parent?: (string|null);
+
+ /** ListConversationsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListConversationsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListConversationsRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListConversationsRequest. */
+ class ListConversationsRequest implements IListConversationsRequest {
+
+ /**
+ * Constructs a new ListConversationsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IListConversationsRequest);
+
+ /** ListConversationsRequest parent. */
+ public parent: string;
+
+ /** ListConversationsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListConversationsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListConversationsRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListConversationsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListConversationsRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IListConversationsRequest): google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest;
+
+ /**
+ * Encodes the specified ListConversationsRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.IListConversationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListConversationsRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.IListConversationsResponse);
+
+ /** ListConversationsResponse conversations. */
+ public conversations: google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.IListConversationsResponse): google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse;
+
+ /**
+ * Encodes the specified ListConversationsResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.IListConversationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListConversationsResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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 DeleteConversationRequest. */
+ interface IDeleteConversationRequest {
+
+ /** DeleteConversationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteConversationRequest. */
+ class DeleteConversationRequest implements IDeleteConversationRequest {
+
+ /**
+ * Constructs a new DeleteConversationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDeleteConversationRequest);
+
+ /** DeleteConversationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteConversationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteConversationRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDeleteConversationRequest): google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest;
+
+ /**
+ * Encodes the specified DeleteConversationRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.IDeleteConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteConversationRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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 DataAgent. */
+ interface IDataAgent {
+
+ /** DataAgent dataAnalyticsAgent */
+ dataAnalyticsAgent?: (google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent|null);
+
+ /** DataAgent name */
+ name?: (string|null);
+
+ /** DataAgent displayName */
+ displayName?: (string|null);
+
+ /** DataAgent description */
+ description?: (string|null);
+
+ /** DataAgent labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** DataAgent createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent deleteTime */
+ deleteTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent purgeTime */
+ purgeTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a DataAgent. */
+ class DataAgent implements IDataAgent {
+
+ /**
+ * Constructs a new DataAgent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDataAgent);
+
+ /** DataAgent dataAnalyticsAgent. */
+ public dataAnalyticsAgent?: (google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent|null);
+
+ /** DataAgent name. */
+ public name: string;
+
+ /** DataAgent displayName. */
+ public displayName: string;
+
+ /** DataAgent description. */
+ public description: string;
+
+ /** DataAgent labels. */
+ public labels: { [k: string]: string };
+
+ /** DataAgent createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent deleteTime. */
+ public deleteTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent purgeTime. */
+ public purgeTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent type. */
+ public type?: "dataAnalyticsAgent";
+
+ /**
+ * Creates a new DataAgent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataAgent instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDataAgent): google.cloud.geminidataanalytics.v1alpha.DataAgent;
+
+ /**
+ * Encodes the specified DataAgent message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAgent.verify|verify} messages.
+ * @param message DataAgent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDataAgent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataAgent message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAgent.verify|verify} messages.
+ * @param message DataAgent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDataAgent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataAgent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.DataAgent;
+
+ /**
+ * Decodes a DataAgent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.DataAgent;
+
+ /**
+ * Verifies a DataAgent message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataAgent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataAgent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.DataAgent;
+
+ /**
+ * Creates a plain object from a DataAgent message. Also converts values to other types if specified.
+ * @param message DataAgent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.DataAgent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataAgent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataAgent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataAnalyticsAgent. */
+ interface IDataAnalyticsAgent {
+
+ /** DataAnalyticsAgent stagingContext */
+ stagingContext?: (google.cloud.geminidataanalytics.v1alpha.IContext|null);
+
+ /** DataAnalyticsAgent publishedContext */
+ publishedContext?: (google.cloud.geminidataanalytics.v1alpha.IContext|null);
+
+ /** DataAnalyticsAgent lastPublishedContext */
+ lastPublishedContext?: (google.cloud.geminidataanalytics.v1alpha.IContext|null);
+ }
+
+ /** Represents a DataAnalyticsAgent. */
+ class DataAnalyticsAgent implements IDataAnalyticsAgent {
+
+ /**
+ * Constructs a new DataAnalyticsAgent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent);
+
+ /** DataAnalyticsAgent stagingContext. */
+ public stagingContext?: (google.cloud.geminidataanalytics.v1alpha.IContext|null);
+
+ /** DataAnalyticsAgent publishedContext. */
+ public publishedContext?: (google.cloud.geminidataanalytics.v1alpha.IContext|null);
+
+ /** DataAnalyticsAgent lastPublishedContext. */
+ public lastPublishedContext?: (google.cloud.geminidataanalytics.v1alpha.IContext|null);
+
+ /**
+ * Creates a new DataAnalyticsAgent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataAnalyticsAgent instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent): google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent;
+
+ /**
+ * Encodes the specified DataAnalyticsAgent message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.verify|verify} messages.
+ * @param message DataAnalyticsAgent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataAnalyticsAgent message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.verify|verify} messages.
+ * @param message DataAnalyticsAgent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataAnalyticsAgent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataAnalyticsAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent;
+
+ /**
+ * Decodes a DataAnalyticsAgent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataAnalyticsAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent;
+
+ /**
+ * Verifies a DataAnalyticsAgent message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataAnalyticsAgent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataAnalyticsAgent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent;
+
+ /**
+ * Creates a plain object from a DataAnalyticsAgent message. Also converts values to other types if specified.
+ * @param message DataAnalyticsAgent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataAnalyticsAgent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataAnalyticsAgent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a DataAgentService */
+ class DataAgentService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new DataAgentService 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 DataAgentService 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): DataAgentService;
+
+ /**
+ * Calls ListDataAgents.
+ * @param request ListDataAgentsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListDataAgentsResponse
+ */
+ public listDataAgents(request: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataAgentService.ListDataAgentsCallback): void;
+
+ /**
+ * Calls ListDataAgents.
+ * @param request ListDataAgentsRequest message or plain object
+ * @returns Promise
+ */
+ public listDataAgents(request: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest): Promise;
+
+ /**
+ * Calls ListAccessibleDataAgents.
+ * @param request ListAccessibleDataAgentsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListAccessibleDataAgentsResponse
+ */
+ public listAccessibleDataAgents(request: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataAgentService.ListAccessibleDataAgentsCallback): void;
+
+ /**
+ * Calls ListAccessibleDataAgents.
+ * @param request ListAccessibleDataAgentsRequest message or plain object
+ * @returns Promise
+ */
+ public listAccessibleDataAgents(request: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest): Promise;
+
+ /**
+ * Calls GetDataAgent.
+ * @param request GetDataAgentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DataAgent
+ */
+ public getDataAgent(request: google.cloud.geminidataanalytics.v1alpha.IGetDataAgentRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataAgentService.GetDataAgentCallback): void;
+
+ /**
+ * Calls GetDataAgent.
+ * @param request GetDataAgentRequest message or plain object
+ * @returns Promise
+ */
+ public getDataAgent(request: google.cloud.geminidataanalytics.v1alpha.IGetDataAgentRequest): Promise;
+
+ /**
+ * Calls CreateDataAgent.
+ * @param request CreateDataAgentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createDataAgent(request: google.cloud.geminidataanalytics.v1alpha.ICreateDataAgentRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataAgentService.CreateDataAgentCallback): void;
+
+ /**
+ * Calls CreateDataAgent.
+ * @param request CreateDataAgentRequest message or plain object
+ * @returns Promise
+ */
+ public createDataAgent(request: google.cloud.geminidataanalytics.v1alpha.ICreateDataAgentRequest): Promise;
+
+ /**
+ * Calls UpdateDataAgent.
+ * @param request UpdateDataAgentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateDataAgent(request: google.cloud.geminidataanalytics.v1alpha.IUpdateDataAgentRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataAgentService.UpdateDataAgentCallback): void;
+
+ /**
+ * Calls UpdateDataAgent.
+ * @param request UpdateDataAgentRequest message or plain object
+ * @returns Promise
+ */
+ public updateDataAgent(request: google.cloud.geminidataanalytics.v1alpha.IUpdateDataAgentRequest): Promise;
+
+ /**
+ * Calls DeleteDataAgent.
+ * @param request DeleteDataAgentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteDataAgent(request: google.cloud.geminidataanalytics.v1alpha.IDeleteDataAgentRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataAgentService.DeleteDataAgentCallback): void;
+
+ /**
+ * Calls DeleteDataAgent.
+ * @param request DeleteDataAgentRequest message or plain object
+ * @returns Promise
+ */
+ public deleteDataAgent(request: google.cloud.geminidataanalytics.v1alpha.IDeleteDataAgentRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataAgentService.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataAgentService.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+ }
+
+ namespace DataAgentService {
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|listDataAgents}.
+ * @param error Error, if any
+ * @param [response] ListDataAgentsResponse
+ */
+ type ListDataAgentsCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|listAccessibleDataAgents}.
+ * @param error Error, if any
+ * @param [response] ListAccessibleDataAgentsResponse
+ */
+ type ListAccessibleDataAgentsCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|getDataAgent}.
+ * @param error Error, if any
+ * @param [response] DataAgent
+ */
+ type GetDataAgentCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1alpha.DataAgent) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|createDataAgent}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateDataAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|updateDataAgent}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateDataAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|deleteDataAgent}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteDataAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+ }
+
+ /** Properties of a ListDataAgentsRequest. */
+ interface IListDataAgentsRequest {
+
+ /** ListDataAgentsRequest parent */
+ parent?: (string|null);
+
+ /** ListDataAgentsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListDataAgentsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListDataAgentsRequest filter */
+ filter?: (string|null);
+
+ /** ListDataAgentsRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListDataAgentsRequest showDeleted */
+ showDeleted?: (boolean|null);
+ }
+
+ /** Represents a ListDataAgentsRequest. */
+ class ListDataAgentsRequest implements IListDataAgentsRequest {
+
+ /**
+ * Constructs a new ListDataAgentsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest);
+
+ /** ListDataAgentsRequest parent. */
+ public parent: string;
+
+ /** ListDataAgentsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListDataAgentsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListDataAgentsRequest filter. */
+ public filter: string;
+
+ /** ListDataAgentsRequest orderBy. */
+ public orderBy: string;
+
+ /** ListDataAgentsRequest showDeleted. */
+ public showDeleted: boolean;
+
+ /**
+ * Creates a new ListDataAgentsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDataAgentsRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest): google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest;
+
+ /**
+ * Encodes the specified ListDataAgentsRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest.verify|verify} messages.
+ * @param message ListDataAgentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDataAgentsRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest.verify|verify} messages.
+ * @param message ListDataAgentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDataAgentsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest;
+
+ /**
+ * Decodes a ListDataAgentsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest;
+
+ /**
+ * Verifies a ListDataAgentsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDataAgentsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDataAgentsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest;
+
+ /**
+ * Creates a plain object from a ListDataAgentsRequest message. Also converts values to other types if specified.
+ * @param message ListDataAgentsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDataAgentsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDataAgentsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDataAgentsResponse. */
+ interface IListDataAgentsResponse {
+
+ /** ListDataAgentsResponse dataAgents */
+ dataAgents?: (google.cloud.geminidataanalytics.v1alpha.IDataAgent[]|null);
+
+ /** ListDataAgentsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListDataAgentsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListDataAgentsResponse. */
+ class ListDataAgentsResponse implements IListDataAgentsResponse {
+
+ /**
+ * Constructs a new ListDataAgentsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsResponse);
+
+ /** ListDataAgentsResponse dataAgents. */
+ public dataAgents: google.cloud.geminidataanalytics.v1alpha.IDataAgent[];
+
+ /** ListDataAgentsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListDataAgentsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListDataAgentsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDataAgentsResponse instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsResponse): google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse;
+
+ /**
+ * Encodes the specified ListDataAgentsResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse.verify|verify} messages.
+ * @param message ListDataAgentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDataAgentsResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse.verify|verify} messages.
+ * @param message ListDataAgentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IListDataAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDataAgentsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse;
+
+ /**
+ * Decodes a ListDataAgentsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse;
+
+ /**
+ * Verifies a ListDataAgentsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDataAgentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDataAgentsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse;
+
+ /**
+ * Creates a plain object from a ListDataAgentsResponse message. Also converts values to other types if specified.
+ * @param message ListDataAgentsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDataAgentsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDataAgentsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListAccessibleDataAgentsRequest. */
+ interface IListAccessibleDataAgentsRequest {
+
+ /** ListAccessibleDataAgentsRequest parent */
+ parent?: (string|null);
+
+ /** ListAccessibleDataAgentsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListAccessibleDataAgentsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListAccessibleDataAgentsRequest filter */
+ filter?: (string|null);
+
+ /** ListAccessibleDataAgentsRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListAccessibleDataAgentsRequest showDeleted */
+ showDeleted?: (boolean|null);
+
+ /** ListAccessibleDataAgentsRequest creatorFilter */
+ creatorFilter?: (google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.CreatorFilter|keyof typeof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.CreatorFilter|null);
+ }
+
+ /** Represents a ListAccessibleDataAgentsRequest. */
+ class ListAccessibleDataAgentsRequest implements IListAccessibleDataAgentsRequest {
+
+ /**
+ * Constructs a new ListAccessibleDataAgentsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest);
+
+ /** ListAccessibleDataAgentsRequest parent. */
+ public parent: string;
+
+ /** ListAccessibleDataAgentsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListAccessibleDataAgentsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListAccessibleDataAgentsRequest filter. */
+ public filter: string;
+
+ /** ListAccessibleDataAgentsRequest orderBy. */
+ public orderBy: string;
+
+ /** ListAccessibleDataAgentsRequest showDeleted. */
+ public showDeleted: boolean;
+
+ /** ListAccessibleDataAgentsRequest creatorFilter. */
+ public creatorFilter: (google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.CreatorFilter|keyof typeof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.CreatorFilter);
+
+ /**
+ * Creates a new ListAccessibleDataAgentsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAccessibleDataAgentsRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest): google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest;
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.verify|verify} messages.
+ * @param message ListAccessibleDataAgentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.verify|verify} messages.
+ * @param message ListAccessibleDataAgentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAccessibleDataAgentsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAccessibleDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest;
+
+ /**
+ * Decodes a ListAccessibleDataAgentsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAccessibleDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest;
+
+ /**
+ * Verifies a ListAccessibleDataAgentsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListAccessibleDataAgentsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAccessibleDataAgentsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest;
+
+ /**
+ * Creates a plain object from a ListAccessibleDataAgentsRequest message. Also converts values to other types if specified.
+ * @param message ListAccessibleDataAgentsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAccessibleDataAgentsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAccessibleDataAgentsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ListAccessibleDataAgentsRequest {
+
+ /** CreatorFilter enum. */
+ enum CreatorFilter {
+ CREATOR_FILTER_UNSPECIFIED = 0,
+ NONE = 1,
+ CREATOR_ONLY = 2,
+ NOT_CREATOR_ONLY = 3
+ }
+ }
+
+ /** Properties of a ListAccessibleDataAgentsResponse. */
+ interface IListAccessibleDataAgentsResponse {
+
+ /** ListAccessibleDataAgentsResponse dataAgents */
+ dataAgents?: (google.cloud.geminidataanalytics.v1alpha.IDataAgent[]|null);
+
+ /** ListAccessibleDataAgentsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListAccessibleDataAgentsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListAccessibleDataAgentsResponse. */
+ class ListAccessibleDataAgentsResponse implements IListAccessibleDataAgentsResponse {
+
+ /**
+ * Constructs a new ListAccessibleDataAgentsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsResponse);
+
+ /** ListAccessibleDataAgentsResponse dataAgents. */
+ public dataAgents: google.cloud.geminidataanalytics.v1alpha.IDataAgent[];
+
+ /** ListAccessibleDataAgentsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListAccessibleDataAgentsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListAccessibleDataAgentsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAccessibleDataAgentsResponse instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsResponse): google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse;
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse.verify|verify} messages.
+ * @param message ListAccessibleDataAgentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse.verify|verify} messages.
+ * @param message ListAccessibleDataAgentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAccessibleDataAgentsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAccessibleDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse;
+
+ /**
+ * Decodes a ListAccessibleDataAgentsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAccessibleDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse;
+
+ /**
+ * Verifies a ListAccessibleDataAgentsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListAccessibleDataAgentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAccessibleDataAgentsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse;
+
+ /**
+ * Creates a plain object from a ListAccessibleDataAgentsResponse message. Also converts values to other types if specified.
+ * @param message ListAccessibleDataAgentsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAccessibleDataAgentsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAccessibleDataAgentsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetDataAgentRequest. */
+ interface IGetDataAgentRequest {
+
+ /** GetDataAgentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetDataAgentRequest. */
+ class GetDataAgentRequest implements IGetDataAgentRequest {
+
+ /**
+ * Constructs a new GetDataAgentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IGetDataAgentRequest);
+
+ /** GetDataAgentRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetDataAgentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetDataAgentRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IGetDataAgentRequest): google.cloud.geminidataanalytics.v1alpha.GetDataAgentRequest;
+
+ /**
+ * Encodes the specified GetDataAgentRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.GetDataAgentRequest.verify|verify} messages.
+ * @param message GetDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IGetDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetDataAgentRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.GetDataAgentRequest.verify|verify} messages.
+ * @param message GetDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IGetDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetDataAgentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.GetDataAgentRequest;
+
+ /**
+ * Decodes a GetDataAgentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.GetDataAgentRequest;
+
+ /**
+ * Verifies a GetDataAgentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetDataAgentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetDataAgentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.GetDataAgentRequest;
+
+ /**
+ * Creates a plain object from a GetDataAgentRequest message. Also converts values to other types if specified.
+ * @param message GetDataAgentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.GetDataAgentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetDataAgentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetDataAgentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateDataAgentRequest. */
+ interface ICreateDataAgentRequest {
+
+ /** CreateDataAgentRequest parent */
+ parent?: (string|null);
+
+ /** CreateDataAgentRequest dataAgentId */
+ dataAgentId?: (string|null);
+
+ /** CreateDataAgentRequest dataAgent */
+ dataAgent?: (google.cloud.geminidataanalytics.v1alpha.IDataAgent|null);
+
+ /** CreateDataAgentRequest requestId */
+ requestId?: (string|null);
+ }
+
+ /** Represents a CreateDataAgentRequest. */
+ class CreateDataAgentRequest implements ICreateDataAgentRequest {
+
+ /**
+ * Constructs a new CreateDataAgentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ICreateDataAgentRequest);
+
+ /** CreateDataAgentRequest parent. */
+ public parent: string;
+
+ /** CreateDataAgentRequest dataAgentId. */
+ public dataAgentId: string;
+
+ /** CreateDataAgentRequest dataAgent. */
+ public dataAgent?: (google.cloud.geminidataanalytics.v1alpha.IDataAgent|null);
+
+ /** CreateDataAgentRequest requestId. */
+ public requestId: string;
+
+ /**
+ * Creates a new CreateDataAgentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateDataAgentRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ICreateDataAgentRequest): google.cloud.geminidataanalytics.v1alpha.CreateDataAgentRequest;
+
+ /**
+ * Encodes the specified CreateDataAgentRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.CreateDataAgentRequest.verify|verify} messages.
+ * @param message CreateDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ICreateDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateDataAgentRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.CreateDataAgentRequest.verify|verify} messages.
+ * @param message CreateDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ICreateDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateDataAgentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.CreateDataAgentRequest;
+
+ /**
+ * Decodes a CreateDataAgentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.CreateDataAgentRequest;
+
+ /**
+ * Verifies a CreateDataAgentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateDataAgentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateDataAgentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.CreateDataAgentRequest;
+
+ /**
+ * Creates a plain object from a CreateDataAgentRequest message. Also converts values to other types if specified.
+ * @param message CreateDataAgentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.CreateDataAgentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateDataAgentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateDataAgentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateDataAgentRequest. */
+ interface IUpdateDataAgentRequest {
+
+ /** UpdateDataAgentRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateDataAgentRequest dataAgent */
+ dataAgent?: (google.cloud.geminidataanalytics.v1alpha.IDataAgent|null);
+
+ /** UpdateDataAgentRequest requestId */
+ requestId?: (string|null);
+ }
+
+ /** Represents an UpdateDataAgentRequest. */
+ class UpdateDataAgentRequest implements IUpdateDataAgentRequest {
+
+ /**
+ * Constructs a new UpdateDataAgentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IUpdateDataAgentRequest);
+
+ /** UpdateDataAgentRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateDataAgentRequest dataAgent. */
+ public dataAgent?: (google.cloud.geminidataanalytics.v1alpha.IDataAgent|null);
+
+ /** UpdateDataAgentRequest requestId. */
+ public requestId: string;
+
+ /**
+ * Creates a new UpdateDataAgentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateDataAgentRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IUpdateDataAgentRequest): google.cloud.geminidataanalytics.v1alpha.UpdateDataAgentRequest;
+
+ /**
+ * Encodes the specified UpdateDataAgentRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.UpdateDataAgentRequest.verify|verify} messages.
+ * @param message UpdateDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IUpdateDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateDataAgentRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.UpdateDataAgentRequest.verify|verify} messages.
+ * @param message UpdateDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IUpdateDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateDataAgentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.UpdateDataAgentRequest;
+
+ /**
+ * Decodes an UpdateDataAgentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.UpdateDataAgentRequest;
+
+ /**
+ * Verifies an UpdateDataAgentRequest message.
+ * @param message Plain 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 UpdateDataAgentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateDataAgentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.UpdateDataAgentRequest;
+
+ /**
+ * Creates a plain object from an UpdateDataAgentRequest message. Also converts values to other types if specified.
+ * @param message UpdateDataAgentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.UpdateDataAgentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateDataAgentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateDataAgentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteDataAgentRequest. */
+ interface IDeleteDataAgentRequest {
+
+ /** DeleteDataAgentRequest name */
+ name?: (string|null);
+
+ /** DeleteDataAgentRequest requestId */
+ requestId?: (string|null);
+ }
+
+ /** Represents a DeleteDataAgentRequest. */
+ class DeleteDataAgentRequest implements IDeleteDataAgentRequest {
+
+ /**
+ * Constructs a new DeleteDataAgentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDeleteDataAgentRequest);
+
+ /** DeleteDataAgentRequest name. */
+ public name: string;
+
+ /** DeleteDataAgentRequest requestId. */
+ public requestId: string;
+
+ /**
+ * Creates a new DeleteDataAgentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteDataAgentRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDeleteDataAgentRequest): google.cloud.geminidataanalytics.v1alpha.DeleteDataAgentRequest;
+
+ /**
+ * Encodes the specified DeleteDataAgentRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DeleteDataAgentRequest.verify|verify} messages.
+ * @param message DeleteDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDeleteDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteDataAgentRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DeleteDataAgentRequest.verify|verify} messages.
+ * @param message DeleteDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDeleteDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteDataAgentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.DeleteDataAgentRequest;
+
+ /**
+ * Decodes a DeleteDataAgentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.DeleteDataAgentRequest;
+
+ /**
+ * Verifies a DeleteDataAgentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteDataAgentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteDataAgentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.DeleteDataAgentRequest;
+
+ /**
+ * Creates a plain object from a DeleteDataAgentRequest message. Also converts values to other types if specified.
+ * @param message DeleteDataAgentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.DeleteDataAgentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteDataAgentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteDataAgentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OperationMetadata. */
+ interface IOperationMetadata {
+
+ /** OperationMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata target */
+ target?: (string|null);
+
+ /** OperationMetadata verb */
+ verb?: (string|null);
+
+ /** OperationMetadata statusMessage */
+ statusMessage?: (string|null);
+
+ /** OperationMetadata requestedCancellation */
+ requestedCancellation?: (boolean|null);
+
+ /** OperationMetadata apiVersion */
+ apiVersion?: (string|null);
+ }
+
+ /** Represents an OperationMetadata. */
+ class OperationMetadata implements IOperationMetadata {
+
+ /**
+ * Constructs a new OperationMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IOperationMetadata);
+
+ /** OperationMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata target. */
+ public target: string;
+
+ /** OperationMetadata verb. */
+ public verb: string;
+
+ /** OperationMetadata statusMessage. */
+ public statusMessage: string;
+
+ /** OperationMetadata requestedCancellation. */
+ public requestedCancellation: boolean;
+
+ /** OperationMetadata apiVersion. */
+ public apiVersion: string;
+
+ /**
+ * Creates a new OperationMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationMetadata instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IOperationMetadata): google.cloud.geminidataanalytics.v1alpha.OperationMetadata;
+
+ /**
+ * Encodes the specified OperationMetadata message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OperationMetadata.verify|verify} messages.
+ * @param message OperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationMetadata message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OperationMetadata.verify|verify} messages.
+ * @param message OperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.OperationMetadata;
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.OperationMetadata;
+
+ /**
+ * Verifies an OperationMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.OperationMetadata;
+
+ /**
+ * Creates a plain object from an OperationMetadata message. Also converts values to other types if specified.
+ * @param message OperationMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.OperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a DataChatService */
+ class DataChatService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new DataChatService 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 DataChatService 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): DataChatService;
+
+ /**
+ * Calls Chat.
+ * @param request ChatRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Message
+ */
+ public chat(request: google.cloud.geminidataanalytics.v1alpha.IChatRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataChatService.ChatCallback): void;
+
+ /**
+ * Calls Chat.
+ * @param request ChatRequest message or plain object
+ * @returns Promise
+ */
+ public chat(request: google.cloud.geminidataanalytics.v1alpha.IChatRequest): Promise;
+
+ /**
+ * 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.geminidataanalytics.v1alpha.ICreateConversationRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataChatService.CreateConversationCallback): void;
+
+ /**
+ * Calls CreateConversation.
+ * @param request CreateConversationRequest message or plain object
+ * @returns Promise
+ */
+ public createConversation(request: google.cloud.geminidataanalytics.v1alpha.ICreateConversationRequest): 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.geminidataanalytics.v1alpha.IDeleteConversationRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataChatService.DeleteConversationCallback): void;
+
+ /**
+ * Calls DeleteConversation.
+ * @param request DeleteConversationRequest message or plain object
+ * @returns Promise
+ */
+ public deleteConversation(request: google.cloud.geminidataanalytics.v1alpha.IDeleteConversationRequest): 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.geminidataanalytics.v1alpha.IGetConversationRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataChatService.GetConversationCallback): void;
+
+ /**
+ * Calls GetConversation.
+ * @param request GetConversationRequest message or plain object
+ * @returns Promise
+ */
+ public getConversation(request: google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.IListConversationsRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataChatService.ListConversationsCallback): void;
+
+ /**
+ * Calls ListConversations.
+ * @param request ListConversationsRequest message or plain object
+ * @returns Promise
+ */
+ public listConversations(request: google.cloud.geminidataanalytics.v1alpha.IListConversationsRequest): Promise;
+
+ /**
+ * Calls ListMessages.
+ * @param request ListMessagesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListMessagesResponse
+ */
+ public listMessages(request: google.cloud.geminidataanalytics.v1alpha.IListMessagesRequest, callback: google.cloud.geminidataanalytics.v1alpha.DataChatService.ListMessagesCallback): void;
+
+ /**
+ * Calls ListMessages.
+ * @param request ListMessagesRequest message or plain object
+ * @returns Promise
+ */
+ public listMessages(request: google.cloud.geminidataanalytics.v1alpha.IListMessagesRequest): Promise;
+ }
+
+ namespace DataChatService {
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataChatService|chat}.
+ * @param error Error, if any
+ * @param [response] Message
+ */
+ type ChatCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1alpha.Message) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataChatService|createConversation}.
+ * @param error Error, if any
+ * @param [response] Conversation
+ */
+ type CreateConversationCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1alpha.Conversation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataChatService|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.geminidataanalytics.v1alpha.DataChatService|getConversation}.
+ * @param error Error, if any
+ * @param [response] Conversation
+ */
+ type GetConversationCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1alpha.Conversation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataChatService|listConversations}.
+ * @param error Error, if any
+ * @param [response] ListConversationsResponse
+ */
+ type ListConversationsCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataChatService|listMessages}.
+ * @param error Error, if any
+ * @param [response] ListMessagesResponse
+ */
+ type ListMessagesCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1alpha.ListMessagesResponse) => void;
+ }
+
+ /** Properties of a ListMessagesRequest. */
+ interface IListMessagesRequest {
+
+ /** ListMessagesRequest parent */
+ parent?: (string|null);
+
+ /** ListMessagesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListMessagesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListMessagesRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListMessagesRequest. */
+ class ListMessagesRequest implements IListMessagesRequest {
+
+ /**
+ * Constructs a new ListMessagesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IListMessagesRequest);
+
+ /** ListMessagesRequest parent. */
+ public parent: string;
+
+ /** ListMessagesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListMessagesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListMessagesRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListMessagesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListMessagesRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IListMessagesRequest): google.cloud.geminidataanalytics.v1alpha.ListMessagesRequest;
+
+ /**
+ * Encodes the specified ListMessagesRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListMessagesRequest.verify|verify} messages.
+ * @param message ListMessagesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IListMessagesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListMessagesRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListMessagesRequest.verify|verify} messages.
+ * @param message ListMessagesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IListMessagesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListMessagesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListMessagesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ListMessagesRequest;
+
+ /**
+ * Decodes a ListMessagesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListMessagesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ListMessagesRequest;
+
+ /**
+ * Verifies a ListMessagesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListMessagesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListMessagesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ListMessagesRequest;
+
+ /**
+ * Creates a plain object from a ListMessagesRequest message. Also converts values to other types if specified.
+ * @param message ListMessagesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ListMessagesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListMessagesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListMessagesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListMessagesResponse. */
+ interface IListMessagesResponse {
+
+ /** ListMessagesResponse messages */
+ messages?: (google.cloud.geminidataanalytics.v1alpha.IStorageMessage[]|null);
+
+ /** ListMessagesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListMessagesResponse. */
+ class ListMessagesResponse implements IListMessagesResponse {
+
+ /**
+ * Constructs a new ListMessagesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IListMessagesResponse);
+
+ /** ListMessagesResponse messages. */
+ public messages: google.cloud.geminidataanalytics.v1alpha.IStorageMessage[];
+
+ /** ListMessagesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListMessagesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListMessagesResponse instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IListMessagesResponse): google.cloud.geminidataanalytics.v1alpha.ListMessagesResponse;
+
+ /**
+ * Encodes the specified ListMessagesResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListMessagesResponse.verify|verify} messages.
+ * @param message ListMessagesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IListMessagesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListMessagesResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListMessagesResponse.verify|verify} messages.
+ * @param message ListMessagesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IListMessagesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListMessagesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListMessagesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ListMessagesResponse;
+
+ /**
+ * Decodes a ListMessagesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListMessagesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ListMessagesResponse;
+
+ /**
+ * Verifies a ListMessagesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListMessagesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListMessagesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ListMessagesResponse;
+
+ /**
+ * Creates a plain object from a ListMessagesResponse message. Also converts values to other types if specified.
+ * @param message ListMessagesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ListMessagesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListMessagesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListMessagesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StorageMessage. */
+ interface IStorageMessage {
+
+ /** StorageMessage messageId */
+ messageId?: (string|null);
+
+ /** StorageMessage message */
+ message?: (google.cloud.geminidataanalytics.v1alpha.IMessage|null);
+ }
+
+ /** Represents a StorageMessage. */
+ class StorageMessage implements IStorageMessage {
+
+ /**
+ * Constructs a new StorageMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IStorageMessage);
+
+ /** StorageMessage messageId. */
+ public messageId: string;
+
+ /** StorageMessage message. */
+ public message?: (google.cloud.geminidataanalytics.v1alpha.IMessage|null);
+
+ /**
+ * Creates a new StorageMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StorageMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IStorageMessage): google.cloud.geminidataanalytics.v1alpha.StorageMessage;
+
+ /**
+ * Encodes the specified StorageMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StorageMessage.verify|verify} messages.
+ * @param message StorageMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IStorageMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StorageMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StorageMessage.verify|verify} messages.
+ * @param message StorageMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IStorageMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StorageMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StorageMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.StorageMessage;
+
+ /**
+ * Decodes a StorageMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StorageMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.StorageMessage;
+
+ /**
+ * Verifies a StorageMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StorageMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StorageMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.StorageMessage;
+
+ /**
+ * Creates a plain object from a StorageMessage message. Also converts values to other types if specified.
+ * @param message StorageMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.StorageMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StorageMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StorageMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChatRequest. */
+ interface IChatRequest {
+
+ /** ChatRequest inlineContext */
+ inlineContext?: (google.cloud.geminidataanalytics.v1alpha.IContext|null);
+
+ /** ChatRequest conversationReference */
+ conversationReference?: (google.cloud.geminidataanalytics.v1alpha.IConversationReference|null);
+
+ /** ChatRequest dataAgentContext */
+ dataAgentContext?: (google.cloud.geminidataanalytics.v1alpha.IDataAgentContext|null);
+
+ /** ChatRequest project */
+ project?: (string|null);
+
+ /** ChatRequest parent */
+ parent?: (string|null);
+
+ /** ChatRequest messages */
+ messages?: (google.cloud.geminidataanalytics.v1alpha.IMessage[]|null);
+ }
+
+ /** Represents a ChatRequest. */
+ class ChatRequest implements IChatRequest {
+
+ /**
+ * Constructs a new ChatRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IChatRequest);
+
+ /** ChatRequest inlineContext. */
+ public inlineContext?: (google.cloud.geminidataanalytics.v1alpha.IContext|null);
+
+ /** ChatRequest conversationReference. */
+ public conversationReference?: (google.cloud.geminidataanalytics.v1alpha.IConversationReference|null);
+
+ /** ChatRequest dataAgentContext. */
+ public dataAgentContext?: (google.cloud.geminidataanalytics.v1alpha.IDataAgentContext|null);
+
+ /** ChatRequest project. */
+ public project: string;
+
+ /** ChatRequest parent. */
+ public parent: string;
+
+ /** ChatRequest messages. */
+ public messages: google.cloud.geminidataanalytics.v1alpha.IMessage[];
+
+ /** ChatRequest contextProvider. */
+ public contextProvider?: ("inlineContext"|"conversationReference"|"dataAgentContext");
+
+ /**
+ * Creates a new ChatRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChatRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IChatRequest): google.cloud.geminidataanalytics.v1alpha.ChatRequest;
+
+ /**
+ * Encodes the specified ChatRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChatRequest.verify|verify} messages.
+ * @param message ChatRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IChatRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChatRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChatRequest.verify|verify} messages.
+ * @param message ChatRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IChatRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChatRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChatRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ChatRequest;
+
+ /**
+ * Decodes a ChatRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChatRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ChatRequest;
+
+ /**
+ * Verifies a ChatRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChatRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChatRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ChatRequest;
+
+ /**
+ * Creates a plain object from a ChatRequest message. Also converts values to other types if specified.
+ * @param message ChatRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ChatRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChatRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChatRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataAgentContext. */
+ interface IDataAgentContext {
+
+ /** DataAgentContext dataAgent */
+ dataAgent?: (string|null);
+
+ /** DataAgentContext credentials */
+ credentials?: (google.cloud.geminidataanalytics.v1alpha.ICredentials|null);
+
+ /** DataAgentContext contextVersion */
+ contextVersion?: (google.cloud.geminidataanalytics.v1alpha.DataAgentContext.ContextVersion|keyof typeof google.cloud.geminidataanalytics.v1alpha.DataAgentContext.ContextVersion|null);
+ }
+
+ /** Represents a DataAgentContext. */
+ class DataAgentContext implements IDataAgentContext {
+
+ /**
+ * Constructs a new DataAgentContext.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDataAgentContext);
+
+ /** DataAgentContext dataAgent. */
+ public dataAgent: string;
+
+ /** DataAgentContext credentials. */
+ public credentials?: (google.cloud.geminidataanalytics.v1alpha.ICredentials|null);
+
+ /** DataAgentContext contextVersion. */
+ public contextVersion: (google.cloud.geminidataanalytics.v1alpha.DataAgentContext.ContextVersion|keyof typeof google.cloud.geminidataanalytics.v1alpha.DataAgentContext.ContextVersion);
+
+ /**
+ * Creates a new DataAgentContext instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataAgentContext instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDataAgentContext): google.cloud.geminidataanalytics.v1alpha.DataAgentContext;
+
+ /**
+ * Encodes the specified DataAgentContext message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAgentContext.verify|verify} messages.
+ * @param message DataAgentContext message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDataAgentContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataAgentContext message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAgentContext.verify|verify} messages.
+ * @param message DataAgentContext message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDataAgentContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataAgentContext message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataAgentContext
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.DataAgentContext;
+
+ /**
+ * Decodes a DataAgentContext message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataAgentContext
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.DataAgentContext;
+
+ /**
+ * Verifies a DataAgentContext message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataAgentContext message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataAgentContext
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.DataAgentContext;
+
+ /**
+ * Creates a plain object from a DataAgentContext message. Also converts values to other types if specified.
+ * @param message DataAgentContext
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.DataAgentContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataAgentContext to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataAgentContext
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DataAgentContext {
+
+ /** ContextVersion enum. */
+ enum ContextVersion {
+ CONTEXT_VERSION_UNSPECIFIED = 0,
+ STAGING = 1,
+ PUBLISHED = 2
+ }
+ }
+
+ /** Properties of a ConversationReference. */
+ interface IConversationReference {
+
+ /** ConversationReference conversation */
+ conversation?: (string|null);
+
+ /** ConversationReference dataAgentContext */
+ dataAgentContext?: (google.cloud.geminidataanalytics.v1alpha.IDataAgentContext|null);
+ }
+
+ /** Represents a ConversationReference. */
+ class ConversationReference implements IConversationReference {
+
+ /**
+ * Constructs a new ConversationReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IConversationReference);
+
+ /** ConversationReference conversation. */
+ public conversation: string;
+
+ /** ConversationReference dataAgentContext. */
+ public dataAgentContext?: (google.cloud.geminidataanalytics.v1alpha.IDataAgentContext|null);
+
+ /**
+ * Creates a new ConversationReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ConversationReference instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IConversationReference): google.cloud.geminidataanalytics.v1alpha.ConversationReference;
+
+ /**
+ * Encodes the specified ConversationReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ConversationReference.verify|verify} messages.
+ * @param message ConversationReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IConversationReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ConversationReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ConversationReference.verify|verify} messages.
+ * @param message ConversationReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IConversationReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ConversationReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ConversationReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ConversationReference;
+
+ /**
+ * Decodes a ConversationReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ConversationReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ConversationReference;
+
+ /**
+ * Verifies a ConversationReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ConversationReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ConversationReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ConversationReference;
+
+ /**
+ * Creates a plain object from a ConversationReference message. Also converts values to other types if specified.
+ * @param message ConversationReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ConversationReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ConversationReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ConversationReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Message. */
+ interface IMessage {
+
+ /** Message userMessage */
+ userMessage?: (google.cloud.geminidataanalytics.v1alpha.IUserMessage|null);
+
+ /** Message systemMessage */
+ systemMessage?: (google.cloud.geminidataanalytics.v1alpha.ISystemMessage|null);
+
+ /** Message timestamp */
+ timestamp?: (google.protobuf.ITimestamp|null);
+
+ /** Message messageId */
+ messageId?: (string|null);
+ }
+
+ /** Represents a Message. */
+ class Message implements IMessage {
+
+ /**
+ * Constructs a new Message.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IMessage);
+
+ /** Message userMessage. */
+ public userMessage?: (google.cloud.geminidataanalytics.v1alpha.IUserMessage|null);
+
+ /** Message systemMessage. */
+ public systemMessage?: (google.cloud.geminidataanalytics.v1alpha.ISystemMessage|null);
+
+ /** Message timestamp. */
+ public timestamp?: (google.protobuf.ITimestamp|null);
+
+ /** Message messageId. */
+ public messageId: string;
+
+ /** Message kind. */
+ public kind?: ("userMessage"|"systemMessage");
+
+ /**
+ * Creates a new Message instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Message instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IMessage): google.cloud.geminidataanalytics.v1alpha.Message;
+
+ /**
+ * Encodes the specified Message message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Message.verify|verify} messages.
+ * @param message Message message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Message message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Message.verify|verify} messages.
+ * @param message Message message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Message message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Message
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.Message;
+
+ /**
+ * Decodes a Message message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Message
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.Message;
+
+ /**
+ * Verifies a Message message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Message message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Message
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.Message;
+
+ /**
+ * Creates a plain object from a Message message. Also converts values to other types if specified.
+ * @param message Message
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.Message, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Message to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Message
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a UserMessage. */
+ interface IUserMessage {
+
+ /** UserMessage text */
+ text?: (string|null);
+ }
+
+ /** Represents a UserMessage. */
+ class UserMessage implements IUserMessage {
+
+ /**
+ * Constructs a new UserMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IUserMessage);
+
+ /** UserMessage text. */
+ public text?: (string|null);
+
+ /** UserMessage kind. */
+ public kind?: "text";
+
+ /**
+ * Creates a new UserMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UserMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IUserMessage): google.cloud.geminidataanalytics.v1alpha.UserMessage;
+
+ /**
+ * Encodes the specified UserMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.UserMessage.verify|verify} messages.
+ * @param message UserMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IUserMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UserMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.UserMessage.verify|verify} messages.
+ * @param message UserMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IUserMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UserMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UserMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.UserMessage;
+
+ /**
+ * Decodes a UserMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UserMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.UserMessage;
+
+ /**
+ * Verifies a UserMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UserMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UserMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.UserMessage;
+
+ /**
+ * Creates a plain object from a UserMessage message. Also converts values to other types if specified.
+ * @param message UserMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.UserMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UserMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UserMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SystemMessage. */
+ interface ISystemMessage {
+
+ /** SystemMessage text */
+ text?: (google.cloud.geminidataanalytics.v1alpha.ITextMessage|null);
+
+ /** SystemMessage schema */
+ schema?: (google.cloud.geminidataanalytics.v1alpha.ISchemaMessage|null);
+
+ /** SystemMessage data */
+ data?: (google.cloud.geminidataanalytics.v1alpha.IDataMessage|null);
+
+ /** SystemMessage analysis */
+ analysis?: (google.cloud.geminidataanalytics.v1alpha.IAnalysisMessage|null);
+
+ /** SystemMessage chart */
+ chart?: (google.cloud.geminidataanalytics.v1alpha.IChartMessage|null);
+
+ /** SystemMessage error */
+ error?: (google.cloud.geminidataanalytics.v1alpha.IErrorMessage|null);
+
+ /** SystemMessage exampleQueries */
+ exampleQueries?: (google.cloud.geminidataanalytics.v1alpha.IExampleQueries|null);
+
+ /** SystemMessage groupId */
+ groupId?: (number|null);
+ }
+
+ /** Represents a SystemMessage. */
+ class SystemMessage implements ISystemMessage {
+
+ /**
+ * Constructs a new SystemMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ISystemMessage);
+
+ /** SystemMessage text. */
+ public text?: (google.cloud.geminidataanalytics.v1alpha.ITextMessage|null);
+
+ /** SystemMessage schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1alpha.ISchemaMessage|null);
+
+ /** SystemMessage data. */
+ public data?: (google.cloud.geminidataanalytics.v1alpha.IDataMessage|null);
+
+ /** SystemMessage analysis. */
+ public analysis?: (google.cloud.geminidataanalytics.v1alpha.IAnalysisMessage|null);
+
+ /** SystemMessage chart. */
+ public chart?: (google.cloud.geminidataanalytics.v1alpha.IChartMessage|null);
+
+ /** SystemMessage error. */
+ public error?: (google.cloud.geminidataanalytics.v1alpha.IErrorMessage|null);
+
+ /** SystemMessage exampleQueries. */
+ public exampleQueries?: (google.cloud.geminidataanalytics.v1alpha.IExampleQueries|null);
+
+ /** SystemMessage groupId. */
+ public groupId?: (number|null);
+
+ /** SystemMessage kind. */
+ public kind?: ("text"|"schema"|"data"|"analysis"|"chart"|"error"|"exampleQueries");
+
+ /**
+ * Creates a new SystemMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SystemMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ISystemMessage): google.cloud.geminidataanalytics.v1alpha.SystemMessage;
+
+ /**
+ * Encodes the specified SystemMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.SystemMessage.verify|verify} messages.
+ * @param message SystemMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ISystemMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SystemMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.SystemMessage.verify|verify} messages.
+ * @param message SystemMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ISystemMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SystemMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SystemMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.SystemMessage;
+
+ /**
+ * Decodes a SystemMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SystemMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.SystemMessage;
+
+ /**
+ * Verifies a SystemMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SystemMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SystemMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.SystemMessage;
+
+ /**
+ * Creates a plain object from a SystemMessage message. Also converts values to other types if specified.
+ * @param message SystemMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.SystemMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SystemMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SystemMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TextMessage. */
+ interface ITextMessage {
+
+ /** TextMessage parts */
+ parts?: (string[]|null);
+
+ /** TextMessage textType */
+ textType?: (google.cloud.geminidataanalytics.v1alpha.TextMessage.TextType|keyof typeof google.cloud.geminidataanalytics.v1alpha.TextMessage.TextType|null);
+ }
+
+ /** Represents a TextMessage. */
+ class TextMessage implements ITextMessage {
+
+ /**
+ * Constructs a new TextMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ITextMessage);
+
+ /** TextMessage parts. */
+ public parts: string[];
+
+ /** TextMessage textType. */
+ public textType: (google.cloud.geminidataanalytics.v1alpha.TextMessage.TextType|keyof typeof google.cloud.geminidataanalytics.v1alpha.TextMessage.TextType);
+
+ /**
+ * Creates a new TextMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TextMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ITextMessage): google.cloud.geminidataanalytics.v1alpha.TextMessage;
+
+ /**
+ * Encodes the specified TextMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.TextMessage.verify|verify} messages.
+ * @param message TextMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ITextMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TextMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.TextMessage.verify|verify} messages.
+ * @param message TextMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ITextMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TextMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TextMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.TextMessage;
+
+ /**
+ * Decodes a TextMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TextMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.TextMessage;
+
+ /**
+ * Verifies a TextMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TextMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TextMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.TextMessage;
+
+ /**
+ * Creates a plain object from a TextMessage message. Also converts values to other types if specified.
+ * @param message TextMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.TextMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TextMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TextMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TextMessage {
+
+ /** TextType enum. */
+ enum TextType {
+ TEXT_TYPE_UNSPECIFIED = 0,
+ FINAL_RESPONSE = 1,
+ THOUGHT = 2
+ }
+ }
+
+ /** Properties of a SchemaMessage. */
+ interface ISchemaMessage {
+
+ /** SchemaMessage query */
+ query?: (google.cloud.geminidataanalytics.v1alpha.ISchemaQuery|null);
+
+ /** SchemaMessage result */
+ result?: (google.cloud.geminidataanalytics.v1alpha.ISchemaResult|null);
+ }
+
+ /** Represents a SchemaMessage. */
+ class SchemaMessage implements ISchemaMessage {
+
+ /**
+ * Constructs a new SchemaMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ISchemaMessage);
+
+ /** SchemaMessage query. */
+ public query?: (google.cloud.geminidataanalytics.v1alpha.ISchemaQuery|null);
+
+ /** SchemaMessage result. */
+ public result?: (google.cloud.geminidataanalytics.v1alpha.ISchemaResult|null);
+
+ /** SchemaMessage kind. */
+ public kind?: ("query"|"result");
+
+ /**
+ * Creates a new SchemaMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ISchemaMessage): google.cloud.geminidataanalytics.v1alpha.SchemaMessage;
+
+ /**
+ * Encodes the specified SchemaMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.SchemaMessage.verify|verify} messages.
+ * @param message SchemaMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ISchemaMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.SchemaMessage.verify|verify} messages.
+ * @param message SchemaMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ISchemaMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.SchemaMessage;
+
+ /**
+ * Decodes a SchemaMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.SchemaMessage;
+
+ /**
+ * Verifies a SchemaMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.SchemaMessage;
+
+ /**
+ * Creates a plain object from a SchemaMessage message. Also converts values to other types if specified.
+ * @param message SchemaMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.SchemaMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SchemaQuery. */
+ interface ISchemaQuery {
+
+ /** SchemaQuery question */
+ question?: (string|null);
+ }
+
+ /** Represents a SchemaQuery. */
+ class SchemaQuery implements ISchemaQuery {
+
+ /**
+ * Constructs a new SchemaQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ISchemaQuery);
+
+ /** SchemaQuery question. */
+ public question: string;
+
+ /**
+ * Creates a new SchemaQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ISchemaQuery): google.cloud.geminidataanalytics.v1alpha.SchemaQuery;
+
+ /**
+ * Encodes the specified SchemaQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.SchemaQuery.verify|verify} messages.
+ * @param message SchemaQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ISchemaQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.SchemaQuery.verify|verify} messages.
+ * @param message SchemaQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ISchemaQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.SchemaQuery;
+
+ /**
+ * Decodes a SchemaQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.SchemaQuery;
+
+ /**
+ * Verifies a SchemaQuery message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.SchemaQuery;
+
+ /**
+ * Creates a plain object from a SchemaQuery message. Also converts values to other types if specified.
+ * @param message SchemaQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.SchemaQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SchemaResult. */
+ interface ISchemaResult {
+
+ /** SchemaResult datasources */
+ datasources?: (google.cloud.geminidataanalytics.v1alpha.IDatasource[]|null);
+ }
+
+ /** Represents a SchemaResult. */
+ class SchemaResult implements ISchemaResult {
+
+ /**
+ * Constructs a new SchemaResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ISchemaResult);
+
+ /** SchemaResult datasources. */
+ public datasources: google.cloud.geminidataanalytics.v1alpha.IDatasource[];
+
+ /**
+ * Creates a new SchemaResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaResult instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ISchemaResult): google.cloud.geminidataanalytics.v1alpha.SchemaResult;
+
+ /**
+ * Encodes the specified SchemaResult message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.SchemaResult.verify|verify} messages.
+ * @param message SchemaResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ISchemaResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaResult message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.SchemaResult.verify|verify} messages.
+ * @param message SchemaResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ISchemaResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.SchemaResult;
+
+ /**
+ * Decodes a SchemaResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.SchemaResult;
+
+ /**
+ * Verifies a SchemaResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.SchemaResult;
+
+ /**
+ * Creates a plain object from a SchemaResult message. Also converts values to other types if specified.
+ * @param message SchemaResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.SchemaResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataMessage. */
+ interface IDataMessage {
+
+ /** DataMessage query */
+ query?: (google.cloud.geminidataanalytics.v1alpha.IDataQuery|null);
+
+ /** DataMessage generatedSql */
+ generatedSql?: (string|null);
+
+ /** DataMessage result */
+ result?: (google.cloud.geminidataanalytics.v1alpha.IDataResult|null);
+
+ /** DataMessage generatedLookerQuery */
+ generatedLookerQuery?: (google.cloud.geminidataanalytics.v1alpha.ILookerQuery|null);
+
+ /** DataMessage bigQueryJob */
+ bigQueryJob?: (google.cloud.geminidataanalytics.v1alpha.IBigQueryJob|null);
+ }
+
+ /** Represents a DataMessage. */
+ class DataMessage implements IDataMessage {
+
+ /**
+ * Constructs a new DataMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDataMessage);
+
+ /** DataMessage query. */
+ public query?: (google.cloud.geminidataanalytics.v1alpha.IDataQuery|null);
+
+ /** DataMessage generatedSql. */
+ public generatedSql?: (string|null);
+
+ /** DataMessage result. */
+ public result?: (google.cloud.geminidataanalytics.v1alpha.IDataResult|null);
+
+ /** DataMessage generatedLookerQuery. */
+ public generatedLookerQuery?: (google.cloud.geminidataanalytics.v1alpha.ILookerQuery|null);
+
+ /** DataMessage bigQueryJob. */
+ public bigQueryJob?: (google.cloud.geminidataanalytics.v1alpha.IBigQueryJob|null);
+
+ /** DataMessage kind. */
+ public kind?: ("query"|"generatedSql"|"result"|"generatedLookerQuery"|"bigQueryJob");
+
+ /**
+ * Creates a new DataMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDataMessage): google.cloud.geminidataanalytics.v1alpha.DataMessage;
+
+ /**
+ * Encodes the specified DataMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataMessage.verify|verify} messages.
+ * @param message DataMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDataMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataMessage.verify|verify} messages.
+ * @param message DataMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDataMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.DataMessage;
+
+ /**
+ * Decodes a DataMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.DataMessage;
+
+ /**
+ * Verifies a DataMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.DataMessage;
+
+ /**
+ * Creates a plain object from a DataMessage message. Also converts values to other types if specified.
+ * @param message DataMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.DataMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LookerQuery. */
+ interface ILookerQuery {
+
+ /** LookerQuery model */
+ model?: (string|null);
+
+ /** LookerQuery explore */
+ explore?: (string|null);
+
+ /** LookerQuery fields */
+ fields?: (string[]|null);
+
+ /** LookerQuery filters */
+ filters?: (google.cloud.geminidataanalytics.v1alpha.LookerQuery.IFilter[]|null);
+
+ /** LookerQuery sorts */
+ sorts?: (string[]|null);
+
+ /** LookerQuery limit */
+ limit?: (string|null);
+ }
+
+ /** Represents a LookerQuery. */
+ class LookerQuery implements ILookerQuery {
+
+ /**
+ * Constructs a new LookerQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.ILookerQuery);
+
+ /** LookerQuery model. */
+ public model: string;
+
+ /** LookerQuery explore. */
+ public explore: string;
+
+ /** LookerQuery fields. */
+ public fields: string[];
+
+ /** LookerQuery filters. */
+ public filters: google.cloud.geminidataanalytics.v1alpha.LookerQuery.IFilter[];
+
+ /** LookerQuery sorts. */
+ public sorts: string[];
+
+ /** LookerQuery limit. */
+ public limit?: (string|null);
+
+ /**
+ * Creates a new LookerQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LookerQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.ILookerQuery): google.cloud.geminidataanalytics.v1alpha.LookerQuery;
+
+ /**
+ * Encodes the specified LookerQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerQuery.verify|verify} messages.
+ * @param message LookerQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.ILookerQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LookerQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerQuery.verify|verify} messages.
+ * @param message LookerQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.ILookerQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LookerQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LookerQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.LookerQuery;
+
+ /**
+ * Decodes a LookerQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LookerQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.LookerQuery;
+
+ /**
+ * Verifies a LookerQuery message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LookerQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LookerQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.LookerQuery;
+
+ /**
+ * Creates a plain object from a LookerQuery message. Also converts values to other types if specified.
+ * @param message LookerQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.LookerQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LookerQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LookerQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace LookerQuery {
+
+ /** Properties of a Filter. */
+ interface IFilter {
+
+ /** Filter field */
+ field?: (string|null);
+
+ /** Filter value */
+ value?: (string|null);
+ }
+
+ /** Represents a Filter. */
+ class Filter implements IFilter {
+
+ /**
+ * Constructs a new Filter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.LookerQuery.IFilter);
+
+ /** Filter field. */
+ public field: string;
+
+ /** Filter value. */
+ public value: string;
+
+ /**
+ * Creates a new Filter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Filter instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.LookerQuery.IFilter): google.cloud.geminidataanalytics.v1alpha.LookerQuery.Filter;
+
+ /**
+ * Encodes the specified Filter message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerQuery.Filter.verify|verify} messages.
+ * @param message Filter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.LookerQuery.IFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Filter message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerQuery.Filter.verify|verify} messages.
+ * @param message Filter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.LookerQuery.IFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Filter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Filter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.LookerQuery.Filter;
+
+ /**
+ * Decodes a Filter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Filter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.LookerQuery.Filter;
+
+ /**
+ * Verifies a Filter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Filter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Filter
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.LookerQuery.Filter;
+
+ /**
+ * Creates a plain object from a Filter message. Also converts values to other types if specified.
+ * @param message Filter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.LookerQuery.Filter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Filter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Filter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a DataQuery. */
+ interface IDataQuery {
+
+ /** DataQuery looker */
+ looker?: (google.cloud.geminidataanalytics.v1alpha.ILookerQuery|null);
+
+ /** DataQuery question */
+ question?: (string|null);
+
+ /** DataQuery name */
+ name?: (string|null);
+
+ /** DataQuery datasources */
+ datasources?: (google.cloud.geminidataanalytics.v1alpha.IDatasource[]|null);
+ }
+
+ /** Represents a DataQuery. */
+ class DataQuery implements IDataQuery {
+
+ /**
+ * Constructs a new DataQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDataQuery);
+
+ /** DataQuery looker. */
+ public looker?: (google.cloud.geminidataanalytics.v1alpha.ILookerQuery|null);
+
+ /** DataQuery question. */
+ public question: string;
+
+ /** DataQuery name. */
+ public name: string;
+
+ /** DataQuery datasources. */
+ public datasources: google.cloud.geminidataanalytics.v1alpha.IDatasource[];
+
+ /** DataQuery queryType. */
+ public queryType?: "looker";
+
+ /**
+ * Creates a new DataQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDataQuery): google.cloud.geminidataanalytics.v1alpha.DataQuery;
+
+ /**
+ * Encodes the specified DataQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataQuery.verify|verify} messages.
+ * @param message DataQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDataQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataQuery.verify|verify} messages.
+ * @param message DataQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDataQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.DataQuery;
+
+ /**
+ * Decodes a DataQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.DataQuery;
+
+ /**
+ * Verifies a DataQuery message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.DataQuery;
+
+ /**
+ * Creates a plain object from a DataQuery message. Also converts values to other types if specified.
+ * @param message DataQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.DataQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataResult. */
+ interface IDataResult {
+
+ /** DataResult name */
+ name?: (string|null);
+
+ /** DataResult schema */
+ schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+
+ /** DataResult data */
+ data?: (google.protobuf.IStruct[]|null);
+ }
+
+ /** Represents a DataResult. */
+ class DataResult implements IDataResult {
+
+ /**
+ * Constructs a new DataResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IDataResult);
+
+ /** DataResult name. */
+ public name: string;
+
+ /** DataResult schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+
+ /** DataResult data. */
+ public data: google.protobuf.IStruct[];
+
+ /**
+ * Creates a new DataResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataResult instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IDataResult): google.cloud.geminidataanalytics.v1alpha.DataResult;
+
+ /**
+ * Encodes the specified DataResult message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataResult.verify|verify} messages.
+ * @param message DataResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IDataResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataResult message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataResult.verify|verify} messages.
+ * @param message DataResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IDataResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.DataResult;
+
+ /**
+ * Decodes a DataResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.DataResult;
+
+ /**
+ * Verifies a DataResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.DataResult;
+
+ /**
+ * Creates a plain object from a DataResult message. Also converts values to other types if specified.
+ * @param message DataResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.DataResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryJob. */
+ interface IBigQueryJob {
+
+ /** BigQueryJob projectId */
+ projectId?: (string|null);
+
+ /** BigQueryJob jobId */
+ jobId?: (string|null);
+
+ /** BigQueryJob location */
+ location?: (string|null);
+
+ /** BigQueryJob destinationTable */
+ destinationTable?: (google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference|null);
+
+ /** BigQueryJob schema */
+ schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+ }
+
+ /** Represents a BigQueryJob. */
+ class BigQueryJob implements IBigQueryJob {
+
+ /**
+ * Constructs a new BigQueryJob.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IBigQueryJob);
+
+ /** BigQueryJob projectId. */
+ public projectId: string;
+
+ /** BigQueryJob jobId. */
+ public jobId: string;
+
+ /** BigQueryJob location. */
+ public location: string;
+
+ /** BigQueryJob destinationTable. */
+ public destinationTable?: (google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference|null);
+
+ /** BigQueryJob schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1alpha.ISchema|null);
+
+ /**
+ * Creates a new BigQueryJob instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryJob instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IBigQueryJob): google.cloud.geminidataanalytics.v1alpha.BigQueryJob;
+
+ /**
+ * Encodes the specified BigQueryJob message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryJob.verify|verify} messages.
+ * @param message BigQueryJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IBigQueryJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryJob message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryJob.verify|verify} messages.
+ * @param message BigQueryJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IBigQueryJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryJob message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryJob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.BigQueryJob;
+
+ /**
+ * Decodes a BigQueryJob message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryJob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.BigQueryJob;
+
+ /**
+ * Verifies a BigQueryJob message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryJob message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryJob
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.BigQueryJob;
+
+ /**
+ * Creates a plain object from a BigQueryJob message. Also converts values to other types if specified.
+ * @param message BigQueryJob
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.BigQueryJob, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryJob to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryJob
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnalysisMessage. */
+ interface IAnalysisMessage {
+
+ /** AnalysisMessage query */
+ query?: (google.cloud.geminidataanalytics.v1alpha.IAnalysisQuery|null);
+
+ /** AnalysisMessage progressEvent */
+ progressEvent?: (google.cloud.geminidataanalytics.v1alpha.IAnalysisEvent|null);
+ }
+
+ /** Represents an AnalysisMessage. */
+ class AnalysisMessage implements IAnalysisMessage {
+
+ /**
+ * Constructs a new AnalysisMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IAnalysisMessage);
+
+ /** AnalysisMessage query. */
+ public query?: (google.cloud.geminidataanalytics.v1alpha.IAnalysisQuery|null);
+
+ /** AnalysisMessage progressEvent. */
+ public progressEvent?: (google.cloud.geminidataanalytics.v1alpha.IAnalysisEvent|null);
+
+ /** AnalysisMessage kind. */
+ public kind?: ("query"|"progressEvent");
+
+ /**
+ * Creates a new AnalysisMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IAnalysisMessage): google.cloud.geminidataanalytics.v1alpha.AnalysisMessage;
+
+ /**
+ * Encodes the specified AnalysisMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisMessage.verify|verify} messages.
+ * @param message AnalysisMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IAnalysisMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisMessage.verify|verify} messages.
+ * @param message AnalysisMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IAnalysisMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.AnalysisMessage;
+
+ /**
+ * Decodes an AnalysisMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.AnalysisMessage;
+
+ /**
+ * Verifies an AnalysisMessage message.
+ * @param message Plain 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 AnalysisMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.AnalysisMessage;
+
+ /**
+ * Creates a plain object from an AnalysisMessage message. Also converts values to other types if specified.
+ * @param message AnalysisMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.AnalysisMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnalysisQuery. */
+ interface IAnalysisQuery {
+
+ /** AnalysisQuery question */
+ question?: (string|null);
+
+ /** AnalysisQuery dataResultNames */
+ dataResultNames?: (string[]|null);
+ }
+
+ /** Represents an AnalysisQuery. */
+ class AnalysisQuery implements IAnalysisQuery {
+
+ /**
+ * Constructs a new AnalysisQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IAnalysisQuery);
+
+ /** AnalysisQuery question. */
+ public question: string;
+
+ /** AnalysisQuery dataResultNames. */
+ public dataResultNames: string[];
+
+ /**
+ * Creates a new AnalysisQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IAnalysisQuery): google.cloud.geminidataanalytics.v1alpha.AnalysisQuery;
+
+ /**
+ * Encodes the specified AnalysisQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisQuery.verify|verify} messages.
+ * @param message AnalysisQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IAnalysisQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisQuery.verify|verify} messages.
+ * @param message AnalysisQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IAnalysisQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.AnalysisQuery;
+
+ /**
+ * Decodes an AnalysisQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.AnalysisQuery;
+
+ /**
+ * Verifies an AnalysisQuery message.
+ * @param message Plain 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 AnalysisQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.AnalysisQuery;
+
+ /**
+ * Creates a plain object from an AnalysisQuery message. Also converts values to other types if specified.
+ * @param message AnalysisQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.AnalysisQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnalysisEvent. */
+ interface IAnalysisEvent {
+
+ /** AnalysisEvent plannerReasoning */
+ plannerReasoning?: (string|null);
+
+ /** AnalysisEvent coderInstruction */
+ coderInstruction?: (string|null);
+
+ /** AnalysisEvent code */
+ code?: (string|null);
+
+ /** AnalysisEvent executionOutput */
+ executionOutput?: (string|null);
+
+ /** AnalysisEvent executionError */
+ executionError?: (string|null);
+
+ /** AnalysisEvent resultVegaChartJson */
+ resultVegaChartJson?: (string|null);
+
+ /** AnalysisEvent resultNaturalLanguage */
+ resultNaturalLanguage?: (string|null);
+
+ /** AnalysisEvent resultCsvData */
+ resultCsvData?: (string|null);
+
+ /** AnalysisEvent resultReferenceData */
+ resultReferenceData?: (string|null);
+
+ /** AnalysisEvent error */
+ error?: (string|null);
+ }
+
+ /** Represents an AnalysisEvent. */
+ class AnalysisEvent implements IAnalysisEvent {
+
+ /**
+ * Constructs a new AnalysisEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IAnalysisEvent);
+
+ /** AnalysisEvent plannerReasoning. */
+ public plannerReasoning?: (string|null);
+
+ /** AnalysisEvent coderInstruction. */
+ public coderInstruction?: (string|null);
+
+ /** AnalysisEvent code. */
+ public code?: (string|null);
+
+ /** AnalysisEvent executionOutput. */
+ public executionOutput?: (string|null);
+
+ /** AnalysisEvent executionError. */
+ public executionError?: (string|null);
+
+ /** AnalysisEvent resultVegaChartJson. */
+ public resultVegaChartJson?: (string|null);
+
+ /** AnalysisEvent resultNaturalLanguage. */
+ public resultNaturalLanguage?: (string|null);
+
+ /** AnalysisEvent resultCsvData. */
+ public resultCsvData?: (string|null);
+
+ /** AnalysisEvent resultReferenceData. */
+ public resultReferenceData?: (string|null);
+
+ /** AnalysisEvent error. */
+ public error?: (string|null);
+
+ /** AnalysisEvent kind. */
+ public kind?: ("plannerReasoning"|"coderInstruction"|"code"|"executionOutput"|"executionError"|"resultVegaChartJson"|"resultNaturalLanguage"|"resultCsvData"|"resultReferenceData"|"error");
+
+ /**
+ * Creates a new AnalysisEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisEvent instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IAnalysisEvent): google.cloud.geminidataanalytics.v1alpha.AnalysisEvent;
+
+ /**
+ * Encodes the specified AnalysisEvent message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisEvent.verify|verify} messages.
+ * @param message AnalysisEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IAnalysisEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisEvent message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisEvent.verify|verify} messages.
+ * @param message AnalysisEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IAnalysisEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisEvent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.AnalysisEvent;
+
+ /**
+ * Decodes an AnalysisEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisEvent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.AnalysisEvent;
+
+ /**
+ * Verifies an AnalysisEvent message.
+ * @param message Plain 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 AnalysisEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.AnalysisEvent;
+
+ /**
+ * Creates a plain object from an AnalysisEvent message. Also converts values to other types if specified.
+ * @param message AnalysisEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.AnalysisEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChartMessage. */
+ interface IChartMessage {
+
+ /** ChartMessage query */
+ query?: (google.cloud.geminidataanalytics.v1alpha.IChartQuery|null);
+
+ /** ChartMessage result */
+ result?: (google.cloud.geminidataanalytics.v1alpha.IChartResult|null);
+ }
+
+ /** Represents a ChartMessage. */
+ class ChartMessage implements IChartMessage {
+
+ /**
+ * Constructs a new ChartMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IChartMessage);
+
+ /** ChartMessage query. */
+ public query?: (google.cloud.geminidataanalytics.v1alpha.IChartQuery|null);
+
+ /** ChartMessage result. */
+ public result?: (google.cloud.geminidataanalytics.v1alpha.IChartResult|null);
+
+ /** ChartMessage kind. */
+ public kind?: ("query"|"result");
+
+ /**
+ * Creates a new ChartMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChartMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IChartMessage): google.cloud.geminidataanalytics.v1alpha.ChartMessage;
+
+ /**
+ * Encodes the specified ChartMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartMessage.verify|verify} messages.
+ * @param message ChartMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IChartMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChartMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartMessage.verify|verify} messages.
+ * @param message ChartMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IChartMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChartMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChartMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ChartMessage;
+
+ /**
+ * Decodes a ChartMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChartMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ChartMessage;
+
+ /**
+ * Verifies a ChartMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChartMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChartMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ChartMessage;
+
+ /**
+ * Creates a plain object from a ChartMessage message. Also converts values to other types if specified.
+ * @param message ChartMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ChartMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChartMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChartMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChartQuery. */
+ interface IChartQuery {
+
+ /** ChartQuery instructions */
+ instructions?: (string|null);
+
+ /** ChartQuery dataResultName */
+ dataResultName?: (string|null);
+ }
+
+ /** Represents a ChartQuery. */
+ class ChartQuery implements IChartQuery {
+
+ /**
+ * Constructs a new ChartQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IChartQuery);
+
+ /** ChartQuery instructions. */
+ public instructions: string;
+
+ /** ChartQuery dataResultName. */
+ public dataResultName: string;
+
+ /**
+ * Creates a new ChartQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChartQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IChartQuery): google.cloud.geminidataanalytics.v1alpha.ChartQuery;
+
+ /**
+ * Encodes the specified ChartQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartQuery.verify|verify} messages.
+ * @param message ChartQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IChartQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChartQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartQuery.verify|verify} messages.
+ * @param message ChartQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IChartQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChartQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChartQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ChartQuery;
+
+ /**
+ * Decodes a ChartQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChartQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ChartQuery;
+
+ /**
+ * Verifies a ChartQuery message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChartQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChartQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ChartQuery;
+
+ /**
+ * Creates a plain object from a ChartQuery message. Also converts values to other types if specified.
+ * @param message ChartQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ChartQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChartQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChartQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChartResult. */
+ interface IChartResult {
+
+ /** ChartResult vegaConfig */
+ vegaConfig?: (google.protobuf.IStruct|null);
+
+ /** ChartResult image */
+ image?: (google.cloud.geminidataanalytics.v1alpha.IBlob|null);
+ }
+
+ /** Represents a ChartResult. */
+ class ChartResult implements IChartResult {
+
+ /**
+ * Constructs a new ChartResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IChartResult);
+
+ /** ChartResult vegaConfig. */
+ public vegaConfig?: (google.protobuf.IStruct|null);
+
+ /** ChartResult image. */
+ public image?: (google.cloud.geminidataanalytics.v1alpha.IBlob|null);
+
+ /**
+ * Creates a new ChartResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChartResult instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IChartResult): google.cloud.geminidataanalytics.v1alpha.ChartResult;
+
+ /**
+ * Encodes the specified ChartResult message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartResult.verify|verify} messages.
+ * @param message ChartResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IChartResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChartResult message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartResult.verify|verify} messages.
+ * @param message ChartResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IChartResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChartResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChartResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ChartResult;
+
+ /**
+ * Decodes a ChartResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChartResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ChartResult;
+
+ /**
+ * Verifies a ChartResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChartResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChartResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ChartResult;
+
+ /**
+ * Creates a plain object from a ChartResult message. Also converts values to other types if specified.
+ * @param message ChartResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ChartResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChartResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChartResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ErrorMessage. */
+ interface IErrorMessage {
+
+ /** ErrorMessage text */
+ text?: (string|null);
+ }
+
+ /** Represents an ErrorMessage. */
+ class ErrorMessage implements IErrorMessage {
+
+ /**
+ * Constructs a new ErrorMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IErrorMessage);
+
+ /** ErrorMessage text. */
+ public text: string;
+
+ /**
+ * Creates a new ErrorMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ErrorMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IErrorMessage): google.cloud.geminidataanalytics.v1alpha.ErrorMessage;
+
+ /**
+ * Encodes the specified ErrorMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ErrorMessage.verify|verify} messages.
+ * @param message ErrorMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IErrorMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ErrorMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ErrorMessage.verify|verify} messages.
+ * @param message ErrorMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IErrorMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ErrorMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ErrorMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ErrorMessage;
+
+ /**
+ * Decodes an ErrorMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ErrorMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ErrorMessage;
+
+ /**
+ * Verifies an ErrorMessage message.
+ * @param message Plain 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 ErrorMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ErrorMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ErrorMessage;
+
+ /**
+ * Creates a plain object from an ErrorMessage message. Also converts values to other types if specified.
+ * @param message ErrorMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ErrorMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ErrorMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ErrorMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExampleQueries. */
+ interface IExampleQueries {
+
+ /** ExampleQueries exampleQueries */
+ exampleQueries?: (google.cloud.geminidataanalytics.v1alpha.IExampleQuery[]|null);
+ }
+
+ /** Represents an ExampleQueries. */
+ class ExampleQueries implements IExampleQueries {
+
+ /**
+ * Constructs a new ExampleQueries.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IExampleQueries);
+
+ /** ExampleQueries exampleQueries. */
+ public exampleQueries: google.cloud.geminidataanalytics.v1alpha.IExampleQuery[];
+
+ /**
+ * Creates a new ExampleQueries instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExampleQueries instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IExampleQueries): google.cloud.geminidataanalytics.v1alpha.ExampleQueries;
+
+ /**
+ * Encodes the specified ExampleQueries message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ExampleQueries.verify|verify} messages.
+ * @param message ExampleQueries message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IExampleQueries, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExampleQueries message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ExampleQueries.verify|verify} messages.
+ * @param message ExampleQueries message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IExampleQueries, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExampleQueries message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExampleQueries
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.ExampleQueries;
+
+ /**
+ * Decodes an ExampleQueries message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExampleQueries
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.ExampleQueries;
+
+ /**
+ * Verifies an ExampleQueries message.
+ * @param message Plain 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 ExampleQueries message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExampleQueries
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.ExampleQueries;
+
+ /**
+ * Creates a plain object from an ExampleQueries message. Also converts values to other types if specified.
+ * @param message ExampleQueries
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.ExampleQueries, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExampleQueries to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExampleQueries
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Blob. */
+ interface IBlob {
+
+ /** Blob mimeType */
+ mimeType?: (string|null);
+
+ /** Blob data */
+ data?: (Uint8Array|Buffer|string|null);
+ }
+
+ /** Represents a Blob. */
+ class Blob implements IBlob {
+
+ /**
+ * Constructs a new Blob.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1alpha.IBlob);
+
+ /** Blob mimeType. */
+ public mimeType: string;
+
+ /** Blob data. */
+ public data: (Uint8Array|Buffer|string);
+
+ /**
+ * Creates a new Blob instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Blob instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1alpha.IBlob): google.cloud.geminidataanalytics.v1alpha.Blob;
+
+ /**
+ * Encodes the specified Blob message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Blob.verify|verify} messages.
+ * @param message Blob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1alpha.IBlob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Blob message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Blob.verify|verify} messages.
+ * @param message Blob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1alpha.IBlob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Blob message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Blob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1alpha.Blob;
+
+ /**
+ * Decodes a Blob message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Blob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1alpha.Blob;
+
+ /**
+ * Verifies a Blob message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Blob message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Blob
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1alpha.Blob;
+
+ /**
+ * Creates a plain object from a Blob message. Also converts values to other types if specified.
+ * @param message Blob
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1alpha.Blob, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Blob to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Blob
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace v1beta. */
+ namespace v1beta {
+
+ /** Properties of a Context. */
+ interface IContext {
+
+ /** Context systemInstruction */
+ systemInstruction?: (string|null);
+
+ /** Context datasourceReferences */
+ datasourceReferences?: (google.cloud.geminidataanalytics.v1beta.IDatasourceReferences|null);
+
+ /** Context options */
+ options?: (google.cloud.geminidataanalytics.v1beta.IConversationOptions|null);
+
+ /** Context exampleQueries */
+ exampleQueries?: (google.cloud.geminidataanalytics.v1beta.IExampleQuery[]|null);
+ }
+
+ /** Represents a Context. */
+ class Context implements IContext {
+
+ /**
+ * Constructs a new Context.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IContext);
+
+ /** Context systemInstruction. */
+ public systemInstruction: string;
+
+ /** Context datasourceReferences. */
+ public datasourceReferences?: (google.cloud.geminidataanalytics.v1beta.IDatasourceReferences|null);
+
+ /** Context options. */
+ public options?: (google.cloud.geminidataanalytics.v1beta.IConversationOptions|null);
+
+ /** Context exampleQueries. */
+ public exampleQueries: google.cloud.geminidataanalytics.v1beta.IExampleQuery[];
+
+ /**
+ * Creates a new Context instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Context instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IContext): google.cloud.geminidataanalytics.v1beta.Context;
+
+ /**
+ * Encodes the specified Context message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Context.verify|verify} messages.
+ * @param message Context message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Context message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Context.verify|verify} messages.
+ * @param message Context message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Context message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Context
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.Context;
+
+ /**
+ * Decodes a Context message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Context
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.Context;
+
+ /**
+ * Verifies a Context message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Context message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Context
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.Context;
+
+ /**
+ * Creates a plain object from a Context message. Also converts values to other types if specified.
+ * @param message Context
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.Context, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Context to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Context
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExampleQuery. */
+ interface IExampleQuery {
+
+ /** ExampleQuery sqlQuery */
+ sqlQuery?: (string|null);
+
+ /** ExampleQuery naturalLanguageQuestion */
+ naturalLanguageQuestion?: (string|null);
+ }
+
+ /** Represents an ExampleQuery. */
+ class ExampleQuery implements IExampleQuery {
+
+ /**
+ * Constructs a new ExampleQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IExampleQuery);
+
+ /** ExampleQuery sqlQuery. */
+ public sqlQuery?: (string|null);
+
+ /** ExampleQuery naturalLanguageQuestion. */
+ public naturalLanguageQuestion: string;
+
+ /** ExampleQuery query. */
+ public query?: "sqlQuery";
+
+ /**
+ * Creates a new ExampleQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExampleQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IExampleQuery): google.cloud.geminidataanalytics.v1beta.ExampleQuery;
+
+ /**
+ * Encodes the specified ExampleQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ExampleQuery.verify|verify} messages.
+ * @param message ExampleQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IExampleQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExampleQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ExampleQuery.verify|verify} messages.
+ * @param message ExampleQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IExampleQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExampleQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExampleQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ExampleQuery;
+
+ /**
+ * Decodes an ExampleQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExampleQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ExampleQuery;
+
+ /**
+ * Verifies an ExampleQuery message.
+ * @param message Plain 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 ExampleQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExampleQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ExampleQuery;
+
+ /**
+ * Creates a plain object from an ExampleQuery message. Also converts values to other types if specified.
+ * @param message ExampleQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ExampleQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExampleQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExampleQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ConversationOptions. */
+ interface IConversationOptions {
+
+ /** ConversationOptions chart */
+ chart?: (google.cloud.geminidataanalytics.v1beta.IChartOptions|null);
+
+ /** ConversationOptions analysis */
+ analysis?: (google.cloud.geminidataanalytics.v1beta.IAnalysisOptions|null);
+ }
+
+ /** Represents a ConversationOptions. */
+ class ConversationOptions implements IConversationOptions {
+
+ /**
+ * Constructs a new ConversationOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IConversationOptions);
+
+ /** ConversationOptions chart. */
+ public chart?: (google.cloud.geminidataanalytics.v1beta.IChartOptions|null);
+
+ /** ConversationOptions analysis. */
+ public analysis?: (google.cloud.geminidataanalytics.v1beta.IAnalysisOptions|null);
+
+ /**
+ * Creates a new ConversationOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ConversationOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IConversationOptions): google.cloud.geminidataanalytics.v1beta.ConversationOptions;
+
+ /**
+ * Encodes the specified ConversationOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ConversationOptions.verify|verify} messages.
+ * @param message ConversationOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IConversationOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ConversationOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ConversationOptions.verify|verify} messages.
+ * @param message ConversationOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IConversationOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ConversationOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ConversationOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ConversationOptions;
+
+ /**
+ * Decodes a ConversationOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ConversationOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ConversationOptions;
+
+ /**
+ * Verifies a ConversationOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ConversationOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ConversationOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ConversationOptions;
+
+ /**
+ * Creates a plain object from a ConversationOptions message. Also converts values to other types if specified.
+ * @param message ConversationOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ConversationOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ConversationOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ConversationOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChartOptions. */
+ interface IChartOptions {
+
+ /** ChartOptions image */
+ image?: (google.cloud.geminidataanalytics.v1beta.ChartOptions.IImageOptions|null);
+ }
+
+ /** Represents a ChartOptions. */
+ class ChartOptions implements IChartOptions {
+
+ /**
+ * Constructs a new ChartOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IChartOptions);
+
+ /** ChartOptions image. */
+ public image?: (google.cloud.geminidataanalytics.v1beta.ChartOptions.IImageOptions|null);
+
+ /**
+ * Creates a new ChartOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChartOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IChartOptions): google.cloud.geminidataanalytics.v1beta.ChartOptions;
+
+ /**
+ * Encodes the specified ChartOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartOptions.verify|verify} messages.
+ * @param message ChartOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IChartOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChartOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartOptions.verify|verify} messages.
+ * @param message ChartOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IChartOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChartOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChartOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ChartOptions;
+
+ /**
+ * Decodes a ChartOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChartOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ChartOptions;
+
+ /**
+ * Verifies a ChartOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChartOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChartOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ChartOptions;
+
+ /**
+ * Creates a plain object from a ChartOptions message. Also converts values to other types if specified.
+ * @param message ChartOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ChartOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChartOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChartOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ChartOptions {
+
+ /** Properties of an ImageOptions. */
+ interface IImageOptions {
+
+ /** ImageOptions noImage */
+ noImage?: (google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.INoImage|null);
+
+ /** ImageOptions svg */
+ svg?: (google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.ISvgOptions|null);
+ }
+
+ /** Represents an ImageOptions. */
+ class ImageOptions implements IImageOptions {
+
+ /**
+ * Constructs a new ImageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ChartOptions.IImageOptions);
+
+ /** ImageOptions noImage. */
+ public noImage?: (google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.INoImage|null);
+
+ /** ImageOptions svg. */
+ public svg?: (google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.ISvgOptions|null);
+
+ /** ImageOptions kind. */
+ public kind?: ("noImage"|"svg");
+
+ /**
+ * Creates a new ImageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImageOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ChartOptions.IImageOptions): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions;
+
+ /**
+ * Encodes the specified ImageOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.verify|verify} messages.
+ * @param message ImageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ChartOptions.IImageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImageOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.verify|verify} messages.
+ * @param message ImageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ChartOptions.IImageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions;
+
+ /**
+ * Decodes an ImageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions;
+
+ /**
+ * Verifies an ImageOptions message.
+ * @param message Plain 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 ImageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions;
+
+ /**
+ * Creates a plain object from an ImageOptions message. Also converts values to other types if specified.
+ * @param message ImageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ImageOptions {
+
+ /** Properties of a NoImage. */
+ interface INoImage {
+ }
+
+ /** Represents a NoImage. */
+ class NoImage implements INoImage {
+
+ /**
+ * Constructs a new NoImage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.INoImage);
+
+ /**
+ * Creates a new NoImage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NoImage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.INoImage): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImage;
+
+ /**
+ * Encodes the specified NoImage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImage.verify|verify} messages.
+ * @param message NoImage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.INoImage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NoImage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImage.verify|verify} messages.
+ * @param message NoImage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.INoImage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NoImage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NoImage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImage;
+
+ /**
+ * Decodes a NoImage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NoImage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImage;
+
+ /**
+ * Verifies a NoImage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NoImage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NoImage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImage;
+
+ /**
+ * Creates a plain object from a NoImage message. Also converts values to other types if specified.
+ * @param message NoImage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NoImage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NoImage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SvgOptions. */
+ interface ISvgOptions {
+ }
+
+ /** Represents a SvgOptions. */
+ class SvgOptions implements ISvgOptions {
+
+ /**
+ * Constructs a new SvgOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.ISvgOptions);
+
+ /**
+ * Creates a new SvgOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SvgOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.ISvgOptions): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptions;
+
+ /**
+ * Encodes the specified SvgOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptions.verify|verify} messages.
+ * @param message SvgOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.ISvgOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SvgOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptions.verify|verify} messages.
+ * @param message SvgOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.ISvgOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SvgOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SvgOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptions;
+
+ /**
+ * Decodes a SvgOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SvgOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptions;
+
+ /**
+ * Verifies a SvgOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SvgOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SvgOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptions;
+
+ /**
+ * Creates a plain object from a SvgOptions message. Also converts values to other types if specified.
+ * @param message SvgOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SvgOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SvgOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of an AnalysisOptions. */
+ interface IAnalysisOptions {
+
+ /** AnalysisOptions python */
+ python?: (google.cloud.geminidataanalytics.v1beta.AnalysisOptions.IPython|null);
+ }
+
+ /** Represents an AnalysisOptions. */
+ class AnalysisOptions implements IAnalysisOptions {
+
+ /**
+ * Constructs a new AnalysisOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IAnalysisOptions);
+
+ /** AnalysisOptions python. */
+ public python?: (google.cloud.geminidataanalytics.v1beta.AnalysisOptions.IPython|null);
+
+ /**
+ * Creates a new AnalysisOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisOptions instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IAnalysisOptions): google.cloud.geminidataanalytics.v1beta.AnalysisOptions;
+
+ /**
+ * Encodes the specified AnalysisOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisOptions.verify|verify} messages.
+ * @param message AnalysisOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IAnalysisOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisOptions.verify|verify} messages.
+ * @param message AnalysisOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IAnalysisOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.AnalysisOptions;
+
+ /**
+ * Decodes an AnalysisOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.AnalysisOptions;
+
+ /**
+ * Verifies an AnalysisOptions message.
+ * @param message Plain 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 AnalysisOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.AnalysisOptions;
+
+ /**
+ * Creates a plain object from an AnalysisOptions message. Also converts values to other types if specified.
+ * @param message AnalysisOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.AnalysisOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AnalysisOptions {
+
+ /** Properties of a Python. */
+ interface IPython {
+
+ /** Python enabled */
+ enabled?: (boolean|null);
+ }
+
+ /** Represents a Python. */
+ class Python implements IPython {
+
+ /**
+ * Constructs a new Python.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.AnalysisOptions.IPython);
+
+ /** Python enabled. */
+ public enabled: boolean;
+
+ /**
+ * Creates a new Python instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Python instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.AnalysisOptions.IPython): google.cloud.geminidataanalytics.v1beta.AnalysisOptions.Python;
+
+ /**
+ * Encodes the specified Python message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisOptions.Python.verify|verify} messages.
+ * @param message Python message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.AnalysisOptions.IPython, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Python message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisOptions.Python.verify|verify} messages.
+ * @param message Python message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.AnalysisOptions.IPython, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Python message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Python
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.AnalysisOptions.Python;
+
+ /**
+ * Decodes a Python message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Python
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.AnalysisOptions.Python;
+
+ /**
+ * Verifies a Python message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Python message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Python
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.AnalysisOptions.Python;
+
+ /**
+ * Creates a plain object from a Python message. Also converts values to other types if specified.
+ * @param message Python
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.AnalysisOptions.Python, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Python to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Python
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** DataFilterType enum. */
+ enum DataFilterType {
+ DATA_FILTER_TYPE_UNSPECIFIED = 0,
+ ALWAYS_FILTER = 1
+ }
+
+ /** Properties of a DatasourceReferences. */
+ interface IDatasourceReferences {
+
+ /** DatasourceReferences bq */
+ bq?: (google.cloud.geminidataanalytics.v1beta.IBigQueryTableReferences|null);
+
+ /** DatasourceReferences studio */
+ studio?: (google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReferences|null);
+
+ /** DatasourceReferences looker */
+ looker?: (google.cloud.geminidataanalytics.v1beta.ILookerExploreReferences|null);
+ }
+
+ /** Represents a DatasourceReferences. */
+ class DatasourceReferences implements IDatasourceReferences {
+
+ /**
+ * Constructs a new DatasourceReferences.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDatasourceReferences);
+
+ /** DatasourceReferences bq. */
+ public bq?: (google.cloud.geminidataanalytics.v1beta.IBigQueryTableReferences|null);
+
+ /** DatasourceReferences studio. */
+ public studio?: (google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReferences|null);
+
+ /** DatasourceReferences looker. */
+ public looker?: (google.cloud.geminidataanalytics.v1beta.ILookerExploreReferences|null);
+
+ /** DatasourceReferences references. */
+ public references?: ("bq"|"studio"|"looker");
+
+ /**
+ * Creates a new DatasourceReferences instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DatasourceReferences instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDatasourceReferences): google.cloud.geminidataanalytics.v1beta.DatasourceReferences;
+
+ /**
+ * Encodes the specified DatasourceReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DatasourceReferences.verify|verify} messages.
+ * @param message DatasourceReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDatasourceReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DatasourceReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DatasourceReferences.verify|verify} messages.
+ * @param message DatasourceReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDatasourceReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DatasourceReferences message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.DatasourceReferences;
+
+ /**
+ * Decodes a DatasourceReferences message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.DatasourceReferences;
+
+ /**
+ * Verifies a DatasourceReferences message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DatasourceReferences message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DatasourceReferences
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.DatasourceReferences;
+
+ /**
+ * Creates a plain object from a DatasourceReferences message. Also converts values to other types if specified.
+ * @param message DatasourceReferences
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.DatasourceReferences, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DatasourceReferences to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DatasourceReferences
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryTableReferences. */
+ interface IBigQueryTableReferences {
+
+ /** BigQueryTableReferences tableReferences */
+ tableReferences?: (google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference[]|null);
+ }
+
+ /** Represents a BigQueryTableReferences. */
+ class BigQueryTableReferences implements IBigQueryTableReferences {
+
+ /**
+ * Constructs a new BigQueryTableReferences.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IBigQueryTableReferences);
+
+ /** BigQueryTableReferences tableReferences. */
+ public tableReferences: google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference[];
+
+ /**
+ * Creates a new BigQueryTableReferences instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryTableReferences instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IBigQueryTableReferences): google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences;
+
+ /**
+ * Encodes the specified BigQueryTableReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences.verify|verify} messages.
+ * @param message BigQueryTableReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IBigQueryTableReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryTableReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences.verify|verify} messages.
+ * @param message BigQueryTableReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IBigQueryTableReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryTableReferences message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryTableReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences;
+
+ /**
+ * Decodes a BigQueryTableReferences message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryTableReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences;
+
+ /**
+ * Verifies a BigQueryTableReferences message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryTableReferences message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryTableReferences
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences;
+
+ /**
+ * Creates a plain object from a BigQueryTableReferences message. Also converts values to other types if specified.
+ * @param message BigQueryTableReferences
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryTableReferences to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryTableReferences
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryTableReference. */
+ interface IBigQueryTableReference {
+
+ /** BigQueryTableReference projectId */
+ projectId?: (string|null);
+
+ /** BigQueryTableReference datasetId */
+ datasetId?: (string|null);
+
+ /** BigQueryTableReference tableId */
+ tableId?: (string|null);
+
+ /** BigQueryTableReference schema */
+ schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+ }
+
+ /** Represents a BigQueryTableReference. */
+ class BigQueryTableReference implements IBigQueryTableReference {
+
+ /**
+ * Constructs a new BigQueryTableReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference);
+
+ /** BigQueryTableReference projectId. */
+ public projectId: string;
+
+ /** BigQueryTableReference datasetId. */
+ public datasetId: string;
+
+ /** BigQueryTableReference tableId. */
+ public tableId: string;
+
+ /** BigQueryTableReference schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+
+ /**
+ * Creates a new BigQueryTableReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryTableReference instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference): google.cloud.geminidataanalytics.v1beta.BigQueryTableReference;
+
+ /**
+ * Encodes the specified BigQueryTableReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.BigQueryTableReference.verify|verify} messages.
+ * @param message BigQueryTableReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryTableReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.BigQueryTableReference.verify|verify} messages.
+ * @param message BigQueryTableReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryTableReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryTableReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.BigQueryTableReference;
+
+ /**
+ * Decodes a BigQueryTableReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryTableReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.BigQueryTableReference;
+
+ /**
+ * Verifies a BigQueryTableReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryTableReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryTableReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.BigQueryTableReference;
+
+ /**
+ * Creates a plain object from a BigQueryTableReference message. Also converts values to other types if specified.
+ * @param message BigQueryTableReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.BigQueryTableReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryTableReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryTableReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StudioDatasourceReferences. */
+ interface IStudioDatasourceReferences {
+
+ /** StudioDatasourceReferences studioReferences */
+ studioReferences?: (google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReference[]|null);
+ }
+
+ /** Represents a StudioDatasourceReferences. */
+ class StudioDatasourceReferences implements IStudioDatasourceReferences {
+
+ /**
+ * Constructs a new StudioDatasourceReferences.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReferences);
+
+ /** StudioDatasourceReferences studioReferences. */
+ public studioReferences: google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReference[];
+
+ /**
+ * Creates a new StudioDatasourceReferences instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StudioDatasourceReferences instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReferences): google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferences;
+
+ /**
+ * Encodes the specified StudioDatasourceReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferences.verify|verify} messages.
+ * @param message StudioDatasourceReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StudioDatasourceReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferences.verify|verify} messages.
+ * @param message StudioDatasourceReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StudioDatasourceReferences message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StudioDatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferences;
+
+ /**
+ * Decodes a StudioDatasourceReferences message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StudioDatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferences;
+
+ /**
+ * Verifies a StudioDatasourceReferences message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StudioDatasourceReferences message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StudioDatasourceReferences
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferences;
+
+ /**
+ * Creates a plain object from a StudioDatasourceReferences message. Also converts values to other types if specified.
+ * @param message StudioDatasourceReferences
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferences, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StudioDatasourceReferences to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StudioDatasourceReferences
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StudioDatasourceReference. */
+ interface IStudioDatasourceReference {
+
+ /** StudioDatasourceReference datasourceId */
+ datasourceId?: (string|null);
+ }
+
+ /** Represents a StudioDatasourceReference. */
+ class StudioDatasourceReference implements IStudioDatasourceReference {
+
+ /**
+ * Constructs a new StudioDatasourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReference);
+
+ /** StudioDatasourceReference datasourceId. */
+ public datasourceId: string;
+
+ /**
+ * Creates a new StudioDatasourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StudioDatasourceReference instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReference): google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference;
+
+ /**
+ * Encodes the specified StudioDatasourceReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference.verify|verify} messages.
+ * @param message StudioDatasourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StudioDatasourceReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference.verify|verify} messages.
+ * @param message StudioDatasourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IStudioDatasourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StudioDatasourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StudioDatasourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference;
+
+ /**
+ * Decodes a StudioDatasourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StudioDatasourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference;
+
+ /**
+ * Verifies a StudioDatasourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StudioDatasourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StudioDatasourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference;
+
+ /**
+ * Creates a plain object from a StudioDatasourceReference message. Also converts values to other types if specified.
+ * @param message StudioDatasourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StudioDatasourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StudioDatasourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LookerExploreReferences. */
+ interface ILookerExploreReferences {
+
+ /** LookerExploreReferences exploreReferences */
+ exploreReferences?: (google.cloud.geminidataanalytics.v1beta.ILookerExploreReference[]|null);
+
+ /** LookerExploreReferences credentials */
+ credentials?: (google.cloud.geminidataanalytics.v1beta.ICredentials|null);
+ }
+
+ /** Represents a LookerExploreReferences. */
+ class LookerExploreReferences implements ILookerExploreReferences {
+
+ /**
+ * Constructs a new LookerExploreReferences.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ILookerExploreReferences);
+
+ /** LookerExploreReferences exploreReferences. */
+ public exploreReferences: google.cloud.geminidataanalytics.v1beta.ILookerExploreReference[];
+
+ /** LookerExploreReferences credentials. */
+ public credentials?: (google.cloud.geminidataanalytics.v1beta.ICredentials|null);
+
+ /**
+ * Creates a new LookerExploreReferences instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LookerExploreReferences instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ILookerExploreReferences): google.cloud.geminidataanalytics.v1beta.LookerExploreReferences;
+
+ /**
+ * Encodes the specified LookerExploreReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.LookerExploreReferences.verify|verify} messages.
+ * @param message LookerExploreReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ILookerExploreReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LookerExploreReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.LookerExploreReferences.verify|verify} messages.
+ * @param message LookerExploreReferences message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ILookerExploreReferences, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LookerExploreReferences message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LookerExploreReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.LookerExploreReferences;
+
+ /**
+ * Decodes a LookerExploreReferences message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LookerExploreReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.LookerExploreReferences;
+
+ /**
+ * Verifies a LookerExploreReferences message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LookerExploreReferences message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LookerExploreReferences
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.LookerExploreReferences;
+
+ /**
+ * Creates a plain object from a LookerExploreReferences message. Also converts values to other types if specified.
+ * @param message LookerExploreReferences
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.LookerExploreReferences, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LookerExploreReferences to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LookerExploreReferences
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LookerExploreReference. */
+ interface ILookerExploreReference {
+
+ /** LookerExploreReference lookerInstanceUri */
+ lookerInstanceUri?: (string|null);
+
+ /** LookerExploreReference privateLookerInstanceInfo */
+ privateLookerInstanceInfo?: (google.cloud.geminidataanalytics.v1beta.IPrivateLookerInstanceInfo|null);
+
+ /** LookerExploreReference lookmlModel */
+ lookmlModel?: (string|null);
+
+ /** LookerExploreReference explore */
+ explore?: (string|null);
+
+ /** LookerExploreReference schema */
+ schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+ }
+
+ /** Represents a LookerExploreReference. */
+ class LookerExploreReference implements ILookerExploreReference {
+
+ /**
+ * Constructs a new LookerExploreReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ILookerExploreReference);
+
+ /** LookerExploreReference lookerInstanceUri. */
+ public lookerInstanceUri?: (string|null);
+
+ /** LookerExploreReference privateLookerInstanceInfo. */
+ public privateLookerInstanceInfo?: (google.cloud.geminidataanalytics.v1beta.IPrivateLookerInstanceInfo|null);
+
+ /** LookerExploreReference lookmlModel. */
+ public lookmlModel: string;
+
+ /** LookerExploreReference explore. */
+ public explore: string;
+
+ /** LookerExploreReference schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+
+ /** LookerExploreReference instance. */
+ public instance?: ("lookerInstanceUri"|"privateLookerInstanceInfo");
+
+ /**
+ * Creates a new LookerExploreReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LookerExploreReference instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ILookerExploreReference): google.cloud.geminidataanalytics.v1beta.LookerExploreReference;
+
+ /**
+ * Encodes the specified LookerExploreReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.LookerExploreReference.verify|verify} messages.
+ * @param message LookerExploreReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ILookerExploreReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LookerExploreReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.LookerExploreReference.verify|verify} messages.
+ * @param message LookerExploreReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ILookerExploreReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LookerExploreReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LookerExploreReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.LookerExploreReference;
+
+ /**
+ * Decodes a LookerExploreReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LookerExploreReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.LookerExploreReference;
+
+ /**
+ * Verifies a LookerExploreReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LookerExploreReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LookerExploreReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.LookerExploreReference;
+
+ /**
+ * Creates a plain object from a LookerExploreReference message. Also converts values to other types if specified.
+ * @param message LookerExploreReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.LookerExploreReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LookerExploreReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LookerExploreReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PrivateLookerInstanceInfo. */
+ interface IPrivateLookerInstanceInfo {
+
+ /** PrivateLookerInstanceInfo lookerInstanceId */
+ lookerInstanceId?: (string|null);
+
+ /** PrivateLookerInstanceInfo serviceDirectoryName */
+ serviceDirectoryName?: (string|null);
+ }
+
+ /** Represents a PrivateLookerInstanceInfo. */
+ class PrivateLookerInstanceInfo implements IPrivateLookerInstanceInfo {
+
+ /**
+ * Constructs a new PrivateLookerInstanceInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IPrivateLookerInstanceInfo);
+
+ /** PrivateLookerInstanceInfo lookerInstanceId. */
+ public lookerInstanceId: string;
+
+ /** PrivateLookerInstanceInfo serviceDirectoryName. */
+ public serviceDirectoryName: string;
+
+ /**
+ * Creates a new PrivateLookerInstanceInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PrivateLookerInstanceInfo instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IPrivateLookerInstanceInfo): google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfo;
+
+ /**
+ * Encodes the specified PrivateLookerInstanceInfo message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfo.verify|verify} messages.
+ * @param message PrivateLookerInstanceInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IPrivateLookerInstanceInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PrivateLookerInstanceInfo message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfo.verify|verify} messages.
+ * @param message PrivateLookerInstanceInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IPrivateLookerInstanceInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PrivateLookerInstanceInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PrivateLookerInstanceInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfo;
+
+ /**
+ * Decodes a PrivateLookerInstanceInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PrivateLookerInstanceInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfo;
+
+ /**
+ * Verifies a PrivateLookerInstanceInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PrivateLookerInstanceInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PrivateLookerInstanceInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfo;
+
+ /**
+ * Creates a plain object from a PrivateLookerInstanceInfo message. Also converts values to other types if specified.
+ * @param message PrivateLookerInstanceInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PrivateLookerInstanceInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PrivateLookerInstanceInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Datasource. */
+ interface IDatasource {
+
+ /** Datasource bigqueryTableReference */
+ bigqueryTableReference?: (google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference|null);
+
+ /** Datasource studioDatasourceId */
+ studioDatasourceId?: (string|null);
+
+ /** Datasource lookerExploreReference */
+ lookerExploreReference?: (google.cloud.geminidataanalytics.v1beta.ILookerExploreReference|null);
+
+ /** Datasource schema */
+ schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+ }
+
+ /** Represents a Datasource. */
+ class Datasource implements IDatasource {
+
+ /**
+ * Constructs a new Datasource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDatasource);
+
+ /** Datasource bigqueryTableReference. */
+ public bigqueryTableReference?: (google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference|null);
+
+ /** Datasource studioDatasourceId. */
+ public studioDatasourceId?: (string|null);
+
+ /** Datasource lookerExploreReference. */
+ public lookerExploreReference?: (google.cloud.geminidataanalytics.v1beta.ILookerExploreReference|null);
+
+ /** Datasource schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+
+ /** Datasource reference. */
+ public reference?: ("bigqueryTableReference"|"studioDatasourceId"|"lookerExploreReference");
+
+ /**
+ * Creates a new Datasource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Datasource instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDatasource): google.cloud.geminidataanalytics.v1beta.Datasource;
+
+ /**
+ * Encodes the specified Datasource message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Datasource.verify|verify} messages.
+ * @param message Datasource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDatasource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Datasource message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Datasource.verify|verify} messages.
+ * @param message Datasource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDatasource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Datasource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Datasource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.Datasource;
+
+ /**
+ * Decodes a Datasource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Datasource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.Datasource;
+
+ /**
+ * Verifies a Datasource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Datasource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Datasource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.Datasource;
+
+ /**
+ * Creates a plain object from a Datasource message. Also converts values to other types if specified.
+ * @param message Datasource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.Datasource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Datasource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Datasource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Schema. */
+ interface ISchema {
+
+ /** Schema fields */
+ fields?: (google.cloud.geminidataanalytics.v1beta.IField[]|null);
+
+ /** Schema description */
+ description?: (string|null);
+
+ /** Schema synonyms */
+ synonyms?: (string[]|null);
+
+ /** Schema tags */
+ tags?: (string[]|null);
+
+ /** Schema displayName */
+ displayName?: (string|null);
+
+ /** Schema filters */
+ filters?: (google.cloud.geminidataanalytics.v1beta.IDataFilter[]|null);
+ }
+
+ /** Represents a Schema. */
+ class Schema implements ISchema {
+
+ /**
+ * Constructs a new Schema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ISchema);
+
+ /** Schema fields. */
+ public fields: google.cloud.geminidataanalytics.v1beta.IField[];
+
+ /** Schema description. */
+ public description: string;
+
+ /** Schema synonyms. */
+ public synonyms: string[];
+
+ /** Schema tags. */
+ public tags: string[];
+
+ /** Schema displayName. */
+ public displayName: string;
+
+ /** Schema filters. */
+ public filters: google.cloud.geminidataanalytics.v1beta.IDataFilter[];
+
+ /**
+ * Creates a new Schema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Schema instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ISchema): google.cloud.geminidataanalytics.v1beta.Schema;
+
+ /**
+ * Encodes the specified Schema message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Schema message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.Schema;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.Schema;
+
+ /**
+ * Verifies a Schema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Schema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Schema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.Schema;
+
+ /**
+ * Creates a plain object from a Schema message. Also converts values to other types if specified.
+ * @param message Schema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.Schema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Schema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Schema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Field. */
+ interface IField {
+
+ /** Field name */
+ name?: (string|null);
+
+ /** Field type */
+ type?: (string|null);
+
+ /** Field description */
+ description?: (string|null);
+
+ /** Field mode */
+ mode?: (string|null);
+
+ /** Field synonyms */
+ synonyms?: (string[]|null);
+
+ /** Field tags */
+ tags?: (string[]|null);
+
+ /** Field displayName */
+ displayName?: (string|null);
+
+ /** Field subfields */
+ subfields?: (google.cloud.geminidataanalytics.v1beta.IField[]|null);
+
+ /** Field category */
+ category?: (string|null);
+
+ /** Field valueFormat */
+ valueFormat?: (string|null);
+ }
+
+ /** Represents a Field. */
+ class Field implements IField {
+
+ /**
+ * Constructs a new Field.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IField);
+
+ /** Field name. */
+ public name: string;
+
+ /** Field type. */
+ public type: string;
+
+ /** Field description. */
+ public description: string;
+
+ /** Field mode. */
+ public mode: string;
+
+ /** Field synonyms. */
+ public synonyms: string[];
+
+ /** Field tags. */
+ public tags: string[];
+
+ /** Field displayName. */
+ public displayName: string;
+
+ /** Field subfields. */
+ public subfields: google.cloud.geminidataanalytics.v1beta.IField[];
+
+ /** Field category. */
+ public category: string;
+
+ /** Field valueFormat. */
+ public valueFormat: string;
+
+ /**
+ * Creates a new Field instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Field instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IField): google.cloud.geminidataanalytics.v1beta.Field;
+
+ /**
+ * Encodes the specified Field message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Field.verify|verify} messages.
+ * @param message Field message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Field message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Field.verify|verify} messages.
+ * @param message Field message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Field message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Field
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.Field;
+
+ /**
+ * Decodes a Field message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Field
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.Field;
+
+ /**
+ * Verifies a Field message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Field message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Field
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.Field;
+
+ /**
+ * Creates a plain object from a Field message. Also converts values to other types if specified.
+ * @param message Field
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.Field, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Field to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Field
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataFilter. */
+ interface IDataFilter {
+
+ /** DataFilter field */
+ field?: (string|null);
+
+ /** DataFilter value */
+ value?: (string|null);
+
+ /** DataFilter type */
+ type?: (google.cloud.geminidataanalytics.v1beta.DataFilterType|keyof typeof google.cloud.geminidataanalytics.v1beta.DataFilterType|null);
+ }
+
+ /** Represents a DataFilter. */
+ class DataFilter implements IDataFilter {
+
+ /**
+ * Constructs a new DataFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDataFilter);
+
+ /** DataFilter field. */
+ public field: string;
+
+ /** DataFilter value. */
+ public value: string;
+
+ /** DataFilter type. */
+ public type: (google.cloud.geminidataanalytics.v1beta.DataFilterType|keyof typeof google.cloud.geminidataanalytics.v1beta.DataFilterType);
+
+ /**
+ * Creates a new DataFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataFilter instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDataFilter): google.cloud.geminidataanalytics.v1beta.DataFilter;
+
+ /**
+ * Encodes the specified DataFilter message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataFilter.verify|verify} messages.
+ * @param message DataFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDataFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataFilter message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataFilter.verify|verify} messages.
+ * @param message DataFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDataFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.DataFilter;
+
+ /**
+ * Decodes a DataFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.DataFilter;
+
+ /**
+ * Verifies a DataFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.DataFilter;
+
+ /**
+ * Creates a plain object from a DataFilter message. Also converts values to other types if specified.
+ * @param message DataFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.DataFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Credentials. */
+ interface ICredentials {
+
+ /** Credentials oauth */
+ oauth?: (google.cloud.geminidataanalytics.v1beta.IOAuthCredentials|null);
+ }
+
+ /** Represents a Credentials. */
+ class Credentials implements ICredentials {
+
+ /**
+ * Constructs a new Credentials.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ICredentials);
+
+ /** Credentials oauth. */
+ public oauth?: (google.cloud.geminidataanalytics.v1beta.IOAuthCredentials|null);
+
+ /** Credentials kind. */
+ public kind?: "oauth";
+
+ /**
+ * Creates a new Credentials instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Credentials instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ICredentials): google.cloud.geminidataanalytics.v1beta.Credentials;
+
+ /**
+ * Encodes the specified Credentials message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Credentials.verify|verify} messages.
+ * @param message Credentials message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ICredentials, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Credentials message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Credentials.verify|verify} messages.
+ * @param message Credentials message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ICredentials, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Credentials message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Credentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.Credentials;
+
+ /**
+ * Decodes a Credentials message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Credentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.Credentials;
+
+ /**
+ * Verifies a Credentials message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Credentials message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Credentials
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.Credentials;
+
+ /**
+ * Creates a plain object from a Credentials message. Also converts values to other types if specified.
+ * @param message Credentials
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.Credentials, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Credentials to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Credentials
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a OAuthCredentials. */
+ interface IOAuthCredentials {
+
+ /** OAuthCredentials secret */
+ secret?: (google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ISecretBased|null);
+
+ /** OAuthCredentials token */
+ token?: (google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ITokenBased|null);
+ }
+
+ /** Represents a OAuthCredentials. */
+ class OAuthCredentials implements IOAuthCredentials {
+
+ /**
+ * Constructs a new OAuthCredentials.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IOAuthCredentials);
+
+ /** OAuthCredentials secret. */
+ public secret?: (google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ISecretBased|null);
+
+ /** OAuthCredentials token. */
+ public token?: (google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ITokenBased|null);
+
+ /** OAuthCredentials kind. */
+ public kind?: ("secret"|"token");
+
+ /**
+ * Creates a new OAuthCredentials instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OAuthCredentials instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IOAuthCredentials): google.cloud.geminidataanalytics.v1beta.OAuthCredentials;
+
+ /**
+ * Encodes the specified OAuthCredentials message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.OAuthCredentials.verify|verify} messages.
+ * @param message OAuthCredentials message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IOAuthCredentials, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OAuthCredentials message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.OAuthCredentials.verify|verify} messages.
+ * @param message OAuthCredentials message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IOAuthCredentials, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a OAuthCredentials message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OAuthCredentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.OAuthCredentials;
+
+ /**
+ * Decodes a OAuthCredentials message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OAuthCredentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.OAuthCredentials;
+
+ /**
+ * Verifies a OAuthCredentials message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a OAuthCredentials message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OAuthCredentials
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.OAuthCredentials;
+
+ /**
+ * Creates a plain object from a OAuthCredentials message. Also converts values to other types if specified.
+ * @param message OAuthCredentials
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.OAuthCredentials, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OAuthCredentials to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OAuthCredentials
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace OAuthCredentials {
+
+ /** Properties of a SecretBased. */
+ interface ISecretBased {
+
+ /** SecretBased clientId */
+ clientId?: (string|null);
+
+ /** SecretBased clientSecret */
+ clientSecret?: (string|null);
+ }
+
+ /** Represents a SecretBased. */
+ class SecretBased implements ISecretBased {
+
+ /**
+ * Constructs a new SecretBased.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ISecretBased);
+
+ /** SecretBased clientId. */
+ public clientId: string;
+
+ /** SecretBased clientSecret. */
+ public clientSecret: string;
+
+ /**
+ * Creates a new SecretBased instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SecretBased instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ISecretBased): google.cloud.geminidataanalytics.v1beta.OAuthCredentials.SecretBased;
+
+ /**
+ * Encodes the specified SecretBased message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.OAuthCredentials.SecretBased.verify|verify} messages.
+ * @param message SecretBased message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ISecretBased, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SecretBased message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.OAuthCredentials.SecretBased.verify|verify} messages.
+ * @param message SecretBased message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ISecretBased, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SecretBased message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SecretBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.OAuthCredentials.SecretBased;
+
+ /**
+ * Decodes a SecretBased message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SecretBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.OAuthCredentials.SecretBased;
+
+ /**
+ * Verifies a SecretBased message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SecretBased message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SecretBased
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.OAuthCredentials.SecretBased;
+
+ /**
+ * Creates a plain object from a SecretBased message. Also converts values to other types if specified.
+ * @param message SecretBased
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.SecretBased, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SecretBased to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SecretBased
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TokenBased. */
+ interface ITokenBased {
+
+ /** TokenBased accessToken */
+ accessToken?: (string|null);
+ }
+
+ /** Represents a TokenBased. */
+ class TokenBased implements ITokenBased {
+
+ /**
+ * Constructs a new TokenBased.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ITokenBased);
+
+ /** TokenBased accessToken. */
+ public accessToken: string;
+
+ /**
+ * Creates a new TokenBased instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TokenBased instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ITokenBased): google.cloud.geminidataanalytics.v1beta.OAuthCredentials.TokenBased;
+
+ /**
+ * Encodes the specified TokenBased message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.OAuthCredentials.TokenBased.verify|verify} messages.
+ * @param message TokenBased message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ITokenBased, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TokenBased message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.OAuthCredentials.TokenBased.verify|verify} messages.
+ * @param message TokenBased message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.ITokenBased, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TokenBased message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TokenBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.OAuthCredentials.TokenBased;
+
+ /**
+ * Decodes a TokenBased message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TokenBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.OAuthCredentials.TokenBased;
+
+ /**
+ * Verifies a TokenBased message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TokenBased message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TokenBased
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.OAuthCredentials.TokenBased;
+
+ /**
+ * Creates a plain object from a TokenBased message. Also converts values to other types if specified.
+ * @param message TokenBased
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.OAuthCredentials.TokenBased, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TokenBased to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TokenBased
+ * @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 name */
+ name?: (string|null);
+
+ /** Conversation agents */
+ agents?: (string[]|null);
+
+ /** Conversation createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation lastUsedTime */
+ lastUsedTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation labels */
+ labels?: ({ [k: string]: string }|null);
+ }
+
+ /** Represents a Conversation. */
+ class Conversation implements IConversation {
+
+ /**
+ * Constructs a new Conversation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IConversation);
+
+ /** Conversation name. */
+ public name: string;
+
+ /** Conversation agents. */
+ public agents: string[];
+
+ /** Conversation createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation lastUsedTime. */
+ public lastUsedTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation labels. */
+ public labels: { [k: string]: string };
+
+ /**
+ * Creates a new Conversation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Conversation instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IConversation): google.cloud.geminidataanalytics.v1beta.Conversation;
+
+ /**
+ * Encodes the specified Conversation message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.IConversation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Conversation message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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;
+ }
+
+ /** Properties of a CreateConversationRequest. */
+ interface ICreateConversationRequest {
+
+ /** CreateConversationRequest parent */
+ parent?: (string|null);
+
+ /** CreateConversationRequest conversationId */
+ conversationId?: (string|null);
+
+ /** CreateConversationRequest conversation */
+ conversation?: (google.cloud.geminidataanalytics.v1beta.IConversation|null);
+
+ /** CreateConversationRequest requestId */
+ requestId?: (string|null);
+ }
+
+ /** Represents a CreateConversationRequest. */
+ class CreateConversationRequest implements ICreateConversationRequest {
+
+ /**
+ * Constructs a new CreateConversationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ICreateConversationRequest);
+
+ /** CreateConversationRequest parent. */
+ public parent: string;
+
+ /** CreateConversationRequest conversationId. */
+ public conversationId: string;
+
+ /** CreateConversationRequest conversation. */
+ public conversation?: (google.cloud.geminidataanalytics.v1beta.IConversation|null);
+
+ /** CreateConversationRequest requestId. */
+ public requestId: string;
+
+ /**
+ * Creates a new CreateConversationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateConversationRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ICreateConversationRequest): google.cloud.geminidataanalytics.v1beta.CreateConversationRequest;
+
+ /**
+ * Encodes the specified CreateConversationRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.ICreateConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateConversationRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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 GetConversationRequest. */
+ interface IGetConversationRequest {
+
+ /** GetConversationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetConversationRequest. */
+ class GetConversationRequest implements IGetConversationRequest {
+
+ /**
+ * Constructs a new GetConversationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IGetConversationRequest);
+
+ /** GetConversationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetConversationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetConversationRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IGetConversationRequest): google.cloud.geminidataanalytics.v1beta.GetConversationRequest;
+
+ /**
+ * Encodes the specified GetConversationRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.IGetConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetConversationRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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 a ListConversationsRequest. */
+ interface IListConversationsRequest {
+
+ /** ListConversationsRequest parent */
+ parent?: (string|null);
+
+ /** ListConversationsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListConversationsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListConversationsRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListConversationsRequest. */
+ class ListConversationsRequest implements IListConversationsRequest {
+
+ /**
+ * Constructs a new ListConversationsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IListConversationsRequest);
+
+ /** ListConversationsRequest parent. */
+ public parent: string;
+
+ /** ListConversationsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListConversationsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListConversationsRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListConversationsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListConversationsRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IListConversationsRequest): google.cloud.geminidataanalytics.v1beta.ListConversationsRequest;
+
+ /**
+ * Encodes the specified ListConversationsRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.IListConversationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListConversationsRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.IListConversationsResponse);
+
+ /** ListConversationsResponse conversations. */
+ public conversations: google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.IListConversationsResponse): google.cloud.geminidataanalytics.v1beta.ListConversationsResponse;
+
+ /**
+ * Encodes the specified ListConversationsResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.IListConversationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListConversationsResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.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 DataAgent. */
+ interface IDataAgent {
+
+ /** DataAgent dataAnalyticsAgent */
+ dataAnalyticsAgent?: (google.cloud.geminidataanalytics.v1beta.IDataAnalyticsAgent|null);
+
+ /** DataAgent name */
+ name?: (string|null);
+
+ /** DataAgent displayName */
+ displayName?: (string|null);
+
+ /** DataAgent description */
+ description?: (string|null);
+
+ /** DataAgent labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** DataAgent createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent deleteTime */
+ deleteTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent purgeTime */
+ purgeTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a DataAgent. */
+ class DataAgent implements IDataAgent {
+
+ /**
+ * Constructs a new DataAgent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDataAgent);
+
+ /** DataAgent dataAnalyticsAgent. */
+ public dataAnalyticsAgent?: (google.cloud.geminidataanalytics.v1beta.IDataAnalyticsAgent|null);
+
+ /** DataAgent name. */
+ public name: string;
+
+ /** DataAgent displayName. */
+ public displayName: string;
+
+ /** DataAgent description. */
+ public description: string;
+
+ /** DataAgent labels. */
+ public labels: { [k: string]: string };
+
+ /** DataAgent createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent deleteTime. */
+ public deleteTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent purgeTime. */
+ public purgeTime?: (google.protobuf.ITimestamp|null);
+
+ /** DataAgent type. */
+ public type?: "dataAnalyticsAgent";
+
+ /**
+ * Creates a new DataAgent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataAgent instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDataAgent): google.cloud.geminidataanalytics.v1beta.DataAgent;
+
+ /**
+ * Encodes the specified DataAgent message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataAgent.verify|verify} messages.
+ * @param message DataAgent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDataAgent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataAgent message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataAgent.verify|verify} messages.
+ * @param message DataAgent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDataAgent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataAgent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.DataAgent;
+
+ /**
+ * Decodes a DataAgent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.DataAgent;
+
+ /**
+ * Verifies a DataAgent message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataAgent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataAgent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.DataAgent;
+
+ /**
+ * Creates a plain object from a DataAgent message. Also converts values to other types if specified.
+ * @param message DataAgent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.DataAgent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataAgent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataAgent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataAnalyticsAgent. */
+ interface IDataAnalyticsAgent {
+
+ /** DataAnalyticsAgent stagingContext */
+ stagingContext?: (google.cloud.geminidataanalytics.v1beta.IContext|null);
+
+ /** DataAnalyticsAgent publishedContext */
+ publishedContext?: (google.cloud.geminidataanalytics.v1beta.IContext|null);
+
+ /** DataAnalyticsAgent lastPublishedContext */
+ lastPublishedContext?: (google.cloud.geminidataanalytics.v1beta.IContext|null);
+ }
+
+ /** Represents a DataAnalyticsAgent. */
+ class DataAnalyticsAgent implements IDataAnalyticsAgent {
+
+ /**
+ * Constructs a new DataAnalyticsAgent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDataAnalyticsAgent);
+
+ /** DataAnalyticsAgent stagingContext. */
+ public stagingContext?: (google.cloud.geminidataanalytics.v1beta.IContext|null);
+
+ /** DataAnalyticsAgent publishedContext. */
+ public publishedContext?: (google.cloud.geminidataanalytics.v1beta.IContext|null);
+
+ /** DataAnalyticsAgent lastPublishedContext. */
+ public lastPublishedContext?: (google.cloud.geminidataanalytics.v1beta.IContext|null);
+
+ /**
+ * Creates a new DataAnalyticsAgent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataAnalyticsAgent instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDataAnalyticsAgent): google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent;
+
+ /**
+ * Encodes the specified DataAnalyticsAgent message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent.verify|verify} messages.
+ * @param message DataAnalyticsAgent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDataAnalyticsAgent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataAnalyticsAgent message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent.verify|verify} messages.
+ * @param message DataAnalyticsAgent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDataAnalyticsAgent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataAnalyticsAgent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataAnalyticsAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent;
+
+ /**
+ * Decodes a DataAnalyticsAgent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataAnalyticsAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent;
+
+ /**
+ * Verifies a DataAnalyticsAgent message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataAnalyticsAgent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataAnalyticsAgent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent;
+
+ /**
+ * Creates a plain object from a DataAnalyticsAgent message. Also converts values to other types if specified.
+ * @param message DataAnalyticsAgent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataAnalyticsAgent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataAnalyticsAgent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a DataAgentService */
+ class DataAgentService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new DataAgentService 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 DataAgentService 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): DataAgentService;
+
+ /**
+ * Calls ListDataAgents.
+ * @param request ListDataAgentsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListDataAgentsResponse
+ */
+ public listDataAgents(request: google.cloud.geminidataanalytics.v1beta.IListDataAgentsRequest, callback: google.cloud.geminidataanalytics.v1beta.DataAgentService.ListDataAgentsCallback): void;
+
+ /**
+ * Calls ListDataAgents.
+ * @param request ListDataAgentsRequest message or plain object
+ * @returns Promise
+ */
+ public listDataAgents(request: google.cloud.geminidataanalytics.v1beta.IListDataAgentsRequest): Promise;
+
+ /**
+ * Calls ListAccessibleDataAgents.
+ * @param request ListAccessibleDataAgentsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListAccessibleDataAgentsResponse
+ */
+ public listAccessibleDataAgents(request: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsRequest, callback: google.cloud.geminidataanalytics.v1beta.DataAgentService.ListAccessibleDataAgentsCallback): void;
+
+ /**
+ * Calls ListAccessibleDataAgents.
+ * @param request ListAccessibleDataAgentsRequest message or plain object
+ * @returns Promise
+ */
+ public listAccessibleDataAgents(request: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsRequest): Promise;
+
+ /**
+ * Calls GetDataAgent.
+ * @param request GetDataAgentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DataAgent
+ */
+ public getDataAgent(request: google.cloud.geminidataanalytics.v1beta.IGetDataAgentRequest, callback: google.cloud.geminidataanalytics.v1beta.DataAgentService.GetDataAgentCallback): void;
+
+ /**
+ * Calls GetDataAgent.
+ * @param request GetDataAgentRequest message or plain object
+ * @returns Promise
+ */
+ public getDataAgent(request: google.cloud.geminidataanalytics.v1beta.IGetDataAgentRequest): Promise;
+
+ /**
+ * Calls CreateDataAgent.
+ * @param request CreateDataAgentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createDataAgent(request: google.cloud.geminidataanalytics.v1beta.ICreateDataAgentRequest, callback: google.cloud.geminidataanalytics.v1beta.DataAgentService.CreateDataAgentCallback): void;
+
+ /**
+ * Calls CreateDataAgent.
+ * @param request CreateDataAgentRequest message or plain object
+ * @returns Promise
+ */
+ public createDataAgent(request: google.cloud.geminidataanalytics.v1beta.ICreateDataAgentRequest): Promise;
+
+ /**
+ * Calls UpdateDataAgent.
+ * @param request UpdateDataAgentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateDataAgent(request: google.cloud.geminidataanalytics.v1beta.IUpdateDataAgentRequest, callback: google.cloud.geminidataanalytics.v1beta.DataAgentService.UpdateDataAgentCallback): void;
+
+ /**
+ * Calls UpdateDataAgent.
+ * @param request UpdateDataAgentRequest message or plain object
+ * @returns Promise
+ */
+ public updateDataAgent(request: google.cloud.geminidataanalytics.v1beta.IUpdateDataAgentRequest): Promise;
+
+ /**
+ * Calls DeleteDataAgent.
+ * @param request DeleteDataAgentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteDataAgent(request: google.cloud.geminidataanalytics.v1beta.IDeleteDataAgentRequest, callback: google.cloud.geminidataanalytics.v1beta.DataAgentService.DeleteDataAgentCallback): void;
+
+ /**
+ * Calls DeleteDataAgent.
+ * @param request DeleteDataAgentRequest message or plain object
+ * @returns Promise
+ */
+ public deleteDataAgent(request: google.cloud.geminidataanalytics.v1beta.IDeleteDataAgentRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.geminidataanalytics.v1beta.DataAgentService.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.geminidataanalytics.v1beta.DataAgentService.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+ }
+
+ namespace DataAgentService {
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataAgentService|listDataAgents}.
+ * @param error Error, if any
+ * @param [response] ListDataAgentsResponse
+ */
+ type ListDataAgentsCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1beta.ListDataAgentsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataAgentService|listAccessibleDataAgents}.
+ * @param error Error, if any
+ * @param [response] ListAccessibleDataAgentsResponse
+ */
+ type ListAccessibleDataAgentsCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataAgentService|getDataAgent}.
+ * @param error Error, if any
+ * @param [response] DataAgent
+ */
+ type GetDataAgentCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1beta.DataAgent) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataAgentService|createDataAgent}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateDataAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataAgentService|updateDataAgent}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateDataAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataAgentService|deleteDataAgent}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteDataAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataAgentService|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataAgentService|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+ }
+
+ /** Properties of a ListDataAgentsRequest. */
+ interface IListDataAgentsRequest {
+
+ /** ListDataAgentsRequest parent */
+ parent?: (string|null);
+
+ /** ListDataAgentsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListDataAgentsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListDataAgentsRequest filter */
+ filter?: (string|null);
+
+ /** ListDataAgentsRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListDataAgentsRequest showDeleted */
+ showDeleted?: (boolean|null);
+ }
+
+ /** Represents a ListDataAgentsRequest. */
+ class ListDataAgentsRequest implements IListDataAgentsRequest {
+
+ /**
+ * Constructs a new ListDataAgentsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IListDataAgentsRequest);
+
+ /** ListDataAgentsRequest parent. */
+ public parent: string;
+
+ /** ListDataAgentsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListDataAgentsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListDataAgentsRequest filter. */
+ public filter: string;
+
+ /** ListDataAgentsRequest orderBy. */
+ public orderBy: string;
+
+ /** ListDataAgentsRequest showDeleted. */
+ public showDeleted: boolean;
+
+ /**
+ * Creates a new ListDataAgentsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDataAgentsRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IListDataAgentsRequest): google.cloud.geminidataanalytics.v1beta.ListDataAgentsRequest;
+
+ /**
+ * Encodes the specified ListDataAgentsRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListDataAgentsRequest.verify|verify} messages.
+ * @param message ListDataAgentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IListDataAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDataAgentsRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListDataAgentsRequest.verify|verify} messages.
+ * @param message ListDataAgentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IListDataAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDataAgentsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ListDataAgentsRequest;
+
+ /**
+ * Decodes a ListDataAgentsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ListDataAgentsRequest;
+
+ /**
+ * Verifies a ListDataAgentsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDataAgentsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDataAgentsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ListDataAgentsRequest;
+
+ /**
+ * Creates a plain object from a ListDataAgentsRequest message. Also converts values to other types if specified.
+ * @param message ListDataAgentsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ListDataAgentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDataAgentsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDataAgentsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDataAgentsResponse. */
+ interface IListDataAgentsResponse {
+
+ /** ListDataAgentsResponse dataAgents */
+ dataAgents?: (google.cloud.geminidataanalytics.v1beta.IDataAgent[]|null);
+
+ /** ListDataAgentsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListDataAgentsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListDataAgentsResponse. */
+ class ListDataAgentsResponse implements IListDataAgentsResponse {
+
+ /**
+ * Constructs a new ListDataAgentsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IListDataAgentsResponse);
+
+ /** ListDataAgentsResponse dataAgents. */
+ public dataAgents: google.cloud.geminidataanalytics.v1beta.IDataAgent[];
+
+ /** ListDataAgentsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListDataAgentsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListDataAgentsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDataAgentsResponse instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IListDataAgentsResponse): google.cloud.geminidataanalytics.v1beta.ListDataAgentsResponse;
+
+ /**
+ * Encodes the specified ListDataAgentsResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListDataAgentsResponse.verify|verify} messages.
+ * @param message ListDataAgentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IListDataAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDataAgentsResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListDataAgentsResponse.verify|verify} messages.
+ * @param message ListDataAgentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IListDataAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDataAgentsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ListDataAgentsResponse;
+
+ /**
+ * Decodes a ListDataAgentsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ListDataAgentsResponse;
+
+ /**
+ * Verifies a ListDataAgentsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDataAgentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDataAgentsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ListDataAgentsResponse;
+
+ /**
+ * Creates a plain object from a ListDataAgentsResponse message. Also converts values to other types if specified.
+ * @param message ListDataAgentsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ListDataAgentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDataAgentsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDataAgentsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListAccessibleDataAgentsRequest. */
+ interface IListAccessibleDataAgentsRequest {
+
+ /** ListAccessibleDataAgentsRequest parent */
+ parent?: (string|null);
+
+ /** ListAccessibleDataAgentsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListAccessibleDataAgentsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListAccessibleDataAgentsRequest filter */
+ filter?: (string|null);
+
+ /** ListAccessibleDataAgentsRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListAccessibleDataAgentsRequest showDeleted */
+ showDeleted?: (boolean|null);
+
+ /** ListAccessibleDataAgentsRequest creatorFilter */
+ creatorFilter?: (google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest.CreatorFilter|keyof typeof google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest.CreatorFilter|null);
+ }
+
+ /** Represents a ListAccessibleDataAgentsRequest. */
+ class ListAccessibleDataAgentsRequest implements IListAccessibleDataAgentsRequest {
+
+ /**
+ * Constructs a new ListAccessibleDataAgentsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsRequest);
+
+ /** ListAccessibleDataAgentsRequest parent. */
+ public parent: string;
+
+ /** ListAccessibleDataAgentsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListAccessibleDataAgentsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListAccessibleDataAgentsRequest filter. */
+ public filter: string;
+
+ /** ListAccessibleDataAgentsRequest orderBy. */
+ public orderBy: string;
+
+ /** ListAccessibleDataAgentsRequest showDeleted. */
+ public showDeleted: boolean;
+
+ /** ListAccessibleDataAgentsRequest creatorFilter. */
+ public creatorFilter: (google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest.CreatorFilter|keyof typeof google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest.CreatorFilter);
+
+ /**
+ * Creates a new ListAccessibleDataAgentsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAccessibleDataAgentsRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsRequest): google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest;
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest.verify|verify} messages.
+ * @param message ListAccessibleDataAgentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest.verify|verify} messages.
+ * @param message ListAccessibleDataAgentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAccessibleDataAgentsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAccessibleDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest;
+
+ /**
+ * Decodes a ListAccessibleDataAgentsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAccessibleDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest;
+
+ /**
+ * Verifies a ListAccessibleDataAgentsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListAccessibleDataAgentsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAccessibleDataAgentsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest;
+
+ /**
+ * Creates a plain object from a ListAccessibleDataAgentsRequest message. Also converts values to other types if specified.
+ * @param message ListAccessibleDataAgentsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAccessibleDataAgentsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAccessibleDataAgentsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ListAccessibleDataAgentsRequest {
+
+ /** CreatorFilter enum. */
+ enum CreatorFilter {
+ CREATOR_FILTER_UNSPECIFIED = 0,
+ NONE = 1,
+ CREATOR_ONLY = 2,
+ NOT_CREATOR_ONLY = 3
+ }
+ }
+
+ /** Properties of a ListAccessibleDataAgentsResponse. */
+ interface IListAccessibleDataAgentsResponse {
+
+ /** ListAccessibleDataAgentsResponse dataAgents */
+ dataAgents?: (google.cloud.geminidataanalytics.v1beta.IDataAgent[]|null);
+
+ /** ListAccessibleDataAgentsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListAccessibleDataAgentsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListAccessibleDataAgentsResponse. */
+ class ListAccessibleDataAgentsResponse implements IListAccessibleDataAgentsResponse {
+
+ /**
+ * Constructs a new ListAccessibleDataAgentsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsResponse);
+
+ /** ListAccessibleDataAgentsResponse dataAgents. */
+ public dataAgents: google.cloud.geminidataanalytics.v1beta.IDataAgent[];
+
+ /** ListAccessibleDataAgentsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListAccessibleDataAgentsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListAccessibleDataAgentsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAccessibleDataAgentsResponse instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsResponse): google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsResponse;
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsResponse.verify|verify} messages.
+ * @param message ListAccessibleDataAgentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsResponse.verify|verify} messages.
+ * @param message ListAccessibleDataAgentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IListAccessibleDataAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAccessibleDataAgentsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAccessibleDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsResponse;
+
+ /**
+ * Decodes a ListAccessibleDataAgentsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAccessibleDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsResponse;
+
+ /**
+ * Verifies a ListAccessibleDataAgentsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListAccessibleDataAgentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAccessibleDataAgentsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsResponse;
+
+ /**
+ * Creates a plain object from a ListAccessibleDataAgentsResponse message. Also converts values to other types if specified.
+ * @param message ListAccessibleDataAgentsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAccessibleDataAgentsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAccessibleDataAgentsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetDataAgentRequest. */
+ interface IGetDataAgentRequest {
+
+ /** GetDataAgentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetDataAgentRequest. */
+ class GetDataAgentRequest implements IGetDataAgentRequest {
+
+ /**
+ * Constructs a new GetDataAgentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IGetDataAgentRequest);
+
+ /** GetDataAgentRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetDataAgentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetDataAgentRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IGetDataAgentRequest): google.cloud.geminidataanalytics.v1beta.GetDataAgentRequest;
+
+ /**
+ * Encodes the specified GetDataAgentRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.GetDataAgentRequest.verify|verify} messages.
+ * @param message GetDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IGetDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetDataAgentRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.GetDataAgentRequest.verify|verify} messages.
+ * @param message GetDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IGetDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetDataAgentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.GetDataAgentRequest;
+
+ /**
+ * Decodes a GetDataAgentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.GetDataAgentRequest;
+
+ /**
+ * Verifies a GetDataAgentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetDataAgentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetDataAgentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.GetDataAgentRequest;
+
+ /**
+ * Creates a plain object from a GetDataAgentRequest message. Also converts values to other types if specified.
+ * @param message GetDataAgentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.GetDataAgentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetDataAgentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetDataAgentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateDataAgentRequest. */
+ interface ICreateDataAgentRequest {
+
+ /** CreateDataAgentRequest parent */
+ parent?: (string|null);
+
+ /** CreateDataAgentRequest dataAgentId */
+ dataAgentId?: (string|null);
+
+ /** CreateDataAgentRequest dataAgent */
+ dataAgent?: (google.cloud.geminidataanalytics.v1beta.IDataAgent|null);
+
+ /** CreateDataAgentRequest requestId */
+ requestId?: (string|null);
+ }
+
+ /** Represents a CreateDataAgentRequest. */
+ class CreateDataAgentRequest implements ICreateDataAgentRequest {
+
+ /**
+ * Constructs a new CreateDataAgentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ICreateDataAgentRequest);
+
+ /** CreateDataAgentRequest parent. */
+ public parent: string;
+
+ /** CreateDataAgentRequest dataAgentId. */
+ public dataAgentId: string;
+
+ /** CreateDataAgentRequest dataAgent. */
+ public dataAgent?: (google.cloud.geminidataanalytics.v1beta.IDataAgent|null);
+
+ /** CreateDataAgentRequest requestId. */
+ public requestId: string;
+
+ /**
+ * Creates a new CreateDataAgentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateDataAgentRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ICreateDataAgentRequest): google.cloud.geminidataanalytics.v1beta.CreateDataAgentRequest;
+
+ /**
+ * Encodes the specified CreateDataAgentRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.CreateDataAgentRequest.verify|verify} messages.
+ * @param message CreateDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ICreateDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateDataAgentRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.CreateDataAgentRequest.verify|verify} messages.
+ * @param message CreateDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ICreateDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateDataAgentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.CreateDataAgentRequest;
+
+ /**
+ * Decodes a CreateDataAgentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.CreateDataAgentRequest;
+
+ /**
+ * Verifies a CreateDataAgentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateDataAgentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateDataAgentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.CreateDataAgentRequest;
+
+ /**
+ * Creates a plain object from a CreateDataAgentRequest message. Also converts values to other types if specified.
+ * @param message CreateDataAgentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.CreateDataAgentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateDataAgentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateDataAgentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateDataAgentRequest. */
+ interface IUpdateDataAgentRequest {
+
+ /** UpdateDataAgentRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateDataAgentRequest dataAgent */
+ dataAgent?: (google.cloud.geminidataanalytics.v1beta.IDataAgent|null);
+
+ /** UpdateDataAgentRequest requestId */
+ requestId?: (string|null);
+ }
+
+ /** Represents an UpdateDataAgentRequest. */
+ class UpdateDataAgentRequest implements IUpdateDataAgentRequest {
+
+ /**
+ * Constructs a new UpdateDataAgentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IUpdateDataAgentRequest);
+
+ /** UpdateDataAgentRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateDataAgentRequest dataAgent. */
+ public dataAgent?: (google.cloud.geminidataanalytics.v1beta.IDataAgent|null);
+
+ /** UpdateDataAgentRequest requestId. */
+ public requestId: string;
+
+ /**
+ * Creates a new UpdateDataAgentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateDataAgentRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IUpdateDataAgentRequest): google.cloud.geminidataanalytics.v1beta.UpdateDataAgentRequest;
+
+ /**
+ * Encodes the specified UpdateDataAgentRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.UpdateDataAgentRequest.verify|verify} messages.
+ * @param message UpdateDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IUpdateDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateDataAgentRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.UpdateDataAgentRequest.verify|verify} messages.
+ * @param message UpdateDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IUpdateDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateDataAgentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.UpdateDataAgentRequest;
+
+ /**
+ * Decodes an UpdateDataAgentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.UpdateDataAgentRequest;
+
+ /**
+ * Verifies an UpdateDataAgentRequest message.
+ * @param message Plain 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 UpdateDataAgentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateDataAgentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.UpdateDataAgentRequest;
+
+ /**
+ * Creates a plain object from an UpdateDataAgentRequest message. Also converts values to other types if specified.
+ * @param message UpdateDataAgentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.UpdateDataAgentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateDataAgentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateDataAgentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteDataAgentRequest. */
+ interface IDeleteDataAgentRequest {
+
+ /** DeleteDataAgentRequest name */
+ name?: (string|null);
+
+ /** DeleteDataAgentRequest requestId */
+ requestId?: (string|null);
+ }
+
+ /** Represents a DeleteDataAgentRequest. */
+ class DeleteDataAgentRequest implements IDeleteDataAgentRequest {
+
+ /**
+ * Constructs a new DeleteDataAgentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDeleteDataAgentRequest);
+
+ /** DeleteDataAgentRequest name. */
+ public name: string;
+
+ /** DeleteDataAgentRequest requestId. */
+ public requestId: string;
+
+ /**
+ * Creates a new DeleteDataAgentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteDataAgentRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDeleteDataAgentRequest): google.cloud.geminidataanalytics.v1beta.DeleteDataAgentRequest;
+
+ /**
+ * Encodes the specified DeleteDataAgentRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DeleteDataAgentRequest.verify|verify} messages.
+ * @param message DeleteDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDeleteDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteDataAgentRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DeleteDataAgentRequest.verify|verify} messages.
+ * @param message DeleteDataAgentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDeleteDataAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteDataAgentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.DeleteDataAgentRequest;
+
+ /**
+ * Decodes a DeleteDataAgentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteDataAgentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.DeleteDataAgentRequest;
+
+ /**
+ * Verifies a DeleteDataAgentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteDataAgentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteDataAgentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.DeleteDataAgentRequest;
+
+ /**
+ * Creates a plain object from a DeleteDataAgentRequest message. Also converts values to other types if specified.
+ * @param message DeleteDataAgentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.DeleteDataAgentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteDataAgentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteDataAgentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OperationMetadata. */
+ interface IOperationMetadata {
+
+ /** OperationMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata target */
+ target?: (string|null);
+
+ /** OperationMetadata verb */
+ verb?: (string|null);
+
+ /** OperationMetadata statusMessage */
+ statusMessage?: (string|null);
+
+ /** OperationMetadata requestedCancellation */
+ requestedCancellation?: (boolean|null);
+
+ /** OperationMetadata apiVersion */
+ apiVersion?: (string|null);
+ }
+
+ /** Represents an OperationMetadata. */
+ class OperationMetadata implements IOperationMetadata {
+
+ /**
+ * Constructs a new OperationMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IOperationMetadata);
+
+ /** OperationMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata target. */
+ public target: string;
+
+ /** OperationMetadata verb. */
+ public verb: string;
+
+ /** OperationMetadata statusMessage. */
+ public statusMessage: string;
+
+ /** OperationMetadata requestedCancellation. */
+ public requestedCancellation: boolean;
+
+ /** OperationMetadata apiVersion. */
+ public apiVersion: string;
+
+ /**
+ * Creates a new OperationMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationMetadata instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IOperationMetadata): google.cloud.geminidataanalytics.v1beta.OperationMetadata;
+
+ /**
+ * Encodes the specified OperationMetadata message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.OperationMetadata.verify|verify} messages.
+ * @param message OperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationMetadata message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.OperationMetadata.verify|verify} messages.
+ * @param message OperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.OperationMetadata;
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.OperationMetadata;
+
+ /**
+ * Verifies an OperationMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.OperationMetadata;
+
+ /**
+ * Creates a plain object from an OperationMetadata message. Also converts values to other types if specified.
+ * @param message OperationMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.OperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a DataChatService */
+ class DataChatService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new DataChatService 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 DataChatService 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): DataChatService;
+
+ /**
+ * Calls Chat.
+ * @param request ChatRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Message
+ */
+ public chat(request: google.cloud.geminidataanalytics.v1beta.IChatRequest, callback: google.cloud.geminidataanalytics.v1beta.DataChatService.ChatCallback): void;
+
+ /**
+ * Calls Chat.
+ * @param request ChatRequest message or plain object
+ * @returns Promise
+ */
+ public chat(request: google.cloud.geminidataanalytics.v1beta.IChatRequest): Promise;
+
+ /**
+ * 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.geminidataanalytics.v1beta.ICreateConversationRequest, callback: google.cloud.geminidataanalytics.v1beta.DataChatService.CreateConversationCallback): void;
+
+ /**
+ * Calls CreateConversation.
+ * @param request CreateConversationRequest message or plain object
+ * @returns Promise
+ */
+ public createConversation(request: google.cloud.geminidataanalytics.v1beta.ICreateConversationRequest): 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.geminidataanalytics.v1beta.IGetConversationRequest, callback: google.cloud.geminidataanalytics.v1beta.DataChatService.GetConversationCallback): void;
+
+ /**
+ * Calls GetConversation.
+ * @param request GetConversationRequest message or plain object
+ * @returns Promise
+ */
+ public getConversation(request: google.cloud.geminidataanalytics.v1beta.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.geminidataanalytics.v1beta.IListConversationsRequest, callback: google.cloud.geminidataanalytics.v1beta.DataChatService.ListConversationsCallback): void;
+
+ /**
+ * Calls ListConversations.
+ * @param request ListConversationsRequest message or plain object
+ * @returns Promise
+ */
+ public listConversations(request: google.cloud.geminidataanalytics.v1beta.IListConversationsRequest): Promise;
+
+ /**
+ * Calls ListMessages.
+ * @param request ListMessagesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListMessagesResponse
+ */
+ public listMessages(request: google.cloud.geminidataanalytics.v1beta.IListMessagesRequest, callback: google.cloud.geminidataanalytics.v1beta.DataChatService.ListMessagesCallback): void;
+
+ /**
+ * Calls ListMessages.
+ * @param request ListMessagesRequest message or plain object
+ * @returns Promise
+ */
+ public listMessages(request: google.cloud.geminidataanalytics.v1beta.IListMessagesRequest): Promise;
+ }
+
+ namespace DataChatService {
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataChatService|chat}.
+ * @param error Error, if any
+ * @param [response] Message
+ */
+ type ChatCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1beta.Message) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataChatService|createConversation}.
+ * @param error Error, if any
+ * @param [response] Conversation
+ */
+ type CreateConversationCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1beta.Conversation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataChatService|getConversation}.
+ * @param error Error, if any
+ * @param [response] Conversation
+ */
+ type GetConversationCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1beta.Conversation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataChatService|listConversations}.
+ * @param error Error, if any
+ * @param [response] ListConversationsResponse
+ */
+ type ListConversationsCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1beta.ListConversationsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1beta.DataChatService|listMessages}.
+ * @param error Error, if any
+ * @param [response] ListMessagesResponse
+ */
+ type ListMessagesCallback = (error: (Error|null), response?: google.cloud.geminidataanalytics.v1beta.ListMessagesResponse) => void;
+ }
+
+ /** Properties of a ListMessagesRequest. */
+ interface IListMessagesRequest {
+
+ /** ListMessagesRequest parent */
+ parent?: (string|null);
+
+ /** ListMessagesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListMessagesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListMessagesRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListMessagesRequest. */
+ class ListMessagesRequest implements IListMessagesRequest {
+
+ /**
+ * Constructs a new ListMessagesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IListMessagesRequest);
+
+ /** ListMessagesRequest parent. */
+ public parent: string;
+
+ /** ListMessagesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListMessagesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListMessagesRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListMessagesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListMessagesRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IListMessagesRequest): google.cloud.geminidataanalytics.v1beta.ListMessagesRequest;
+
+ /**
+ * Encodes the specified ListMessagesRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListMessagesRequest.verify|verify} messages.
+ * @param message ListMessagesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IListMessagesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListMessagesRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListMessagesRequest.verify|verify} messages.
+ * @param message ListMessagesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IListMessagesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListMessagesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListMessagesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ListMessagesRequest;
+
+ /**
+ * Decodes a ListMessagesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListMessagesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ListMessagesRequest;
+
+ /**
+ * Verifies a ListMessagesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListMessagesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListMessagesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ListMessagesRequest;
+
+ /**
+ * Creates a plain object from a ListMessagesRequest message. Also converts values to other types if specified.
+ * @param message ListMessagesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ListMessagesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListMessagesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListMessagesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListMessagesResponse. */
+ interface IListMessagesResponse {
+
+ /** ListMessagesResponse messages */
+ messages?: (google.cloud.geminidataanalytics.v1beta.IStorageMessage[]|null);
+
+ /** ListMessagesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListMessagesResponse. */
+ class ListMessagesResponse implements IListMessagesResponse {
+
+ /**
+ * Constructs a new ListMessagesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IListMessagesResponse);
+
+ /** ListMessagesResponse messages. */
+ public messages: google.cloud.geminidataanalytics.v1beta.IStorageMessage[];
+
+ /** ListMessagesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListMessagesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListMessagesResponse instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IListMessagesResponse): google.cloud.geminidataanalytics.v1beta.ListMessagesResponse;
+
+ /**
+ * Encodes the specified ListMessagesResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListMessagesResponse.verify|verify} messages.
+ * @param message ListMessagesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IListMessagesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListMessagesResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ListMessagesResponse.verify|verify} messages.
+ * @param message ListMessagesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IListMessagesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListMessagesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListMessagesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ListMessagesResponse;
+
+ /**
+ * Decodes a ListMessagesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListMessagesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ListMessagesResponse;
+
+ /**
+ * Verifies a ListMessagesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListMessagesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListMessagesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ListMessagesResponse;
+
+ /**
+ * Creates a plain object from a ListMessagesResponse message. Also converts values to other types if specified.
+ * @param message ListMessagesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ListMessagesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListMessagesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListMessagesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StorageMessage. */
+ interface IStorageMessage {
+
+ /** StorageMessage messageId */
+ messageId?: (string|null);
+
+ /** StorageMessage message */
+ message?: (google.cloud.geminidataanalytics.v1beta.IMessage|null);
+ }
+
+ /** Represents a StorageMessage. */
+ class StorageMessage implements IStorageMessage {
+
+ /**
+ * Constructs a new StorageMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IStorageMessage);
+
+ /** StorageMessage messageId. */
+ public messageId: string;
+
+ /** StorageMessage message. */
+ public message?: (google.cloud.geminidataanalytics.v1beta.IMessage|null);
+
+ /**
+ * Creates a new StorageMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StorageMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IStorageMessage): google.cloud.geminidataanalytics.v1beta.StorageMessage;
+
+ /**
+ * Encodes the specified StorageMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.StorageMessage.verify|verify} messages.
+ * @param message StorageMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IStorageMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StorageMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.StorageMessage.verify|verify} messages.
+ * @param message StorageMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IStorageMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StorageMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StorageMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.StorageMessage;
+
+ /**
+ * Decodes a StorageMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StorageMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.StorageMessage;
+
+ /**
+ * Verifies a StorageMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StorageMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StorageMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.StorageMessage;
+
+ /**
+ * Creates a plain object from a StorageMessage message. Also converts values to other types if specified.
+ * @param message StorageMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.StorageMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StorageMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StorageMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChatRequest. */
+ interface IChatRequest {
+
+ /** ChatRequest inlineContext */
+ inlineContext?: (google.cloud.geminidataanalytics.v1beta.IContext|null);
+
+ /** ChatRequest conversationReference */
+ conversationReference?: (google.cloud.geminidataanalytics.v1beta.IConversationReference|null);
+
+ /** ChatRequest dataAgentContext */
+ dataAgentContext?: (google.cloud.geminidataanalytics.v1beta.IDataAgentContext|null);
+
+ /** ChatRequest project */
+ project?: (string|null);
+
+ /** ChatRequest parent */
+ parent?: (string|null);
+
+ /** ChatRequest messages */
+ messages?: (google.cloud.geminidataanalytics.v1beta.IMessage[]|null);
+ }
+
+ /** Represents a ChatRequest. */
+ class ChatRequest implements IChatRequest {
+
+ /**
+ * Constructs a new ChatRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IChatRequest);
+
+ /** ChatRequest inlineContext. */
+ public inlineContext?: (google.cloud.geminidataanalytics.v1beta.IContext|null);
+
+ /** ChatRequest conversationReference. */
+ public conversationReference?: (google.cloud.geminidataanalytics.v1beta.IConversationReference|null);
+
+ /** ChatRequest dataAgentContext. */
+ public dataAgentContext?: (google.cloud.geminidataanalytics.v1beta.IDataAgentContext|null);
+
+ /** ChatRequest project. */
+ public project: string;
+
+ /** ChatRequest parent. */
+ public parent: string;
+
+ /** ChatRequest messages. */
+ public messages: google.cloud.geminidataanalytics.v1beta.IMessage[];
+
+ /** ChatRequest contextProvider. */
+ public contextProvider?: ("inlineContext"|"conversationReference"|"dataAgentContext");
+
+ /**
+ * Creates a new ChatRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChatRequest instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IChatRequest): google.cloud.geminidataanalytics.v1beta.ChatRequest;
+
+ /**
+ * Encodes the specified ChatRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChatRequest.verify|verify} messages.
+ * @param message ChatRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IChatRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChatRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChatRequest.verify|verify} messages.
+ * @param message ChatRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IChatRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChatRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChatRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ChatRequest;
+
+ /**
+ * Decodes a ChatRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChatRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ChatRequest;
+
+ /**
+ * Verifies a ChatRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChatRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChatRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ChatRequest;
+
+ /**
+ * Creates a plain object from a ChatRequest message. Also converts values to other types if specified.
+ * @param message ChatRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ChatRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChatRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChatRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataAgentContext. */
+ interface IDataAgentContext {
+
+ /** DataAgentContext dataAgent */
+ dataAgent?: (string|null);
+
+ /** DataAgentContext credentials */
+ credentials?: (google.cloud.geminidataanalytics.v1beta.ICredentials|null);
+
+ /** DataAgentContext contextVersion */
+ contextVersion?: (google.cloud.geminidataanalytics.v1beta.DataAgentContext.ContextVersion|keyof typeof google.cloud.geminidataanalytics.v1beta.DataAgentContext.ContextVersion|null);
+ }
+
+ /** Represents a DataAgentContext. */
+ class DataAgentContext implements IDataAgentContext {
+
+ /**
+ * Constructs a new DataAgentContext.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDataAgentContext);
+
+ /** DataAgentContext dataAgent. */
+ public dataAgent: string;
+
+ /** DataAgentContext credentials. */
+ public credentials?: (google.cloud.geminidataanalytics.v1beta.ICredentials|null);
+
+ /** DataAgentContext contextVersion. */
+ public contextVersion: (google.cloud.geminidataanalytics.v1beta.DataAgentContext.ContextVersion|keyof typeof google.cloud.geminidataanalytics.v1beta.DataAgentContext.ContextVersion);
+
+ /**
+ * Creates a new DataAgentContext instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataAgentContext instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDataAgentContext): google.cloud.geminidataanalytics.v1beta.DataAgentContext;
+
+ /**
+ * Encodes the specified DataAgentContext message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataAgentContext.verify|verify} messages.
+ * @param message DataAgentContext message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDataAgentContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataAgentContext message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataAgentContext.verify|verify} messages.
+ * @param message DataAgentContext message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDataAgentContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataAgentContext message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataAgentContext
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.DataAgentContext;
+
+ /**
+ * Decodes a DataAgentContext message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataAgentContext
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.DataAgentContext;
+
+ /**
+ * Verifies a DataAgentContext message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataAgentContext message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataAgentContext
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.DataAgentContext;
+
+ /**
+ * Creates a plain object from a DataAgentContext message. Also converts values to other types if specified.
+ * @param message DataAgentContext
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.DataAgentContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataAgentContext to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataAgentContext
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DataAgentContext {
+
+ /** ContextVersion enum. */
+ enum ContextVersion {
+ CONTEXT_VERSION_UNSPECIFIED = 0,
+ STAGING = 1,
+ PUBLISHED = 2
+ }
+ }
+
+ /** Properties of a ConversationReference. */
+ interface IConversationReference {
+
+ /** ConversationReference conversation */
+ conversation?: (string|null);
+
+ /** ConversationReference dataAgentContext */
+ dataAgentContext?: (google.cloud.geminidataanalytics.v1beta.IDataAgentContext|null);
+ }
+
+ /** Represents a ConversationReference. */
+ class ConversationReference implements IConversationReference {
+
+ /**
+ * Constructs a new ConversationReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IConversationReference);
+
+ /** ConversationReference conversation. */
+ public conversation: string;
+
+ /** ConversationReference dataAgentContext. */
+ public dataAgentContext?: (google.cloud.geminidataanalytics.v1beta.IDataAgentContext|null);
+
+ /**
+ * Creates a new ConversationReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ConversationReference instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IConversationReference): google.cloud.geminidataanalytics.v1beta.ConversationReference;
+
+ /**
+ * Encodes the specified ConversationReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ConversationReference.verify|verify} messages.
+ * @param message ConversationReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IConversationReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ConversationReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ConversationReference.verify|verify} messages.
+ * @param message ConversationReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IConversationReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ConversationReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ConversationReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ConversationReference;
+
+ /**
+ * Decodes a ConversationReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ConversationReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ConversationReference;
+
+ /**
+ * Verifies a ConversationReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ConversationReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ConversationReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ConversationReference;
+
+ /**
+ * Creates a plain object from a ConversationReference message. Also converts values to other types if specified.
+ * @param message ConversationReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ConversationReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ConversationReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ConversationReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Message. */
+ interface IMessage {
+
+ /** Message userMessage */
+ userMessage?: (google.cloud.geminidataanalytics.v1beta.IUserMessage|null);
+
+ /** Message systemMessage */
+ systemMessage?: (google.cloud.geminidataanalytics.v1beta.ISystemMessage|null);
+
+ /** Message timestamp */
+ timestamp?: (google.protobuf.ITimestamp|null);
+
+ /** Message messageId */
+ messageId?: (string|null);
+ }
+
+ /** Represents a Message. */
+ class Message implements IMessage {
+
+ /**
+ * Constructs a new Message.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IMessage);
+
+ /** Message userMessage. */
+ public userMessage?: (google.cloud.geminidataanalytics.v1beta.IUserMessage|null);
+
+ /** Message systemMessage. */
+ public systemMessage?: (google.cloud.geminidataanalytics.v1beta.ISystemMessage|null);
+
+ /** Message timestamp. */
+ public timestamp?: (google.protobuf.ITimestamp|null);
+
+ /** Message messageId. */
+ public messageId: string;
+
+ /** Message kind. */
+ public kind?: ("userMessage"|"systemMessage");
+
+ /**
+ * Creates a new Message instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Message instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IMessage): google.cloud.geminidataanalytics.v1beta.Message;
+
+ /**
+ * Encodes the specified Message message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Message.verify|verify} messages.
+ * @param message Message message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Message message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Message.verify|verify} messages.
+ * @param message Message message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Message message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Message
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.Message;
+
+ /**
+ * Decodes a Message message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Message
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.Message;
+
+ /**
+ * Verifies a Message message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Message message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Message
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.Message;
+
+ /**
+ * Creates a plain object from a Message message. Also converts values to other types if specified.
+ * @param message Message
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.Message, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Message to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Message
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a UserMessage. */
+ interface IUserMessage {
+
+ /** UserMessage text */
+ text?: (string|null);
+ }
+
+ /** Represents a UserMessage. */
+ class UserMessage implements IUserMessage {
+
+ /**
+ * Constructs a new UserMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IUserMessage);
+
+ /** UserMessage text. */
+ public text?: (string|null);
+
+ /** UserMessage kind. */
+ public kind?: "text";
+
+ /**
+ * Creates a new UserMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UserMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IUserMessage): google.cloud.geminidataanalytics.v1beta.UserMessage;
+
+ /**
+ * Encodes the specified UserMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.UserMessage.verify|verify} messages.
+ * @param message UserMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IUserMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UserMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.UserMessage.verify|verify} messages.
+ * @param message UserMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IUserMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UserMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UserMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.UserMessage;
+
+ /**
+ * Decodes a UserMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UserMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.UserMessage;
+
+ /**
+ * Verifies a UserMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UserMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UserMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.UserMessage;
+
+ /**
+ * Creates a plain object from a UserMessage message. Also converts values to other types if specified.
+ * @param message UserMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.UserMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UserMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UserMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SystemMessage. */
+ interface ISystemMessage {
+
+ /** SystemMessage text */
+ text?: (google.cloud.geminidataanalytics.v1beta.ITextMessage|null);
+
+ /** SystemMessage schema */
+ schema?: (google.cloud.geminidataanalytics.v1beta.ISchemaMessage|null);
+
+ /** SystemMessage data */
+ data?: (google.cloud.geminidataanalytics.v1beta.IDataMessage|null);
+
+ /** SystemMessage analysis */
+ analysis?: (google.cloud.geminidataanalytics.v1beta.IAnalysisMessage|null);
+
+ /** SystemMessage chart */
+ chart?: (google.cloud.geminidataanalytics.v1beta.IChartMessage|null);
+
+ /** SystemMessage error */
+ error?: (google.cloud.geminidataanalytics.v1beta.IErrorMessage|null);
+
+ /** SystemMessage groupId */
+ groupId?: (number|null);
+ }
+
+ /** Represents a SystemMessage. */
+ class SystemMessage implements ISystemMessage {
+
+ /**
+ * Constructs a new SystemMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ISystemMessage);
+
+ /** SystemMessage text. */
+ public text?: (google.cloud.geminidataanalytics.v1beta.ITextMessage|null);
+
+ /** SystemMessage schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1beta.ISchemaMessage|null);
+
+ /** SystemMessage data. */
+ public data?: (google.cloud.geminidataanalytics.v1beta.IDataMessage|null);
+
+ /** SystemMessage analysis. */
+ public analysis?: (google.cloud.geminidataanalytics.v1beta.IAnalysisMessage|null);
+
+ /** SystemMessage chart. */
+ public chart?: (google.cloud.geminidataanalytics.v1beta.IChartMessage|null);
+
+ /** SystemMessage error. */
+ public error?: (google.cloud.geminidataanalytics.v1beta.IErrorMessage|null);
+
+ /** SystemMessage groupId. */
+ public groupId?: (number|null);
+
+ /** SystemMessage kind. */
+ public kind?: ("text"|"schema"|"data"|"analysis"|"chart"|"error");
+
+ /**
+ * Creates a new SystemMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SystemMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ISystemMessage): google.cloud.geminidataanalytics.v1beta.SystemMessage;
+
+ /**
+ * Encodes the specified SystemMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.SystemMessage.verify|verify} messages.
+ * @param message SystemMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ISystemMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SystemMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.SystemMessage.verify|verify} messages.
+ * @param message SystemMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ISystemMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SystemMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SystemMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.SystemMessage;
+
+ /**
+ * Decodes a SystemMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SystemMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.SystemMessage;
+
+ /**
+ * Verifies a SystemMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SystemMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SystemMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.SystemMessage;
+
+ /**
+ * Creates a plain object from a SystemMessage message. Also converts values to other types if specified.
+ * @param message SystemMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.SystemMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SystemMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SystemMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TextMessage. */
+ interface ITextMessage {
+
+ /** TextMessage parts */
+ parts?: (string[]|null);
+ }
+
+ /** Represents a TextMessage. */
+ class TextMessage implements ITextMessage {
+
+ /**
+ * Constructs a new TextMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ITextMessage);
+
+ /** TextMessage parts. */
+ public parts: string[];
+
+ /**
+ * Creates a new TextMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TextMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ITextMessage): google.cloud.geminidataanalytics.v1beta.TextMessage;
+
+ /**
+ * Encodes the specified TextMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.TextMessage.verify|verify} messages.
+ * @param message TextMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ITextMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TextMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.TextMessage.verify|verify} messages.
+ * @param message TextMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ITextMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TextMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TextMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.TextMessage;
+
+ /**
+ * Decodes a TextMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TextMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.TextMessage;
+
+ /**
+ * Verifies a TextMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TextMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TextMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.TextMessage;
+
+ /**
+ * Creates a plain object from a TextMessage message. Also converts values to other types if specified.
+ * @param message TextMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.TextMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TextMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TextMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SchemaMessage. */
+ interface ISchemaMessage {
+
+ /** SchemaMessage query */
+ query?: (google.cloud.geminidataanalytics.v1beta.ISchemaQuery|null);
+
+ /** SchemaMessage result */
+ result?: (google.cloud.geminidataanalytics.v1beta.ISchemaResult|null);
+ }
+
+ /** Represents a SchemaMessage. */
+ class SchemaMessage implements ISchemaMessage {
+
+ /**
+ * Constructs a new SchemaMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ISchemaMessage);
+
+ /** SchemaMessage query. */
+ public query?: (google.cloud.geminidataanalytics.v1beta.ISchemaQuery|null);
+
+ /** SchemaMessage result. */
+ public result?: (google.cloud.geminidataanalytics.v1beta.ISchemaResult|null);
+
+ /** SchemaMessage kind. */
+ public kind?: ("query"|"result");
+
+ /**
+ * Creates a new SchemaMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ISchemaMessage): google.cloud.geminidataanalytics.v1beta.SchemaMessage;
+
+ /**
+ * Encodes the specified SchemaMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.SchemaMessage.verify|verify} messages.
+ * @param message SchemaMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ISchemaMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.SchemaMessage.verify|verify} messages.
+ * @param message SchemaMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ISchemaMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.SchemaMessage;
+
+ /**
+ * Decodes a SchemaMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.SchemaMessage;
+
+ /**
+ * Verifies a SchemaMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.SchemaMessage;
+
+ /**
+ * Creates a plain object from a SchemaMessage message. Also converts values to other types if specified.
+ * @param message SchemaMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.SchemaMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SchemaQuery. */
+ interface ISchemaQuery {
+
+ /** SchemaQuery question */
+ question?: (string|null);
+ }
+
+ /** Represents a SchemaQuery. */
+ class SchemaQuery implements ISchemaQuery {
+
+ /**
+ * Constructs a new SchemaQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ISchemaQuery);
+
+ /** SchemaQuery question. */
+ public question: string;
+
+ /**
+ * Creates a new SchemaQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ISchemaQuery): google.cloud.geminidataanalytics.v1beta.SchemaQuery;
+
+ /**
+ * Encodes the specified SchemaQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.SchemaQuery.verify|verify} messages.
+ * @param message SchemaQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ISchemaQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.SchemaQuery.verify|verify} messages.
+ * @param message SchemaQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ISchemaQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.SchemaQuery;
+
+ /**
+ * Decodes a SchemaQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.SchemaQuery;
+
+ /**
+ * Verifies a SchemaQuery message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.SchemaQuery;
+
+ /**
+ * Creates a plain object from a SchemaQuery message. Also converts values to other types if specified.
+ * @param message SchemaQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.SchemaQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SchemaResult. */
+ interface ISchemaResult {
+
+ /** SchemaResult datasources */
+ datasources?: (google.cloud.geminidataanalytics.v1beta.IDatasource[]|null);
+ }
+
+ /** Represents a SchemaResult. */
+ class SchemaResult implements ISchemaResult {
+
+ /**
+ * Constructs a new SchemaResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ISchemaResult);
+
+ /** SchemaResult datasources. */
+ public datasources: google.cloud.geminidataanalytics.v1beta.IDatasource[];
+
+ /**
+ * Creates a new SchemaResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaResult instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ISchemaResult): google.cloud.geminidataanalytics.v1beta.SchemaResult;
+
+ /**
+ * Encodes the specified SchemaResult message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.SchemaResult.verify|verify} messages.
+ * @param message SchemaResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ISchemaResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaResult message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.SchemaResult.verify|verify} messages.
+ * @param message SchemaResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ISchemaResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.SchemaResult;
+
+ /**
+ * Decodes a SchemaResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.SchemaResult;
+
+ /**
+ * Verifies a SchemaResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.SchemaResult;
+
+ /**
+ * Creates a plain object from a SchemaResult message. Also converts values to other types if specified.
+ * @param message SchemaResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.SchemaResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataMessage. */
+ interface IDataMessage {
+
+ /** DataMessage query */
+ query?: (google.cloud.geminidataanalytics.v1beta.IDataQuery|null);
+
+ /** DataMessage generatedSql */
+ generatedSql?: (string|null);
+
+ /** DataMessage result */
+ result?: (google.cloud.geminidataanalytics.v1beta.IDataResult|null);
+
+ /** DataMessage generatedLookerQuery */
+ generatedLookerQuery?: (google.cloud.geminidataanalytics.v1beta.ILookerQuery|null);
+
+ /** DataMessage bigQueryJob */
+ bigQueryJob?: (google.cloud.geminidataanalytics.v1beta.IBigQueryJob|null);
+ }
+
+ /** Represents a DataMessage. */
+ class DataMessage implements IDataMessage {
+
+ /**
+ * Constructs a new DataMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDataMessage);
+
+ /** DataMessage query. */
+ public query?: (google.cloud.geminidataanalytics.v1beta.IDataQuery|null);
+
+ /** DataMessage generatedSql. */
+ public generatedSql?: (string|null);
+
+ /** DataMessage result. */
+ public result?: (google.cloud.geminidataanalytics.v1beta.IDataResult|null);
+
+ /** DataMessage generatedLookerQuery. */
+ public generatedLookerQuery?: (google.cloud.geminidataanalytics.v1beta.ILookerQuery|null);
+
+ /** DataMessage bigQueryJob. */
+ public bigQueryJob?: (google.cloud.geminidataanalytics.v1beta.IBigQueryJob|null);
+
+ /** DataMessage kind. */
+ public kind?: ("query"|"generatedSql"|"result"|"generatedLookerQuery"|"bigQueryJob");
+
+ /**
+ * Creates a new DataMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDataMessage): google.cloud.geminidataanalytics.v1beta.DataMessage;
+
+ /**
+ * Encodes the specified DataMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataMessage.verify|verify} messages.
+ * @param message DataMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDataMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataMessage.verify|verify} messages.
+ * @param message DataMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDataMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.DataMessage;
+
+ /**
+ * Decodes a DataMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.DataMessage;
+
+ /**
+ * Verifies a DataMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.DataMessage;
+
+ /**
+ * Creates a plain object from a DataMessage message. Also converts values to other types if specified.
+ * @param message DataMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.DataMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LookerQuery. */
+ interface ILookerQuery {
+
+ /** LookerQuery model */
+ model?: (string|null);
+
+ /** LookerQuery explore */
+ explore?: (string|null);
+
+ /** LookerQuery fields */
+ fields?: (string[]|null);
+
+ /** LookerQuery filters */
+ filters?: (google.cloud.geminidataanalytics.v1beta.LookerQuery.IFilter[]|null);
+
+ /** LookerQuery sorts */
+ sorts?: (string[]|null);
+
+ /** LookerQuery limit */
+ limit?: (string|null);
+ }
+
+ /** Represents a LookerQuery. */
+ class LookerQuery implements ILookerQuery {
+
+ /**
+ * Constructs a new LookerQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.ILookerQuery);
+
+ /** LookerQuery model. */
+ public model: string;
+
+ /** LookerQuery explore. */
+ public explore: string;
+
+ /** LookerQuery fields. */
+ public fields: string[];
+
+ /** LookerQuery filters. */
+ public filters: google.cloud.geminidataanalytics.v1beta.LookerQuery.IFilter[];
+
+ /** LookerQuery sorts. */
+ public sorts: string[];
+
+ /** LookerQuery limit. */
+ public limit?: (string|null);
+
+ /**
+ * Creates a new LookerQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LookerQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.ILookerQuery): google.cloud.geminidataanalytics.v1beta.LookerQuery;
+
+ /**
+ * Encodes the specified LookerQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.LookerQuery.verify|verify} messages.
+ * @param message LookerQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.ILookerQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LookerQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.LookerQuery.verify|verify} messages.
+ * @param message LookerQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.ILookerQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LookerQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LookerQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.LookerQuery;
+
+ /**
+ * Decodes a LookerQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LookerQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.LookerQuery;
+
+ /**
+ * Verifies a LookerQuery message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LookerQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LookerQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.LookerQuery;
+
+ /**
+ * Creates a plain object from a LookerQuery message. Also converts values to other types if specified.
+ * @param message LookerQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.LookerQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LookerQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LookerQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace LookerQuery {
+
+ /** Properties of a Filter. */
+ interface IFilter {
+
+ /** Filter field */
+ field?: (string|null);
+
+ /** Filter value */
+ value?: (string|null);
+ }
+
+ /** Represents a Filter. */
+ class Filter implements IFilter {
+
+ /**
+ * Constructs a new Filter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.LookerQuery.IFilter);
+
+ /** Filter field. */
+ public field: string;
+
+ /** Filter value. */
+ public value: string;
+
+ /**
+ * Creates a new Filter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Filter instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.LookerQuery.IFilter): google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter;
+
+ /**
+ * Encodes the specified Filter message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.verify|verify} messages.
+ * @param message Filter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.LookerQuery.IFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Filter message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter.verify|verify} messages.
+ * @param message Filter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.LookerQuery.IFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Filter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Filter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter;
+
+ /**
+ * Decodes a Filter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Filter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter;
+
+ /**
+ * Verifies a Filter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Filter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Filter
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter;
+
+ /**
+ * Creates a plain object from a Filter message. Also converts values to other types if specified.
+ * @param message Filter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Filter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Filter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a DataQuery. */
+ interface IDataQuery {
+
+ /** DataQuery question */
+ question?: (string|null);
+
+ /** DataQuery name */
+ name?: (string|null);
+
+ /** DataQuery datasources */
+ datasources?: (google.cloud.geminidataanalytics.v1beta.IDatasource[]|null);
+ }
+
+ /** Represents a DataQuery. */
+ class DataQuery implements IDataQuery {
+
+ /**
+ * Constructs a new DataQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDataQuery);
+
+ /** DataQuery question. */
+ public question: string;
+
+ /** DataQuery name. */
+ public name: string;
+
+ /** DataQuery datasources. */
+ public datasources: google.cloud.geminidataanalytics.v1beta.IDatasource[];
+
+ /**
+ * Creates a new DataQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDataQuery): google.cloud.geminidataanalytics.v1beta.DataQuery;
+
+ /**
+ * Encodes the specified DataQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataQuery.verify|verify} messages.
+ * @param message DataQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDataQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataQuery.verify|verify} messages.
+ * @param message DataQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDataQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.DataQuery;
+
+ /**
+ * Decodes a DataQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.DataQuery;
+
+ /**
+ * Verifies a DataQuery message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.DataQuery;
+
+ /**
+ * Creates a plain object from a DataQuery message. Also converts values to other types if specified.
+ * @param message DataQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.DataQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataResult. */
+ interface IDataResult {
+
+ /** DataResult name */
+ name?: (string|null);
+
+ /** DataResult schema */
+ schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+
+ /** DataResult data */
+ data?: (google.protobuf.IStruct[]|null);
+ }
+
+ /** Represents a DataResult. */
+ class DataResult implements IDataResult {
+
+ /**
+ * Constructs a new DataResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IDataResult);
+
+ /** DataResult name. */
+ public name: string;
+
+ /** DataResult schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+
+ /** DataResult data. */
+ public data: google.protobuf.IStruct[];
+
+ /**
+ * Creates a new DataResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataResult instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IDataResult): google.cloud.geminidataanalytics.v1beta.DataResult;
+
+ /**
+ * Encodes the specified DataResult message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataResult.verify|verify} messages.
+ * @param message DataResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IDataResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataResult message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.DataResult.verify|verify} messages.
+ * @param message DataResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IDataResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.DataResult;
+
+ /**
+ * Decodes a DataResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.DataResult;
+
+ /**
+ * Verifies a DataResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.DataResult;
+
+ /**
+ * Creates a plain object from a DataResult message. Also converts values to other types if specified.
+ * @param message DataResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.DataResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryJob. */
+ interface IBigQueryJob {
+
+ /** BigQueryJob projectId */
+ projectId?: (string|null);
+
+ /** BigQueryJob jobId */
+ jobId?: (string|null);
+
+ /** BigQueryJob location */
+ location?: (string|null);
+
+ /** BigQueryJob destinationTable */
+ destinationTable?: (google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference|null);
+
+ /** BigQueryJob schema */
+ schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+ }
+
+ /** Represents a BigQueryJob. */
+ class BigQueryJob implements IBigQueryJob {
+
+ /**
+ * Constructs a new BigQueryJob.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IBigQueryJob);
+
+ /** BigQueryJob projectId. */
+ public projectId: string;
+
+ /** BigQueryJob jobId. */
+ public jobId: string;
+
+ /** BigQueryJob location. */
+ public location: string;
+
+ /** BigQueryJob destinationTable. */
+ public destinationTable?: (google.cloud.geminidataanalytics.v1beta.IBigQueryTableReference|null);
+
+ /** BigQueryJob schema. */
+ public schema?: (google.cloud.geminidataanalytics.v1beta.ISchema|null);
+
+ /**
+ * Creates a new BigQueryJob instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryJob instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IBigQueryJob): google.cloud.geminidataanalytics.v1beta.BigQueryJob;
+
+ /**
+ * Encodes the specified BigQueryJob message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.BigQueryJob.verify|verify} messages.
+ * @param message BigQueryJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IBigQueryJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryJob message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.BigQueryJob.verify|verify} messages.
+ * @param message BigQueryJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IBigQueryJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryJob message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryJob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.BigQueryJob;
+
+ /**
+ * Decodes a BigQueryJob message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryJob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.BigQueryJob;
+
+ /**
+ * Verifies a BigQueryJob message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryJob message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryJob
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.BigQueryJob;
+
+ /**
+ * Creates a plain object from a BigQueryJob message. Also converts values to other types if specified.
+ * @param message BigQueryJob
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.BigQueryJob, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryJob to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryJob
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnalysisMessage. */
+ interface IAnalysisMessage {
+
+ /** AnalysisMessage query */
+ query?: (google.cloud.geminidataanalytics.v1beta.IAnalysisQuery|null);
+
+ /** AnalysisMessage progressEvent */
+ progressEvent?: (google.cloud.geminidataanalytics.v1beta.IAnalysisEvent|null);
+ }
+
+ /** Represents an AnalysisMessage. */
+ class AnalysisMessage implements IAnalysisMessage {
+
+ /**
+ * Constructs a new AnalysisMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IAnalysisMessage);
+
+ /** AnalysisMessage query. */
+ public query?: (google.cloud.geminidataanalytics.v1beta.IAnalysisQuery|null);
+
+ /** AnalysisMessage progressEvent. */
+ public progressEvent?: (google.cloud.geminidataanalytics.v1beta.IAnalysisEvent|null);
+
+ /** AnalysisMessage kind. */
+ public kind?: ("query"|"progressEvent");
+
+ /**
+ * Creates a new AnalysisMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IAnalysisMessage): google.cloud.geminidataanalytics.v1beta.AnalysisMessage;
+
+ /**
+ * Encodes the specified AnalysisMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisMessage.verify|verify} messages.
+ * @param message AnalysisMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IAnalysisMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisMessage.verify|verify} messages.
+ * @param message AnalysisMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IAnalysisMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.AnalysisMessage;
+
+ /**
+ * Decodes an AnalysisMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.AnalysisMessage;
+
+ /**
+ * Verifies an AnalysisMessage message.
+ * @param message Plain 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 AnalysisMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.AnalysisMessage;
+
+ /**
+ * Creates a plain object from an AnalysisMessage message. Also converts values to other types if specified.
+ * @param message AnalysisMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.AnalysisMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnalysisQuery. */
+ interface IAnalysisQuery {
+
+ /** AnalysisQuery question */
+ question?: (string|null);
+
+ /** AnalysisQuery dataResultNames */
+ dataResultNames?: (string[]|null);
+ }
+
+ /** Represents an AnalysisQuery. */
+ class AnalysisQuery implements IAnalysisQuery {
+
+ /**
+ * Constructs a new AnalysisQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IAnalysisQuery);
+
+ /** AnalysisQuery question. */
+ public question: string;
+
+ /** AnalysisQuery dataResultNames. */
+ public dataResultNames: string[];
+
+ /**
+ * Creates a new AnalysisQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IAnalysisQuery): google.cloud.geminidataanalytics.v1beta.AnalysisQuery;
+
+ /**
+ * Encodes the specified AnalysisQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisQuery.verify|verify} messages.
+ * @param message AnalysisQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IAnalysisQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisQuery.verify|verify} messages.
+ * @param message AnalysisQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IAnalysisQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.AnalysisQuery;
+
+ /**
+ * Decodes an AnalysisQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.AnalysisQuery;
+
+ /**
+ * Verifies an AnalysisQuery message.
+ * @param message Plain 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 AnalysisQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.AnalysisQuery;
+
+ /**
+ * Creates a plain object from an AnalysisQuery message. Also converts values to other types if specified.
+ * @param message AnalysisQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.AnalysisQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnalysisEvent. */
+ interface IAnalysisEvent {
+
+ /** AnalysisEvent plannerReasoning */
+ plannerReasoning?: (string|null);
+
+ /** AnalysisEvent coderInstruction */
+ coderInstruction?: (string|null);
+
+ /** AnalysisEvent code */
+ code?: (string|null);
+
+ /** AnalysisEvent executionOutput */
+ executionOutput?: (string|null);
+
+ /** AnalysisEvent executionError */
+ executionError?: (string|null);
+
+ /** AnalysisEvent resultVegaChartJson */
+ resultVegaChartJson?: (string|null);
+
+ /** AnalysisEvent resultNaturalLanguage */
+ resultNaturalLanguage?: (string|null);
+
+ /** AnalysisEvent resultCsvData */
+ resultCsvData?: (string|null);
+
+ /** AnalysisEvent resultReferenceData */
+ resultReferenceData?: (string|null);
+
+ /** AnalysisEvent error */
+ error?: (string|null);
+ }
+
+ /** Represents an AnalysisEvent. */
+ class AnalysisEvent implements IAnalysisEvent {
+
+ /**
+ * Constructs a new AnalysisEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IAnalysisEvent);
+
+ /** AnalysisEvent plannerReasoning. */
+ public plannerReasoning?: (string|null);
+
+ /** AnalysisEvent coderInstruction. */
+ public coderInstruction?: (string|null);
+
+ /** AnalysisEvent code. */
+ public code?: (string|null);
+
+ /** AnalysisEvent executionOutput. */
+ public executionOutput?: (string|null);
+
+ /** AnalysisEvent executionError. */
+ public executionError?: (string|null);
+
+ /** AnalysisEvent resultVegaChartJson. */
+ public resultVegaChartJson?: (string|null);
+
+ /** AnalysisEvent resultNaturalLanguage. */
+ public resultNaturalLanguage?: (string|null);
+
+ /** AnalysisEvent resultCsvData. */
+ public resultCsvData?: (string|null);
+
+ /** AnalysisEvent resultReferenceData. */
+ public resultReferenceData?: (string|null);
+
+ /** AnalysisEvent error. */
+ public error?: (string|null);
+
+ /** AnalysisEvent kind. */
+ public kind?: ("plannerReasoning"|"coderInstruction"|"code"|"executionOutput"|"executionError"|"resultVegaChartJson"|"resultNaturalLanguage"|"resultCsvData"|"resultReferenceData"|"error");
+
+ /**
+ * Creates a new AnalysisEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisEvent instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IAnalysisEvent): google.cloud.geminidataanalytics.v1beta.AnalysisEvent;
+
+ /**
+ * Encodes the specified AnalysisEvent message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisEvent.verify|verify} messages.
+ * @param message AnalysisEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IAnalysisEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisEvent message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.AnalysisEvent.verify|verify} messages.
+ * @param message AnalysisEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IAnalysisEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisEvent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.AnalysisEvent;
+
+ /**
+ * Decodes an AnalysisEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisEvent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.AnalysisEvent;
+
+ /**
+ * Verifies an AnalysisEvent message.
+ * @param message Plain 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 AnalysisEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.AnalysisEvent;
+
+ /**
+ * Creates a plain object from an AnalysisEvent message. Also converts values to other types if specified.
+ * @param message AnalysisEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.AnalysisEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChartMessage. */
+ interface IChartMessage {
+
+ /** ChartMessage query */
+ query?: (google.cloud.geminidataanalytics.v1beta.IChartQuery|null);
+
+ /** ChartMessage result */
+ result?: (google.cloud.geminidataanalytics.v1beta.IChartResult|null);
+ }
+
+ /** Represents a ChartMessage. */
+ class ChartMessage implements IChartMessage {
+
+ /**
+ * Constructs a new ChartMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IChartMessage);
+
+ /** ChartMessage query. */
+ public query?: (google.cloud.geminidataanalytics.v1beta.IChartQuery|null);
+
+ /** ChartMessage result. */
+ public result?: (google.cloud.geminidataanalytics.v1beta.IChartResult|null);
+
+ /** ChartMessage kind. */
+ public kind?: ("query"|"result");
+
+ /**
+ * Creates a new ChartMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChartMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IChartMessage): google.cloud.geminidataanalytics.v1beta.ChartMessage;
+
+ /**
+ * Encodes the specified ChartMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartMessage.verify|verify} messages.
+ * @param message ChartMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IChartMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChartMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartMessage.verify|verify} messages.
+ * @param message ChartMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IChartMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChartMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChartMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ChartMessage;
+
+ /**
+ * Decodes a ChartMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChartMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ChartMessage;
+
+ /**
+ * Verifies a ChartMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChartMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChartMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ChartMessage;
+
+ /**
+ * Creates a plain object from a ChartMessage message. Also converts values to other types if specified.
+ * @param message ChartMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ChartMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChartMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChartMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChartQuery. */
+ interface IChartQuery {
+
+ /** ChartQuery instructions */
+ instructions?: (string|null);
+
+ /** ChartQuery dataResultName */
+ dataResultName?: (string|null);
+ }
+
+ /** Represents a ChartQuery. */
+ class ChartQuery implements IChartQuery {
+
+ /**
+ * Constructs a new ChartQuery.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IChartQuery);
+
+ /** ChartQuery instructions. */
+ public instructions: string;
+
+ /** ChartQuery dataResultName. */
+ public dataResultName: string;
+
+ /**
+ * Creates a new ChartQuery instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChartQuery instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IChartQuery): google.cloud.geminidataanalytics.v1beta.ChartQuery;
+
+ /**
+ * Encodes the specified ChartQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartQuery.verify|verify} messages.
+ * @param message ChartQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IChartQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChartQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartQuery.verify|verify} messages.
+ * @param message ChartQuery message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IChartQuery, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChartQuery message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChartQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ChartQuery;
+
+ /**
+ * Decodes a ChartQuery message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChartQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ChartQuery;
+
+ /**
+ * Verifies a ChartQuery message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChartQuery message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChartQuery
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ChartQuery;
+
+ /**
+ * Creates a plain object from a ChartQuery message. Also converts values to other types if specified.
+ * @param message ChartQuery
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ChartQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChartQuery to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChartQuery
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ChartResult. */
+ interface IChartResult {
+
+ /** ChartResult vegaConfig */
+ vegaConfig?: (google.protobuf.IStruct|null);
+
+ /** ChartResult image */
+ image?: (google.cloud.geminidataanalytics.v1beta.IBlob|null);
+ }
+
+ /** Represents a ChartResult. */
+ class ChartResult implements IChartResult {
+
+ /**
+ * Constructs a new ChartResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IChartResult);
+
+ /** ChartResult vegaConfig. */
+ public vegaConfig?: (google.protobuf.IStruct|null);
+
+ /** ChartResult image. */
+ public image?: (google.cloud.geminidataanalytics.v1beta.IBlob|null);
+
+ /**
+ * Creates a new ChartResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ChartResult instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IChartResult): google.cloud.geminidataanalytics.v1beta.ChartResult;
+
+ /**
+ * Encodes the specified ChartResult message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartResult.verify|verify} messages.
+ * @param message ChartResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IChartResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ChartResult message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ChartResult.verify|verify} messages.
+ * @param message ChartResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IChartResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ChartResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ChartResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ChartResult;
+
+ /**
+ * Decodes a ChartResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ChartResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ChartResult;
+
+ /**
+ * Verifies a ChartResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ChartResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ChartResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ChartResult;
+
+ /**
+ * Creates a plain object from a ChartResult message. Also converts values to other types if specified.
+ * @param message ChartResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ChartResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ChartResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ChartResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ErrorMessage. */
+ interface IErrorMessage {
+
+ /** ErrorMessage text */
+ text?: (string|null);
+ }
+
+ /** Represents an ErrorMessage. */
+ class ErrorMessage implements IErrorMessage {
+
+ /**
+ * Constructs a new ErrorMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IErrorMessage);
+
+ /** ErrorMessage text. */
+ public text: string;
+
+ /**
+ * Creates a new ErrorMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ErrorMessage instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IErrorMessage): google.cloud.geminidataanalytics.v1beta.ErrorMessage;
+
+ /**
+ * Encodes the specified ErrorMessage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ErrorMessage.verify|verify} messages.
+ * @param message ErrorMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IErrorMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ErrorMessage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.ErrorMessage.verify|verify} messages.
+ * @param message ErrorMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IErrorMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ErrorMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ErrorMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.ErrorMessage;
+
+ /**
+ * Decodes an ErrorMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ErrorMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.ErrorMessage;
+
+ /**
+ * Verifies an ErrorMessage message.
+ * @param message Plain 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 ErrorMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ErrorMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.ErrorMessage;
+
+ /**
+ * Creates a plain object from an ErrorMessage message. Also converts values to other types if specified.
+ * @param message ErrorMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.ErrorMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ErrorMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ErrorMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Blob. */
+ interface IBlob {
+
+ /** Blob mimeType */
+ mimeType?: (string|null);
+
+ /** Blob data */
+ data?: (Uint8Array|Buffer|string|null);
+ }
+
+ /** Represents a Blob. */
+ class Blob implements IBlob {
+
+ /**
+ * Constructs a new Blob.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.geminidataanalytics.v1beta.IBlob);
+
+ /** Blob mimeType. */
+ public mimeType: string;
+
+ /** Blob data. */
+ public data: (Uint8Array|Buffer|string);
+
+ /**
+ * Creates a new Blob instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Blob instance
+ */
+ public static create(properties?: google.cloud.geminidataanalytics.v1beta.IBlob): google.cloud.geminidataanalytics.v1beta.Blob;
+
+ /**
+ * Encodes the specified Blob message. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Blob.verify|verify} messages.
+ * @param message Blob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.geminidataanalytics.v1beta.IBlob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Blob message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1beta.Blob.verify|verify} messages.
+ * @param message Blob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.geminidataanalytics.v1beta.IBlob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Blob message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Blob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.geminidataanalytics.v1beta.Blob;
+
+ /**
+ * Decodes a Blob message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Blob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.geminidataanalytics.v1beta.Blob;
+
+ /**
+ * Verifies a Blob message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Blob message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Blob
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.geminidataanalytics.v1beta.Blob;
+
+ /**
+ * Creates a plain object from a Blob message. Also converts values to other types if specified.
+ * @param message Blob
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.geminidataanalytics.v1beta.Blob, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Blob to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Blob
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+ }
+
+ /** Namespace api. */
+ namespace api {
+
+ /** FieldBehavior enum. */
+ enum FieldBehavior {
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
+ OPTIONAL = 1,
+ REQUIRED = 2,
+ OUTPUT_ONLY = 3,
+ INPUT_ONLY = 4,
+ IMMUTABLE = 5,
+ UNORDERED_LIST = 6,
+ NON_EMPTY_DEFAULT = 7,
+ IDENTIFIER = 8
+ }
+
+ /** Properties of a FieldInfo. */
+ interface IFieldInfo {
+
+ /** FieldInfo format */
+ format?: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format|null);
+ }
+
+ /** Represents a FieldInfo. */
+ class FieldInfo implements IFieldInfo {
+
+ /**
+ * Constructs a new FieldInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IFieldInfo);
+
+ /** FieldInfo format. */
+ public format: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format);
+
+ /**
+ * Creates a new FieldInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldInfo instance
+ */
+ public static create(properties?: google.api.IFieldInfo): google.api.FieldInfo;
+
+ /**
+ * Encodes the specified FieldInfo message. Does not implicitly {@link google.api.FieldInfo.verify|verify} messages.
+ * @param message FieldInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IFieldInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldInfo message, length delimited. Does not implicitly {@link google.api.FieldInfo.verify|verify} messages.
+ * @param message FieldInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IFieldInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldInfo
+ * @throws {Error} If the payload is not 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.FieldInfo;
+
+ /**
+ * Decodes a FieldInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldInfo
+ * @throws {Error} If the payload 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.FieldInfo;
+
+ /**
+ * Verifies a FieldInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.FieldInfo;
+
+ /**
+ * Creates a plain object from a FieldInfo message. Also converts values to other types if specified.
+ * @param message FieldInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.FieldInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldInfo {
+
+ /** Format enum. */
+ enum Format {
+ FORMAT_UNSPECIFIED = 0,
+ UUID4 = 1,
+ IPV4 = 2,
+ IPV6 = 3,
+ IPV4_OR_IPV6 = 4
+ }
+ }
+
+ /** Properties of a ResourceDescriptor. */
+ interface IResourceDescriptor {
+
+ /** ResourceDescriptor type */
+ type?: (string|null);
+
+ /** ResourceDescriptor pattern */
+ pattern?: (string[]|null);
+
+ /** ResourceDescriptor nameField */
+ nameField?: (string|null);
+
+ /** ResourceDescriptor history */
+ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
+
+ /** ResourceDescriptor plural */
+ plural?: (string|null);
+
+ /** ResourceDescriptor singular */
+ singular?: (string|null);
+
+ /** ResourceDescriptor style */
+ style?: (google.api.ResourceDescriptor.Style[]|null);
+ }
+
+ /** Represents a ResourceDescriptor. */
+ class ResourceDescriptor implements IResourceDescriptor {
+
+ /**
+ * Constructs a new ResourceDescriptor.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceDescriptor);
+
+ /** ResourceDescriptor type. */
+ public type: string;
+
+ /** ResourceDescriptor pattern. */
+ public pattern: string[];
+
+ /** ResourceDescriptor nameField. */
+ public nameField: string;
+
+ /** ResourceDescriptor history. */
+ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
+
+ /** ResourceDescriptor plural. */
+ public plural: string;
+
+ /** ResourceDescriptor singular. */
+ public singular: string;
+
+ /** ResourceDescriptor style. */
+ public style: google.api.ResourceDescriptor.Style[];
+
+ /**
+ * Creates a new ResourceDescriptor instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceDescriptor instance
+ */
+ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
+
+ /**
+ * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
+
+ /**
+ * Verifies a ResourceDescriptor message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceDescriptor
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
+
+ /**
+ * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
+ * @param message ResourceDescriptor
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceDescriptor to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceDescriptor
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceDescriptor {
+
+ /** History enum. */
+ enum History {
+ HISTORY_UNSPECIFIED = 0,
+ ORIGINALLY_SINGLE_PATTERN = 1,
+ FUTURE_MULTI_PATTERN = 2
+ }
+
+ /** Style enum. */
+ enum Style {
+ STYLE_UNSPECIFIED = 0,
+ DECLARATIVE_FRIENDLY = 1
+ }
+ }
+
+ /** Properties of a ResourceReference. */
+ interface IResourceReference {
+
+ /** ResourceReference type */
+ type?: (string|null);
+
+ /** ResourceReference childType */
+ childType?: (string|null);
+ }
+
+ /** Represents a ResourceReference. */
+ class ResourceReference implements IResourceReference {
+
+ /**
+ * Constructs a new ResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceReference);
+
+ /** ResourceReference type. */
+ public type: string;
+
+ /** ResourceReference childType. */
+ public childType: string;
+
+ /**
+ * Creates a new ResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceReference instance
+ */
+ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
+
+ /**
+ * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
+
+ /**
+ * Verifies a ResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
+
+ /**
+ * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
+ * @param message ResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Http. */
+ interface IHttp {
+
+ /** Http rules */
+ rules?: (google.api.IHttpRule[]|null);
+
+ /** Http fullyDecodeReservedExpansion */
+ fullyDecodeReservedExpansion?: (boolean|null);
+ }
+
+ /** Represents a Http. */
+ class Http implements IHttp {
+
+ /**
+ * Constructs a new Http.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttp);
+
+ /** Http rules. */
+ public rules: google.api.IHttpRule[];
+
+ /** Http fullyDecodeReservedExpansion. */
+ public fullyDecodeReservedExpansion: boolean;
+
+ /**
+ * Creates a new Http instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Http instance
+ */
+ public static create(properties?: google.api.IHttp): google.api.Http;
+
+ /**
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
+
+ /**
+ * Verifies a Http message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Http message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Http
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
+
+ /**
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
+ * @param message Http
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Http to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Http
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HttpRule. */
+ interface IHttpRule {
+
+ /** HttpRule selector */
+ selector?: (string|null);
+
+ /** HttpRule get */
+ get?: (string|null);
+
+ /** HttpRule put */
+ put?: (string|null);
+
+ /** HttpRule post */
+ post?: (string|null);
+
+ /** HttpRule delete */
+ "delete"?: (string|null);
+
+ /** HttpRule patch */
+ patch?: (string|null);
+
+ /** HttpRule custom */
+ custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body */
+ body?: (string|null);
+
+ /** HttpRule responseBody */
+ responseBody?: (string|null);
+
+ /** HttpRule additionalBindings */
+ additionalBindings?: (google.api.IHttpRule[]|null);
+ }
+
+ /** Represents a HttpRule. */
+ class HttpRule implements IHttpRule {
+
+ /**
+ * Constructs a new HttpRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttpRule);
+
+ /** HttpRule selector. */
+ public selector: string;
+
+ /** HttpRule get. */
+ public get?: (string|null);
+
+ /** HttpRule put. */
+ public put?: (string|null);
+
+ /** HttpRule post. */
+ public post?: (string|null);
+
+ /** HttpRule delete. */
+ public delete?: (string|null);
+
+ /** HttpRule patch. */
+ public patch?: (string|null);
+
+ /** HttpRule custom. */
+ public custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body. */
+ public body: string;
+
+ /** HttpRule responseBody. */
+ public responseBody: string;
+
+ /** HttpRule additionalBindings. */
+ public additionalBindings: google.api.IHttpRule[];
+
+ /** HttpRule pattern. */
+ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
+
+ /**
+ * Creates a new HttpRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HttpRule instance
+ */
+ public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
+
+ /**
+ * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
+
+ /**
+ * Verifies a HttpRule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HttpRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
+
+ /**
+ * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
+ * @param message HttpRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HttpRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HttpRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CustomHttpPattern. */
+ interface ICustomHttpPattern {
+
+ /** CustomHttpPattern kind */
+ kind?: (string|null);
+
+ /** CustomHttpPattern path */
+ path?: (string|null);
+ }
+
+ /** Represents a CustomHttpPattern. */
+ class CustomHttpPattern implements ICustomHttpPattern {
+
+ /**
+ * Constructs a new CustomHttpPattern.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICustomHttpPattern);
+
+ /** CustomHttpPattern kind. */
+ public kind: string;
+
+ /** CustomHttpPattern path. */
+ public path: string;
+
+ /**
+ * Creates a new CustomHttpPattern instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomHttpPattern instance
+ */
+ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
+
+ /**
+ * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
+
+ /**
+ * Verifies a CustomHttpPattern message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomHttpPattern
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
+
+ /**
+ * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
+ * @param message CustomHttpPattern
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomHttpPattern to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomHttpPattern
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CommonLanguageSettings. */
+ interface ICommonLanguageSettings {
+
+ /** CommonLanguageSettings referenceDocsUri */
+ referenceDocsUri?: (string|null);
+
+ /** CommonLanguageSettings destinations */
+ destinations?: (google.api.ClientLibraryDestination[]|null);
+ }
+
+ /** Represents a CommonLanguageSettings. */
+ class CommonLanguageSettings implements ICommonLanguageSettings {
+
+ /**
+ * Constructs a new CommonLanguageSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICommonLanguageSettings);
+
+ /** CommonLanguageSettings referenceDocsUri. */
+ public referenceDocsUri: string;
+
+ /** CommonLanguageSettings destinations. */
+ public destinations: google.api.ClientLibraryDestination[];
+
+ /**
+ * Creates a new CommonLanguageSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CommonLanguageSettings instance
+ */
+ public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings;
+
+ /**
+ * Encodes the specified CommonLanguageSettings message. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
+ * @param message CommonLanguageSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
+ * @param message CommonLanguageSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CommonLanguageSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CommonLanguageSettings;
+
+ /**
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CommonLanguageSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CommonLanguageSettings;
+
+ /**
+ * Verifies a CommonLanguageSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CommonLanguageSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings;
+
+ /**
+ * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified.
+ * @param message CommonLanguageSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CommonLanguageSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CommonLanguageSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ClientLibrarySettings. */
+ interface IClientLibrarySettings {
+
+ /** ClientLibrarySettings version */
+ version?: (string|null);
+
+ /** ClientLibrarySettings launchStage */
+ launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
+
+ /** ClientLibrarySettings restNumericEnums */
+ restNumericEnums?: (boolean|null);
+
+ /** ClientLibrarySettings javaSettings */
+ javaSettings?: (google.api.IJavaSettings|null);
+
+ /** ClientLibrarySettings cppSettings */
+ cppSettings?: (google.api.ICppSettings|null);
+
+ /** ClientLibrarySettings phpSettings */
+ phpSettings?: (google.api.IPhpSettings|null);
+
+ /** ClientLibrarySettings pythonSettings */
+ pythonSettings?: (google.api.IPythonSettings|null);
+
+ /** ClientLibrarySettings nodeSettings */
+ nodeSettings?: (google.api.INodeSettings|null);
+
+ /** ClientLibrarySettings dotnetSettings */
+ dotnetSettings?: (google.api.IDotnetSettings|null);
+
+ /** ClientLibrarySettings rubySettings */
+ rubySettings?: (google.api.IRubySettings|null);
+
+ /** ClientLibrarySettings goSettings */
+ goSettings?: (google.api.IGoSettings|null);
+ }
+
+ /** Represents a ClientLibrarySettings. */
+ class ClientLibrarySettings implements IClientLibrarySettings {
+
+ /**
+ * Constructs a new ClientLibrarySettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IClientLibrarySettings);
+
+ /** ClientLibrarySettings version. */
+ public version: string;
+
+ /** ClientLibrarySettings launchStage. */
+ public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
+
+ /** ClientLibrarySettings restNumericEnums. */
+ public restNumericEnums: boolean;
+
+ /** ClientLibrarySettings javaSettings. */
+ public javaSettings?: (google.api.IJavaSettings|null);
+
+ /** ClientLibrarySettings cppSettings. */
+ public cppSettings?: (google.api.ICppSettings|null);
+
+ /** ClientLibrarySettings phpSettings. */
+ public phpSettings?: (google.api.IPhpSettings|null);
+
+ /** ClientLibrarySettings pythonSettings. */
+ public pythonSettings?: (google.api.IPythonSettings|null);
+
+ /** ClientLibrarySettings nodeSettings. */
+ public nodeSettings?: (google.api.INodeSettings|null);
+
+ /** ClientLibrarySettings dotnetSettings. */
+ public dotnetSettings?: (google.api.IDotnetSettings|null);
+
+ /** ClientLibrarySettings rubySettings. */
+ public rubySettings?: (google.api.IRubySettings|null);
+
+ /** ClientLibrarySettings goSettings. */
+ public goSettings?: (google.api.IGoSettings|null);
+
+ /**
+ * Creates a new ClientLibrarySettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ClientLibrarySettings instance
+ */
+ public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings;
+
+ /**
+ * Encodes the specified ClientLibrarySettings message. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
+ * @param message ClientLibrarySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
+ * @param message ClientLibrarySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ClientLibrarySettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ClientLibrarySettings;
+
+ /**
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ClientLibrarySettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ClientLibrarySettings;
+
+ /**
+ * Verifies a ClientLibrarySettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ClientLibrarySettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings;
+
+ /**
+ * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified.
+ * @param message ClientLibrarySettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ClientLibrarySettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ClientLibrarySettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Publishing. */
+ interface IPublishing {
+
+ /** Publishing methodSettings */
+ methodSettings?: (google.api.IMethodSettings[]|null);
+
+ /** Publishing newIssueUri */
+ newIssueUri?: (string|null);
+
+ /** Publishing documentationUri */
+ documentationUri?: (string|null);
+
+ /** Publishing apiShortName */
+ apiShortName?: (string|null);
+
+ /** Publishing githubLabel */
+ githubLabel?: (string|null);
+
+ /** Publishing codeownerGithubTeams */
+ codeownerGithubTeams?: (string[]|null);
+
+ /** Publishing docTagPrefix */
+ docTagPrefix?: (string|null);
+
+ /** Publishing organization */
+ organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null);
+
+ /** Publishing librarySettings */
+ librarySettings?: (google.api.IClientLibrarySettings[]|null);
+
+ /** Publishing protoReferenceDocumentationUri */
+ protoReferenceDocumentationUri?: (string|null);
+
+ /** Publishing restReferenceDocumentationUri */
+ restReferenceDocumentationUri?: (string|null);
+ }
+
+ /** Represents a Publishing. */
+ class Publishing implements IPublishing {
+
+ /**
+ * Constructs a new Publishing.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IPublishing);
+
+ /** Publishing methodSettings. */
+ public methodSettings: google.api.IMethodSettings[];
+
+ /** Publishing newIssueUri. */
+ public newIssueUri: string;
+
+ /** Publishing documentationUri. */
+ public documentationUri: string;
+
+ /** Publishing apiShortName. */
+ public apiShortName: string;
+
+ /** Publishing githubLabel. */
+ public githubLabel: string;
+
+ /** Publishing codeownerGithubTeams. */
+ public codeownerGithubTeams: string[];
+
+ /** Publishing docTagPrefix. */
+ public docTagPrefix: string;
+
+ /** Publishing organization. */
+ public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization);
+
+ /** Publishing librarySettings. */
+ public librarySettings: google.api.IClientLibrarySettings[];
+
+ /** Publishing protoReferenceDocumentationUri. */
+ public protoReferenceDocumentationUri: string;
+
+ /** Publishing restReferenceDocumentationUri. */
+ public restReferenceDocumentationUri: string;
+
+ /**
+ * Creates a new Publishing instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Publishing instance
+ */
+ public static create(properties?: google.api.IPublishing): google.api.Publishing;
+
+ /**
+ * Encodes the specified Publishing message. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
+ * @param message Publishing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
+ * @param message Publishing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Publishing message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Publishing
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Publishing;
+
+ /**
+ * Decodes a Publishing message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Publishing
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Publishing;
+
+ /**
+ * Verifies a Publishing message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Publishing message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Publishing
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Publishing;
+
+ /**
+ * Creates a plain object from a Publishing message. Also converts values to other types if specified.
+ * @param message Publishing
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Publishing to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Publishing
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a JavaSettings. */
+ interface IJavaSettings {
+
+ /** JavaSettings libraryPackage */
+ libraryPackage?: (string|null);
+
+ /** JavaSettings serviceClassNames */
+ serviceClassNames?: ({ [k: string]: string }|null);
+
+ /** JavaSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a JavaSettings. */
+ class JavaSettings implements IJavaSettings {
+
+ /**
+ * Constructs a new JavaSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IJavaSettings);
+
+ /** JavaSettings libraryPackage. */
+ public libraryPackage: string;
+
+ /** JavaSettings serviceClassNames. */
+ public serviceClassNames: { [k: string]: string };
+
+ /** JavaSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new JavaSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JavaSettings instance
+ */
+ public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings;
+
+ /**
+ * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
+ * @param message JavaSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
+ * @param message JavaSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JavaSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JavaSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.JavaSettings;
+
+ /**
+ * Decodes a JavaSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JavaSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.JavaSettings;
+
+ /**
+ * Verifies a JavaSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JavaSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.JavaSettings;
+
+ /**
+ * Creates a plain object from a JavaSettings message. Also converts values to other types if specified.
+ * @param message JavaSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JavaSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JavaSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CppSettings. */
+ interface ICppSettings {
+
+ /** CppSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a CppSettings. */
+ class CppSettings implements ICppSettings {
+
+ /**
+ * Constructs a new CppSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICppSettings);
+
+ /** CppSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new CppSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CppSettings instance
+ */
+ public static create(properties?: google.api.ICppSettings): google.api.CppSettings;
+
+ /**
+ * Encodes the specified CppSettings message. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
+ * @param message CppSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
+ * @param message CppSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CppSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CppSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CppSettings;
+
+ /**
+ * Decodes a CppSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CppSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CppSettings;
+
+ /**
+ * Verifies a CppSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CppSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CppSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CppSettings;
+
+ /**
+ * Creates a plain object from a CppSettings message. Also converts values to other types if specified.
+ * @param message CppSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CppSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CppSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PhpSettings. */
+ interface IPhpSettings {
+
+ /** PhpSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a PhpSettings. */
+ class PhpSettings implements IPhpSettings {
+
+ /**
+ * Constructs a new PhpSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IPhpSettings);
+
+ /** PhpSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new PhpSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PhpSettings instance
+ */
+ public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings;
+
+ /**
+ * Encodes the specified PhpSettings message. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
+ * @param message PhpSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
+ * @param message PhpSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PhpSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PhpSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PhpSettings;
+
+ /**
+ * Decodes a PhpSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PhpSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PhpSettings;
+
+ /**
+ * Verifies a PhpSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PhpSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.PhpSettings;
+
+ /**
+ * Creates a plain object from a PhpSettings message. Also converts values to other types if specified.
+ * @param message PhpSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PhpSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PhpSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PythonSettings. */
+ interface IPythonSettings {
+
+ /** PythonSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a PythonSettings. */
+ class PythonSettings implements IPythonSettings {
+
+ /**
+ * Constructs a new PythonSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IPythonSettings);
+
+ /** PythonSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new PythonSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PythonSettings instance
+ */
+ public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings;
+
+ /**
+ * Encodes the specified PythonSettings message. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
+ * @param message PythonSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
+ * @param message PythonSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PythonSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PythonSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings;
+
+ /**
+ * Decodes a PythonSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PythonSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings;
+
+ /**
+ * Verifies a PythonSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PythonSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings;
+
+ /**
+ * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
+ * @param message PythonSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PythonSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PythonSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a NodeSettings. */
+ interface INodeSettings {
+
+ /** NodeSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a NodeSettings. */
+ class NodeSettings implements INodeSettings {
+
+ /**
+ * Constructs a new NodeSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.INodeSettings);
+
+ /** NodeSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new NodeSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NodeSettings instance
+ */
+ public static create(properties?: google.api.INodeSettings): google.api.NodeSettings;
+
+ /**
+ * Encodes the specified NodeSettings message. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
+ * @param message NodeSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
+ * @param message NodeSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NodeSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NodeSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.NodeSettings;
+
+ /**
+ * Decodes a NodeSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NodeSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.NodeSettings;
+
+ /**
+ * Verifies a NodeSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NodeSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.NodeSettings;
+
+ /**
+ * Creates a plain object from a NodeSettings message. Also converts values to other types if specified.
+ * @param message NodeSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NodeSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NodeSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DotnetSettings. */
+ interface IDotnetSettings {
+
+ /** DotnetSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+
+ /** DotnetSettings renamedServices */
+ renamedServices?: ({ [k: string]: string }|null);
+
+ /** DotnetSettings renamedResources */
+ renamedResources?: ({ [k: string]: string }|null);
+
+ /** DotnetSettings ignoredResources */
+ ignoredResources?: (string[]|null);
+
+ /** DotnetSettings forcedNamespaceAliases */
+ forcedNamespaceAliases?: (string[]|null);
+
+ /** DotnetSettings handwrittenSignatures */
+ handwrittenSignatures?: (string[]|null);
+ }
+
+ /** Represents a DotnetSettings. */
+ class DotnetSettings implements IDotnetSettings {
+
+ /**
+ * Constructs a new DotnetSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IDotnetSettings);
+
+ /** DotnetSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /** DotnetSettings renamedServices. */
+ public renamedServices: { [k: string]: string };
+
+ /** DotnetSettings renamedResources. */
+ public renamedResources: { [k: string]: string };
+
+ /** DotnetSettings ignoredResources. */
+ public ignoredResources: string[];
+
+ /** DotnetSettings forcedNamespaceAliases. */
+ public forcedNamespaceAliases: string[];
+
+ /** DotnetSettings handwrittenSignatures. */
+ public handwrittenSignatures: string[];
+
+ /**
+ * Creates a new DotnetSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DotnetSettings instance
+ */
+ public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings;
+
+ /**
+ * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
+ * @param message DotnetSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
+ * @param message DotnetSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DotnetSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DotnetSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.DotnetSettings;
+
+ /**
+ * Decodes a DotnetSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DotnetSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.DotnetSettings;
+
+ /**
+ * Verifies a DotnetSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DotnetSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings;
+
+ /**
+ * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified.
+ * @param message DotnetSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DotnetSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DotnetSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RubySettings. */
+ interface IRubySettings {
+
+ /** RubySettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a RubySettings. */
+ class RubySettings implements IRubySettings {
+
+ /**
+ * Constructs a new RubySettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IRubySettings);
+
+ /** RubySettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new RubySettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RubySettings instance
+ */
+ public static create(properties?: google.api.IRubySettings): google.api.RubySettings;
+
+ /**
+ * Encodes the specified RubySettings message. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
+ * @param message RubySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
+ * @param message RubySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RubySettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RubySettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RubySettings;
+
+ /**
+ * Decodes a RubySettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RubySettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RubySettings;
+
+ /**
+ * Verifies a RubySettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RubySettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RubySettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.RubySettings;
+
+ /**
+ * Creates a plain object from a RubySettings message. Also converts values to other types if specified.
+ * @param message RubySettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RubySettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RubySettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GoSettings. */
+ interface IGoSettings {
+
+ /** GoSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a GoSettings. */
+ class GoSettings implements IGoSettings {
+
+ /**
+ * Constructs a new GoSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IGoSettings);
+
+ /** GoSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new GoSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GoSettings instance
+ */
+ public static create(properties?: google.api.IGoSettings): google.api.GoSettings;
+
+ /**
+ * Encodes the specified GoSettings message. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
+ * @param message GoSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
+ * @param message GoSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GoSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GoSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.GoSettings;
+
+ /**
+ * Decodes a GoSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GoSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.GoSettings;
+
+ /**
+ * Verifies a GoSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GoSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GoSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.GoSettings;
+
+ /**
+ * Creates a plain object from a GoSettings message. Also converts values to other types if specified.
+ * @param message GoSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GoSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GoSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodSettings. */
+ interface IMethodSettings {
+
+ /** MethodSettings selector */
+ selector?: (string|null);
+
+ /** MethodSettings longRunning */
+ longRunning?: (google.api.MethodSettings.ILongRunning|null);
+
+ /** MethodSettings autoPopulatedFields */
+ autoPopulatedFields?: (string[]|null);
+ }
+
+ /** Represents a MethodSettings. */
+ class MethodSettings implements IMethodSettings {
+
+ /**
+ * Constructs a new MethodSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IMethodSettings);
+
+ /** MethodSettings selector. */
+ public selector: string;
+
+ /** MethodSettings longRunning. */
+ public longRunning?: (google.api.MethodSettings.ILongRunning|null);
+
+ /** MethodSettings autoPopulatedFields. */
+ public autoPopulatedFields: string[];
+
+ /**
+ * Creates a new MethodSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodSettings instance
+ */
+ public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings;
+
+ /**
+ * Encodes the specified MethodSettings message. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
+ * @param message MethodSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
+ * @param message MethodSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings;
+
+ /**
+ * Decodes a MethodSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings;
+
+ /**
+ * Verifies a MethodSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings;
+
+ /**
+ * Creates a plain object from a MethodSettings message. Also converts values to other types if specified.
+ * @param message MethodSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MethodSettings {
+
+ /** Properties of a LongRunning. */
+ interface ILongRunning {
+
+ /** LongRunning initialPollDelay */
+ initialPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning pollDelayMultiplier */
+ pollDelayMultiplier?: (number|null);
+
+ /** LongRunning maxPollDelay */
+ maxPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning totalPollTimeout */
+ totalPollTimeout?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a LongRunning. */
+ class LongRunning implements ILongRunning {
+
+ /**
+ * Constructs a new LongRunning.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.MethodSettings.ILongRunning);
+
+ /** LongRunning initialPollDelay. */
+ public initialPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning pollDelayMultiplier. */
+ public pollDelayMultiplier: number;
+
+ /** LongRunning maxPollDelay. */
+ public maxPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning totalPollTimeout. */
+ public totalPollTimeout?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new LongRunning instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LongRunning instance
+ */
+ public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Encodes the specified LongRunning message. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
+ * @param message LongRunning message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
+ * @param message LongRunning message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LongRunning message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LongRunning
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Decodes a LongRunning message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LongRunning
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Verifies a LongRunning message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LongRunning message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LongRunning
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Creates a plain object from a LongRunning message. Also converts values to other types if specified.
+ * @param message LongRunning
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LongRunning to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LongRunning
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** ClientLibraryOrganization enum. */
+ enum ClientLibraryOrganization {
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
+ CLOUD = 1,
+ ADS = 2,
+ PHOTOS = 3,
+ STREET_VIEW = 4,
+ SHOPPING = 5,
+ GEO = 6,
+ GENERATIVE_AI = 7
+ }
+
+ /** ClientLibraryDestination enum. */
+ enum ClientLibraryDestination {
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
+ GITHUB = 10,
+ PACKAGE_MANAGER = 20
+ }
+
+ /** LaunchStage enum. */
+ enum LaunchStage {
+ LAUNCH_STAGE_UNSPECIFIED = 0,
+ UNIMPLEMENTED = 6,
+ PRELAUNCH = 7,
+ EARLY_ACCESS = 1,
+ ALPHA = 2,
+ BETA = 3,
+ GA = 4,
+ DEPRECATED = 5
+ }
+ }
+
+ /** Namespace protobuf. */
+ namespace protobuf {
+
+ /** Properties of a FileDescriptorSet. */
+ interface IFileDescriptorSet {
+
+ /** FileDescriptorSet file */
+ file?: (google.protobuf.IFileDescriptorProto[]|null);
+ }
+
+ /** Represents a FileDescriptorSet. */
+ class FileDescriptorSet implements IFileDescriptorSet {
+
+ /**
+ * Constructs a new FileDescriptorSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorSet);
+
+ /** FileDescriptorSet file. */
+ public file: google.protobuf.IFileDescriptorProto[];
+
+ /**
+ * Creates a new FileDescriptorSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorSet instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Verifies a FileDescriptorSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
+ * @param message FileDescriptorSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Edition enum. */
+ enum Edition {
+ EDITION_UNKNOWN = 0,
+ EDITION_PROTO2 = 998,
+ EDITION_PROTO3 = 999,
+ EDITION_2023 = 1000,
+ EDITION_2024 = 1001,
+ EDITION_1_TEST_ONLY = 1,
+ EDITION_2_TEST_ONLY = 2,
+ EDITION_99997_TEST_ONLY = 99997,
+ EDITION_99998_TEST_ONLY = 99998,
+ EDITION_99999_TEST_ONLY = 99999,
+ EDITION_MAX = 2147483647
+ }
+
+ /** Properties of a FileDescriptorProto. */
+ interface IFileDescriptorProto {
+
+ /** FileDescriptorProto name */
+ name?: (string|null);
+
+ /** FileDescriptorProto package */
+ "package"?: (string|null);
+
+ /** FileDescriptorProto dependency */
+ dependency?: (string[]|null);
+
+ /** FileDescriptorProto publicDependency */
+ publicDependency?: (number[]|null);
+
+ /** FileDescriptorProto weakDependency */
+ weakDependency?: (number[]|null);
+
+ /** FileDescriptorProto messageType */
+ messageType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** FileDescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** FileDescriptorProto service */
+ service?: (google.protobuf.IServiceDescriptorProto[]|null);
+
+ /** FileDescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** FileDescriptorProto options */
+ options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo */
+ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax */
+ syntax?: (string|null);
+
+ /** FileDescriptorProto edition */
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+ }
+
+ /** Represents a FileDescriptorProto. */
+ class FileDescriptorProto implements IFileDescriptorProto {
+
+ /**
+ * Constructs a new FileDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorProto);
+
+ /** FileDescriptorProto name. */
+ public name: string;
+
+ /** FileDescriptorProto package. */
+ public package: string;
+
+ /** FileDescriptorProto dependency. */
+ public dependency: string[];
+
+ /** FileDescriptorProto publicDependency. */
+ public publicDependency: number[];
+
+ /** FileDescriptorProto weakDependency. */
+ public weakDependency: number[];
+
+ /** FileDescriptorProto messageType. */
+ public messageType: google.protobuf.IDescriptorProto[];
+
+ /** FileDescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** FileDescriptorProto service. */
+ public service: google.protobuf.IServiceDescriptorProto[];
+
+ /** FileDescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** FileDescriptorProto options. */
+ public options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo. */
+ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax. */
+ public syntax: string;
+
+ /** FileDescriptorProto edition. */
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /**
+ * Creates a new FileDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Verifies a FileDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
+ * @param message FileDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DescriptorProto. */
+ interface IDescriptorProto {
+
+ /** DescriptorProto name */
+ name?: (string|null);
+
+ /** DescriptorProto field */
+ field?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto nestedType */
+ nestedType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** DescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** DescriptorProto extensionRange */
+ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
+
+ /** DescriptorProto oneofDecl */
+ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
+
+ /** DescriptorProto options */
+ options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
+
+ /** DescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents a DescriptorProto. */
+ class DescriptorProto implements IDescriptorProto {
+
+ /**
+ * Constructs a new DescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDescriptorProto);
+
+ /** DescriptorProto name. */
+ public name: string;
+
+ /** DescriptorProto field. */
+ public field: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto nestedType. */
+ public nestedType: google.protobuf.IDescriptorProto[];
+
+ /** DescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** DescriptorProto extensionRange. */
+ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
+
+ /** DescriptorProto oneofDecl. */
+ public oneofDecl: google.protobuf.IOneofDescriptorProto[];
+
+ /** DescriptorProto options. */
+ public options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
+
+ /** DescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new DescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
+
+ /**
+ * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
+
+ /**
+ * Verifies a DescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
+
+ /**
+ * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
+ * @param message DescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DescriptorProto {
+
+ /** Properties of an ExtensionRange. */
+ interface IExtensionRange {
+
+ /** ExtensionRange start */
+ start?: (number|null);
+
+ /** ExtensionRange end */
+ end?: (number|null);
+
+ /** ExtensionRange options */
+ options?: (google.protobuf.IExtensionRangeOptions|null);
+ }
+
+ /** Represents an ExtensionRange. */
+ class ExtensionRange implements IExtensionRange {
+
+ /**
+ * Constructs a new ExtensionRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
+
+ /** ExtensionRange start. */
+ public start: number;
+
+ /** ExtensionRange end. */
+ public end: number;
+
+ /** ExtensionRange options. */
+ public options?: (google.protobuf.IExtensionRangeOptions|null);
+
+ /**
+ * Creates a new ExtensionRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Verifies an ExtensionRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
+ * @param message ExtensionRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReservedRange. */
+ interface IReservedRange {
+
+ /** ReservedRange start */
+ start?: (number|null);
+
+ /** ReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents a ReservedRange. */
+ class ReservedRange implements IReservedRange {
+
+ /**
+ * Constructs a new ReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
+
+ /** ReservedRange start. */
+ public start: number;
+
+ /** ReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new ReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReservedRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Verifies a ReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
+ * @param message ReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an ExtensionRangeOptions. */
+ interface IExtensionRangeOptions {
+
+ /** ExtensionRangeOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** ExtensionRangeOptions declaration */
+ declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null);
+
+ /** ExtensionRangeOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** ExtensionRangeOptions verification */
+ verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|null);
+ }
+
+ /** Represents an ExtensionRangeOptions. */
+ class ExtensionRangeOptions implements IExtensionRangeOptions {
+
+ /**
+ * Constructs a new ExtensionRangeOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IExtensionRangeOptions);
+
+ /** ExtensionRangeOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /** ExtensionRangeOptions declaration. */
+ public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[];
+
+ /** ExtensionRangeOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** ExtensionRangeOptions verification. */
+ public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState);
+
+ /**
+ * Creates a new ExtensionRangeOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRangeOptions instance
+ */
+ public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Verifies an ExtensionRangeOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRangeOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
+ * @param message ExtensionRangeOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRangeOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRangeOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ExtensionRangeOptions {
+
+ /** Properties of a Declaration. */
+ interface IDeclaration {
+
+ /** Declaration number */
+ number?: (number|null);
+
+ /** Declaration fullName */
+ fullName?: (string|null);
+
+ /** Declaration type */
+ type?: (string|null);
+
+ /** Declaration reserved */
+ reserved?: (boolean|null);
+
+ /** Declaration repeated */
+ repeated?: (boolean|null);
+ }
+
+ /** Represents a Declaration. */
+ class Declaration implements IDeclaration {
+
+ /**
+ * Constructs a new Declaration.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration);
+
+ /** Declaration number. */
+ public number: number;
+
+ /** Declaration fullName. */
+ public fullName: string;
+
+ /** Declaration type. */
+ public type: string;
+
+ /** Declaration reserved. */
+ public reserved: boolean;
+
+ /** Declaration repeated. */
+ public repeated: boolean;
+
+ /**
+ * Creates a new Declaration instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Declaration instance
+ */
+ public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
+ * @param message Declaration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
+ * @param message Declaration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Declaration message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Declaration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Decodes a Declaration message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Declaration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Verifies a Declaration message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Declaration message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Declaration
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Creates a plain object from a Declaration message. Also converts values to other types if specified.
+ * @param message Declaration
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Declaration to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Declaration
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** VerificationState enum. */
+ enum VerificationState {
+ DECLARATION = 0,
+ UNVERIFIED = 1
+ }
+ }
+
+ /** Properties of a FieldDescriptorProto. */
+ interface IFieldDescriptorProto {
+
+ /** FieldDescriptorProto name */
+ name?: (string|null);
+
+ /** FieldDescriptorProto number */
+ number?: (number|null);
+
+ /** FieldDescriptorProto label */
+ label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
+
+ /** FieldDescriptorProto type */
+ type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
+
+ /** FieldDescriptorProto typeName */
+ typeName?: (string|null);
+
+ /** FieldDescriptorProto extendee */
+ extendee?: (string|null);
+
+ /** FieldDescriptorProto defaultValue */
+ defaultValue?: (string|null);
+
+ /** FieldDescriptorProto oneofIndex */
+ oneofIndex?: (number|null);
+
+ /** FieldDescriptorProto jsonName */
+ jsonName?: (string|null);
+
+ /** FieldDescriptorProto options */
+ options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional */
+ proto3Optional?: (boolean|null);
+ }
+
+ /** Represents a FieldDescriptorProto. */
+ class FieldDescriptorProto implements IFieldDescriptorProto {
+
+ /**
+ * Constructs a new FieldDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldDescriptorProto);
+
+ /** FieldDescriptorProto name. */
+ public name: string;
+
+ /** FieldDescriptorProto number. */
+ public number: number;
+
+ /** FieldDescriptorProto label. */
+ public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
+
+ /** FieldDescriptorProto type. */
+ public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
+
+ /** FieldDescriptorProto typeName. */
+ public typeName: string;
+
+ /** FieldDescriptorProto extendee. */
+ public extendee: string;
+
+ /** FieldDescriptorProto defaultValue. */
+ public defaultValue: string;
+
+ /** FieldDescriptorProto oneofIndex. */
+ public oneofIndex: number;
+
+ /** FieldDescriptorProto jsonName. */
+ public jsonName: string;
+
+ /** FieldDescriptorProto options. */
+ public options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional. */
+ public proto3Optional: boolean;
+
+ /**
+ * Creates a new FieldDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Verifies a FieldDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
+ * @param message FieldDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldDescriptorProto {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_DOUBLE = 1,
+ TYPE_FLOAT = 2,
+ TYPE_INT64 = 3,
+ TYPE_UINT64 = 4,
+ TYPE_INT32 = 5,
+ TYPE_FIXED64 = 6,
+ TYPE_FIXED32 = 7,
+ TYPE_BOOL = 8,
+ TYPE_STRING = 9,
+ TYPE_GROUP = 10,
+ TYPE_MESSAGE = 11,
+ TYPE_BYTES = 12,
+ TYPE_UINT32 = 13,
+ TYPE_ENUM = 14,
+ TYPE_SFIXED32 = 15,
+ TYPE_SFIXED64 = 16,
+ TYPE_SINT32 = 17,
+ TYPE_SINT64 = 18
+ }
+
+ /** Label enum. */
+ enum Label {
+ LABEL_OPTIONAL = 1,
+ LABEL_REPEATED = 3,
+ LABEL_REQUIRED = 2
+ }
+ }
+
+ /** Properties of an OneofDescriptorProto. */
+ interface IOneofDescriptorProto {
+
+ /** OneofDescriptorProto name */
+ name?: (string|null);
+
+ /** OneofDescriptorProto options */
+ options?: (google.protobuf.IOneofOptions|null);
+ }
+
+ /** Represents an OneofDescriptorProto. */
+ class OneofDescriptorProto implements IOneofDescriptorProto {
+
+ /**
+ * Constructs a new OneofDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofDescriptorProto);
+
+ /** OneofDescriptorProto name. */
+ public name: string;
+
+ /** OneofDescriptorProto options. */
+ public options?: (google.protobuf.IOneofOptions|null);
+
+ /**
+ * Creates a new OneofDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Verifies an OneofDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
+ * @param message OneofDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumDescriptorProto. */
+ interface IEnumDescriptorProto {
+
+ /** EnumDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumDescriptorProto value */
+ value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
+
+ /** EnumDescriptorProto options */
+ options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
+
+ /** EnumDescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents an EnumDescriptorProto. */
+ class EnumDescriptorProto implements IEnumDescriptorProto {
+
+ /**
+ * Constructs a new EnumDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumDescriptorProto);
+
+ /** EnumDescriptorProto name. */
+ public name: string;
+
+ /** EnumDescriptorProto value. */
+ public value: google.protobuf.IEnumValueDescriptorProto[];
+
+ /** EnumDescriptorProto options. */
+ public options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
+
+ /** EnumDescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new EnumDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Verifies an EnumDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EnumDescriptorProto {
+
+ /** Properties of an EnumReservedRange. */
+ interface IEnumReservedRange {
+
+ /** EnumReservedRange start */
+ start?: (number|null);
+
+ /** EnumReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents an EnumReservedRange. */
+ class EnumReservedRange implements IEnumReservedRange {
+
+ /**
+ * Constructs a new EnumReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
+
+ /** EnumReservedRange start. */
+ public start: number;
+
+ /** EnumReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new EnumReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumReservedRange instance
+ */
+ public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Verifies an EnumReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
+ * @param message EnumReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an EnumValueDescriptorProto. */
+ interface IEnumValueDescriptorProto {
+
+ /** EnumValueDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumValueDescriptorProto number */
+ number?: (number|null);
+
+ /** EnumValueDescriptorProto options */
+ options?: (google.protobuf.IEnumValueOptions|null);
+ }
+
+ /** Represents an EnumValueDescriptorProto. */
+ class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
+
+ /**
+ * Constructs a new EnumValueDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
+
+ /** EnumValueDescriptorProto name. */
+ public name: string;
+
+ /** EnumValueDescriptorProto number. */
+ public number: number;
+
+ /** EnumValueDescriptorProto options. */
+ public options?: (google.protobuf.IEnumValueOptions|null);
+
+ /**
+ * Creates a new EnumValueDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Verifies an EnumValueDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumValueDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceDescriptorProto. */
+ interface IServiceDescriptorProto {
+
+ /** ServiceDescriptorProto name */
+ name?: (string|null);
+
+ /** ServiceDescriptorProto method */
+ method?: (google.protobuf.IMethodDescriptorProto[]|null);
+
+ /** ServiceDescriptorProto options */
+ options?: (google.protobuf.IServiceOptions|null);
+ }
+
+ /** Represents a ServiceDescriptorProto. */
+ class ServiceDescriptorProto implements IServiceDescriptorProto {
+
+ /**
+ * Constructs a new ServiceDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceDescriptorProto);
+
+ /** ServiceDescriptorProto name. */
+ public name: string;
+
+ /** ServiceDescriptorProto method. */
+ public method: google.protobuf.IMethodDescriptorProto[];
+
+ /** ServiceDescriptorProto options. */
+ public options?: (google.protobuf.IServiceOptions|null);
+
+ /**
+ * Creates a new ServiceDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Verifies a ServiceDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
+ * @param message ServiceDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodDescriptorProto. */
+ interface IMethodDescriptorProto {
+
+ /** MethodDescriptorProto name */
+ name?: (string|null);
+
+ /** MethodDescriptorProto inputType */
+ inputType?: (string|null);
+
+ /** MethodDescriptorProto outputType */
+ outputType?: (string|null);
+
+ /** MethodDescriptorProto options */
+ options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming */
+ clientStreaming?: (boolean|null);
+
+ /** MethodDescriptorProto serverStreaming */
+ serverStreaming?: (boolean|null);
+ }
+
+ /** Represents a MethodDescriptorProto. */
+ class MethodDescriptorProto implements IMethodDescriptorProto {
+
+ /**
+ * Constructs a new MethodDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodDescriptorProto);
+
+ /** MethodDescriptorProto name. */
+ public name: string;
+
+ /** MethodDescriptorProto inputType. */
+ public inputType: string;
+
+ /** MethodDescriptorProto outputType. */
+ public outputType: string;
+
+ /** MethodDescriptorProto options. */
+ public options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming. */
+ public clientStreaming: boolean;
+
+ /** MethodDescriptorProto serverStreaming. */
+ public serverStreaming: boolean;
+
+ /**
+ * Creates a new MethodDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Verifies a MethodDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
+ * @param message MethodDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileOptions. */
+ interface IFileOptions {
+
+ /** FileOptions javaPackage */
+ javaPackage?: (string|null);
+
+ /** FileOptions javaOuterClassname */
+ javaOuterClassname?: (string|null);
+
+ /** FileOptions javaMultipleFiles */
+ javaMultipleFiles?: (boolean|null);
+
+ /** FileOptions javaGenerateEqualsAndHash */
+ javaGenerateEqualsAndHash?: (boolean|null);
+
+ /** FileOptions javaStringCheckUtf8 */
+ javaStringCheckUtf8?: (boolean|null);
+
+ /** FileOptions optimizeFor */
+ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
+
+ /** FileOptions goPackage */
+ goPackage?: (string|null);
+
+ /** FileOptions ccGenericServices */
+ ccGenericServices?: (boolean|null);
+
+ /** FileOptions javaGenericServices */
+ javaGenericServices?: (boolean|null);
+
+ /** FileOptions pyGenericServices */
+ pyGenericServices?: (boolean|null);
+
+ /** FileOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FileOptions ccEnableArenas */
+ ccEnableArenas?: (boolean|null);
+
+ /** FileOptions objcClassPrefix */
+ objcClassPrefix?: (string|null);
+
+ /** FileOptions csharpNamespace */
+ csharpNamespace?: (string|null);
+
+ /** FileOptions swiftPrefix */
+ swiftPrefix?: (string|null);
+
+ /** FileOptions phpClassPrefix */
+ phpClassPrefix?: (string|null);
+
+ /** FileOptions phpNamespace */
+ phpNamespace?: (string|null);
+
+ /** FileOptions phpMetadataNamespace */
+ phpMetadataNamespace?: (string|null);
+
+ /** FileOptions rubyPackage */
+ rubyPackage?: (string|null);
+
+ /** FileOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** FileOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FileOptions .google.api.resourceDefinition */
+ ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null);
+ }
+
+ /** Represents a FileOptions. */
+ class FileOptions implements IFileOptions {
+
+ /**
+ * Constructs a new FileOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileOptions);
+
+ /** FileOptions javaPackage. */
+ public javaPackage: string;
+
+ /** FileOptions javaOuterClassname. */
+ public javaOuterClassname: string;
+
+ /** FileOptions javaMultipleFiles. */
+ public javaMultipleFiles: boolean;
+
+ /** FileOptions javaGenerateEqualsAndHash. */
+ public javaGenerateEqualsAndHash: boolean;
+
+ /** FileOptions javaStringCheckUtf8. */
+ public javaStringCheckUtf8: boolean;
+
+ /** FileOptions optimizeFor. */
+ public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
+
+ /** FileOptions goPackage. */
+ public goPackage: string;
+
+ /** FileOptions ccGenericServices. */
+ public ccGenericServices: boolean;
+
+ /** FileOptions javaGenericServices. */
+ public javaGenericServices: boolean;
+
+ /** FileOptions pyGenericServices. */
+ public pyGenericServices: boolean;
+
+ /** FileOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FileOptions ccEnableArenas. */
+ public ccEnableArenas: boolean;
+
+ /** FileOptions objcClassPrefix. */
+ public objcClassPrefix: string;
+
+ /** FileOptions csharpNamespace. */
+ public csharpNamespace: string;
+
+ /** FileOptions swiftPrefix. */
+ public swiftPrefix: string;
+
+ /** FileOptions phpClassPrefix. */
+ public phpClassPrefix: string;
+
+ /** FileOptions phpNamespace. */
+ public phpNamespace: string;
+
+ /** FileOptions phpMetadataNamespace. */
+ public phpMetadataNamespace: string;
+
+ /** FileOptions rubyPackage. */
+ public rubyPackage: string;
+
+ /** FileOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** FileOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FileOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileOptions instance
+ */
+ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
+
+ /**
+ * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
+
+ /**
+ * Verifies a FileOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
+
+ /**
+ * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
+ * @param message FileOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FileOptions {
+
+ /** OptimizeMode enum. */
+ enum OptimizeMode {
+ SPEED = 1,
+ CODE_SIZE = 2,
+ LITE_RUNTIME = 3
+ }
+ }
+
+ /** Properties of a MessageOptions. */
+ interface IMessageOptions {
+
+ /** MessageOptions messageSetWireFormat */
+ messageSetWireFormat?: (boolean|null);
+
+ /** MessageOptions noStandardDescriptorAccessor */
+ noStandardDescriptorAccessor?: (boolean|null);
+
+ /** MessageOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MessageOptions mapEntry */
+ mapEntry?: (boolean|null);
+
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts */
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
+
+ /** MessageOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** MessageOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MessageOptions .google.api.resource */
+ ".google.api.resource"?: (google.api.IResourceDescriptor|null);
+ }
+
+ /** Represents a MessageOptions. */
+ class MessageOptions implements IMessageOptions {
+
+ /**
+ * Constructs a new MessageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMessageOptions);
+
+ /** MessageOptions messageSetWireFormat. */
+ public messageSetWireFormat: boolean;
+
+ /** MessageOptions noStandardDescriptorAccessor. */
+ public noStandardDescriptorAccessor: boolean;
+
+ /** MessageOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MessageOptions mapEntry. */
+ public mapEntry: boolean;
+
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts. */
+ public deprecatedLegacyJsonFieldConflicts: boolean;
+
+ /** MessageOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** MessageOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MessageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MessageOptions instance
+ */
+ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
+
+ /**
+ * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
+
+ /**
+ * Verifies a MessageOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MessageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
+
+ /**
+ * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
+ * @param message MessageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MessageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MessageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldOptions. */
+ interface IFieldOptions {
+
+ /** FieldOptions ctype */
+ ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
+
+ /** FieldOptions packed */
+ packed?: (boolean|null);
+
+ /** FieldOptions jstype */
+ jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
+
+ /** FieldOptions lazy */
+ lazy?: (boolean|null);
+
+ /** FieldOptions unverifiedLazy */
+ unverifiedLazy?: (boolean|null);
+
+ /** FieldOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FieldOptions weak */
+ weak?: (boolean|null);
+
+ /** FieldOptions debugRedact */
+ debugRedact?: (boolean|null);
+
+ /** FieldOptions retention */
+ retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
+
+ /** FieldOptions targets */
+ targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null);
+
+ /** FieldOptions editionDefaults */
+ editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null);
+
+ /** FieldOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** FieldOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FieldOptions .google.api.fieldBehavior */
+ ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
+
+ /** FieldOptions .google.api.fieldInfo */
+ ".google.api.fieldInfo"?: (google.api.IFieldInfo|null);
+
+ /** FieldOptions .google.api.resourceReference */
+ ".google.api.resourceReference"?: (google.api.IResourceReference|null);
+ }
+
+ /** Represents a FieldOptions. */
+ class FieldOptions implements IFieldOptions {
+
+ /**
+ * Constructs a new FieldOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldOptions);
+
+ /** FieldOptions ctype. */
+ public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
+
+ /** FieldOptions packed. */
+ public packed: boolean;
+
+ /** FieldOptions jstype. */
+ public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
+
+ /** FieldOptions lazy. */
+ public lazy: boolean;
+
+ /** FieldOptions unverifiedLazy. */
+ public unverifiedLazy: boolean;
+
+ /** FieldOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FieldOptions weak. */
+ public weak: boolean;
+
+ /** FieldOptions debugRedact. */
+ public debugRedact: boolean;
+
+ /** FieldOptions retention. */
+ public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
+
+ /** FieldOptions targets. */
+ public targets: google.protobuf.FieldOptions.OptionTargetType[];
+
+ /** FieldOptions editionDefaults. */
+ public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[];
+
+ /** FieldOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** FieldOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FieldOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldOptions instance
+ */
+ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
+
+ /**
+ * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
+
+ /**
+ * Verifies a FieldOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
+
+ /**
+ * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
+ * @param message FieldOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldOptions {
+
+ /** CType enum. */
+ enum CType {
+ STRING = 0,
+ CORD = 1,
+ STRING_PIECE = 2
+ }
+
+ /** JSType enum. */
+ enum JSType {
+ JS_NORMAL = 0,
+ JS_STRING = 1,
+ JS_NUMBER = 2
+ }
+
+ /** OptionRetention enum. */
+ enum OptionRetention {
+ RETENTION_UNKNOWN = 0,
+ RETENTION_RUNTIME = 1,
+ RETENTION_SOURCE = 2
+ }
+
+ /** OptionTargetType enum. */
+ enum OptionTargetType {
+ TARGET_TYPE_UNKNOWN = 0,
+ TARGET_TYPE_FILE = 1,
+ TARGET_TYPE_EXTENSION_RANGE = 2,
+ TARGET_TYPE_MESSAGE = 3,
+ TARGET_TYPE_FIELD = 4,
+ TARGET_TYPE_ONEOF = 5,
+ TARGET_TYPE_ENUM = 6,
+ TARGET_TYPE_ENUM_ENTRY = 7,
+ TARGET_TYPE_SERVICE = 8,
+ TARGET_TYPE_METHOD = 9
+ }
+
+ /** Properties of an EditionDefault. */
+ interface IEditionDefault {
+
+ /** EditionDefault edition */
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+
+ /** EditionDefault value */
+ value?: (string|null);
+ }
+
+ /** Represents an EditionDefault. */
+ class EditionDefault implements IEditionDefault {
+
+ /**
+ * Constructs a new EditionDefault.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
+
+ /** EditionDefault edition. */
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /** EditionDefault value. */
+ public value: string;
+
+ /**
+ * Creates a new EditionDefault instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EditionDefault instance
+ */
+ public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
+ * @param message EditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
+ * @param message EditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EditionDefault message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Decodes an EditionDefault message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Verifies an EditionDefault message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EditionDefault
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
+ * @param message EditionDefault
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EditionDefault to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EditionDefault
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an OneofOptions. */
+ interface IOneofOptions {
+
+ /** OneofOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** OneofOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an OneofOptions. */
+ class OneofOptions implements IOneofOptions {
+
+ /**
+ * Constructs a new OneofOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofOptions);
+
+ /** OneofOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** OneofOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new OneofOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofOptions instance
+ */
+ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
+
+ /**
+ * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
+
+ /**
+ * Verifies an OneofOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
+
+ /**
+ * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
+ * @param message OneofOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumOptions. */
+ interface IEnumOptions {
+
+ /** EnumOptions allowAlias */
+ allowAlias?: (boolean|null);
+
+ /** EnumOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts */
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
+
+ /** EnumOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumOptions. */
+ class EnumOptions implements IEnumOptions {
+
+ /**
+ * Constructs a new EnumOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumOptions);
+
+ /** EnumOptions allowAlias. */
+ public allowAlias: boolean;
+
+ /** EnumOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts. */
+ public deprecatedLegacyJsonFieldConflicts: boolean;
+
+ /** EnumOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
+
+ /**
+ * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
+
+ /**
+ * Verifies an EnumOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
+
+ /**
+ * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
+ * @param message EnumOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumValueOptions. */
+ interface IEnumValueOptions {
+
+ /** EnumValueOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumValueOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumValueOptions debugRedact */
+ debugRedact?: (boolean|null);
+
+ /** EnumValueOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumValueOptions. */
+ class EnumValueOptions implements IEnumValueOptions {
+
+ /**
+ * Constructs a new EnumValueOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueOptions);
+
+ /** EnumValueOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumValueOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumValueOptions debugRedact. */
+ public debugRedact: boolean;
+
+ /** EnumValueOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumValueOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
+
+ /**
+ * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
+
+ /**
+ * Verifies an EnumValueOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
+
+ /**
+ * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
+ * @param message EnumValueOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceOptions. */
+ interface IServiceOptions {
+
+ /** ServiceOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** ServiceOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** ServiceOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** ServiceOptions .google.api.defaultHost */
+ ".google.api.defaultHost"?: (string|null);
+
+ /** ServiceOptions .google.api.oauthScopes */
+ ".google.api.oauthScopes"?: (string|null);
+
+ /** ServiceOptions .google.api.apiVersion */
+ ".google.api.apiVersion"?: (string|null);
+ }
+
+ /** Represents a ServiceOptions. */
+ class ServiceOptions implements IServiceOptions {
+
+ /**
+ * Constructs a new ServiceOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceOptions);
+
+ /** ServiceOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** ServiceOptions deprecated. */
+ public deprecated: boolean;
+
+ /** ServiceOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ServiceOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceOptions instance
+ */
+ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
+
+ /**
+ * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
+
+ /**
+ * Verifies a ServiceOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
+
+ /**
+ * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
+ * @param message ServiceOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodOptions. */
+ interface IMethodOptions {
+
+ /** MethodOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MethodOptions idempotencyLevel */
+ idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
+
+ /** MethodOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** MethodOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MethodOptions .google.api.http */
+ ".google.api.http"?: (google.api.IHttpRule|null);
+
+ /** MethodOptions .google.api.methodSignature */
+ ".google.api.methodSignature"?: (string[]|null);
+
+ /** 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 features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** MethodOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MethodOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodOptions instance
+ */
+ public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
+
+ /**
+ * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
+
+ /**
+ * Verifies a MethodOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
+
+ /**
+ * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
+ * @param message MethodOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MethodOptions {
+
+ /** IdempotencyLevel enum. */
+ enum IdempotencyLevel {
+ IDEMPOTENCY_UNKNOWN = 0,
+ NO_SIDE_EFFECTS = 1,
+ IDEMPOTENT = 2
+ }
+ }
+
+ /** Properties of an UninterpretedOption. */
+ interface IUninterpretedOption {
+
+ /** UninterpretedOption name */
+ name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
+
+ /** UninterpretedOption identifierValue */
+ identifierValue?: (string|null);
+
+ /** UninterpretedOption positiveIntValue */
+ positiveIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption negativeIntValue */
+ negativeIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption doubleValue */
+ doubleValue?: (number|null);
+
+ /** UninterpretedOption stringValue */
+ stringValue?: (Uint8Array|Buffer|string|null);
+
+ /** UninterpretedOption aggregateValue */
+ aggregateValue?: (string|null);
+ }
+
+ /** Represents an UninterpretedOption. */
+ class UninterpretedOption implements IUninterpretedOption {
+
+ /**
+ * Constructs a new UninterpretedOption.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IUninterpretedOption);
+
+ /** UninterpretedOption name. */
+ public name: google.protobuf.UninterpretedOption.INamePart[];
+
+ /** UninterpretedOption identifierValue. */
+ public identifierValue: string;
+
+ /** UninterpretedOption positiveIntValue. */
+ public positiveIntValue: (number|Long|string);
+
+ /** UninterpretedOption negativeIntValue. */
+ public negativeIntValue: (number|Long|string);
+
+ /** UninterpretedOption doubleValue. */
+ public doubleValue: number;
+
+ /** UninterpretedOption stringValue. */
+ public stringValue: (Uint8Array|Buffer|string);
+
+ /** UninterpretedOption aggregateValue. */
+ public aggregateValue: string;
+
+ /**
+ * Creates a new UninterpretedOption instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UninterpretedOption instance
+ */
+ public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
+
+ /**
+ * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
+
+ /**
+ * Verifies an UninterpretedOption message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UninterpretedOption
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
+
+ /**
+ * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
+ * @param message UninterpretedOption
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UninterpretedOption to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UninterpretedOption
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace UninterpretedOption {
+
+ /** Properties of a NamePart. */
+ interface INamePart {
+
+ /** NamePart namePart */
+ namePart: string;
+
+ /** NamePart isExtension */
+ isExtension: boolean;
+ }
+
+ /** Represents a NamePart. */
+ class NamePart implements INamePart {
+
+ /**
+ * Constructs a new NamePart.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
+
+ /** NamePart namePart. */
+ public namePart: string;
+
+ /** NamePart isExtension. */
+ public isExtension: boolean;
+
+ /**
+ * Creates a new NamePart instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NamePart instance
+ */
+ public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Verifies a NamePart message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NamePart
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Creates a plain object from a NamePart message. Also converts values to other types if specified.
+ * @param message NamePart
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NamePart to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NamePart
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a FeatureSet. */
+ interface IFeatureSet {
+
+ /** FeatureSet fieldPresence */
+ fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence|null);
+
+ /** FeatureSet enumType */
+ enumType?: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType|null);
+
+ /** FeatureSet repeatedFieldEncoding */
+ repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
+
+ /** FeatureSet utf8Validation */
+ utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation|null);
+
+ /** FeatureSet messageEncoding */
+ messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
+
+ /** FeatureSet jsonFormat */
+ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
+ }
+
+ /** Represents a FeatureSet. */
+ class FeatureSet implements IFeatureSet {
+
+ /**
+ * Constructs a new FeatureSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFeatureSet);
+
+ /** FeatureSet fieldPresence. */
+ public fieldPresence: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence);
+
+ /** FeatureSet enumType. */
+ public enumType: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType);
+
+ /** FeatureSet repeatedFieldEncoding. */
+ public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
+
+ /** FeatureSet utf8Validation. */
+ public utf8Validation: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation);
+
+ /** FeatureSet messageEncoding. */
+ public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
+
+ /** FeatureSet jsonFormat. */
+ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
+
+ /**
+ * Creates a new FeatureSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FeatureSet instance
+ */
+ public static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet;
+
+ /**
+ * Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
+ * @param message FeatureSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
+ * @param message FeatureSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FeatureSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FeatureSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet;
+
+ /**
+ * Decodes a FeatureSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FeatureSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet;
+
+ /**
+ * Verifies a FeatureSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FeatureSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet;
+
+ /**
+ * Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
+ * @param message FeatureSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FeatureSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FeatureSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FeatureSet {
+
+ /** FieldPresence enum. */
+ enum FieldPresence {
+ FIELD_PRESENCE_UNKNOWN = 0,
+ EXPLICIT = 1,
+ IMPLICIT = 2,
+ LEGACY_REQUIRED = 3
+ }
+
+ /** EnumType enum. */
+ enum EnumType {
+ ENUM_TYPE_UNKNOWN = 0,
+ OPEN = 1,
+ CLOSED = 2
+ }
+
+ /** RepeatedFieldEncoding enum. */
+ enum RepeatedFieldEncoding {
+ REPEATED_FIELD_ENCODING_UNKNOWN = 0,
+ PACKED = 1,
+ EXPANDED = 2
+ }
+
+ /** Utf8Validation enum. */
+ enum Utf8Validation {
+ UTF8_VALIDATION_UNKNOWN = 0,
+ VERIFY = 2,
+ NONE = 3
+ }
+
+ /** MessageEncoding enum. */
+ enum MessageEncoding {
+ MESSAGE_ENCODING_UNKNOWN = 0,
+ LENGTH_PREFIXED = 1,
+ DELIMITED = 2
+ }
+
+ /** JsonFormat enum. */
+ enum JsonFormat {
+ JSON_FORMAT_UNKNOWN = 0,
+ ALLOW = 1,
+ LEGACY_BEST_EFFORT = 2
+ }
+ }
+
+ /** Properties of a FeatureSetDefaults. */
+ interface IFeatureSetDefaults {
+
+ /** FeatureSetDefaults defaults */
+ defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null);
+
+ /** FeatureSetDefaults minimumEdition */
+ minimumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+
+ /** FeatureSetDefaults maximumEdition */
+ maximumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+ }
+
+ /** Represents a FeatureSetDefaults. */
+ class FeatureSetDefaults implements IFeatureSetDefaults {
+
+ /**
+ * Constructs a new FeatureSetDefaults.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFeatureSetDefaults);
+
+ /** FeatureSetDefaults defaults. */
+ public defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[];
+
+ /** FeatureSetDefaults minimumEdition. */
+ public minimumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /** FeatureSetDefaults maximumEdition. */
+ public maximumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /**
+ * Creates a new FeatureSetDefaults instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FeatureSetDefaults instance
+ */
+ public static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults;
+
+ /**
+ * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
+ * @param message FeatureSetDefaults message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
+ * @param message FeatureSetDefaults message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FeatureSetDefaults
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults;
+
+ /**
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FeatureSetDefaults
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults;
+
+ /**
+ * Verifies a FeatureSetDefaults message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FeatureSetDefaults
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults;
+
+ /**
+ * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
+ * @param message FeatureSetDefaults
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FeatureSetDefaults to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FeatureSetDefaults
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FeatureSetDefaults {
+
+ /** Properties of a FeatureSetEditionDefault. */
+ interface IFeatureSetEditionDefault {
+
+ /** FeatureSetEditionDefault edition */
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+
+ /** FeatureSetEditionDefault features */
+ features?: (google.protobuf.IFeatureSet|null);
+ }
+
+ /** Represents a FeatureSetEditionDefault. */
+ class FeatureSetEditionDefault implements IFeatureSetEditionDefault {
+
+ /**
+ * Constructs a new FeatureSetEditionDefault.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault);
+
+ /** FeatureSetEditionDefault edition. */
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /** FeatureSetEditionDefault features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /**
+ * Creates a new FeatureSetEditionDefault instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FeatureSetEditionDefault instance
+ */
+ public static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
+
+ /**
+ * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
+ * @param message FeatureSetEditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
+ * @param message FeatureSetEditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FeatureSetEditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
+
+ /**
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FeatureSetEditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
+
+ /**
+ * Verifies a FeatureSetEditionDefault message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FeatureSetEditionDefault
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
+
+ /**
+ * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
+ * @param message FeatureSetEditionDefault
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FeatureSetEditionDefault to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FeatureSetEditionDefault
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SourceCodeInfo. */
+ interface ISourceCodeInfo {
+
+ /** SourceCodeInfo location */
+ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
+ }
+
+ /** Represents a SourceCodeInfo. */
+ class SourceCodeInfo implements ISourceCodeInfo {
+
+ /**
+ * Constructs a new SourceCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ISourceCodeInfo);
+
+ /** SourceCodeInfo location. */
+ public location: google.protobuf.SourceCodeInfo.ILocation[];
+
+ /**
+ * Creates a new SourceCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SourceCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Verifies a SourceCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SourceCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
+ * @param message SourceCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SourceCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SourceCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SourceCodeInfo {
+
+ /** Properties of a Location. */
+ interface ILocation {
+
+ /** Location path */
+ path?: (number[]|null);
+
+ /** Location span */
+ span?: (number[]|null);
+
+ /** Location leadingComments */
+ leadingComments?: (string|null);
+
+ /** Location trailingComments */
+ trailingComments?: (string|null);
+
+ /** Location leadingDetachedComments */
+ leadingDetachedComments?: (string[]|null);
+ }
+
+ /** Represents a Location. */
+ class Location implements ILocation {
+
+ /**
+ * Constructs a new Location.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
+
+ /** Location path. */
+ public path: number[];
+
+ /** Location span. */
+ public span: number[];
+
+ /** Location leadingComments. */
+ public leadingComments: string;
+
+ /** Location trailingComments. */
+ public trailingComments: string;
+
+ /** Location leadingDetachedComments. */
+ public leadingDetachedComments: string[];
+
+ /**
+ * Creates a new Location instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Location instance
+ */
+ public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Verifies a Location message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Location
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
+ * @param message Location
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Location to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Location
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a GeneratedCodeInfo. */
+ interface IGeneratedCodeInfo {
+
+ /** GeneratedCodeInfo annotation */
+ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
+ }
+
+ /** Represents a GeneratedCodeInfo. */
+ class GeneratedCodeInfo implements IGeneratedCodeInfo {
+
+ /**
+ * Constructs a new GeneratedCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IGeneratedCodeInfo);
+
+ /** GeneratedCodeInfo annotation. */
+ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
+
+ /**
+ * Creates a new GeneratedCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GeneratedCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Verifies a GeneratedCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GeneratedCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
+ * @param message GeneratedCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GeneratedCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GeneratedCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace GeneratedCodeInfo {
+
+ /** Properties of an Annotation. */
+ interface IAnnotation {
+
+ /** Annotation path */
+ path?: (number[]|null);
+
+ /** Annotation sourceFile */
+ sourceFile?: (string|null);
+
+ /** Annotation begin */
+ begin?: (number|null);
+
+ /** Annotation end */
+ end?: (number|null);
+
+ /** Annotation semantic */
+ semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
+ }
+
+ /** Represents an Annotation. */
+ class Annotation implements IAnnotation {
+
+ /**
+ * Constructs a new Annotation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
+
+ /** Annotation path. */
+ public path: number[];
+
+ /** Annotation sourceFile. */
+ public sourceFile: string;
+
+ /** Annotation begin. */
+ public begin: number;
+
+ /** Annotation end. */
+ public end: number;
+
+ /** Annotation semantic. */
+ public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic);
+
+ /**
+ * Creates a new Annotation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Annotation instance
+ */
+ public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Verifies an Annotation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Annotation
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Creates a plain object from an Annotation message. Also converts values to other types if specified.
+ * @param message Annotation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Annotation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Annotation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Annotation {
+
+ /** Semantic enum. */
+ enum Semantic {
+ NONE = 0,
+ SET = 1,
+ ALIAS = 2
+ }
+ }
+ }
+
+ /** Properties of a Timestamp. */
+ interface ITimestamp {
+
+ /** Timestamp seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Timestamp nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Timestamp. */
+ class Timestamp implements ITimestamp {
+
+ /**
+ * Constructs a new Timestamp.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ITimestamp);
+
+ /** Timestamp seconds. */
+ public seconds: (number|Long|string);
+
+ /** Timestamp nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Timestamp instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Timestamp instance
+ */
+ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
+
+ /**
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
+
+ /**
+ * Verifies a Timestamp message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Timestamp
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
+
+ /**
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
+ * @param message Timestamp
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Timestamp to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Timestamp
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a 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 FieldMask. */
+ interface IFieldMask {
+
+ /** FieldMask paths */
+ paths?: (string[]|null);
+ }
+
+ /** Represents a FieldMask. */
+ class FieldMask implements IFieldMask {
+
+ /**
+ * Constructs a new FieldMask.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldMask);
+
+ /** FieldMask paths. */
+ public paths: string[];
+
+ /**
+ * Creates a new FieldMask instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldMask instance
+ */
+ public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
+
+ /**
+ * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
+
+ /**
+ * Verifies a FieldMask message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldMask
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
+
+ /**
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
+ * @param message FieldMask
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldMask to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldMask
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Any. */
+ interface IAny {
+
+ /** Any type_url */
+ type_url?: (string|null);
+
+ /** Any value */
+ value?: (Uint8Array|Buffer|string|null);
+ }
+
+ /** Represents an Any. */
+ class Any implements IAny {
+
+ /**
+ * Constructs a new Any.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IAny);
+
+ /** Any type_url. */
+ public type_url: string;
+
+ /** Any value. */
+ public value: (Uint8Array|Buffer|string);
+
+ /**
+ * Creates a new Any instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Any instance
+ */
+ public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
+
+ /**
+ * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @param message Any message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @param message Any message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Any message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Any
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
+
+ /**
+ * Decodes an Any message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Any
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
+
+ /**
+ * Verifies an Any message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Any message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Any
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
+
+ /**
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
+ * @param message Any
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Any to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Any
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** 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 Struct. */
+ interface IStruct {
+
+ /** Struct fields */
+ fields?: ({ [k: string]: google.protobuf.IValue }|null);
+ }
+
+ /** Represents a Struct. */
+ class Struct implements IStruct {
+
+ /**
+ * Constructs a new Struct.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IStruct);
+
+ /** Struct fields. */
+ public fields: { [k: string]: google.protobuf.IValue };
+
+ /**
+ * Creates a new Struct instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Struct instance
+ */
+ public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct;
+
+ /**
+ * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
+ * @param message Struct message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
+ * @param message Struct message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Struct message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Struct
+ * @throws {Error} If the payload is not 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.Struct;
+
+ /**
+ * Decodes a Struct message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Struct
+ * @throws {Error} If the payload 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.Struct;
+
+ /**
+ * Verifies a Struct message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Struct message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Struct
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Struct;
+
+ /**
+ * Creates a plain object from a Struct message. Also converts values to other types if specified.
+ * @param message Struct
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Struct to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Struct
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Value. */
+ interface IValue {
+
+ /** Value nullValue */
+ nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
+
+ /** Value numberValue */
+ numberValue?: (number|null);
+
+ /** Value stringValue */
+ stringValue?: (string|null);
+
+ /** Value boolValue */
+ boolValue?: (boolean|null);
+
+ /** Value structValue */
+ structValue?: (google.protobuf.IStruct|null);
+
+ /** Value listValue */
+ listValue?: (google.protobuf.IListValue|null);
+ }
+
+ /** Represents a Value. */
+ class Value implements IValue {
+
+ /**
+ * Constructs a new Value.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IValue);
+
+ /** Value nullValue. */
+ public nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
+
+ /** Value numberValue. */
+ public numberValue?: (number|null);
+
+ /** Value stringValue. */
+ public stringValue?: (string|null);
+
+ /** Value boolValue. */
+ public boolValue?: (boolean|null);
+
+ /** Value structValue. */
+ public structValue?: (google.protobuf.IStruct|null);
+
+ /** Value listValue. */
+ public listValue?: (google.protobuf.IListValue|null);
+
+ /** Value kind. */
+ public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue");
+
+ /**
+ * Creates a new Value instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Value instance
+ */
+ public static create(properties?: google.protobuf.IValue): google.protobuf.Value;
+
+ /**
+ * Encodes the specified Value message. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
+ * @param message Value message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Value message, length delimited. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
+ * @param message Value message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Value message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Value
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Value;
+
+ /**
+ * Decodes a Value message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Value
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Value;
+
+ /**
+ * Verifies a Value message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Value message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Value
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Value;
+
+ /**
+ * Creates a plain object from a Value message. Also converts values to other types if specified.
+ * @param message Value
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Value to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Value
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** NullValue enum. */
+ enum NullValue {
+ NULL_VALUE = 0
+ }
+
+ /** Properties of a ListValue. */
+ interface IListValue {
+
+ /** ListValue values */
+ values?: (google.protobuf.IValue[]|null);
+ }
+
+ /** Represents a ListValue. */
+ class ListValue implements IListValue {
+
+ /**
+ * Constructs a new ListValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IListValue);
+
+ /** ListValue values. */
+ public values: google.protobuf.IValue[];
+
+ /**
+ * Creates a new ListValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListValue instance
+ */
+ public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue;
+
+ /**
+ * Encodes the specified ListValue message. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
+ * @param message ListValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListValue message, length delimited. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
+ * @param message ListValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListValue
+ * @throws {Error} If the payload is not 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.ListValue;
+
+ /**
+ * Decodes a ListValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListValue
+ * @throws {Error} If the payload 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.ListValue;
+
+ /**
+ * Verifies a ListValue message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ListValue;
+
+ /**
+ * Creates a plain object from a ListValue message. Also converts values to other types if specified.
+ * @param message ListValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ListValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace iam. */
+ namespace iam {
+
+ /** Namespace v1. */
+ namespace v1 {
+
+ /** Represents a IAMPolicy */
+ class IAMPolicy extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new IAMPolicy service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new IAMPolicy service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): IAMPolicy;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.iam.v1.IAMPolicy.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+ }
+
+ namespace IAMPolicy {
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+ }
+
+ /** Properties of a SetIamPolicyRequest. */
+ interface ISetIamPolicyRequest {
+
+ /** SetIamPolicyRequest resource */
+ resource?: (string|null);
+
+ /** SetIamPolicyRequest policy */
+ policy?: (google.iam.v1.IPolicy|null);
+
+ /** SetIamPolicyRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a SetIamPolicyRequest. */
+ class SetIamPolicyRequest implements ISetIamPolicyRequest {
+
+ /**
+ * Constructs a new SetIamPolicyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ISetIamPolicyRequest);
+
+ /** SetIamPolicyRequest resource. */
+ public resource: string;
+
+ /** SetIamPolicyRequest policy. */
+ public policy?: (google.iam.v1.IPolicy|null);
+
+ /** SetIamPolicyRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new SetIamPolicyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SetIamPolicyRequest instance
+ */
+ public static create(properties?: google.iam.v1.ISetIamPolicyRequest): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Encodes the specified SetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
+ * @param message SetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
+ * @param message SetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SetIamPolicyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Decodes a SetIamPolicyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Verifies a SetIamPolicyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SetIamPolicyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Creates a plain object from a SetIamPolicyRequest message. Also converts values to other types if specified.
+ * @param message SetIamPolicyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.SetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SetIamPolicyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SetIamPolicyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetIamPolicyRequest. */
+ interface IGetIamPolicyRequest {
+
+ /** GetIamPolicyRequest resource */
+ resource?: (string|null);
+
+ /** GetIamPolicyRequest options */
+ options?: (google.iam.v1.IGetPolicyOptions|null);
+ }
+
+ /** Represents a GetIamPolicyRequest. */
+ class GetIamPolicyRequest implements IGetIamPolicyRequest {
+
+ /**
+ * Constructs a new GetIamPolicyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IGetIamPolicyRequest);
+
+ /** GetIamPolicyRequest resource. */
+ public resource: string;
+
+ /** GetIamPolicyRequest options. */
+ public options?: (google.iam.v1.IGetPolicyOptions|null);
+
+ /**
+ * Creates a new GetIamPolicyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetIamPolicyRequest instance
+ */
+ public static create(properties?: google.iam.v1.IGetIamPolicyRequest): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Encodes the specified GetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
+ * @param message GetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
+ * @param message GetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetIamPolicyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Decodes a GetIamPolicyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Verifies a GetIamPolicyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetIamPolicyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Creates a plain object from a GetIamPolicyRequest message. Also converts values to other types if specified.
+ * @param message GetIamPolicyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.GetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetIamPolicyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetIamPolicyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TestIamPermissionsRequest. */
+ interface ITestIamPermissionsRequest {
+
+ /** TestIamPermissionsRequest resource */
+ resource?: (string|null);
+
+ /** TestIamPermissionsRequest permissions */
+ permissions?: (string[]|null);
+ }
+
+ /** Represents a TestIamPermissionsRequest. */
+ class TestIamPermissionsRequest implements ITestIamPermissionsRequest {
+
+ /**
+ * Constructs a new TestIamPermissionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ITestIamPermissionsRequest);
+
+ /** TestIamPermissionsRequest resource. */
+ public resource: string;
+
+ /** TestIamPermissionsRequest permissions. */
+ public permissions: string[];
+
+ /**
+ * Creates a new TestIamPermissionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TestIamPermissionsRequest instance
+ */
+ public static create(properties?: google.iam.v1.ITestIamPermissionsRequest): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Encodes the specified TestIamPermissionsRequest message. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
+ * @param message TestIamPermissionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TestIamPermissionsRequest message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
+ * @param message TestIamPermissionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TestIamPermissionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TestIamPermissionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Decodes a TestIamPermissionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TestIamPermissionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Verifies a TestIamPermissionsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TestIamPermissionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TestIamPermissionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Creates a plain object from a TestIamPermissionsRequest message. Also converts values to other types if specified.
+ * @param message TestIamPermissionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.TestIamPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TestIamPermissionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TestIamPermissionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TestIamPermissionsResponse. */
+ interface ITestIamPermissionsResponse {
+
+ /** TestIamPermissionsResponse permissions */
+ permissions?: (string[]|null);
+ }
+
+ /** Represents a TestIamPermissionsResponse. */
+ class TestIamPermissionsResponse implements ITestIamPermissionsResponse {
+
+ /**
+ * Constructs a new TestIamPermissionsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ITestIamPermissionsResponse);
+
+ /** TestIamPermissionsResponse permissions. */
+ public permissions: string[];
+
+ /**
+ * Creates a new TestIamPermissionsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TestIamPermissionsResponse instance
+ */
+ public static create(properties?: google.iam.v1.ITestIamPermissionsResponse): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Encodes the specified TestIamPermissionsResponse message. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
+ * @param message TestIamPermissionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TestIamPermissionsResponse message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
+ * @param message TestIamPermissionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TestIamPermissionsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TestIamPermissionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Decodes a TestIamPermissionsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TestIamPermissionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Verifies a TestIamPermissionsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TestIamPermissionsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TestIamPermissionsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Creates a plain object from a TestIamPermissionsResponse message. Also converts values to other types if specified.
+ * @param message TestIamPermissionsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.TestIamPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TestIamPermissionsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TestIamPermissionsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetPolicyOptions. */
+ interface IGetPolicyOptions {
+
+ /** GetPolicyOptions requestedPolicyVersion */
+ requestedPolicyVersion?: (number|null);
+ }
+
+ /** Represents a GetPolicyOptions. */
+ class GetPolicyOptions implements IGetPolicyOptions {
+
+ /**
+ * Constructs a new GetPolicyOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IGetPolicyOptions);
+
+ /** GetPolicyOptions requestedPolicyVersion. */
+ public requestedPolicyVersion: number;
+
+ /**
+ * Creates a new GetPolicyOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetPolicyOptions instance
+ */
+ public static create(properties?: google.iam.v1.IGetPolicyOptions): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Encodes the specified GetPolicyOptions message. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
+ * @param message GetPolicyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetPolicyOptions message, length delimited. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
+ * @param message GetPolicyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetPolicyOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetPolicyOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Decodes a GetPolicyOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetPolicyOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Verifies a GetPolicyOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetPolicyOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetPolicyOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Creates a plain object from a GetPolicyOptions message. Also converts values to other types if specified.
+ * @param message GetPolicyOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.GetPolicyOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetPolicyOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetPolicyOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Policy. */
+ interface IPolicy {
+
+ /** Policy version */
+ version?: (number|null);
+
+ /** Policy bindings */
+ bindings?: (google.iam.v1.IBinding[]|null);
+
+ /** Policy auditConfigs */
+ auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
+
+ /** Policy etag */
+ etag?: (Uint8Array|Buffer|string|null);
+ }
+
+ /** Represents a Policy. */
+ class Policy implements IPolicy {
+
+ /**
+ * Constructs a new Policy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IPolicy);
+
+ /** Policy version. */
+ public version: number;
+
+ /** Policy bindings. */
+ public bindings: google.iam.v1.IBinding[];
+
+ /** Policy auditConfigs. */
+ public auditConfigs: google.iam.v1.IAuditConfig[];
+
+ /** Policy etag. */
+ public etag: (Uint8Array|Buffer|string);
+
+ /**
+ * Creates a new Policy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Policy instance
+ */
+ public static create(properties?: google.iam.v1.IPolicy): google.iam.v1.Policy;
+
+ /**
+ * Encodes the specified Policy message. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
+ * @param message Policy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Policy message, length delimited. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
+ * @param message Policy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Policy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Policy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Policy;
+
+ /**
+ * Decodes a Policy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Policy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Policy;
+
+ /**
+ * Verifies a Policy message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Policy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Policy
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.Policy;
+
+ /**
+ * Creates a plain object from a Policy message. Also converts values to other types if specified.
+ * @param message Policy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.Policy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Policy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Policy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Binding. */
+ interface IBinding {
+
+ /** Binding role */
+ role?: (string|null);
+
+ /** Binding members */
+ members?: (string[]|null);
+
+ /** Binding condition */
+ condition?: (google.type.IExpr|null);
+ }
+
+ /** Represents a Binding. */
+ class Binding implements IBinding {
+
+ /**
+ * Constructs a new Binding.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IBinding);
+
+ /** Binding role. */
+ public role: string;
+
+ /** Binding members. */
+ public members: string[];
+
+ /** Binding condition. */
+ public condition?: (google.type.IExpr|null);
+
+ /**
+ * Creates a new Binding instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Binding instance
+ */
+ public static create(properties?: google.iam.v1.IBinding): google.iam.v1.Binding;
+
+ /**
+ * Encodes the specified Binding message. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
+ * @param message Binding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Binding message, length delimited. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
+ * @param message Binding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Binding message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Binding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Binding;
+
+ /**
+ * Decodes a Binding message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Binding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Binding;
+
+ /**
+ * Verifies a Binding message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Binding message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Binding
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.Binding;
+
+ /**
+ * Creates a plain object from a Binding message. Also converts values to other types if specified.
+ * @param message Binding
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.Binding, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Binding to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Binding
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AuditConfig. */
+ interface IAuditConfig {
+
+ /** AuditConfig service */
+ service?: (string|null);
+
+ /** AuditConfig auditLogConfigs */
+ auditLogConfigs?: (google.iam.v1.IAuditLogConfig[]|null);
+ }
+
+ /** Represents an AuditConfig. */
+ class AuditConfig implements IAuditConfig {
+
+ /**
+ * Constructs a new AuditConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditConfig);
+
+ /** AuditConfig service. */
+ public service: string;
+
+ /** AuditConfig auditLogConfigs. */
+ public auditLogConfigs: google.iam.v1.IAuditLogConfig[];
+
+ /**
+ * Creates a new AuditConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditConfig instance
+ */
+ public static create(properties?: google.iam.v1.IAuditConfig): google.iam.v1.AuditConfig;
+
+ /**
+ * Encodes the specified AuditConfig message. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
+ * @param message AuditConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
+ * @param message AuditConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfig;
+
+ /**
+ * Decodes an AuditConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfig;
+
+ /**
+ * Verifies an AuditConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AuditConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfig;
+
+ /**
+ * Creates a plain object from an AuditConfig message. Also converts values to other types if specified.
+ * @param message AuditConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AuditLogConfig. */
+ interface IAuditLogConfig {
+
+ /** AuditLogConfig logType */
+ logType?: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType|null);
+
+ /** AuditLogConfig exemptedMembers */
+ exemptedMembers?: (string[]|null);
+ }
+
+ /** Represents an AuditLogConfig. */
+ class AuditLogConfig implements IAuditLogConfig {
+
+ /**
+ * Constructs a new AuditLogConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditLogConfig);
+
+ /** AuditLogConfig logType. */
+ public logType: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType);
+
+ /** AuditLogConfig exemptedMembers. */
+ public exemptedMembers: string[];
+
+ /**
+ * Creates a new AuditLogConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditLogConfig instance
+ */
+ public static create(properties?: google.iam.v1.IAuditLogConfig): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Encodes the specified AuditLogConfig message. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
+ * @param message AuditLogConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditLogConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
+ * @param message AuditLogConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditLogConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditLogConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Decodes an AuditLogConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditLogConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Verifies an AuditLogConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AuditLogConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditLogConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Creates a plain object from an AuditLogConfig message. Also converts values to other types if specified.
+ * @param message AuditLogConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditLogConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditLogConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditLogConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AuditLogConfig {
+
+ /** LogType enum. */
+ enum LogType {
+ LOG_TYPE_UNSPECIFIED = 0,
+ ADMIN_READ = 1,
+ DATA_WRITE = 2,
+ DATA_READ = 3
+ }
+ }
+
+ /** Properties of a PolicyDelta. */
+ interface IPolicyDelta {
+
+ /** PolicyDelta bindingDeltas */
+ bindingDeltas?: (google.iam.v1.IBindingDelta[]|null);
+
+ /** PolicyDelta auditConfigDeltas */
+ auditConfigDeltas?: (google.iam.v1.IAuditConfigDelta[]|null);
+ }
+
+ /** Represents a PolicyDelta. */
+ class PolicyDelta implements IPolicyDelta {
+
+ /**
+ * Constructs a new PolicyDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IPolicyDelta);
+
+ /** PolicyDelta bindingDeltas. */
+ public bindingDeltas: google.iam.v1.IBindingDelta[];
+
+ /** PolicyDelta auditConfigDeltas. */
+ public auditConfigDeltas: google.iam.v1.IAuditConfigDelta[];
+
+ /**
+ * Creates a new PolicyDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PolicyDelta instance
+ */
+ public static create(properties?: google.iam.v1.IPolicyDelta): google.iam.v1.PolicyDelta;
+
+ /**
+ * Encodes the specified PolicyDelta message. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
+ * @param message PolicyDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PolicyDelta message, length delimited. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
+ * @param message PolicyDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PolicyDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PolicyDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.PolicyDelta;
+
+ /**
+ * Decodes a PolicyDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PolicyDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.PolicyDelta;
+
+ /**
+ * Verifies a PolicyDelta message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PolicyDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PolicyDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.PolicyDelta;
+
+ /**
+ * Creates a plain object from a PolicyDelta message. Also converts values to other types if specified.
+ * @param message PolicyDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.PolicyDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PolicyDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PolicyDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BindingDelta. */
+ interface IBindingDelta {
+
+ /** BindingDelta action */
+ action?: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action|null);
+
+ /** BindingDelta role */
+ role?: (string|null);
+
+ /** BindingDelta member */
+ member?: (string|null);
+
+ /** BindingDelta condition */
+ condition?: (google.type.IExpr|null);
+ }
+
+ /** Represents a BindingDelta. */
+ class BindingDelta implements IBindingDelta {
+
+ /**
+ * Constructs a new BindingDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IBindingDelta);
+
+ /** BindingDelta action. */
+ public action: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action);
+
+ /** BindingDelta role. */
+ public role: string;
+
+ /** BindingDelta member. */
+ public member: string;
+
+ /** BindingDelta condition. */
+ public condition?: (google.type.IExpr|null);
+
+ /**
+ * Creates a new BindingDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BindingDelta instance
+ */
+ public static create(properties?: google.iam.v1.IBindingDelta): google.iam.v1.BindingDelta;
+
+ /**
+ * Encodes the specified BindingDelta message. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
+ * @param message BindingDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BindingDelta message, length delimited. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
+ * @param message BindingDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BindingDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BindingDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.BindingDelta;
+
+ /**
+ * Decodes a BindingDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BindingDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.BindingDelta;
+
+ /**
+ * Verifies a BindingDelta message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BindingDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BindingDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.BindingDelta;
+
+ /**
+ * Creates a plain object from a BindingDelta message. Also converts values to other types if specified.
+ * @param message BindingDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.BindingDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BindingDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BindingDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace BindingDelta {
+
+ /** Action enum. */
+ enum Action {
+ ACTION_UNSPECIFIED = 0,
+ ADD = 1,
+ REMOVE = 2
+ }
+ }
+
+ /** Properties of an AuditConfigDelta. */
+ interface IAuditConfigDelta {
+
+ /** AuditConfigDelta action */
+ action?: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action|null);
+
+ /** AuditConfigDelta service */
+ service?: (string|null);
+
+ /** AuditConfigDelta exemptedMember */
+ exemptedMember?: (string|null);
+
+ /** AuditConfigDelta logType */
+ logType?: (string|null);
+ }
+
+ /** Represents an AuditConfigDelta. */
+ class AuditConfigDelta implements IAuditConfigDelta {
+
+ /**
+ * Constructs a new AuditConfigDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditConfigDelta);
+
+ /** AuditConfigDelta action. */
+ public action: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action);
+
+ /** AuditConfigDelta service. */
+ public service: string;
+
+ /** AuditConfigDelta exemptedMember. */
+ public exemptedMember: string;
+
+ /** AuditConfigDelta logType. */
+ public logType: string;
+
+ /**
+ * Creates a new AuditConfigDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditConfigDelta instance
+ */
+ public static create(properties?: google.iam.v1.IAuditConfigDelta): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Encodes the specified AuditConfigDelta message. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
+ * @param message AuditConfigDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditConfigDelta message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
+ * @param message AuditConfigDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditConfigDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditConfigDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Decodes an AuditConfigDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditConfigDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Verifies an AuditConfigDelta message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AuditConfigDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditConfigDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Creates a plain object from an AuditConfigDelta message. Also converts values to other types if specified.
+ * @param message AuditConfigDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditConfigDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditConfigDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditConfigDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AuditConfigDelta {
+
+ /** Action enum. */
+ enum Action {
+ ACTION_UNSPECIFIED = 0,
+ ADD = 1,
+ REMOVE = 2
+ }
+ }
+ }
+ }
+
+ /** Namespace type. */
+ namespace type {
+
+ /** Properties of an Expr. */
+ interface IExpr {
+
+ /** Expr expression */
+ expression?: (string|null);
+
+ /** Expr title */
+ title?: (string|null);
+
+ /** Expr description */
+ description?: (string|null);
+
+ /** Expr location */
+ location?: (string|null);
+ }
+
+ /** Represents an Expr. */
+ class Expr implements IExpr {
+
+ /**
+ * Constructs a new Expr.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.type.IExpr);
+
+ /** Expr expression. */
+ public expression: string;
+
+ /** Expr title. */
+ public title: string;
+
+ /** Expr description. */
+ public description: string;
+
+ /** Expr location. */
+ public location: string;
+
+ /**
+ * Creates a new Expr instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Expr instance
+ */
+ public static create(properties?: google.type.IExpr): google.type.Expr;
+
+ /**
+ * Encodes the specified Expr message. Does not implicitly {@link google.type.Expr.verify|verify} messages.
+ * @param message Expr message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Expr message, length delimited. Does not implicitly {@link google.type.Expr.verify|verify} messages.
+ * @param message Expr message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Expr message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Expr
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.Expr;
+
+ /**
+ * Decodes an Expr message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Expr
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.Expr;
+
+ /**
+ * Verifies an Expr message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Expr message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Expr
+ */
+ public static fromObject(object: { [k: string]: any }): google.type.Expr;
+
+ /**
+ * Creates a plain object from an Expr message. Also converts values to other types if specified.
+ * @param message Expr
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.type.Expr, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Expr to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Expr
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace longrunning. */
+ namespace longrunning {
+
+ /** Represents an Operations */
+ class Operations extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new Operations service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new Operations service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;
+
+ /**
+ * Calls ListOperations.
+ * @param request ListOperationsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListOperationsResponse
+ */
+ public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;
+
+ /**
+ * Calls ListOperations.
+ * @param request ListOperationsRequest message or plain object
+ * @returns Promise
+ */
+ public listOperations(request: google.longrunning.IListOperationsRequest): Promise;
+
+ /**
+ * Calls GetOperation.
+ * @param request GetOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;
+
+ /**
+ * Calls GetOperation.
+ * @param request GetOperationRequest message or plain object
+ * @returns Promise
+ */
+ public getOperation(request: google.longrunning.IGetOperationRequest): Promise;
+
+ /**
+ * Calls DeleteOperation.
+ * @param request DeleteOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;
+
+ /**
+ * Calls DeleteOperation.
+ * @param request DeleteOperationRequest message or plain object
+ * @returns Promise
+ */
+ public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise;
+
+ /**
+ * Calls CancelOperation.
+ * @param request CancelOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;
+
+ /**
+ * Calls CancelOperation.
+ * @param request CancelOperationRequest message or plain object
+ * @returns Promise
+ */
+ public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise;
+
+ /**
+ * Calls WaitOperation.
+ * @param request WaitOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;
+
+ /**
+ * Calls WaitOperation.
+ * @param request WaitOperationRequest message or plain object
+ * @returns Promise
+ */
+ public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise;
+ }
+
+ namespace Operations {
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|listOperations}.
+ * @param error Error, if any
+ * @param [response] ListOperationsResponse
+ */
+ type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|getOperation}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|deleteOperation}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|cancelOperation}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|waitOperation}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+ }
+
+ /** Properties of an Operation. */
+ interface IOperation {
+
+ /** Operation name */
+ name?: (string|null);
+
+ /** Operation metadata */
+ metadata?: (google.protobuf.IAny|null);
+
+ /** Operation done */
+ done?: (boolean|null);
+
+ /** Operation error */
+ error?: (google.rpc.IStatus|null);
+
+ /** Operation response */
+ response?: (google.protobuf.IAny|null);
+ }
+
+ /** Represents an Operation. */
+ class Operation implements IOperation {
+
+ /**
+ * Constructs a new Operation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IOperation);
+
+ /** Operation name. */
+ public name: string;
+
+ /** Operation metadata. */
+ public metadata?: (google.protobuf.IAny|null);
+
+ /** Operation done. */
+ public done: boolean;
+
+ /** Operation error. */
+ public error?: (google.rpc.IStatus|null);
+
+ /** Operation response. */
+ public response?: (google.protobuf.IAny|null);
+
+ /** Operation result. */
+ public result?: ("error"|"response");
+
+ /**
+ * Creates a new Operation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Operation instance
+ */
+ public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation;
+
+ /**
+ * Encodes the specified Operation message. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
+ * @param message Operation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
+ * @param message Operation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Operation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Operation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation;
+
+ /**
+ * Decodes an Operation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Operation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation;
+
+ /**
+ * Verifies an Operation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Operation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Operation
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.Operation;
+
+ /**
+ * Creates a plain object from an Operation message. Also converts values to other types if specified.
+ * @param message Operation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Operation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Operation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetOperationRequest. */
+ interface IGetOperationRequest {
+
+ /** GetOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetOperationRequest. */
+ class GetOperationRequest implements IGetOperationRequest {
+
+ /**
+ * Constructs a new GetOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IGetOperationRequest);
+
+ /** GetOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest;
+
+ /**
+ * Encodes the specified GetOperationRequest message. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
+ * @param message GetOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
+ * @param message GetOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest;
+
+ /**
+ * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest;
+
+ /**
+ * Verifies a GetOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest;
+
+ /**
+ * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified.
+ * @param message GetOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListOperationsRequest. */
+ interface IListOperationsRequest {
+
+ /** ListOperationsRequest name */
+ name?: (string|null);
+
+ /** ListOperationsRequest filter */
+ filter?: (string|null);
+
+ /** ListOperationsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListOperationsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListOperationsRequest. */
+ class ListOperationsRequest implements IListOperationsRequest {
+
+ /**
+ * Constructs a new ListOperationsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IListOperationsRequest);
+
+ /** ListOperationsRequest name. */
+ public name: string;
+
+ /** ListOperationsRequest filter. */
+ public filter: string;
+
+ /** ListOperationsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListOperationsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListOperationsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListOperationsRequest instance
+ */
+ public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Encodes the specified ListOperationsRequest message. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
+ * @param message ListOperationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
+ * @param message ListOperationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListOperationsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListOperationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListOperationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Verifies a ListOperationsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListOperationsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified.
+ * @param message ListOperationsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListOperationsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListOperationsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListOperationsResponse. */
+ interface IListOperationsResponse {
+
+ /** ListOperationsResponse operations */
+ operations?: (google.longrunning.IOperation[]|null);
+
+ /** ListOperationsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListOperationsResponse. */
+ class ListOperationsResponse implements IListOperationsResponse {
+
+ /**
+ * Constructs a new ListOperationsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IListOperationsResponse);
+
+ /** ListOperationsResponse operations. */
+ public operations: google.longrunning.IOperation[];
+
+ /** ListOperationsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListOperationsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListOperationsResponse instance
+ */
+ public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Encodes the specified ListOperationsResponse message. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
+ * @param message ListOperationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
+ * @param message ListOperationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListOperationsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListOperationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListOperationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Verifies a ListOperationsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListOperationsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified.
+ * @param message ListOperationsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListOperationsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListOperationsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CancelOperationRequest. */
+ interface ICancelOperationRequest {
+
+ /** CancelOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a CancelOperationRequest. */
+ class CancelOperationRequest implements ICancelOperationRequest {
+
+ /**
+ * Constructs a new CancelOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.ICancelOperationRequest);
+
+ /** CancelOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new CancelOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CancelOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Encodes the specified CancelOperationRequest message. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
+ * @param message CancelOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
+ * @param message CancelOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CancelOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CancelOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CancelOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Verifies a CancelOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CancelOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified.
+ * @param message CancelOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CancelOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CancelOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteOperationRequest. */
+ interface IDeleteOperationRequest {
+
+ /** DeleteOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteOperationRequest. */
+ class DeleteOperationRequest implements IDeleteOperationRequest {
+
+ /**
+ * Constructs a new DeleteOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IDeleteOperationRequest);
+
+ /** DeleteOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Encodes the specified DeleteOperationRequest message. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
+ * @param message DeleteOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
+ * @param message DeleteOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Verifies a DeleteOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified.
+ * @param message DeleteOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a WaitOperationRequest. */
+ interface IWaitOperationRequest {
+
+ /** WaitOperationRequest name */
+ name?: (string|null);
+
+ /** WaitOperationRequest timeout */
+ timeout?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a WaitOperationRequest. */
+ class WaitOperationRequest implements IWaitOperationRequest {
+
+ /**
+ * Constructs a new WaitOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IWaitOperationRequest);
+
+ /** WaitOperationRequest name. */
+ public name: string;
+
+ /** WaitOperationRequest timeout. */
+ public timeout?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new WaitOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns WaitOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Encodes the specified WaitOperationRequest message. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
+ * @param message WaitOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
+ * @param message WaitOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a WaitOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns WaitOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns WaitOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Verifies a WaitOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns WaitOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified.
+ * @param message WaitOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this WaitOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for WaitOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OperationInfo. */
+ interface IOperationInfo {
+
+ /** OperationInfo responseType */
+ responseType?: (string|null);
+
+ /** OperationInfo metadataType */
+ metadataType?: (string|null);
+ }
+
+ /** Represents an OperationInfo. */
+ class OperationInfo implements IOperationInfo {
+
+ /**
+ * Constructs a new OperationInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IOperationInfo);
+
+ /** OperationInfo responseType. */
+ public responseType: string;
+
+ /** OperationInfo metadataType. */
+ public metadataType: string;
+
+ /**
+ * Creates a new OperationInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationInfo instance
+ */
+ public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo;
+
+ /**
+ * Encodes the specified OperationInfo message. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
+ * @param message OperationInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
+ * @param message OperationInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo;
+
+ /**
+ * Decodes an OperationInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo;
+
+ /**
+ * Verifies an OperationInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo;
+
+ /**
+ * Creates a plain object from an OperationInfo message. Also converts values to other types if specified.
+ * @param message OperationInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace rpc. */
+ namespace rpc {
+
+ /** Properties of a Status. */
+ interface IStatus {
+
+ /** Status code */
+ code?: (number|null);
+
+ /** Status message */
+ message?: (string|null);
+
+ /** Status details */
+ details?: (google.protobuf.IAny[]|null);
+ }
+
+ /** Represents a Status. */
+ class Status implements IStatus {
+
+ /**
+ * Constructs a new Status.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.rpc.IStatus);
+
+ /** Status code. */
+ public code: number;
+
+ /** Status message. */
+ public message: string;
+
+ /** Status details. */
+ public details: google.protobuf.IAny[];
+
+ /**
+ * Creates a new Status instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Status instance
+ */
+ public static create(properties?: google.rpc.IStatus): google.rpc.Status;
+
+ /**
+ * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
+
+ /**
+ * Verifies a Status message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Status message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Status
+ */
+ public static fromObject(object: { [k: string]: any }): google.rpc.Status;
+
+ /**
+ * Creates a plain object from a Status message. Also converts values to other types if specified.
+ * @param message Status
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Status to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Status
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+}
diff --git a/packages/google-cloud-geminidataanalytics/protos/protos.js b/packages/google-cloud-geminidataanalytics/protos/protos.js
new file mode 100644
index 000000000000..ec207126cbba
--- /dev/null
+++ b/packages/google-cloud-geminidataanalytics/protos/protos.js
@@ -0,0 +1,66453 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+/*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_geminidataanalytics_protos || ($protobuf.roots._google_cloud_geminidataanalytics_protos = {});
+
+ $root.google = (function() {
+
+ /**
+ * Namespace google.
+ * @exports google
+ * @namespace
+ */
+ var google = {};
+
+ google.cloud = (function() {
+
+ /**
+ * Namespace cloud.
+ * @memberof google
+ * @namespace
+ */
+ var cloud = {};
+
+ cloud.geminidataanalytics = (function() {
+
+ /**
+ * Namespace geminidataanalytics.
+ * @memberof google.cloud
+ * @namespace
+ */
+ var geminidataanalytics = {};
+
+ geminidataanalytics.v1alpha = (function() {
+
+ /**
+ * Namespace v1alpha.
+ * @memberof google.cloud.geminidataanalytics
+ * @namespace
+ */
+ var v1alpha = {};
+
+ v1alpha.Context = (function() {
+
+ /**
+ * Properties of a Context.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IContext
+ * @property {string|null} [systemInstruction] Context systemInstruction
+ * @property {google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences|null} [datasourceReferences] Context datasourceReferences
+ * @property {google.cloud.geminidataanalytics.v1alpha.IConversationOptions|null} [options] Context options
+ * @property {Array.|null} [exampleQueries] Context exampleQueries
+ * @property {Array.|null} [glossaryTerms] Context glossaryTerms
+ * @property {Array.|null} [schemaRelationships] Context schemaRelationships
+ */
+
+ /**
+ * Constructs a new Context.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a Context.
+ * @implements IContext
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IContext=} [properties] Properties to set
+ */
+ function Context(properties) {
+ this.exampleQueries = [];
+ this.glossaryTerms = [];
+ this.schemaRelationships = [];
+ 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]];
+ }
+
+ /**
+ * Context systemInstruction.
+ * @member {string} systemInstruction
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @instance
+ */
+ Context.prototype.systemInstruction = "";
+
+ /**
+ * Context datasourceReferences.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences|null|undefined} datasourceReferences
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @instance
+ */
+ Context.prototype.datasourceReferences = null;
+
+ /**
+ * Context options.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IConversationOptions|null|undefined} options
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @instance
+ */
+ Context.prototype.options = null;
+
+ /**
+ * Context exampleQueries.
+ * @member {Array.} exampleQueries
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @instance
+ */
+ Context.prototype.exampleQueries = $util.emptyArray;
+
+ /**
+ * Context glossaryTerms.
+ * @member {Array.} glossaryTerms
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @instance
+ */
+ Context.prototype.glossaryTerms = $util.emptyArray;
+
+ /**
+ * Context schemaRelationships.
+ * @member {Array.} schemaRelationships
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @instance
+ */
+ Context.prototype.schemaRelationships = $util.emptyArray;
+
+ /**
+ * Creates a new Context instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IContext=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context} Context instance
+ */
+ Context.create = function create(properties) {
+ return new Context(properties);
+ };
+
+ /**
+ * Encodes the specified Context message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IContext} message Context message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Context.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.systemInstruction != null && Object.hasOwnProperty.call(message, "systemInstruction"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.systemInstruction);
+ if (message.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.cloud.geminidataanalytics.v1alpha.ConversationOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.exampleQueries != null && message.exampleQueries.length)
+ for (var i = 0; i < message.exampleQueries.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.ExampleQuery.encode(message.exampleQueries[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.datasourceReferences != null && Object.hasOwnProperty.call(message, "datasourceReferences"))
+ $root.google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.encode(message.datasourceReferences, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.glossaryTerms != null && message.glossaryTerms.length)
+ for (var i = 0; i < message.glossaryTerms.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.encode(message.glossaryTerms[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.schemaRelationships != null && message.schemaRelationships.length)
+ for (var i = 0; i < message.schemaRelationships.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.encode(message.schemaRelationships[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Context message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IContext} message Context message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Context.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Context message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context} Context
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Context.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.Context();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.systemInstruction = reader.string();
+ break;
+ }
+ case 7: {
+ message.datasourceReferences = $root.google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.options = $root.google.cloud.geminidataanalytics.v1alpha.ConversationOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ if (!(message.exampleQueries && message.exampleQueries.length))
+ message.exampleQueries = [];
+ message.exampleQueries.push($root.google.cloud.geminidataanalytics.v1alpha.ExampleQuery.decode(reader, reader.uint32()));
+ break;
+ }
+ case 8: {
+ if (!(message.glossaryTerms && message.glossaryTerms.length))
+ message.glossaryTerms = [];
+ message.glossaryTerms.push($root.google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.decode(reader, reader.uint32()));
+ break;
+ }
+ case 9: {
+ if (!(message.schemaRelationships && message.schemaRelationships.length))
+ message.schemaRelationships = [];
+ message.schemaRelationships.push($root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Context message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context} Context
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Context.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Context message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Context.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.systemInstruction != null && message.hasOwnProperty("systemInstruction"))
+ if (!$util.isString(message.systemInstruction))
+ return "systemInstruction: string expected";
+ if (message.datasourceReferences != null && message.hasOwnProperty("datasourceReferences")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.verify(message.datasourceReferences);
+ if (error)
+ return "datasourceReferences." + error;
+ }
+ if (message.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.ConversationOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ if (message.exampleQueries != null && message.hasOwnProperty("exampleQueries")) {
+ if (!Array.isArray(message.exampleQueries))
+ return "exampleQueries: array expected";
+ for (var i = 0; i < message.exampleQueries.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.ExampleQuery.verify(message.exampleQueries[i]);
+ if (error)
+ return "exampleQueries." + error;
+ }
+ }
+ if (message.glossaryTerms != null && message.hasOwnProperty("glossaryTerms")) {
+ if (!Array.isArray(message.glossaryTerms))
+ return "glossaryTerms: array expected";
+ for (var i = 0; i < message.glossaryTerms.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.verify(message.glossaryTerms[i]);
+ if (error)
+ return "glossaryTerms." + error;
+ }
+ }
+ if (message.schemaRelationships != null && message.hasOwnProperty("schemaRelationships")) {
+ if (!Array.isArray(message.schemaRelationships))
+ return "schemaRelationships: array expected";
+ for (var i = 0; i < message.schemaRelationships.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.verify(message.schemaRelationships[i]);
+ if (error)
+ return "schemaRelationships." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Context message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context} Context
+ */
+ Context.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.Context)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.Context();
+ if (object.systemInstruction != null)
+ message.systemInstruction = String(object.systemInstruction);
+ if (object.datasourceReferences != null) {
+ if (typeof object.datasourceReferences !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.datasourceReferences: object expected");
+ message.datasourceReferences = $root.google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.fromObject(object.datasourceReferences);
+ }
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.options: object expected");
+ message.options = $root.google.cloud.geminidataanalytics.v1alpha.ConversationOptions.fromObject(object.options);
+ }
+ if (object.exampleQueries) {
+ if (!Array.isArray(object.exampleQueries))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.exampleQueries: array expected");
+ message.exampleQueries = [];
+ for (var i = 0; i < object.exampleQueries.length; ++i) {
+ if (typeof object.exampleQueries[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.exampleQueries: object expected");
+ message.exampleQueries[i] = $root.google.cloud.geminidataanalytics.v1alpha.ExampleQuery.fromObject(object.exampleQueries[i]);
+ }
+ }
+ if (object.glossaryTerms) {
+ if (!Array.isArray(object.glossaryTerms))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.glossaryTerms: array expected");
+ message.glossaryTerms = [];
+ for (var i = 0; i < object.glossaryTerms.length; ++i) {
+ if (typeof object.glossaryTerms[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.glossaryTerms: object expected");
+ message.glossaryTerms[i] = $root.google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.fromObject(object.glossaryTerms[i]);
+ }
+ }
+ if (object.schemaRelationships) {
+ if (!Array.isArray(object.schemaRelationships))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.schemaRelationships: array expected");
+ message.schemaRelationships = [];
+ for (var i = 0; i < object.schemaRelationships.length; ++i) {
+ if (typeof object.schemaRelationships[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.schemaRelationships: object expected");
+ message.schemaRelationships[i] = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.fromObject(object.schemaRelationships[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Context message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context} message Context
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Context.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.exampleQueries = [];
+ object.glossaryTerms = [];
+ object.schemaRelationships = [];
+ }
+ if (options.defaults) {
+ object.systemInstruction = "";
+ object.options = null;
+ object.datasourceReferences = null;
+ }
+ if (message.systemInstruction != null && message.hasOwnProperty("systemInstruction"))
+ object.systemInstruction = message.systemInstruction;
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.cloud.geminidataanalytics.v1alpha.ConversationOptions.toObject(message.options, options);
+ if (message.exampleQueries && message.exampleQueries.length) {
+ object.exampleQueries = [];
+ for (var j = 0; j < message.exampleQueries.length; ++j)
+ object.exampleQueries[j] = $root.google.cloud.geminidataanalytics.v1alpha.ExampleQuery.toObject(message.exampleQueries[j], options);
+ }
+ if (message.datasourceReferences != null && message.hasOwnProperty("datasourceReferences"))
+ object.datasourceReferences = $root.google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.toObject(message.datasourceReferences, options);
+ if (message.glossaryTerms && message.glossaryTerms.length) {
+ object.glossaryTerms = [];
+ for (var j = 0; j < message.glossaryTerms.length; ++j)
+ object.glossaryTerms[j] = $root.google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.toObject(message.glossaryTerms[j], options);
+ }
+ if (message.schemaRelationships && message.schemaRelationships.length) {
+ object.schemaRelationships = [];
+ for (var j = 0; j < message.schemaRelationships.length; ++j)
+ object.schemaRelationships[j] = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.toObject(message.schemaRelationships[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Context to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Context.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Context
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Context.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.Context";
+ };
+
+ Context.SchemaRelationship = (function() {
+
+ /**
+ * Properties of a SchemaRelationship.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @interface ISchemaRelationship
+ * @property {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths|null} [leftSchemaPaths] SchemaRelationship leftSchemaPaths
+ * @property {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths|null} [rightSchemaPaths] SchemaRelationship rightSchemaPaths
+ * @property {Array.|null} [sources] SchemaRelationship sources
+ * @property {number|null} [confidenceScore] SchemaRelationship confidenceScore
+ */
+
+ /**
+ * Constructs a new SchemaRelationship.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context
+ * @classdesc Represents a SchemaRelationship.
+ * @implements ISchemaRelationship
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship=} [properties] Properties to set
+ */
+ function SchemaRelationship(properties) {
+ this.sources = [];
+ 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]];
+ }
+
+ /**
+ * SchemaRelationship leftSchemaPaths.
+ * @member {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths|null|undefined} leftSchemaPaths
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @instance
+ */
+ SchemaRelationship.prototype.leftSchemaPaths = null;
+
+ /**
+ * SchemaRelationship rightSchemaPaths.
+ * @member {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths|null|undefined} rightSchemaPaths
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @instance
+ */
+ SchemaRelationship.prototype.rightSchemaPaths = null;
+
+ /**
+ * SchemaRelationship sources.
+ * @member {Array.} sources
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @instance
+ */
+ SchemaRelationship.prototype.sources = $util.emptyArray;
+
+ /**
+ * SchemaRelationship confidenceScore.
+ * @member {number} confidenceScore
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @instance
+ */
+ SchemaRelationship.prototype.confidenceScore = 0;
+
+ /**
+ * Creates a new SchemaRelationship instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship} SchemaRelationship instance
+ */
+ SchemaRelationship.create = function create(properties) {
+ return new SchemaRelationship(properties);
+ };
+
+ /**
+ * Encodes the specified SchemaRelationship message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship} message SchemaRelationship message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SchemaRelationship.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.leftSchemaPaths != null && Object.hasOwnProperty.call(message, "leftSchemaPaths"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.encode(message.leftSchemaPaths, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.rightSchemaPaths != null && Object.hasOwnProperty.call(message, "rightSchemaPaths"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.encode(message.rightSchemaPaths, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.sources != null && message.sources.length) {
+ writer.uint32(/* id 3, wireType 2 =*/26).fork();
+ for (var i = 0; i < message.sources.length; ++i)
+ writer.int32(message.sources[i]);
+ writer.ldelim();
+ }
+ if (message.confidenceScore != null && Object.hasOwnProperty.call(message, "confidenceScore"))
+ writer.uint32(/* id 4, wireType 5 =*/37).float(message.confidenceScore);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SchemaRelationship message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.ISchemaRelationship} message SchemaRelationship message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SchemaRelationship.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SchemaRelationship message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship} SchemaRelationship
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SchemaRelationship.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.leftSchemaPaths = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.rightSchemaPaths = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ if (!(message.sources && message.sources.length))
+ message.sources = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message.sources.push(reader.int32());
+ } else
+ message.sources.push(reader.int32());
+ break;
+ }
+ case 4: {
+ message.confidenceScore = reader.float();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SchemaRelationship message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship} SchemaRelationship
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SchemaRelationship.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SchemaRelationship message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SchemaRelationship.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.leftSchemaPaths != null && message.hasOwnProperty("leftSchemaPaths")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.verify(message.leftSchemaPaths);
+ if (error)
+ return "leftSchemaPaths." + error;
+ }
+ if (message.rightSchemaPaths != null && message.hasOwnProperty("rightSchemaPaths")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.verify(message.rightSchemaPaths);
+ if (error)
+ return "rightSchemaPaths." + error;
+ }
+ if (message.sources != null && message.hasOwnProperty("sources")) {
+ if (!Array.isArray(message.sources))
+ return "sources: array expected";
+ for (var i = 0; i < message.sources.length; ++i)
+ switch (message.sources[i]) {
+ default:
+ return "sources: enum value[] expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ }
+ if (message.confidenceScore != null && message.hasOwnProperty("confidenceScore"))
+ if (typeof message.confidenceScore !== "number")
+ return "confidenceScore: number expected";
+ return null;
+ };
+
+ /**
+ * Creates a SchemaRelationship message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship} SchemaRelationship
+ */
+ SchemaRelationship.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship();
+ if (object.leftSchemaPaths != null) {
+ if (typeof object.leftSchemaPaths !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.leftSchemaPaths: object expected");
+ message.leftSchemaPaths = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.fromObject(object.leftSchemaPaths);
+ }
+ if (object.rightSchemaPaths != null) {
+ if (typeof object.rightSchemaPaths !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.rightSchemaPaths: object expected");
+ message.rightSchemaPaths = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.fromObject(object.rightSchemaPaths);
+ }
+ if (object.sources) {
+ if (!Array.isArray(object.sources))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.sources: array expected");
+ message.sources = [];
+ for (var i = 0; i < object.sources.length; ++i)
+ switch (object.sources[i]) {
+ default:
+ if (typeof object.sources[i] === "number") {
+ message.sources[i] = object.sources[i];
+ break;
+ }
+ case "SOURCE_UNSPECIFIED":
+ case 0:
+ message.sources[i] = 0;
+ break;
+ case "BIGQUERY_JOB_HISTORY":
+ case 1:
+ message.sources[i] = 1;
+ break;
+ case "LLM_SUGGESTED":
+ case 2:
+ message.sources[i] = 2;
+ break;
+ case "BIGQUERY_TABLE_CONSTRAINTS":
+ case 3:
+ message.sources[i] = 3;
+ break;
+ }
+ }
+ if (object.confidenceScore != null)
+ message.confidenceScore = Number(object.confidenceScore);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SchemaRelationship message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship} message SchemaRelationship
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SchemaRelationship.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.sources = [];
+ if (options.defaults) {
+ object.leftSchemaPaths = null;
+ object.rightSchemaPaths = null;
+ object.confidenceScore = 0;
+ }
+ if (message.leftSchemaPaths != null && message.hasOwnProperty("leftSchemaPaths"))
+ object.leftSchemaPaths = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.toObject(message.leftSchemaPaths, options);
+ if (message.rightSchemaPaths != null && message.hasOwnProperty("rightSchemaPaths"))
+ object.rightSchemaPaths = $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.toObject(message.rightSchemaPaths, options);
+ if (message.sources && message.sources.length) {
+ object.sources = [];
+ for (var j = 0; j < message.sources.length; ++j)
+ object.sources[j] = options.enums === String ? $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.Source[message.sources[j]] === undefined ? message.sources[j] : $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.Source[message.sources[j]] : message.sources[j];
+ }
+ if (message.confidenceScore != null && message.hasOwnProperty("confidenceScore"))
+ object.confidenceScore = options.json && !isFinite(message.confidenceScore) ? String(message.confidenceScore) : message.confidenceScore;
+ return object;
+ };
+
+ /**
+ * Converts this SchemaRelationship to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SchemaRelationship.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SchemaRelationship
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SchemaRelationship.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship";
+ };
+
+ SchemaRelationship.SchemaPaths = (function() {
+
+ /**
+ * Properties of a SchemaPaths.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @interface ISchemaPaths
+ * @property {string|null} [tableFqn] SchemaPaths tableFqn
+ * @property {Array.|null} [paths] SchemaPaths paths
+ */
+
+ /**
+ * Constructs a new SchemaPaths.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship
+ * @classdesc Represents a SchemaPaths.
+ * @implements ISchemaPaths
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths=} [properties] Properties to set
+ */
+ function SchemaPaths(properties) {
+ this.paths = [];
+ 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]];
+ }
+
+ /**
+ * SchemaPaths tableFqn.
+ * @member {string} tableFqn
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @instance
+ */
+ SchemaPaths.prototype.tableFqn = "";
+
+ /**
+ * SchemaPaths paths.
+ * @member {Array.} paths
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @instance
+ */
+ SchemaPaths.prototype.paths = $util.emptyArray;
+
+ /**
+ * Creates a new SchemaPaths instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths} SchemaPaths instance
+ */
+ SchemaPaths.create = function create(properties) {
+ return new SchemaPaths(properties);
+ };
+
+ /**
+ * Encodes the specified SchemaPaths message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths} message SchemaPaths message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SchemaPaths.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.tableFqn != null && Object.hasOwnProperty.call(message, "tableFqn"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.tableFqn);
+ if (message.paths != null && message.paths.length)
+ for (var i = 0; i < message.paths.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.paths[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SchemaPaths message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.ISchemaPaths} message SchemaPaths message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SchemaPaths.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SchemaPaths message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths} SchemaPaths
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SchemaPaths.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.tableFqn = reader.string();
+ break;
+ }
+ case 2: {
+ if (!(message.paths && message.paths.length))
+ message.paths = [];
+ message.paths.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SchemaPaths message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths} SchemaPaths
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SchemaPaths.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SchemaPaths message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SchemaPaths.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.tableFqn != null && message.hasOwnProperty("tableFqn"))
+ if (!$util.isString(message.tableFqn))
+ return "tableFqn: string expected";
+ if (message.paths != null && message.hasOwnProperty("paths")) {
+ if (!Array.isArray(message.paths))
+ return "paths: array expected";
+ for (var i = 0; i < message.paths.length; ++i)
+ if (!$util.isString(message.paths[i]))
+ return "paths: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a SchemaPaths message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths} SchemaPaths
+ */
+ SchemaPaths.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths();
+ if (object.tableFqn != null)
+ message.tableFqn = String(object.tableFqn);
+ if (object.paths) {
+ if (!Array.isArray(object.paths))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths.paths: array expected");
+ message.paths = [];
+ for (var i = 0; i < object.paths.length; ++i)
+ message.paths[i] = String(object.paths[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SchemaPaths message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths} message SchemaPaths
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SchemaPaths.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.paths = [];
+ if (options.defaults)
+ object.tableFqn = "";
+ if (message.tableFqn != null && message.hasOwnProperty("tableFqn"))
+ object.tableFqn = message.tableFqn;
+ if (message.paths && message.paths.length) {
+ object.paths = [];
+ for (var j = 0; j < message.paths.length; ++j)
+ object.paths[j] = message.paths[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this SchemaPaths to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SchemaPaths.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SchemaPaths
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SchemaPaths.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.SchemaPaths";
+ };
+
+ return SchemaPaths;
+ })();
+
+ /**
+ * Source enum.
+ * @name google.cloud.geminidataanalytics.v1alpha.Context.SchemaRelationship.Source
+ * @enum {number}
+ * @property {number} SOURCE_UNSPECIFIED=0 SOURCE_UNSPECIFIED value
+ * @property {number} BIGQUERY_JOB_HISTORY=1 BIGQUERY_JOB_HISTORY value
+ * @property {number} LLM_SUGGESTED=2 LLM_SUGGESTED value
+ * @property {number} BIGQUERY_TABLE_CONSTRAINTS=3 BIGQUERY_TABLE_CONSTRAINTS value
+ */
+ SchemaRelationship.Source = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "SOURCE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "BIGQUERY_JOB_HISTORY"] = 1;
+ values[valuesById[2] = "LLM_SUGGESTED"] = 2;
+ values[valuesById[3] = "BIGQUERY_TABLE_CONSTRAINTS"] = 3;
+ return values;
+ })();
+
+ return SchemaRelationship;
+ })();
+
+ return Context;
+ })();
+
+ v1alpha.ExampleQuery = (function() {
+
+ /**
+ * Properties of an ExampleQuery.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IExampleQuery
+ * @property {string|null} [sqlQuery] ExampleQuery sqlQuery
+ * @property {string|null} [naturalLanguageQuestion] ExampleQuery naturalLanguageQuestion
+ */
+
+ /**
+ * Constructs a new ExampleQuery.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents an ExampleQuery.
+ * @implements IExampleQuery
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IExampleQuery=} [properties] Properties to set
+ */
+ function ExampleQuery(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]];
+ }
+
+ /**
+ * ExampleQuery sqlQuery.
+ * @member {string|null|undefined} sqlQuery
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @instance
+ */
+ ExampleQuery.prototype.sqlQuery = null;
+
+ /**
+ * ExampleQuery naturalLanguageQuestion.
+ * @member {string} naturalLanguageQuestion
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @instance
+ */
+ ExampleQuery.prototype.naturalLanguageQuestion = "";
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * ExampleQuery query.
+ * @member {"sqlQuery"|undefined} query
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @instance
+ */
+ Object.defineProperty(ExampleQuery.prototype, "query", {
+ get: $util.oneOfGetter($oneOfFields = ["sqlQuery"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new ExampleQuery instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IExampleQuery=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ExampleQuery} ExampleQuery instance
+ */
+ ExampleQuery.create = function create(properties) {
+ return new ExampleQuery(properties);
+ };
+
+ /**
+ * Encodes the specified ExampleQuery message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ExampleQuery.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IExampleQuery} message ExampleQuery message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExampleQuery.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.naturalLanguageQuestion != null && Object.hasOwnProperty.call(message, "naturalLanguageQuestion"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.naturalLanguageQuestion);
+ if (message.sqlQuery != null && Object.hasOwnProperty.call(message, "sqlQuery"))
+ writer.uint32(/* id 101, wireType 2 =*/810).string(message.sqlQuery);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExampleQuery message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ExampleQuery.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IExampleQuery} message ExampleQuery message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExampleQuery.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExampleQuery message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ExampleQuery} ExampleQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExampleQuery.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ExampleQuery();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 101: {
+ message.sqlQuery = reader.string();
+ break;
+ }
+ case 1: {
+ message.naturalLanguageQuestion = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExampleQuery message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ExampleQuery} ExampleQuery
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExampleQuery.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExampleQuery message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExampleQuery.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.sqlQuery != null && message.hasOwnProperty("sqlQuery")) {
+ properties.query = 1;
+ if (!$util.isString(message.sqlQuery))
+ return "sqlQuery: string expected";
+ }
+ if (message.naturalLanguageQuestion != null && message.hasOwnProperty("naturalLanguageQuestion"))
+ if (!$util.isString(message.naturalLanguageQuestion))
+ return "naturalLanguageQuestion: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an ExampleQuery message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ExampleQuery} ExampleQuery
+ */
+ ExampleQuery.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ExampleQuery)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.ExampleQuery();
+ if (object.sqlQuery != null)
+ message.sqlQuery = String(object.sqlQuery);
+ if (object.naturalLanguageQuestion != null)
+ message.naturalLanguageQuestion = String(object.naturalLanguageQuestion);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ExampleQuery message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ExampleQuery} message ExampleQuery
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExampleQuery.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.naturalLanguageQuestion = "";
+ if (message.naturalLanguageQuestion != null && message.hasOwnProperty("naturalLanguageQuestion"))
+ object.naturalLanguageQuestion = message.naturalLanguageQuestion;
+ if (message.sqlQuery != null && message.hasOwnProperty("sqlQuery")) {
+ object.sqlQuery = message.sqlQuery;
+ if (options.oneofs)
+ object.query = "sqlQuery";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ExampleQuery to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExampleQuery.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExampleQuery
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ExampleQuery
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExampleQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.ExampleQuery";
+ };
+
+ return ExampleQuery;
+ })();
+
+ v1alpha.GlossaryTerm = (function() {
+
+ /**
+ * Properties of a GlossaryTerm.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IGlossaryTerm
+ * @property {string|null} [displayName] GlossaryTerm displayName
+ * @property {string|null} [description] GlossaryTerm description
+ * @property {Array.|null} [labels] GlossaryTerm labels
+ */
+
+ /**
+ * Constructs a new GlossaryTerm.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a GlossaryTerm.
+ * @implements IGlossaryTerm
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm=} [properties] Properties to set
+ */
+ function GlossaryTerm(properties) {
+ this.labels = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * GlossaryTerm displayName.
+ * @member {string} displayName
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @instance
+ */
+ GlossaryTerm.prototype.displayName = "";
+
+ /**
+ * GlossaryTerm description.
+ * @member {string} description
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @instance
+ */
+ GlossaryTerm.prototype.description = "";
+
+ /**
+ * GlossaryTerm labels.
+ * @member {Array.} labels
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @instance
+ */
+ GlossaryTerm.prototype.labels = $util.emptyArray;
+
+ /**
+ * Creates a new GlossaryTerm instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.GlossaryTerm} GlossaryTerm instance
+ */
+ GlossaryTerm.create = function create(properties) {
+ return new GlossaryTerm(properties);
+ };
+
+ /**
+ * Encodes the specified GlossaryTerm message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm} message GlossaryTerm message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GlossaryTerm.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.displayName);
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
+ if (message.labels != null && message.labels.length)
+ for (var i = 0; i < message.labels.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.labels[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GlossaryTerm message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IGlossaryTerm} message GlossaryTerm message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GlossaryTerm.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GlossaryTerm message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.GlossaryTerm} GlossaryTerm
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GlossaryTerm.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.GlossaryTerm();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.displayName = reader.string();
+ break;
+ }
+ case 2: {
+ message.description = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.labels && message.labels.length))
+ message.labels = [];
+ message.labels.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GlossaryTerm message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.GlossaryTerm} GlossaryTerm
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GlossaryTerm.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GlossaryTerm message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GlossaryTerm.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!Array.isArray(message.labels))
+ return "labels: array expected";
+ for (var i = 0; i < message.labels.length; ++i)
+ if (!$util.isString(message.labels[i]))
+ return "labels: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GlossaryTerm message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.GlossaryTerm} GlossaryTerm
+ */
+ GlossaryTerm.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.GlossaryTerm)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.GlossaryTerm();
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.labels) {
+ if (!Array.isArray(object.labels))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.GlossaryTerm.labels: array expected");
+ message.labels = [];
+ for (var i = 0; i < object.labels.length; ++i)
+ message.labels[i] = String(object.labels[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GlossaryTerm message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.GlossaryTerm} message GlossaryTerm
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GlossaryTerm.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.labels = [];
+ if (options.defaults) {
+ object.displayName = "";
+ object.description = "";
+ }
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ object.displayName = message.displayName;
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.labels && message.labels.length) {
+ object.labels = [];
+ for (var j = 0; j < message.labels.length; ++j)
+ object.labels[j] = message.labels[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this GlossaryTerm to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GlossaryTerm.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GlossaryTerm
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GlossaryTerm
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GlossaryTerm.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.GlossaryTerm";
+ };
+
+ return GlossaryTerm;
+ })();
+
+ v1alpha.ConversationOptions = (function() {
+
+ /**
+ * Properties of a ConversationOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IConversationOptions
+ * @property {google.cloud.geminidataanalytics.v1alpha.IChartOptions|null} [chart] ConversationOptions chart
+ * @property {google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions|null} [analysis] ConversationOptions analysis
+ */
+
+ /**
+ * Constructs a new ConversationOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a ConversationOptions.
+ * @implements IConversationOptions
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IConversationOptions=} [properties] Properties to set
+ */
+ function ConversationOptions(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]];
+ }
+
+ /**
+ * ConversationOptions chart.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IChartOptions|null|undefined} chart
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @instance
+ */
+ ConversationOptions.prototype.chart = null;
+
+ /**
+ * ConversationOptions analysis.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions|null|undefined} analysis
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @instance
+ */
+ ConversationOptions.prototype.analysis = null;
+
+ /**
+ * Creates a new ConversationOptions instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IConversationOptions=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ConversationOptions} ConversationOptions instance
+ */
+ ConversationOptions.create = function create(properties) {
+ return new ConversationOptions(properties);
+ };
+
+ /**
+ * Encodes the specified ConversationOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ConversationOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IConversationOptions} message ConversationOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ConversationOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.chart != null && Object.hasOwnProperty.call(message, "chart"))
+ $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.encode(message.chart, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.analysis != null && Object.hasOwnProperty.call(message, "analysis"))
+ $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.encode(message.analysis, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ConversationOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ConversationOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IConversationOptions} message ConversationOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ConversationOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ConversationOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ConversationOptions} ConversationOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ConversationOptions.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ConversationOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.chart = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.analysis = $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ConversationOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ConversationOptions} ConversationOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ConversationOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ConversationOptions message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ConversationOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.chart != null && message.hasOwnProperty("chart")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.verify(message.chart);
+ if (error)
+ return "chart." + error;
+ }
+ if (message.analysis != null && message.hasOwnProperty("analysis")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.verify(message.analysis);
+ if (error)
+ return "analysis." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ConversationOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ConversationOptions} ConversationOptions
+ */
+ ConversationOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ConversationOptions)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.ConversationOptions();
+ if (object.chart != null) {
+ if (typeof object.chart !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ConversationOptions.chart: object expected");
+ message.chart = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.fromObject(object.chart);
+ }
+ if (object.analysis != null) {
+ if (typeof object.analysis !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ConversationOptions.analysis: object expected");
+ message.analysis = $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.fromObject(object.analysis);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ConversationOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ConversationOptions} message ConversationOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ConversationOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.chart = null;
+ object.analysis = null;
+ }
+ if (message.chart != null && message.hasOwnProperty("chart"))
+ object.chart = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.toObject(message.chart, options);
+ if (message.analysis != null && message.hasOwnProperty("analysis"))
+ object.analysis = $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.toObject(message.analysis, options);
+ return object;
+ };
+
+ /**
+ * Converts this ConversationOptions to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ConversationOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ConversationOptions
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ConversationOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ConversationOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.ConversationOptions";
+ };
+
+ return ConversationOptions;
+ })();
+
+ v1alpha.ChartOptions = (function() {
+
+ /**
+ * Properties of a ChartOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IChartOptions
+ * @property {google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions|null} [image] ChartOptions image
+ */
+
+ /**
+ * Constructs a new ChartOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a ChartOptions.
+ * @implements IChartOptions
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IChartOptions=} [properties] Properties to set
+ */
+ function ChartOptions(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]];
+ }
+
+ /**
+ * ChartOptions image.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions|null|undefined} image
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @instance
+ */
+ ChartOptions.prototype.image = null;
+
+ /**
+ * Creates a new ChartOptions instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IChartOptions=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions} ChartOptions instance
+ */
+ ChartOptions.create = function create(properties) {
+ return new ChartOptions(properties);
+ };
+
+ /**
+ * Encodes the specified ChartOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IChartOptions} message ChartOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ChartOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.image != null && Object.hasOwnProperty.call(message, "image"))
+ $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.encode(message.image, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ChartOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IChartOptions} message ChartOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ChartOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ChartOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions} ChartOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ChartOptions.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.image = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ChartOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions} ChartOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ChartOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ChartOptions message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ChartOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.image != null && message.hasOwnProperty("image")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.verify(message.image);
+ if (error)
+ return "image." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ChartOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions} ChartOptions
+ */
+ ChartOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions();
+ if (object.image != null) {
+ if (typeof object.image !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ChartOptions.image: object expected");
+ message.image = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.fromObject(object.image);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ChartOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions} message ChartOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ChartOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.image = null;
+ if (message.image != null && message.hasOwnProperty("image"))
+ object.image = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.toObject(message.image, options);
+ return object;
+ };
+
+ /**
+ * Converts this ChartOptions to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ChartOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ChartOptions
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ChartOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.ChartOptions";
+ };
+
+ ChartOptions.ImageOptions = (function() {
+
+ /**
+ * Properties of an ImageOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @interface IImageOptions
+ * @property {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage|null} [noImage] ImageOptions noImage
+ * @property {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions|null} [svg] ImageOptions svg
+ */
+
+ /**
+ * Constructs a new ImageOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions
+ * @classdesc Represents an ImageOptions.
+ * @implements IImageOptions
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions=} [properties] Properties to set
+ */
+ function ImageOptions(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]];
+ }
+
+ /**
+ * ImageOptions noImage.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage|null|undefined} noImage
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @instance
+ */
+ ImageOptions.prototype.noImage = null;
+
+ /**
+ * ImageOptions svg.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions|null|undefined} svg
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @instance
+ */
+ ImageOptions.prototype.svg = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * ImageOptions kind.
+ * @member {"noImage"|"svg"|undefined} kind
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @instance
+ */
+ Object.defineProperty(ImageOptions.prototype, "kind", {
+ get: $util.oneOfGetter($oneOfFields = ["noImage", "svg"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new ImageOptions instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions} ImageOptions instance
+ */
+ ImageOptions.create = function create(properties) {
+ return new ImageOptions(properties);
+ };
+
+ /**
+ * Encodes the specified ImageOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions} message ImageOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ImageOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.noImage != null && Object.hasOwnProperty.call(message, "noImage"))
+ $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage.encode(message.noImage, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.svg != null && Object.hasOwnProperty.call(message, "svg"))
+ $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions.encode(message.svg, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ImageOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.IImageOptions} message ImageOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ImageOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ImageOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions} ImageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ImageOptions.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.noImage = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.svg = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ImageOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions} ImageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ImageOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ImageOptions message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ImageOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.noImage != null && message.hasOwnProperty("noImage")) {
+ properties.kind = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage.verify(message.noImage);
+ if (error)
+ return "noImage." + error;
+ }
+ }
+ if (message.svg != null && message.hasOwnProperty("svg")) {
+ if (properties.kind === 1)
+ return "kind: multiple values";
+ properties.kind = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions.verify(message.svg);
+ if (error)
+ return "svg." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an ImageOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions} ImageOptions
+ */
+ ImageOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions();
+ if (object.noImage != null) {
+ if (typeof object.noImage !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.noImage: object expected");
+ message.noImage = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage.fromObject(object.noImage);
+ }
+ if (object.svg != null) {
+ if (typeof object.svg !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.svg: object expected");
+ message.svg = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions.fromObject(object.svg);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ImageOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions} message ImageOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ImageOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.noImage != null && message.hasOwnProperty("noImage")) {
+ object.noImage = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage.toObject(message.noImage, options);
+ if (options.oneofs)
+ object.kind = "noImage";
+ }
+ if (message.svg != null && message.hasOwnProperty("svg")) {
+ object.svg = $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions.toObject(message.svg, options);
+ if (options.oneofs)
+ object.kind = "svg";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ImageOptions to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ImageOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ImageOptions
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ImageOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions";
+ };
+
+ ImageOptions.NoImage = (function() {
+
+ /**
+ * Properties of a NoImage.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @interface INoImage
+ */
+
+ /**
+ * Constructs a new NoImage.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @classdesc Represents a NoImage.
+ * @implements INoImage
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage=} [properties] Properties to set
+ */
+ function NoImage(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 NoImage instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage} NoImage instance
+ */
+ NoImage.create = function create(properties) {
+ return new NoImage(properties);
+ };
+
+ /**
+ * Encodes the specified NoImage message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage} message NoImage message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ NoImage.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified NoImage message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.INoImage} message NoImage message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ NoImage.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a NoImage message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage} NoImage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ NoImage.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a NoImage message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage} NoImage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ NoImage.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a NoImage message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ NoImage.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates a NoImage message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage} NoImage
+ */
+ NoImage.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage)
+ return object;
+ return new $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage();
+ };
+
+ /**
+ * Creates a plain object from a NoImage message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage} message NoImage
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ NoImage.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this NoImage to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ NoImage.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for NoImage
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ NoImage.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.NoImage";
+ };
+
+ return NoImage;
+ })();
+
+ ImageOptions.SvgOptions = (function() {
+
+ /**
+ * Properties of a SvgOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @interface ISvgOptions
+ */
+
+ /**
+ * Constructs a new SvgOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions
+ * @classdesc Represents a SvgOptions.
+ * @implements ISvgOptions
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions=} [properties] Properties to set
+ */
+ function SvgOptions(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 SvgOptions instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions} SvgOptions instance
+ */
+ SvgOptions.create = function create(properties) {
+ return new SvgOptions(properties);
+ };
+
+ /**
+ * Encodes the specified SvgOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions} message SvgOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SvgOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SvgOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.ISvgOptions} message SvgOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SvgOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SvgOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions} SvgOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SvgOptions.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SvgOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions} SvgOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SvgOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SvgOptions message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SvgOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates a SvgOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions} SvgOptions
+ */
+ SvgOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions)
+ return object;
+ return new $root.google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions();
+ };
+
+ /**
+ * Creates a plain object from a SvgOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions} message SvgOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SvgOptions.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this SvgOptions to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SvgOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SvgOptions
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SvgOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.ChartOptions.ImageOptions.SvgOptions";
+ };
+
+ return SvgOptions;
+ })();
+
+ return ImageOptions;
+ })();
+
+ return ChartOptions;
+ })();
+
+ v1alpha.AnalysisOptions = (function() {
+
+ /**
+ * Properties of an AnalysisOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IAnalysisOptions
+ * @property {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython|null} [python] AnalysisOptions python
+ */
+
+ /**
+ * Constructs a new AnalysisOptions.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents an AnalysisOptions.
+ * @implements IAnalysisOptions
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions=} [properties] Properties to set
+ */
+ function AnalysisOptions(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]];
+ }
+
+ /**
+ * AnalysisOptions python.
+ * @member {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython|null|undefined} python
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @instance
+ */
+ AnalysisOptions.prototype.python = null;
+
+ /**
+ * Creates a new AnalysisOptions instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions} AnalysisOptions instance
+ */
+ AnalysisOptions.create = function create(properties) {
+ return new AnalysisOptions(properties);
+ };
+
+ /**
+ * Encodes the specified AnalysisOptions message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions} message AnalysisOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AnalysisOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.python != null && Object.hasOwnProperty.call(message, "python"))
+ $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python.encode(message.python, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified AnalysisOptions message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IAnalysisOptions} message AnalysisOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AnalysisOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an AnalysisOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions} AnalysisOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AnalysisOptions.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.python = $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an AnalysisOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions} AnalysisOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AnalysisOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an AnalysisOptions message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ AnalysisOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.python != null && message.hasOwnProperty("python")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python.verify(message.python);
+ if (error)
+ return "python." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an AnalysisOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions} AnalysisOptions
+ */
+ AnalysisOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions();
+ if (object.python != null) {
+ if (typeof object.python !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.python: object expected");
+ message.python = $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python.fromObject(object.python);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an AnalysisOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions} message AnalysisOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ AnalysisOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.python = null;
+ if (message.python != null && message.hasOwnProperty("python"))
+ object.python = $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python.toObject(message.python, options);
+ return object;
+ };
+
+ /**
+ * Converts this AnalysisOptions to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ AnalysisOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for AnalysisOptions
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ AnalysisOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.AnalysisOptions";
+ };
+
+ AnalysisOptions.Python = (function() {
+
+ /**
+ * Properties of a Python.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @interface IPython
+ * @property {boolean|null} [enabled] Python enabled
+ */
+
+ /**
+ * Constructs a new Python.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions
+ * @classdesc Represents a Python.
+ * @implements IPython
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython=} [properties] Properties to set
+ */
+ function Python(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]];
+ }
+
+ /**
+ * Python enabled.
+ * @member {boolean} enabled
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @instance
+ */
+ Python.prototype.enabled = false;
+
+ /**
+ * Creates a new Python instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python} Python instance
+ */
+ Python.create = function create(properties) {
+ return new Python(properties);
+ };
+
+ /**
+ * Encodes the specified Python message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython} message Python message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Python.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.enabled != null && Object.hasOwnProperty.call(message, "enabled"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.enabled);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Python message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.IPython} message Python message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Python.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Python message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python} Python
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Python.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.enabled = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Python message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python} Python
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Python.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Python message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Python.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.enabled != null && message.hasOwnProperty("enabled"))
+ if (typeof message.enabled !== "boolean")
+ return "enabled: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a Python message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python} Python
+ */
+ Python.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python();
+ if (object.enabled != null)
+ message.enabled = Boolean(object.enabled);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Python message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python} message Python
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Python.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.enabled = false;
+ if (message.enabled != null && message.hasOwnProperty("enabled"))
+ object.enabled = message.enabled;
+ return object;
+ };
+
+ /**
+ * Converts this Python to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Python.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Python
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Python.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.AnalysisOptions.Python";
+ };
+
+ return Python;
+ })();
+
+ return AnalysisOptions;
+ })();
+
+ /**
+ * DataFilterType enum.
+ * @name google.cloud.geminidataanalytics.v1alpha.DataFilterType
+ * @enum {number}
+ * @property {number} DATA_FILTER_TYPE_UNSPECIFIED=0 DATA_FILTER_TYPE_UNSPECIFIED value
+ * @property {number} ALWAYS_FILTER=1 ALWAYS_FILTER value
+ */
+ v1alpha.DataFilterType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "DATA_FILTER_TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "ALWAYS_FILTER"] = 1;
+ return values;
+ })();
+
+ v1alpha.DatasourceReferences = (function() {
+
+ /**
+ * Properties of a DatasourceReferences.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IDatasourceReferences
+ * @property {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences|null} [bq] DatasourceReferences bq
+ * @property {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences|null} [studio] DatasourceReferences studio
+ * @property {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences|null} [looker] DatasourceReferences looker
+ */
+
+ /**
+ * Constructs a new DatasourceReferences.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a DatasourceReferences.
+ * @implements IDatasourceReferences
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences=} [properties] Properties to set
+ */
+ function DatasourceReferences(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]];
+ }
+
+ /**
+ * DatasourceReferences bq.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences|null|undefined} bq
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @instance
+ */
+ DatasourceReferences.prototype.bq = null;
+
+ /**
+ * DatasourceReferences studio.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences|null|undefined} studio
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @instance
+ */
+ DatasourceReferences.prototype.studio = null;
+
+ /**
+ * DatasourceReferences looker.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences|null|undefined} looker
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @instance
+ */
+ DatasourceReferences.prototype.looker = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * DatasourceReferences references.
+ * @member {"bq"|"studio"|"looker"|undefined} references
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @instance
+ */
+ Object.defineProperty(DatasourceReferences.prototype, "references", {
+ get: $util.oneOfGetter($oneOfFields = ["bq", "studio", "looker"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new DatasourceReferences instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DatasourceReferences} DatasourceReferences instance
+ */
+ DatasourceReferences.create = function create(properties) {
+ return new DatasourceReferences(properties);
+ };
+
+ /**
+ * Encodes the specified DatasourceReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences} message DatasourceReferences message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DatasourceReferences.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.bq != null && Object.hasOwnProperty.call(message, "bq"))
+ $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.encode(message.bq, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.studio != null && Object.hasOwnProperty.call(message, "studio"))
+ $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.encode(message.studio, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.looker != null && Object.hasOwnProperty.call(message, "looker"))
+ $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.encode(message.looker, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DatasourceReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDatasourceReferences} message DatasourceReferences message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DatasourceReferences.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DatasourceReferences message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DatasourceReferences} DatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DatasourceReferences.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.DatasourceReferences();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.bq = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.studio = $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.looker = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DatasourceReferences message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DatasourceReferences} DatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DatasourceReferences.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DatasourceReferences message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DatasourceReferences.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.bq != null && message.hasOwnProperty("bq")) {
+ properties.references = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.verify(message.bq);
+ if (error)
+ return "bq." + error;
+ }
+ }
+ if (message.studio != null && message.hasOwnProperty("studio")) {
+ if (properties.references === 1)
+ return "references: multiple values";
+ properties.references = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.verify(message.studio);
+ if (error)
+ return "studio." + error;
+ }
+ }
+ if (message.looker != null && message.hasOwnProperty("looker")) {
+ if (properties.references === 1)
+ return "references: multiple values";
+ properties.references = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.verify(message.looker);
+ if (error)
+ return "looker." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DatasourceReferences message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DatasourceReferences} DatasourceReferences
+ */
+ DatasourceReferences.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.DatasourceReferences)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.DatasourceReferences();
+ if (object.bq != null) {
+ if (typeof object.bq !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.bq: object expected");
+ message.bq = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.fromObject(object.bq);
+ }
+ if (object.studio != null) {
+ if (typeof object.studio !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.studio: object expected");
+ message.studio = $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.fromObject(object.studio);
+ }
+ if (object.looker != null) {
+ if (typeof object.looker !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DatasourceReferences.looker: object expected");
+ message.looker = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.fromObject(object.looker);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DatasourceReferences message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.DatasourceReferences} message DatasourceReferences
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DatasourceReferences.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.bq != null && message.hasOwnProperty("bq")) {
+ object.bq = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.toObject(message.bq, options);
+ if (options.oneofs)
+ object.references = "bq";
+ }
+ if (message.studio != null && message.hasOwnProperty("studio")) {
+ object.studio = $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.toObject(message.studio, options);
+ if (options.oneofs)
+ object.references = "studio";
+ }
+ if (message.looker != null && message.hasOwnProperty("looker")) {
+ object.looker = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.toObject(message.looker, options);
+ if (options.oneofs)
+ object.references = "looker";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this DatasourceReferences to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DatasourceReferences.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DatasourceReferences
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DatasourceReferences
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DatasourceReferences.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.DatasourceReferences";
+ };
+
+ return DatasourceReferences;
+ })();
+
+ v1alpha.BigQueryTableReferences = (function() {
+
+ /**
+ * Properties of a BigQueryTableReferences.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IBigQueryTableReferences
+ * @property {Array.|null} [tableReferences] BigQueryTableReferences tableReferences
+ */
+
+ /**
+ * Constructs a new BigQueryTableReferences.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a BigQueryTableReferences.
+ * @implements IBigQueryTableReferences
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences=} [properties] Properties to set
+ */
+ function BigQueryTableReferences(properties) {
+ this.tableReferences = [];
+ 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]];
+ }
+
+ /**
+ * BigQueryTableReferences tableReferences.
+ * @member {Array.} tableReferences
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @instance
+ */
+ BigQueryTableReferences.prototype.tableReferences = $util.emptyArray;
+
+ /**
+ * Creates a new BigQueryTableReferences instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences} BigQueryTableReferences instance
+ */
+ BigQueryTableReferences.create = function create(properties) {
+ return new BigQueryTableReferences(properties);
+ };
+
+ /**
+ * Encodes the specified BigQueryTableReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences} message BigQueryTableReferences message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryTableReferences.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.tableReferences != null && message.tableReferences.length)
+ for (var i = 0; i < message.tableReferences.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.encode(message.tableReferences[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified BigQueryTableReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReferences} message BigQueryTableReferences message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryTableReferences.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a BigQueryTableReferences message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences} BigQueryTableReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryTableReferences.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.tableReferences && message.tableReferences.length))
+ message.tableReferences = [];
+ message.tableReferences.push($root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a BigQueryTableReferences message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences} BigQueryTableReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryTableReferences.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a BigQueryTableReferences message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ BigQueryTableReferences.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.tableReferences != null && message.hasOwnProperty("tableReferences")) {
+ if (!Array.isArray(message.tableReferences))
+ return "tableReferences: array expected";
+ for (var i = 0; i < message.tableReferences.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.verify(message.tableReferences[i]);
+ if (error)
+ return "tableReferences." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a BigQueryTableReferences message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences} BigQueryTableReferences
+ */
+ BigQueryTableReferences.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences();
+ if (object.tableReferences) {
+ if (!Array.isArray(object.tableReferences))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.tableReferences: array expected");
+ message.tableReferences = [];
+ for (var i = 0; i < object.tableReferences.length; ++i) {
+ if (typeof object.tableReferences[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences.tableReferences: object expected");
+ message.tableReferences[i] = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.fromObject(object.tableReferences[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a BigQueryTableReferences message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences} message BigQueryTableReferences
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ BigQueryTableReferences.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.tableReferences = [];
+ if (message.tableReferences && message.tableReferences.length) {
+ object.tableReferences = [];
+ for (var j = 0; j < message.tableReferences.length; ++j)
+ object.tableReferences[j] = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.toObject(message.tableReferences[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this BigQueryTableReferences to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ BigQueryTableReferences.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for BigQueryTableReferences
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ BigQueryTableReferences.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.BigQueryTableReferences";
+ };
+
+ return BigQueryTableReferences;
+ })();
+
+ v1alpha.BigQueryTableReference = (function() {
+
+ /**
+ * Properties of a BigQueryTableReference.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IBigQueryTableReference
+ * @property {string|null} [projectId] BigQueryTableReference projectId
+ * @property {string|null} [datasetId] BigQueryTableReference datasetId
+ * @property {string|null} [tableId] BigQueryTableReference tableId
+ * @property {google.cloud.geminidataanalytics.v1alpha.ISchema|null} [schema] BigQueryTableReference schema
+ */
+
+ /**
+ * Constructs a new BigQueryTableReference.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a BigQueryTableReference.
+ * @implements IBigQueryTableReference
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference=} [properties] Properties to set
+ */
+ function BigQueryTableReference(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]];
+ }
+
+ /**
+ * BigQueryTableReference projectId.
+ * @member {string} projectId
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @instance
+ */
+ BigQueryTableReference.prototype.projectId = "";
+
+ /**
+ * BigQueryTableReference datasetId.
+ * @member {string} datasetId
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @instance
+ */
+ BigQueryTableReference.prototype.datasetId = "";
+
+ /**
+ * BigQueryTableReference tableId.
+ * @member {string} tableId
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @instance
+ */
+ BigQueryTableReference.prototype.tableId = "";
+
+ /**
+ * BigQueryTableReference schema.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ISchema|null|undefined} schema
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @instance
+ */
+ BigQueryTableReference.prototype.schema = null;
+
+ /**
+ * Creates a new BigQueryTableReference instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference} BigQueryTableReference instance
+ */
+ BigQueryTableReference.create = function create(properties) {
+ return new BigQueryTableReference(properties);
+ };
+
+ /**
+ * Encodes the specified BigQueryTableReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference} message BigQueryTableReference message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryTableReference.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.projectId != null && Object.hasOwnProperty.call(message, "projectId"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.projectId);
+ if (message.datasetId != null && Object.hasOwnProperty.call(message, "datasetId"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.datasetId);
+ if (message.tableId != null && Object.hasOwnProperty.call(message, "tableId"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.tableId);
+ if (message.schema != null && Object.hasOwnProperty.call(message, "schema"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Schema.encode(message.schema, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified BigQueryTableReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference} message BigQueryTableReference message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryTableReference.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a BigQueryTableReference message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference} BigQueryTableReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryTableReference.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.projectId = reader.string();
+ break;
+ }
+ case 3: {
+ message.datasetId = reader.string();
+ break;
+ }
+ case 4: {
+ message.tableId = reader.string();
+ break;
+ }
+ case 6: {
+ message.schema = $root.google.cloud.geminidataanalytics.v1alpha.Schema.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a BigQueryTableReference message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference} BigQueryTableReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryTableReference.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a BigQueryTableReference message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ BigQueryTableReference.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.datasetId != null && message.hasOwnProperty("datasetId"))
+ if (!$util.isString(message.datasetId))
+ return "datasetId: string expected";
+ if (message.tableId != null && message.hasOwnProperty("tableId"))
+ if (!$util.isString(message.tableId))
+ return "tableId: string expected";
+ if (message.schema != null && message.hasOwnProperty("schema")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Schema.verify(message.schema);
+ if (error)
+ return "schema." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a BigQueryTableReference message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference} BigQueryTableReference
+ */
+ BigQueryTableReference.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference();
+ if (object.projectId != null)
+ message.projectId = String(object.projectId);
+ if (object.datasetId != null)
+ message.datasetId = String(object.datasetId);
+ if (object.tableId != null)
+ message.tableId = String(object.tableId);
+ if (object.schema != null) {
+ if (typeof object.schema !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.schema: object expected");
+ message.schema = $root.google.cloud.geminidataanalytics.v1alpha.Schema.fromObject(object.schema);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a BigQueryTableReference message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference} message BigQueryTableReference
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ BigQueryTableReference.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.projectId = "";
+ object.datasetId = "";
+ object.tableId = "";
+ object.schema = null;
+ }
+ if (message.projectId != null && message.hasOwnProperty("projectId"))
+ object.projectId = message.projectId;
+ if (message.datasetId != null && message.hasOwnProperty("datasetId"))
+ object.datasetId = message.datasetId;
+ if (message.tableId != null && message.hasOwnProperty("tableId"))
+ object.tableId = message.tableId;
+ if (message.schema != null && message.hasOwnProperty("schema"))
+ object.schema = $root.google.cloud.geminidataanalytics.v1alpha.Schema.toObject(message.schema, options);
+ return object;
+ };
+
+ /**
+ * Converts this BigQueryTableReference to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ BigQueryTableReference.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for BigQueryTableReference
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ BigQueryTableReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference";
+ };
+
+ return BigQueryTableReference;
+ })();
+
+ v1alpha.StudioDatasourceReferences = (function() {
+
+ /**
+ * Properties of a StudioDatasourceReferences.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IStudioDatasourceReferences
+ * @property {Array.|null} [studioReferences] StudioDatasourceReferences studioReferences
+ */
+
+ /**
+ * Constructs a new StudioDatasourceReferences.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a StudioDatasourceReferences.
+ * @implements IStudioDatasourceReferences
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences=} [properties] Properties to set
+ */
+ function StudioDatasourceReferences(properties) {
+ this.studioReferences = [];
+ 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]];
+ }
+
+ /**
+ * StudioDatasourceReferences studioReferences.
+ * @member {Array.} studioReferences
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @instance
+ */
+ StudioDatasourceReferences.prototype.studioReferences = $util.emptyArray;
+
+ /**
+ * Creates a new StudioDatasourceReferences instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences} StudioDatasourceReferences instance
+ */
+ StudioDatasourceReferences.create = function create(properties) {
+ return new StudioDatasourceReferences(properties);
+ };
+
+ /**
+ * Encodes the specified StudioDatasourceReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences} message StudioDatasourceReferences message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StudioDatasourceReferences.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.studioReferences != null && message.studioReferences.length)
+ for (var i = 0; i < message.studioReferences.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference.encode(message.studioReferences[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified StudioDatasourceReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReferences} message StudioDatasourceReferences message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StudioDatasourceReferences.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a StudioDatasourceReferences message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences} StudioDatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StudioDatasourceReferences.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 2: {
+ if (!(message.studioReferences && message.studioReferences.length))
+ message.studioReferences = [];
+ message.studioReferences.push($root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a StudioDatasourceReferences message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences} StudioDatasourceReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StudioDatasourceReferences.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a StudioDatasourceReferences message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ StudioDatasourceReferences.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.studioReferences != null && message.hasOwnProperty("studioReferences")) {
+ if (!Array.isArray(message.studioReferences))
+ return "studioReferences: array expected";
+ for (var i = 0; i < message.studioReferences.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference.verify(message.studioReferences[i]);
+ if (error)
+ return "studioReferences." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a StudioDatasourceReferences message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences} StudioDatasourceReferences
+ */
+ StudioDatasourceReferences.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences();
+ if (object.studioReferences) {
+ if (!Array.isArray(object.studioReferences))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.studioReferences: array expected");
+ message.studioReferences = [];
+ for (var i = 0; i < object.studioReferences.length; ++i) {
+ if (typeof object.studioReferences[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences.studioReferences: object expected");
+ message.studioReferences[i] = $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference.fromObject(object.studioReferences[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a StudioDatasourceReferences message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences} message StudioDatasourceReferences
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ StudioDatasourceReferences.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.studioReferences = [];
+ if (message.studioReferences && message.studioReferences.length) {
+ object.studioReferences = [];
+ for (var j = 0; j < message.studioReferences.length; ++j)
+ object.studioReferences[j] = $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference.toObject(message.studioReferences[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this StudioDatasourceReferences to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ StudioDatasourceReferences.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for StudioDatasourceReferences
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ StudioDatasourceReferences.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReferences";
+ };
+
+ return StudioDatasourceReferences;
+ })();
+
+ v1alpha.StudioDatasourceReference = (function() {
+
+ /**
+ * Properties of a StudioDatasourceReference.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IStudioDatasourceReference
+ * @property {string|null} [datasourceId] StudioDatasourceReference datasourceId
+ */
+
+ /**
+ * Constructs a new StudioDatasourceReference.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a StudioDatasourceReference.
+ * @implements IStudioDatasourceReference
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference=} [properties] Properties to set
+ */
+ function StudioDatasourceReference(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]];
+ }
+
+ /**
+ * StudioDatasourceReference datasourceId.
+ * @member {string} datasourceId
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @instance
+ */
+ StudioDatasourceReference.prototype.datasourceId = "";
+
+ /**
+ * Creates a new StudioDatasourceReference instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference} StudioDatasourceReference instance
+ */
+ StudioDatasourceReference.create = function create(properties) {
+ return new StudioDatasourceReference(properties);
+ };
+
+ /**
+ * Encodes the specified StudioDatasourceReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference} message StudioDatasourceReference message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StudioDatasourceReference.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.datasourceId != null && Object.hasOwnProperty.call(message, "datasourceId"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.datasourceId);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified StudioDatasourceReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IStudioDatasourceReference} message StudioDatasourceReference message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StudioDatasourceReference.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a StudioDatasourceReference message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference} StudioDatasourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StudioDatasourceReference.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.datasourceId = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a StudioDatasourceReference message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference} StudioDatasourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StudioDatasourceReference.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a StudioDatasourceReference message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ StudioDatasourceReference.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.datasourceId != null && message.hasOwnProperty("datasourceId"))
+ if (!$util.isString(message.datasourceId))
+ return "datasourceId: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a StudioDatasourceReference message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference} StudioDatasourceReference
+ */
+ StudioDatasourceReference.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference();
+ if (object.datasourceId != null)
+ message.datasourceId = String(object.datasourceId);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a StudioDatasourceReference message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference} message StudioDatasourceReference
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ StudioDatasourceReference.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.datasourceId = "";
+ if (message.datasourceId != null && message.hasOwnProperty("datasourceId"))
+ object.datasourceId = message.datasourceId;
+ return object;
+ };
+
+ /**
+ * Converts this StudioDatasourceReference to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ StudioDatasourceReference.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for StudioDatasourceReference
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ StudioDatasourceReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.StudioDatasourceReference";
+ };
+
+ return StudioDatasourceReference;
+ })();
+
+ v1alpha.LookerExploreReferences = (function() {
+
+ /**
+ * Properties of a LookerExploreReferences.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface ILookerExploreReferences
+ * @property {Array.|null} [exploreReferences] LookerExploreReferences exploreReferences
+ * @property {google.cloud.geminidataanalytics.v1alpha.ICredentials|null} [credentials] LookerExploreReferences credentials
+ */
+
+ /**
+ * Constructs a new LookerExploreReferences.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a LookerExploreReferences.
+ * @implements ILookerExploreReferences
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences=} [properties] Properties to set
+ */
+ function LookerExploreReferences(properties) {
+ this.exploreReferences = [];
+ 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]];
+ }
+
+ /**
+ * LookerExploreReferences exploreReferences.
+ * @member {Array.} exploreReferences
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @instance
+ */
+ LookerExploreReferences.prototype.exploreReferences = $util.emptyArray;
+
+ /**
+ * LookerExploreReferences credentials.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ICredentials|null|undefined} credentials
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @instance
+ */
+ LookerExploreReferences.prototype.credentials = null;
+
+ /**
+ * Creates a new LookerExploreReferences instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences} LookerExploreReferences instance
+ */
+ LookerExploreReferences.create = function create(properties) {
+ return new LookerExploreReferences(properties);
+ };
+
+ /**
+ * Encodes the specified LookerExploreReferences message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences} message LookerExploreReferences message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ LookerExploreReferences.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.exploreReferences != null && message.exploreReferences.length)
+ for (var i = 0; i < message.exploreReferences.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.encode(message.exploreReferences[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.credentials != null && Object.hasOwnProperty.call(message, "credentials"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Credentials.encode(message.credentials, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified LookerExploreReferences message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReferences} message LookerExploreReferences message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ LookerExploreReferences.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a LookerExploreReferences message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences} LookerExploreReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ LookerExploreReferences.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.exploreReferences && message.exploreReferences.length))
+ message.exploreReferences = [];
+ message.exploreReferences.push($root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.credentials = $root.google.cloud.geminidataanalytics.v1alpha.Credentials.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a LookerExploreReferences message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences} LookerExploreReferences
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ LookerExploreReferences.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a LookerExploreReferences message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ LookerExploreReferences.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.exploreReferences != null && message.hasOwnProperty("exploreReferences")) {
+ if (!Array.isArray(message.exploreReferences))
+ return "exploreReferences: array expected";
+ for (var i = 0; i < message.exploreReferences.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.verify(message.exploreReferences[i]);
+ if (error)
+ return "exploreReferences." + error;
+ }
+ }
+ if (message.credentials != null && message.hasOwnProperty("credentials")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Credentials.verify(message.credentials);
+ if (error)
+ return "credentials." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a LookerExploreReferences message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences} LookerExploreReferences
+ */
+ LookerExploreReferences.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences();
+ if (object.exploreReferences) {
+ if (!Array.isArray(object.exploreReferences))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.exploreReferences: array expected");
+ message.exploreReferences = [];
+ for (var i = 0; i < object.exploreReferences.length; ++i) {
+ if (typeof object.exploreReferences[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.exploreReferences: object expected");
+ message.exploreReferences[i] = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.fromObject(object.exploreReferences[i]);
+ }
+ }
+ if (object.credentials != null) {
+ if (typeof object.credentials !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences.credentials: object expected");
+ message.credentials = $root.google.cloud.geminidataanalytics.v1alpha.Credentials.fromObject(object.credentials);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a LookerExploreReferences message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences} message LookerExploreReferences
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ LookerExploreReferences.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.exploreReferences = [];
+ if (options.defaults)
+ object.credentials = null;
+ if (message.exploreReferences && message.exploreReferences.length) {
+ object.exploreReferences = [];
+ for (var j = 0; j < message.exploreReferences.length; ++j)
+ object.exploreReferences[j] = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.toObject(message.exploreReferences[j], options);
+ }
+ if (message.credentials != null && message.hasOwnProperty("credentials"))
+ object.credentials = $root.google.cloud.geminidataanalytics.v1alpha.Credentials.toObject(message.credentials, options);
+ return object;
+ };
+
+ /**
+ * Converts this LookerExploreReferences to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ LookerExploreReferences.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for LookerExploreReferences
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ LookerExploreReferences.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.LookerExploreReferences";
+ };
+
+ return LookerExploreReferences;
+ })();
+
+ v1alpha.LookerExploreReference = (function() {
+
+ /**
+ * Properties of a LookerExploreReference.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface ILookerExploreReference
+ * @property {string|null} [lookerInstanceUri] LookerExploreReference lookerInstanceUri
+ * @property {google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo|null} [privateLookerInstanceInfo] LookerExploreReference privateLookerInstanceInfo
+ * @property {string|null} [lookmlModel] LookerExploreReference lookmlModel
+ * @property {string|null} [explore] LookerExploreReference explore
+ * @property {google.cloud.geminidataanalytics.v1alpha.ISchema|null} [schema] LookerExploreReference schema
+ */
+
+ /**
+ * Constructs a new LookerExploreReference.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a LookerExploreReference.
+ * @implements ILookerExploreReference
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference=} [properties] Properties to set
+ */
+ function LookerExploreReference(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]];
+ }
+
+ /**
+ * LookerExploreReference lookerInstanceUri.
+ * @member {string|null|undefined} lookerInstanceUri
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @instance
+ */
+ LookerExploreReference.prototype.lookerInstanceUri = null;
+
+ /**
+ * LookerExploreReference privateLookerInstanceInfo.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo|null|undefined} privateLookerInstanceInfo
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @instance
+ */
+ LookerExploreReference.prototype.privateLookerInstanceInfo = null;
+
+ /**
+ * LookerExploreReference lookmlModel.
+ * @member {string} lookmlModel
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @instance
+ */
+ LookerExploreReference.prototype.lookmlModel = "";
+
+ /**
+ * LookerExploreReference explore.
+ * @member {string} explore
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @instance
+ */
+ LookerExploreReference.prototype.explore = "";
+
+ /**
+ * LookerExploreReference schema.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ISchema|null|undefined} schema
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @instance
+ */
+ LookerExploreReference.prototype.schema = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * LookerExploreReference instance.
+ * @member {"lookerInstanceUri"|"privateLookerInstanceInfo"|undefined} instance
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @instance
+ */
+ Object.defineProperty(LookerExploreReference.prototype, "instance", {
+ get: $util.oneOfGetter($oneOfFields = ["lookerInstanceUri", "privateLookerInstanceInfo"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new LookerExploreReference instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.LookerExploreReference} LookerExploreReference instance
+ */
+ LookerExploreReference.create = function create(properties) {
+ return new LookerExploreReference(properties);
+ };
+
+ /**
+ * Encodes the specified LookerExploreReference message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference} message LookerExploreReference message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ LookerExploreReference.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.lookmlModel != null && Object.hasOwnProperty.call(message, "lookmlModel"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.lookmlModel);
+ if (message.explore != null && Object.hasOwnProperty.call(message, "explore"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.explore);
+ if (message.schema != null && Object.hasOwnProperty.call(message, "schema"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Schema.encode(message.schema, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.lookerInstanceUri != null && Object.hasOwnProperty.call(message, "lookerInstanceUri"))
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.lookerInstanceUri);
+ if (message.privateLookerInstanceInfo != null && Object.hasOwnProperty.call(message, "privateLookerInstanceInfo"))
+ $root.google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo.encode(message.privateLookerInstanceInfo, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified LookerExploreReference message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference} message LookerExploreReference message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ LookerExploreReference.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a LookerExploreReference message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.LookerExploreReference} LookerExploreReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ LookerExploreReference.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 9: {
+ message.lookerInstanceUri = reader.string();
+ break;
+ }
+ case 10: {
+ message.privateLookerInstanceInfo = $root.google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.lookmlModel = reader.string();
+ break;
+ }
+ case 5: {
+ message.explore = reader.string();
+ break;
+ }
+ case 8: {
+ message.schema = $root.google.cloud.geminidataanalytics.v1alpha.Schema.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a LookerExploreReference message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.LookerExploreReference} LookerExploreReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ LookerExploreReference.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a LookerExploreReference message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ LookerExploreReference.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.lookerInstanceUri != null && message.hasOwnProperty("lookerInstanceUri")) {
+ properties.instance = 1;
+ if (!$util.isString(message.lookerInstanceUri))
+ return "lookerInstanceUri: string expected";
+ }
+ if (message.privateLookerInstanceInfo != null && message.hasOwnProperty("privateLookerInstanceInfo")) {
+ if (properties.instance === 1)
+ return "instance: multiple values";
+ properties.instance = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo.verify(message.privateLookerInstanceInfo);
+ if (error)
+ return "privateLookerInstanceInfo." + error;
+ }
+ }
+ if (message.lookmlModel != null && message.hasOwnProperty("lookmlModel"))
+ if (!$util.isString(message.lookmlModel))
+ return "lookmlModel: string expected";
+ if (message.explore != null && message.hasOwnProperty("explore"))
+ if (!$util.isString(message.explore))
+ return "explore: string expected";
+ if (message.schema != null && message.hasOwnProperty("schema")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Schema.verify(message.schema);
+ if (error)
+ return "schema." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a LookerExploreReference message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.LookerExploreReference} LookerExploreReference
+ */
+ LookerExploreReference.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference();
+ if (object.lookerInstanceUri != null)
+ message.lookerInstanceUri = String(object.lookerInstanceUri);
+ if (object.privateLookerInstanceInfo != null) {
+ if (typeof object.privateLookerInstanceInfo !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.privateLookerInstanceInfo: object expected");
+ message.privateLookerInstanceInfo = $root.google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo.fromObject(object.privateLookerInstanceInfo);
+ }
+ if (object.lookmlModel != null)
+ message.lookmlModel = String(object.lookmlModel);
+ if (object.explore != null)
+ message.explore = String(object.explore);
+ if (object.schema != null) {
+ if (typeof object.schema !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.schema: object expected");
+ message.schema = $root.google.cloud.geminidataanalytics.v1alpha.Schema.fromObject(object.schema);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a LookerExploreReference message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.LookerExploreReference} message LookerExploreReference
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ LookerExploreReference.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.lookmlModel = "";
+ object.explore = "";
+ object.schema = null;
+ }
+ if (message.lookmlModel != null && message.hasOwnProperty("lookmlModel"))
+ object.lookmlModel = message.lookmlModel;
+ if (message.explore != null && message.hasOwnProperty("explore"))
+ object.explore = message.explore;
+ if (message.schema != null && message.hasOwnProperty("schema"))
+ object.schema = $root.google.cloud.geminidataanalytics.v1alpha.Schema.toObject(message.schema, options);
+ if (message.lookerInstanceUri != null && message.hasOwnProperty("lookerInstanceUri")) {
+ object.lookerInstanceUri = message.lookerInstanceUri;
+ if (options.oneofs)
+ object.instance = "lookerInstanceUri";
+ }
+ if (message.privateLookerInstanceInfo != null && message.hasOwnProperty("privateLookerInstanceInfo")) {
+ object.privateLookerInstanceInfo = $root.google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo.toObject(message.privateLookerInstanceInfo, options);
+ if (options.oneofs)
+ object.instance = "privateLookerInstanceInfo";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this LookerExploreReference to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ LookerExploreReference.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for LookerExploreReference
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.LookerExploreReference
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ LookerExploreReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.LookerExploreReference";
+ };
+
+ return LookerExploreReference;
+ })();
+
+ v1alpha.PrivateLookerInstanceInfo = (function() {
+
+ /**
+ * Properties of a PrivateLookerInstanceInfo.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IPrivateLookerInstanceInfo
+ * @property {string|null} [lookerInstanceId] PrivateLookerInstanceInfo lookerInstanceId
+ * @property {string|null} [serviceDirectoryName] PrivateLookerInstanceInfo serviceDirectoryName
+ */
+
+ /**
+ * Constructs a new PrivateLookerInstanceInfo.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a PrivateLookerInstanceInfo.
+ * @implements IPrivateLookerInstanceInfo
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo=} [properties] Properties to set
+ */
+ function PrivateLookerInstanceInfo(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]];
+ }
+
+ /**
+ * PrivateLookerInstanceInfo lookerInstanceId.
+ * @member {string} lookerInstanceId
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @instance
+ */
+ PrivateLookerInstanceInfo.prototype.lookerInstanceId = "";
+
+ /**
+ * PrivateLookerInstanceInfo serviceDirectoryName.
+ * @member {string} serviceDirectoryName
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @instance
+ */
+ PrivateLookerInstanceInfo.prototype.serviceDirectoryName = "";
+
+ /**
+ * Creates a new PrivateLookerInstanceInfo instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo} PrivateLookerInstanceInfo instance
+ */
+ PrivateLookerInstanceInfo.create = function create(properties) {
+ return new PrivateLookerInstanceInfo(properties);
+ };
+
+ /**
+ * Encodes the specified PrivateLookerInstanceInfo message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo} message PrivateLookerInstanceInfo message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PrivateLookerInstanceInfo.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.lookerInstanceId != null && Object.hasOwnProperty.call(message, "lookerInstanceId"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.lookerInstanceId);
+ if (message.serviceDirectoryName != null && Object.hasOwnProperty.call(message, "serviceDirectoryName"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.serviceDirectoryName);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PrivateLookerInstanceInfo message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IPrivateLookerInstanceInfo} message PrivateLookerInstanceInfo message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PrivateLookerInstanceInfo.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PrivateLookerInstanceInfo message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo} PrivateLookerInstanceInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PrivateLookerInstanceInfo.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.lookerInstanceId = reader.string();
+ break;
+ }
+ case 2: {
+ message.serviceDirectoryName = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PrivateLookerInstanceInfo message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo} PrivateLookerInstanceInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PrivateLookerInstanceInfo.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PrivateLookerInstanceInfo message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PrivateLookerInstanceInfo.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.lookerInstanceId != null && message.hasOwnProperty("lookerInstanceId"))
+ if (!$util.isString(message.lookerInstanceId))
+ return "lookerInstanceId: string expected";
+ if (message.serviceDirectoryName != null && message.hasOwnProperty("serviceDirectoryName"))
+ if (!$util.isString(message.serviceDirectoryName))
+ return "serviceDirectoryName: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a PrivateLookerInstanceInfo message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo} PrivateLookerInstanceInfo
+ */
+ PrivateLookerInstanceInfo.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo();
+ if (object.lookerInstanceId != null)
+ message.lookerInstanceId = String(object.lookerInstanceId);
+ if (object.serviceDirectoryName != null)
+ message.serviceDirectoryName = String(object.serviceDirectoryName);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PrivateLookerInstanceInfo message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo} message PrivateLookerInstanceInfo
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PrivateLookerInstanceInfo.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.lookerInstanceId = "";
+ object.serviceDirectoryName = "";
+ }
+ if (message.lookerInstanceId != null && message.hasOwnProperty("lookerInstanceId"))
+ object.lookerInstanceId = message.lookerInstanceId;
+ if (message.serviceDirectoryName != null && message.hasOwnProperty("serviceDirectoryName"))
+ object.serviceDirectoryName = message.serviceDirectoryName;
+ return object;
+ };
+
+ /**
+ * Converts this PrivateLookerInstanceInfo to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PrivateLookerInstanceInfo.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PrivateLookerInstanceInfo
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PrivateLookerInstanceInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.PrivateLookerInstanceInfo";
+ };
+
+ return PrivateLookerInstanceInfo;
+ })();
+
+ v1alpha.Datasource = (function() {
+
+ /**
+ * Properties of a Datasource.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IDatasource
+ * @property {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference|null} [bigqueryTableReference] Datasource bigqueryTableReference
+ * @property {string|null} [studioDatasourceId] Datasource studioDatasourceId
+ * @property {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference|null} [lookerExploreReference] Datasource lookerExploreReference
+ * @property {google.cloud.geminidataanalytics.v1alpha.ISchema|null} [schema] Datasource schema
+ */
+
+ /**
+ * Constructs a new Datasource.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a Datasource.
+ * @implements IDatasource
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDatasource=} [properties] Properties to set
+ */
+ function Datasource(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Datasource bigqueryTableReference.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IBigQueryTableReference|null|undefined} bigqueryTableReference
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @instance
+ */
+ Datasource.prototype.bigqueryTableReference = null;
+
+ /**
+ * Datasource studioDatasourceId.
+ * @member {string|null|undefined} studioDatasourceId
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @instance
+ */
+ Datasource.prototype.studioDatasourceId = null;
+
+ /**
+ * Datasource lookerExploreReference.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ILookerExploreReference|null|undefined} lookerExploreReference
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @instance
+ */
+ Datasource.prototype.lookerExploreReference = null;
+
+ /**
+ * Datasource schema.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ISchema|null|undefined} schema
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @instance
+ */
+ Datasource.prototype.schema = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * Datasource reference.
+ * @member {"bigqueryTableReference"|"studioDatasourceId"|"lookerExploreReference"|undefined} reference
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @instance
+ */
+ Object.defineProperty(Datasource.prototype, "reference", {
+ get: $util.oneOfGetter($oneOfFields = ["bigqueryTableReference", "studioDatasourceId", "lookerExploreReference"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new Datasource instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDatasource=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Datasource} Datasource instance
+ */
+ Datasource.create = function create(properties) {
+ return new Datasource(properties);
+ };
+
+ /**
+ * Encodes the specified Datasource message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Datasource.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDatasource} message Datasource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Datasource.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.bigqueryTableReference != null && Object.hasOwnProperty.call(message, "bigqueryTableReference"))
+ $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.encode(message.bigqueryTableReference, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.studioDatasourceId != null && Object.hasOwnProperty.call(message, "studioDatasourceId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.studioDatasourceId);
+ if (message.lookerExploreReference != null && Object.hasOwnProperty.call(message, "lookerExploreReference"))
+ $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.encode(message.lookerExploreReference, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.schema != null && Object.hasOwnProperty.call(message, "schema"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Schema.encode(message.schema, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Datasource message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Datasource.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDatasource} message Datasource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Datasource.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Datasource message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Datasource} Datasource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Datasource.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.Datasource();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.bigqueryTableReference = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.studioDatasourceId = reader.string();
+ break;
+ }
+ case 4: {
+ message.lookerExploreReference = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.schema = $root.google.cloud.geminidataanalytics.v1alpha.Schema.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Datasource message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Datasource} Datasource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Datasource.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Datasource message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Datasource.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.bigqueryTableReference != null && message.hasOwnProperty("bigqueryTableReference")) {
+ properties.reference = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.verify(message.bigqueryTableReference);
+ if (error)
+ return "bigqueryTableReference." + error;
+ }
+ }
+ if (message.studioDatasourceId != null && message.hasOwnProperty("studioDatasourceId")) {
+ if (properties.reference === 1)
+ return "reference: multiple values";
+ properties.reference = 1;
+ if (!$util.isString(message.studioDatasourceId))
+ return "studioDatasourceId: string expected";
+ }
+ if (message.lookerExploreReference != null && message.hasOwnProperty("lookerExploreReference")) {
+ if (properties.reference === 1)
+ return "reference: multiple values";
+ properties.reference = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.verify(message.lookerExploreReference);
+ if (error)
+ return "lookerExploreReference." + error;
+ }
+ }
+ if (message.schema != null && message.hasOwnProperty("schema")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Schema.verify(message.schema);
+ if (error)
+ return "schema." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Datasource message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Datasource} Datasource
+ */
+ Datasource.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.Datasource)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.Datasource();
+ if (object.bigqueryTableReference != null) {
+ if (typeof object.bigqueryTableReference !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Datasource.bigqueryTableReference: object expected");
+ message.bigqueryTableReference = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.fromObject(object.bigqueryTableReference);
+ }
+ if (object.studioDatasourceId != null)
+ message.studioDatasourceId = String(object.studioDatasourceId);
+ if (object.lookerExploreReference != null) {
+ if (typeof object.lookerExploreReference !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Datasource.lookerExploreReference: object expected");
+ message.lookerExploreReference = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.fromObject(object.lookerExploreReference);
+ }
+ if (object.schema != null) {
+ if (typeof object.schema !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Datasource.schema: object expected");
+ message.schema = $root.google.cloud.geminidataanalytics.v1alpha.Schema.fromObject(object.schema);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Datasource message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Datasource} message Datasource
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Datasource.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.schema = null;
+ if (message.bigqueryTableReference != null && message.hasOwnProperty("bigqueryTableReference")) {
+ object.bigqueryTableReference = $root.google.cloud.geminidataanalytics.v1alpha.BigQueryTableReference.toObject(message.bigqueryTableReference, options);
+ if (options.oneofs)
+ object.reference = "bigqueryTableReference";
+ }
+ if (message.studioDatasourceId != null && message.hasOwnProperty("studioDatasourceId")) {
+ object.studioDatasourceId = message.studioDatasourceId;
+ if (options.oneofs)
+ object.reference = "studioDatasourceId";
+ }
+ if (message.lookerExploreReference != null && message.hasOwnProperty("lookerExploreReference")) {
+ object.lookerExploreReference = $root.google.cloud.geminidataanalytics.v1alpha.LookerExploreReference.toObject(message.lookerExploreReference, options);
+ if (options.oneofs)
+ object.reference = "lookerExploreReference";
+ }
+ if (message.schema != null && message.hasOwnProperty("schema"))
+ object.schema = $root.google.cloud.geminidataanalytics.v1alpha.Schema.toObject(message.schema, options);
+ return object;
+ };
+
+ /**
+ * Converts this Datasource to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Datasource.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Datasource
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Datasource
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Datasource.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.Datasource";
+ };
+
+ return Datasource;
+ })();
+
+ v1alpha.Schema = (function() {
+
+ /**
+ * Properties of a Schema.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface ISchema
+ * @property {Array.|null} [fields] Schema fields
+ * @property {string|null} [description] Schema description
+ * @property {Array.|null} [synonyms] Schema synonyms
+ * @property {Array.|null} [tags] Schema tags
+ * @property {string|null} [displayName] Schema displayName
+ * @property {Array.|null} [filters] Schema filters
+ */
+
+ /**
+ * Constructs a new Schema.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a Schema.
+ * @implements ISchema
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.ISchema=} [properties] Properties to set
+ */
+ function Schema(properties) {
+ this.fields = [];
+ this.synonyms = [];
+ this.tags = [];
+ this.filters = [];
+ 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]];
+ }
+
+ /**
+ * Schema fields.
+ * @member {Array.} fields
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @instance
+ */
+ Schema.prototype.fields = $util.emptyArray;
+
+ /**
+ * Schema description.
+ * @member {string} description
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @instance
+ */
+ Schema.prototype.description = "";
+
+ /**
+ * Schema synonyms.
+ * @member {Array.} synonyms
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @instance
+ */
+ Schema.prototype.synonyms = $util.emptyArray;
+
+ /**
+ * Schema tags.
+ * @member {Array.} tags
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @instance
+ */
+ Schema.prototype.tags = $util.emptyArray;
+
+ /**
+ * Schema displayName.
+ * @member {string} displayName
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @instance
+ */
+ Schema.prototype.displayName = "";
+
+ /**
+ * Schema filters.
+ * @member {Array.} filters
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @instance
+ */
+ Schema.prototype.filters = $util.emptyArray;
+
+ /**
+ * Creates a new Schema instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ISchema=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Schema} Schema instance
+ */
+ Schema.create = function create(properties) {
+ return new Schema(properties);
+ };
+
+ /**
+ * Encodes the specified Schema message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Schema.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ISchema} message Schema message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Schema.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.fields != null && message.fields.length)
+ for (var i = 0; i < message.fields.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.Field.encode(message.fields[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
+ if (message.synonyms != null && message.synonyms.length)
+ for (var i = 0; i < message.synonyms.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.synonyms[i]);
+ if (message.tags != null && message.tags.length)
+ for (var i = 0; i < message.tags.length; ++i)
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.tags[i]);
+ if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.displayName);
+ if (message.filters != null && message.filters.length)
+ for (var i = 0; i < message.filters.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.DataFilter.encode(message.filters[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Schema message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Schema.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ISchema} message Schema message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Schema.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Schema} Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Schema.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.Schema();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.fields && message.fields.length))
+ message.fields = [];
+ message.fields.push($root.google.cloud.geminidataanalytics.v1alpha.Field.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.description = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.synonyms && message.synonyms.length))
+ message.synonyms = [];
+ message.synonyms.push(reader.string());
+ break;
+ }
+ case 4: {
+ if (!(message.tags && message.tags.length))
+ message.tags = [];
+ message.tags.push(reader.string());
+ break;
+ }
+ case 5: {
+ message.displayName = reader.string();
+ break;
+ }
+ case 6: {
+ if (!(message.filters && message.filters.length))
+ message.filters = [];
+ message.filters.push($root.google.cloud.geminidataanalytics.v1alpha.DataFilter.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Schema} Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Schema.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Schema message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Schema.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.fields != null && message.hasOwnProperty("fields")) {
+ if (!Array.isArray(message.fields))
+ return "fields: array expected";
+ for (var i = 0; i < message.fields.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Field.verify(message.fields[i]);
+ if (error)
+ return "fields." + error;
+ }
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.synonyms != null && message.hasOwnProperty("synonyms")) {
+ if (!Array.isArray(message.synonyms))
+ return "synonyms: array expected";
+ for (var i = 0; i < message.synonyms.length; ++i)
+ if (!$util.isString(message.synonyms[i]))
+ return "synonyms: string[] expected";
+ }
+ if (message.tags != null && message.hasOwnProperty("tags")) {
+ if (!Array.isArray(message.tags))
+ return "tags: array expected";
+ for (var i = 0; i < message.tags.length; ++i)
+ if (!$util.isString(message.tags[i]))
+ return "tags: string[] expected";
+ }
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ if (message.filters != null && message.hasOwnProperty("filters")) {
+ if (!Array.isArray(message.filters))
+ return "filters: array expected";
+ for (var i = 0; i < message.filters.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.DataFilter.verify(message.filters[i]);
+ if (error)
+ return "filters." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Schema message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Schema} Schema
+ */
+ Schema.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.Schema)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.Schema();
+ if (object.fields) {
+ if (!Array.isArray(object.fields))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Schema.fields: array expected");
+ message.fields = [];
+ for (var i = 0; i < object.fields.length; ++i) {
+ if (typeof object.fields[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Schema.fields: object expected");
+ message.fields[i] = $root.google.cloud.geminidataanalytics.v1alpha.Field.fromObject(object.fields[i]);
+ }
+ }
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.synonyms) {
+ if (!Array.isArray(object.synonyms))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Schema.synonyms: array expected");
+ message.synonyms = [];
+ for (var i = 0; i < object.synonyms.length; ++i)
+ message.synonyms[i] = String(object.synonyms[i]);
+ }
+ if (object.tags) {
+ if (!Array.isArray(object.tags))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Schema.tags: array expected");
+ message.tags = [];
+ for (var i = 0; i < object.tags.length; ++i)
+ message.tags[i] = String(object.tags[i]);
+ }
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ if (object.filters) {
+ if (!Array.isArray(object.filters))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Schema.filters: array expected");
+ message.filters = [];
+ for (var i = 0; i < object.filters.length; ++i) {
+ if (typeof object.filters[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Schema.filters: object expected");
+ message.filters[i] = $root.google.cloud.geminidataanalytics.v1alpha.DataFilter.fromObject(object.filters[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Schema message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Schema} message Schema
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Schema.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.fields = [];
+ object.synonyms = [];
+ object.tags = [];
+ object.filters = [];
+ }
+ if (options.defaults) {
+ object.description = "";
+ object.displayName = "";
+ }
+ if (message.fields && message.fields.length) {
+ object.fields = [];
+ for (var j = 0; j < message.fields.length; ++j)
+ object.fields[j] = $root.google.cloud.geminidataanalytics.v1alpha.Field.toObject(message.fields[j], options);
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.synonyms && message.synonyms.length) {
+ object.synonyms = [];
+ for (var j = 0; j < message.synonyms.length; ++j)
+ object.synonyms[j] = message.synonyms[j];
+ }
+ if (message.tags && message.tags.length) {
+ object.tags = [];
+ for (var j = 0; j < message.tags.length; ++j)
+ object.tags[j] = message.tags[j];
+ }
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ object.displayName = message.displayName;
+ if (message.filters && message.filters.length) {
+ object.filters = [];
+ for (var j = 0; j < message.filters.length; ++j)
+ object.filters[j] = $root.google.cloud.geminidataanalytics.v1alpha.DataFilter.toObject(message.filters[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Schema to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Schema.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Schema
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Schema
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Schema.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.Schema";
+ };
+
+ return Schema;
+ })();
+
+ v1alpha.Field = (function() {
+
+ /**
+ * Properties of a Field.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IField
+ * @property {string|null} [name] Field name
+ * @property {string|null} [type] Field type
+ * @property {string|null} [description] Field description
+ * @property {string|null} [mode] Field mode
+ * @property {Array.|null} [synonyms] Field synonyms
+ * @property {Array.|null} [tags] Field tags
+ * @property {string|null} [displayName] Field displayName
+ * @property {Array.|null} [subfields] Field subfields
+ * @property {string|null} [category] Field category
+ * @property {string|null} [valueFormat] Field valueFormat
+ */
+
+ /**
+ * Constructs a new Field.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a Field.
+ * @implements IField
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IField=} [properties] Properties to set
+ */
+ function Field(properties) {
+ this.synonyms = [];
+ this.tags = [];
+ this.subfields = [];
+ 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]];
+ }
+
+ /**
+ * Field name.
+ * @member {string} name
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.name = "";
+
+ /**
+ * Field type.
+ * @member {string} type
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.type = "";
+
+ /**
+ * Field description.
+ * @member {string} description
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.description = "";
+
+ /**
+ * Field mode.
+ * @member {string} mode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.mode = "";
+
+ /**
+ * Field synonyms.
+ * @member {Array.} synonyms
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.synonyms = $util.emptyArray;
+
+ /**
+ * Field tags.
+ * @member {Array.} tags
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.tags = $util.emptyArray;
+
+ /**
+ * Field displayName.
+ * @member {string} displayName
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.displayName = "";
+
+ /**
+ * Field subfields.
+ * @member {Array.} subfields
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.subfields = $util.emptyArray;
+
+ /**
+ * Field category.
+ * @member {string} category
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.category = "";
+
+ /**
+ * Field valueFormat.
+ * @member {string} valueFormat
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ */
+ Field.prototype.valueFormat = "";
+
+ /**
+ * Creates a new Field instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IField=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Field} Field instance
+ */
+ Field.create = function create(properties) {
+ return new Field(properties);
+ };
+
+ /**
+ * Encodes the specified Field message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Field.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IField} message Field message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Field.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.type);
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.description);
+ if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.mode);
+ if (message.synonyms != null && message.synonyms.length)
+ for (var i = 0; i < message.synonyms.length; ++i)
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.synonyms[i]);
+ if (message.tags != null && message.tags.length)
+ for (var i = 0; i < message.tags.length; ++i)
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.tags[i]);
+ if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.displayName);
+ if (message.subfields != null && message.subfields.length)
+ for (var i = 0; i < message.subfields.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.Field.encode(message.subfields[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
+ if (message.category != null && Object.hasOwnProperty.call(message, "category"))
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.category);
+ if (message.valueFormat != null && Object.hasOwnProperty.call(message, "valueFormat"))
+ writer.uint32(/* id 11, wireType 2 =*/90).string(message.valueFormat);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Field message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Field.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IField} message Field message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Field.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Field message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Field} Field
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Field.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.Field();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.type = reader.string();
+ break;
+ }
+ case 3: {
+ message.description = reader.string();
+ break;
+ }
+ case 4: {
+ message.mode = reader.string();
+ break;
+ }
+ case 6: {
+ if (!(message.synonyms && message.synonyms.length))
+ message.synonyms = [];
+ message.synonyms.push(reader.string());
+ break;
+ }
+ case 7: {
+ if (!(message.tags && message.tags.length))
+ message.tags = [];
+ message.tags.push(reader.string());
+ break;
+ }
+ case 8: {
+ message.displayName = reader.string();
+ break;
+ }
+ case 9: {
+ if (!(message.subfields && message.subfields.length))
+ message.subfields = [];
+ message.subfields.push($root.google.cloud.geminidataanalytics.v1alpha.Field.decode(reader, reader.uint32()));
+ break;
+ }
+ case 10: {
+ message.category = reader.string();
+ break;
+ }
+ case 11: {
+ message.valueFormat = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Field message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Field} Field
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Field.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Field message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Field.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.type != null && message.hasOwnProperty("type"))
+ if (!$util.isString(message.type))
+ return "type: string expected";
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.mode != null && message.hasOwnProperty("mode"))
+ if (!$util.isString(message.mode))
+ return "mode: string expected";
+ if (message.synonyms != null && message.hasOwnProperty("synonyms")) {
+ if (!Array.isArray(message.synonyms))
+ return "synonyms: array expected";
+ for (var i = 0; i < message.synonyms.length; ++i)
+ if (!$util.isString(message.synonyms[i]))
+ return "synonyms: string[] expected";
+ }
+ if (message.tags != null && message.hasOwnProperty("tags")) {
+ if (!Array.isArray(message.tags))
+ return "tags: array expected";
+ for (var i = 0; i < message.tags.length; ++i)
+ if (!$util.isString(message.tags[i]))
+ return "tags: string[] expected";
+ }
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ if (message.subfields != null && message.hasOwnProperty("subfields")) {
+ if (!Array.isArray(message.subfields))
+ return "subfields: array expected";
+ for (var i = 0; i < message.subfields.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Field.verify(message.subfields[i]);
+ if (error)
+ return "subfields." + error;
+ }
+ }
+ if (message.category != null && message.hasOwnProperty("category"))
+ if (!$util.isString(message.category))
+ return "category: string expected";
+ if (message.valueFormat != null && message.hasOwnProperty("valueFormat"))
+ if (!$util.isString(message.valueFormat))
+ return "valueFormat: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a Field message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Field} Field
+ */
+ Field.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.Field)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.Field();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.type != null)
+ message.type = String(object.type);
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.mode != null)
+ message.mode = String(object.mode);
+ if (object.synonyms) {
+ if (!Array.isArray(object.synonyms))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Field.synonyms: array expected");
+ message.synonyms = [];
+ for (var i = 0; i < object.synonyms.length; ++i)
+ message.synonyms[i] = String(object.synonyms[i]);
+ }
+ if (object.tags) {
+ if (!Array.isArray(object.tags))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Field.tags: array expected");
+ message.tags = [];
+ for (var i = 0; i < object.tags.length; ++i)
+ message.tags[i] = String(object.tags[i]);
+ }
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ if (object.subfields) {
+ if (!Array.isArray(object.subfields))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Field.subfields: array expected");
+ message.subfields = [];
+ for (var i = 0; i < object.subfields.length; ++i) {
+ if (typeof object.subfields[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Field.subfields: object expected");
+ message.subfields[i] = $root.google.cloud.geminidataanalytics.v1alpha.Field.fromObject(object.subfields[i]);
+ }
+ }
+ if (object.category != null)
+ message.category = String(object.category);
+ if (object.valueFormat != null)
+ message.valueFormat = String(object.valueFormat);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Field message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Field} message Field
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Field.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.synonyms = [];
+ object.tags = [];
+ object.subfields = [];
+ }
+ if (options.defaults) {
+ object.name = "";
+ object.type = "";
+ object.description = "";
+ object.mode = "";
+ object.displayName = "";
+ object.category = "";
+ object.valueFormat = "";
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = message.type;
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.mode != null && message.hasOwnProperty("mode"))
+ object.mode = message.mode;
+ if (message.synonyms && message.synonyms.length) {
+ object.synonyms = [];
+ for (var j = 0; j < message.synonyms.length; ++j)
+ object.synonyms[j] = message.synonyms[j];
+ }
+ if (message.tags && message.tags.length) {
+ object.tags = [];
+ for (var j = 0; j < message.tags.length; ++j)
+ object.tags[j] = message.tags[j];
+ }
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ object.displayName = message.displayName;
+ if (message.subfields && message.subfields.length) {
+ object.subfields = [];
+ for (var j = 0; j < message.subfields.length; ++j)
+ object.subfields[j] = $root.google.cloud.geminidataanalytics.v1alpha.Field.toObject(message.subfields[j], options);
+ }
+ if (message.category != null && message.hasOwnProperty("category"))
+ object.category = message.category;
+ if (message.valueFormat != null && message.hasOwnProperty("valueFormat"))
+ object.valueFormat = message.valueFormat;
+ return object;
+ };
+
+ /**
+ * Converts this Field to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Field.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Field
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Field
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Field.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.Field";
+ };
+
+ return Field;
+ })();
+
+ v1alpha.DataFilter = (function() {
+
+ /**
+ * Properties of a DataFilter.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IDataFilter
+ * @property {string|null} [field] DataFilter field
+ * @property {string|null} [value] DataFilter value
+ * @property {google.cloud.geminidataanalytics.v1alpha.DataFilterType|null} [type] DataFilter type
+ */
+
+ /**
+ * Constructs a new DataFilter.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a DataFilter.
+ * @implements IDataFilter
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataFilter=} [properties] Properties to set
+ */
+ function DataFilter(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]];
+ }
+
+ /**
+ * DataFilter field.
+ * @member {string} field
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @instance
+ */
+ DataFilter.prototype.field = "";
+
+ /**
+ * DataFilter value.
+ * @member {string} value
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @instance
+ */
+ DataFilter.prototype.value = "";
+
+ /**
+ * DataFilter type.
+ * @member {google.cloud.geminidataanalytics.v1alpha.DataFilterType} type
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @instance
+ */
+ DataFilter.prototype.type = 0;
+
+ /**
+ * Creates a new DataFilter instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataFilter=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataFilter} DataFilter instance
+ */
+ DataFilter.create = function create(properties) {
+ return new DataFilter(properties);
+ };
+
+ /**
+ * Encodes the specified DataFilter message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataFilter.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataFilter} message DataFilter message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataFilter.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.field != null && Object.hasOwnProperty.call(message, "field"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.field);
+ if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.value);
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.type);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DataFilter message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataFilter.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataFilter} message DataFilter message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataFilter.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DataFilter message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataFilter} DataFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataFilter.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.DataFilter();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.field = reader.string();
+ break;
+ }
+ case 2: {
+ message.value = reader.string();
+ break;
+ }
+ case 3: {
+ message.type = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DataFilter message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataFilter} DataFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataFilter.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DataFilter message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DataFilter.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.field != null && message.hasOwnProperty("field"))
+ if (!$util.isString(message.field))
+ return "field: string expected";
+ if (message.value != null && message.hasOwnProperty("value"))
+ if (!$util.isString(message.value))
+ return "value: string expected";
+ if (message.type != null && message.hasOwnProperty("type"))
+ switch (message.type) {
+ default:
+ return "type: enum value expected";
+ case 0:
+ case 1:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DataFilter message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataFilter} DataFilter
+ */
+ DataFilter.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.DataFilter)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.DataFilter();
+ if (object.field != null)
+ message.field = String(object.field);
+ if (object.value != null)
+ message.value = String(object.value);
+ switch (object.type) {
+ default:
+ if (typeof object.type === "number") {
+ message.type = object.type;
+ break;
+ }
+ break;
+ case "DATA_FILTER_TYPE_UNSPECIFIED":
+ case 0:
+ message.type = 0;
+ break;
+ case "ALWAYS_FILTER":
+ case 1:
+ message.type = 1;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DataFilter message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataFilter} message DataFilter
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DataFilter.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.field = "";
+ object.value = "";
+ object.type = options.enums === String ? "DATA_FILTER_TYPE_UNSPECIFIED" : 0;
+ }
+ if (message.field != null && message.hasOwnProperty("field"))
+ object.field = message.field;
+ if (message.value != null && message.hasOwnProperty("value"))
+ object.value = message.value;
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = options.enums === String ? $root.google.cloud.geminidataanalytics.v1alpha.DataFilterType[message.type] === undefined ? message.type : $root.google.cloud.geminidataanalytics.v1alpha.DataFilterType[message.type] : message.type;
+ return object;
+ };
+
+ /**
+ * Converts this DataFilter to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DataFilter.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DataFilter
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataFilter
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DataFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.DataFilter";
+ };
+
+ return DataFilter;
+ })();
+
+ v1alpha.Credentials = (function() {
+
+ /**
+ * Properties of a Credentials.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface ICredentials
+ * @property {google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials|null} [oauth] Credentials oauth
+ */
+
+ /**
+ * Constructs a new Credentials.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a Credentials.
+ * @implements ICredentials
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.ICredentials=} [properties] Properties to set
+ */
+ function Credentials(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]];
+ }
+
+ /**
+ * Credentials oauth.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials|null|undefined} oauth
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @instance
+ */
+ Credentials.prototype.oauth = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * Credentials kind.
+ * @member {"oauth"|undefined} kind
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @instance
+ */
+ Object.defineProperty(Credentials.prototype, "kind", {
+ get: $util.oneOfGetter($oneOfFields = ["oauth"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new Credentials instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ICredentials=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Credentials} Credentials instance
+ */
+ Credentials.create = function create(properties) {
+ return new Credentials(properties);
+ };
+
+ /**
+ * Encodes the specified Credentials message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Credentials.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ICredentials} message Credentials message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Credentials.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.oauth != null && Object.hasOwnProperty.call(message, "oauth"))
+ $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.encode(message.oauth, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Credentials message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Credentials.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ICredentials} message Credentials message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Credentials.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Credentials message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Credentials} Credentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Credentials.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.Credentials();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.oauth = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Credentials message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Credentials} Credentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Credentials.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Credentials message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Credentials.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.oauth != null && message.hasOwnProperty("oauth")) {
+ properties.kind = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.verify(message.oauth);
+ if (error)
+ return "oauth." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Credentials message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Credentials} Credentials
+ */
+ Credentials.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.Credentials)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.Credentials();
+ if (object.oauth != null) {
+ if (typeof object.oauth !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Credentials.oauth: object expected");
+ message.oauth = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.fromObject(object.oauth);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Credentials message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Credentials} message Credentials
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Credentials.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.oauth != null && message.hasOwnProperty("oauth")) {
+ object.oauth = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.toObject(message.oauth, options);
+ if (options.oneofs)
+ object.kind = "oauth";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Credentials to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Credentials.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Credentials
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Credentials
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Credentials.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.Credentials";
+ };
+
+ return Credentials;
+ })();
+
+ v1alpha.OAuthCredentials = (function() {
+
+ /**
+ * Properties of a OAuthCredentials.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IOAuthCredentials
+ * @property {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased|null} [secret] OAuthCredentials secret
+ * @property {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased|null} [token] OAuthCredentials token
+ */
+
+ /**
+ * Constructs a new OAuthCredentials.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a OAuthCredentials.
+ * @implements IOAuthCredentials
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials=} [properties] Properties to set
+ */
+ function OAuthCredentials(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]];
+ }
+
+ /**
+ * OAuthCredentials secret.
+ * @member {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased|null|undefined} secret
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @instance
+ */
+ OAuthCredentials.prototype.secret = null;
+
+ /**
+ * OAuthCredentials token.
+ * @member {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased|null|undefined} token
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @instance
+ */
+ OAuthCredentials.prototype.token = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * OAuthCredentials kind.
+ * @member {"secret"|"token"|undefined} kind
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @instance
+ */
+ Object.defineProperty(OAuthCredentials.prototype, "kind", {
+ get: $util.oneOfGetter($oneOfFields = ["secret", "token"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new OAuthCredentials instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials} OAuthCredentials instance
+ */
+ OAuthCredentials.create = function create(properties) {
+ return new OAuthCredentials(properties);
+ };
+
+ /**
+ * Encodes the specified OAuthCredentials message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials} message OAuthCredentials message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OAuthCredentials.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.secret != null && Object.hasOwnProperty.call(message, "secret"))
+ $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased.encode(message.secret, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.token != null && Object.hasOwnProperty.call(message, "token"))
+ $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased.encode(message.token, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified OAuthCredentials message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IOAuthCredentials} message OAuthCredentials message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OAuthCredentials.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a OAuthCredentials message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials} OAuthCredentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OAuthCredentials.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 2: {
+ message.secret = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.token = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a OAuthCredentials message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials} OAuthCredentials
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OAuthCredentials.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a OAuthCredentials message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ OAuthCredentials.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.secret != null && message.hasOwnProperty("secret")) {
+ properties.kind = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased.verify(message.secret);
+ if (error)
+ return "secret." + error;
+ }
+ }
+ if (message.token != null && message.hasOwnProperty("token")) {
+ if (properties.kind === 1)
+ return "kind: multiple values";
+ properties.kind = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased.verify(message.token);
+ if (error)
+ return "token." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a OAuthCredentials message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials} OAuthCredentials
+ */
+ OAuthCredentials.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials();
+ if (object.secret != null) {
+ if (typeof object.secret !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.secret: object expected");
+ message.secret = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased.fromObject(object.secret);
+ }
+ if (object.token != null) {
+ if (typeof object.token !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.token: object expected");
+ message.token = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased.fromObject(object.token);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a OAuthCredentials message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials} message OAuthCredentials
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ OAuthCredentials.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.secret != null && message.hasOwnProperty("secret")) {
+ object.secret = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased.toObject(message.secret, options);
+ if (options.oneofs)
+ object.kind = "secret";
+ }
+ if (message.token != null && message.hasOwnProperty("token")) {
+ object.token = $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased.toObject(message.token, options);
+ if (options.oneofs)
+ object.kind = "token";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this OAuthCredentials to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ OAuthCredentials.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for OAuthCredentials
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ OAuthCredentials.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.OAuthCredentials";
+ };
+
+ OAuthCredentials.SecretBased = (function() {
+
+ /**
+ * Properties of a SecretBased.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @interface ISecretBased
+ * @property {string|null} [clientId] SecretBased clientId
+ * @property {string|null} [clientSecret] SecretBased clientSecret
+ */
+
+ /**
+ * Constructs a new SecretBased.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @classdesc Represents a SecretBased.
+ * @implements ISecretBased
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased=} [properties] Properties to set
+ */
+ function SecretBased(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]];
+ }
+
+ /**
+ * SecretBased clientId.
+ * @member {string} clientId
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @instance
+ */
+ SecretBased.prototype.clientId = "";
+
+ /**
+ * SecretBased clientSecret.
+ * @member {string} clientSecret
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @instance
+ */
+ SecretBased.prototype.clientSecret = "";
+
+ /**
+ * Creates a new SecretBased instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased} SecretBased instance
+ */
+ SecretBased.create = function create(properties) {
+ return new SecretBased(properties);
+ };
+
+ /**
+ * Encodes the specified SecretBased message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased} message SecretBased message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SecretBased.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.clientId != null && Object.hasOwnProperty.call(message, "clientId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.clientId);
+ if (message.clientSecret != null && Object.hasOwnProperty.call(message, "clientSecret"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.clientSecret);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SecretBased message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ISecretBased} message SecretBased message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SecretBased.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SecretBased message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased} SecretBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SecretBased.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 2: {
+ message.clientId = reader.string();
+ break;
+ }
+ case 3: {
+ message.clientSecret = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SecretBased message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased} SecretBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SecretBased.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SecretBased message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SecretBased.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.clientId != null && message.hasOwnProperty("clientId"))
+ if (!$util.isString(message.clientId))
+ return "clientId: string expected";
+ if (message.clientSecret != null && message.hasOwnProperty("clientSecret"))
+ if (!$util.isString(message.clientSecret))
+ return "clientSecret: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a SecretBased message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased} SecretBased
+ */
+ SecretBased.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased();
+ if (object.clientId != null)
+ message.clientId = String(object.clientId);
+ if (object.clientSecret != null)
+ message.clientSecret = String(object.clientSecret);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SecretBased message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased} message SecretBased
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SecretBased.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.clientId = "";
+ object.clientSecret = "";
+ }
+ if (message.clientId != null && message.hasOwnProperty("clientId"))
+ object.clientId = message.clientId;
+ if (message.clientSecret != null && message.hasOwnProperty("clientSecret"))
+ object.clientSecret = message.clientSecret;
+ return object;
+ };
+
+ /**
+ * Converts this SecretBased to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SecretBased.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SecretBased
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SecretBased.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.SecretBased";
+ };
+
+ return SecretBased;
+ })();
+
+ OAuthCredentials.TokenBased = (function() {
+
+ /**
+ * Properties of a TokenBased.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @interface ITokenBased
+ * @property {string|null} [accessToken] TokenBased accessToken
+ */
+
+ /**
+ * Constructs a new TokenBased.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials
+ * @classdesc Represents a TokenBased.
+ * @implements ITokenBased
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased=} [properties] Properties to set
+ */
+ function TokenBased(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]];
+ }
+
+ /**
+ * TokenBased accessToken.
+ * @member {string} accessToken
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @instance
+ */
+ TokenBased.prototype.accessToken = "";
+
+ /**
+ * Creates a new TokenBased instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased} TokenBased instance
+ */
+ TokenBased.create = function create(properties) {
+ return new TokenBased(properties);
+ };
+
+ /**
+ * Encodes the specified TokenBased message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased} message TokenBased message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TokenBased.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.accessToken != null && Object.hasOwnProperty.call(message, "accessToken"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.accessToken);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TokenBased message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.ITokenBased} message TokenBased message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TokenBased.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TokenBased message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased} TokenBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TokenBased.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.accessToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TokenBased message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased} TokenBased
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TokenBased.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TokenBased message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TokenBased.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.accessToken != null && message.hasOwnProperty("accessToken"))
+ if (!$util.isString(message.accessToken))
+ return "accessToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a TokenBased message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased} TokenBased
+ */
+ TokenBased.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased();
+ if (object.accessToken != null)
+ message.accessToken = String(object.accessToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TokenBased message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased} message TokenBased
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TokenBased.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.accessToken = "";
+ if (message.accessToken != null && message.hasOwnProperty("accessToken"))
+ object.accessToken = message.accessToken;
+ return object;
+ };
+
+ /**
+ * Converts this TokenBased to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TokenBased.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TokenBased
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TokenBased.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.OAuthCredentials.TokenBased";
+ };
+
+ return TokenBased;
+ })();
+
+ return OAuthCredentials;
+ })();
+
+ v1alpha.Conversation = (function() {
+
+ /**
+ * Properties of a Conversation.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IConversation
+ * @property {string|null} [name] Conversation name
+ * @property {Array.|null} [agents] Conversation agents
+ * @property {google.protobuf.ITimestamp|null} [createTime] Conversation createTime
+ * @property {google.protobuf.ITimestamp|null} [lastUsedTime] Conversation lastUsedTime
+ * @property {Object.|null} [labels] Conversation labels
+ */
+
+ /**
+ * Constructs a new Conversation.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a Conversation.
+ * @implements IConversation
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IConversation=} [properties] Properties to set
+ */
+ function Conversation(properties) {
+ this.agents = [];
+ this.labels = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Conversation name.
+ * @member {string} name
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @instance
+ */
+ Conversation.prototype.name = "";
+
+ /**
+ * Conversation agents.
+ * @member {Array.} agents
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @instance
+ */
+ Conversation.prototype.agents = $util.emptyArray;
+
+ /**
+ * Conversation createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @instance
+ */
+ Conversation.prototype.createTime = null;
+
+ /**
+ * Conversation lastUsedTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} lastUsedTime
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @instance
+ */
+ Conversation.prototype.lastUsedTime = null;
+
+ /**
+ * Conversation labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @instance
+ */
+ Conversation.prototype.labels = $util.emptyObject;
+
+ /**
+ * Creates a new Conversation instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IConversation=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Conversation} Conversation instance
+ */
+ Conversation.create = function create(properties) {
+ return new Conversation(properties);
+ };
+
+ /**
+ * Encodes the specified Conversation message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Conversation.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IConversation} message Conversation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Conversation.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.agents != null && message.agents.length)
+ for (var i = 0; i < message.agents.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.agents[i]);
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.lastUsedTime != null && Object.hasOwnProperty.call(message, "lastUsedTime"))
+ $root.google.protobuf.Timestamp.encode(message.lastUsedTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 9, wireType 2 =*/74).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Conversation message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.Conversation.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IConversation} message Conversation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Conversation.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Conversation message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Conversation} Conversation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Conversation.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.Conversation(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ if (!(message.agents && message.agents.length))
+ message.agents = [];
+ message.agents.push(reader.string());
+ break;
+ }
+ case 3: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.lastUsedTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 9: {
+ if (message.labels === $util.emptyObject)
+ message.labels = {};
+ var end2 = reader.uint32() + reader.pos;
+ key = "";
+ value = "";
+ while (reader.pos < end2) {
+ var tag2 = reader.uint32();
+ switch (tag2 >>> 3) {
+ case 1:
+ key = reader.string();
+ break;
+ case 2:
+ value = reader.string();
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.labels[key] = value;
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Conversation message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Conversation} Conversation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Conversation.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Conversation message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Conversation.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.agents != null && message.hasOwnProperty("agents")) {
+ if (!Array.isArray(message.agents))
+ return "agents: array expected";
+ for (var i = 0; i < message.agents.length; ++i)
+ if (!$util.isString(message.agents[i]))
+ return "agents: string[] expected";
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.lastUsedTime != null && message.hasOwnProperty("lastUsedTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.lastUsedTime);
+ if (error)
+ return "lastUsedTime." + error;
+ }
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Conversation message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.Conversation} Conversation
+ */
+ Conversation.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.Conversation)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.Conversation();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.agents) {
+ if (!Array.isArray(object.agents))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Conversation.agents: array expected");
+ message.agents = [];
+ for (var i = 0; i < object.agents.length; ++i)
+ message.agents[i] = String(object.agents[i]);
+ }
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Conversation.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.lastUsedTime != null) {
+ if (typeof object.lastUsedTime !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Conversation.lastUsedTime: object expected");
+ message.lastUsedTime = $root.google.protobuf.Timestamp.fromObject(object.lastUsedTime);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.Conversation.labels: object expected");
+ message.labels = {};
+ for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i)
+ message.labels[keys[i]] = String(object.labels[keys[i]]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Conversation message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.Conversation} message Conversation
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Conversation.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.agents = [];
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.name = "";
+ object.createTime = null;
+ object.lastUsedTime = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.agents && message.agents.length) {
+ object.agents = [];
+ for (var j = 0; j < message.agents.length; ++j)
+ object.agents[j] = message.agents[j];
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.lastUsedTime != null && message.hasOwnProperty("lastUsedTime"))
+ object.lastUsedTime = $root.google.protobuf.Timestamp.toObject(message.lastUsedTime, options);
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Conversation to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Conversation.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Conversation
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.Conversation
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Conversation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.Conversation";
+ };
+
+ return Conversation;
+ })();
+
+ v1alpha.CreateConversationRequest = (function() {
+
+ /**
+ * Properties of a CreateConversationRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface ICreateConversationRequest
+ * @property {string|null} [parent] CreateConversationRequest parent
+ * @property {string|null} [conversationId] CreateConversationRequest conversationId
+ * @property {google.cloud.geminidataanalytics.v1alpha.IConversation|null} [conversation] CreateConversationRequest conversation
+ * @property {string|null} [requestId] CreateConversationRequest requestId
+ */
+
+ /**
+ * Constructs a new CreateConversationRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a CreateConversationRequest.
+ * @implements ICreateConversationRequest
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @instance
+ */
+ CreateConversationRequest.prototype.parent = "";
+
+ /**
+ * CreateConversationRequest conversationId.
+ * @member {string} conversationId
+ * @memberof google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @instance
+ */
+ CreateConversationRequest.prototype.conversationId = "";
+
+ /**
+ * CreateConversationRequest conversation.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IConversation|null|undefined} conversation
+ * @memberof google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @instance
+ */
+ CreateConversationRequest.prototype.conversation = null;
+
+ /**
+ * CreateConversationRequest requestId.
+ * @member {string} requestId
+ * @memberof google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @instance
+ */
+ CreateConversationRequest.prototype.requestId = "";
+
+ /**
+ * Creates a new CreateConversationRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ICreateConversationRequest=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest} CreateConversationRequest instance
+ */
+ CreateConversationRequest.create = function create(properties) {
+ return new CreateConversationRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateConversationRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.conversationId != null && Object.hasOwnProperty.call(message, "conversationId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.conversationId);
+ if (message.conversation != null && Object.hasOwnProperty.call(message, "conversation"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Conversation.encode(message.conversation, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.requestId != null && Object.hasOwnProperty.call(message, "requestId"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.requestId);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateConversationRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.conversationId = reader.string();
+ break;
+ }
+ case 3: {
+ message.conversation = $root.google.cloud.geminidataanalytics.v1alpha.Conversation.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.requestId = 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.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.conversationId != null && message.hasOwnProperty("conversationId"))
+ if (!$util.isString(message.conversationId))
+ return "conversationId: string expected";
+ if (message.conversation != null && message.hasOwnProperty("conversation")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Conversation.verify(message.conversation);
+ if (error)
+ return "conversation." + error;
+ }
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ if (!$util.isString(message.requestId))
+ return "requestId: 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.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest} CreateConversationRequest
+ */
+ CreateConversationRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.conversationId != null)
+ message.conversationId = String(object.conversationId);
+ if (object.conversation != null) {
+ if (typeof object.conversation !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest.conversation: object expected");
+ message.conversation = $root.google.cloud.geminidataanalytics.v1alpha.Conversation.fromObject(object.conversation);
+ }
+ if (object.requestId != null)
+ message.requestId = String(object.requestId);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateConversationRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.CreateConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.conversationId = "";
+ object.conversation = null;
+ object.requestId = "";
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.conversationId != null && message.hasOwnProperty("conversationId"))
+ object.conversationId = message.conversationId;
+ if (message.conversation != null && message.hasOwnProperty("conversation"))
+ object.conversation = $root.google.cloud.geminidataanalytics.v1alpha.Conversation.toObject(message.conversation, options);
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ object.requestId = message.requestId;
+ return object;
+ };
+
+ /**
+ * Converts this CreateConversationRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.CreateConversationRequest";
+ };
+
+ return CreateConversationRequest;
+ })();
+
+ v1alpha.GetConversationRequest = (function() {
+
+ /**
+ * Properties of a GetConversationRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IGetConversationRequest
+ * @property {string|null} [name] GetConversationRequest name
+ */
+
+ /**
+ * Constructs a new GetConversationRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a GetConversationRequest.
+ * @implements IGetConversationRequest
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.GetConversationRequest
+ * @instance
+ */
+ GetConversationRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetConversationRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GetConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IGetConversationRequest=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.GetConversationRequest} GetConversationRequest instance
+ */
+ GetConversationRequest.create = function create(properties) {
+ return new GetConversationRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetConversationRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.GetConversationRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GetConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetConversationRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.GetConversationRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GetConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.GetConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.GetConversationRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ 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.geminidataanalytics.v1alpha.GetConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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";
+ return null;
+ };
+
+ /**
+ * Creates a GetConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GetConversationRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.GetConversationRequest} GetConversationRequest
+ */
+ GetConversationRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.GetConversationRequest)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.GetConversationRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetConversationRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.GetConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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 = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this GetConversationRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.GetConversationRequest";
+ };
+
+ return GetConversationRequest;
+ })();
+
+ v1alpha.ListConversationsRequest = (function() {
+
+ /**
+ * Properties of a ListConversationsRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @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
+ */
+
+ /**
+ * Constructs a new ListConversationsRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a ListConversationsRequest.
+ * @implements IListConversationsRequest
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @instance
+ */
+ ListConversationsRequest.prototype.parent = "";
+
+ /**
+ * ListConversationsRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @instance
+ */
+ ListConversationsRequest.prototype.pageSize = 0;
+
+ /**
+ * ListConversationsRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @instance
+ */
+ ListConversationsRequest.prototype.pageToken = "";
+
+ /**
+ * ListConversationsRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @instance
+ */
+ ListConversationsRequest.prototype.filter = "";
+
+ /**
+ * Creates a new ListConversationsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListConversationsRequest=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest} ListConversationsRequest instance
+ */
+ ListConversationsRequest.create = function create(properties) {
+ return new ListConversationsRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListConversationsRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListConversationsRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ 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 ListConversationsRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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";
+ return null;
+ };
+
+ /**
+ * Creates a ListConversationsRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest} ListConversationsRequest
+ */
+ ListConversationsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.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);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListConversationsRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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 = "";
+ }
+ 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 ListConversationsRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsRequest";
+ };
+
+ return ListConversationsRequest;
+ })();
+
+ v1alpha.ListConversationsResponse = (function() {
+
+ /**
+ * Properties of a ListConversationsResponse.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IListConversationsResponse
+ * @property {Array.|null} [conversations] ListConversationsResponse conversations
+ * @property {string|null} [nextPageToken] ListConversationsResponse nextPageToken
+ */
+
+ /**
+ * Constructs a new ListConversationsResponse.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a ListConversationsResponse.
+ * @implements IListConversationsResponse
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsResponse
+ * @instance
+ */
+ ListConversationsResponse.prototype.conversations = $util.emptyArray;
+
+ /**
+ * ListConversationsResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse
+ * @instance
+ */
+ ListConversationsResponse.prototype.nextPageToken = "";
+
+ /**
+ * Creates a new ListConversationsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListConversationsResponse=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse} ListConversationsResponse instance
+ */
+ ListConversationsResponse.create = function create(properties) {
+ return new ListConversationsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListConversationsResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.conversations && message.conversations.length))
+ message.conversations = [];
+ message.conversations.push($root.google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse} ListConversationsResponse
+ */
+ ListConversationsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.ListConversationsResponse();
+ if (object.conversations) {
+ if (!Array.isArray(object.conversations))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsResponse.conversations: object expected");
+ message.conversations[i] = $root.google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.ListConversationsResponse";
+ };
+
+ return ListConversationsResponse;
+ })();
+
+ v1alpha.DeleteConversationRequest = (function() {
+
+ /**
+ * Properties of a DeleteConversationRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IDeleteConversationRequest
+ * @property {string|null} [name] DeleteConversationRequest name
+ */
+
+ /**
+ * Constructs a new DeleteConversationRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a DeleteConversationRequest.
+ * @implements IDeleteConversationRequest
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.DeleteConversationRequest
+ * @instance
+ */
+ DeleteConversationRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeleteConversationRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDeleteConversationRequest=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest} DeleteConversationRequest instance
+ */
+ DeleteConversationRequest.create = function create(properties) {
+ return new DeleteConversationRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteConversationRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteConversationRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.DeleteConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ 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.geminidataanalytics.v1alpha.DeleteConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest} DeleteConversationRequest
+ */
+ DeleteConversationRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteConversationRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DeleteConversationRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.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 = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteConversationRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.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.geminidataanalytics.v1alpha.DeleteConversationRequest";
+ };
+
+ return DeleteConversationRequest;
+ })();
+
+ v1alpha.DataAgent = (function() {
+
+ /**
+ * Properties of a DataAgent.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IDataAgent
+ * @property {google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent|null} [dataAnalyticsAgent] DataAgent dataAnalyticsAgent
+ * @property {string|null} [name] DataAgent name
+ * @property {string|null} [displayName] DataAgent displayName
+ * @property {string|null} [description] DataAgent description
+ * @property {Object.|null} [labels] DataAgent labels
+ * @property {google.protobuf.ITimestamp|null} [createTime] DataAgent createTime
+ * @property {google.protobuf.ITimestamp|null} [updateTime] DataAgent updateTime
+ * @property {google.protobuf.ITimestamp|null} [deleteTime] DataAgent deleteTime
+ * @property {google.protobuf.ITimestamp|null} [purgeTime] DataAgent purgeTime
+ */
+
+ /**
+ * Constructs a new DataAgent.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a DataAgent.
+ * @implements IDataAgent
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataAgent=} [properties] Properties to set
+ */
+ function DataAgent(properties) {
+ this.labels = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * DataAgent dataAnalyticsAgent.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent|null|undefined} dataAnalyticsAgent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ DataAgent.prototype.dataAnalyticsAgent = null;
+
+ /**
+ * DataAgent name.
+ * @member {string} name
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ DataAgent.prototype.name = "";
+
+ /**
+ * DataAgent displayName.
+ * @member {string} displayName
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ DataAgent.prototype.displayName = "";
+
+ /**
+ * DataAgent description.
+ * @member {string} description
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ DataAgent.prototype.description = "";
+
+ /**
+ * DataAgent labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ DataAgent.prototype.labels = $util.emptyObject;
+
+ /**
+ * DataAgent createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ DataAgent.prototype.createTime = null;
+
+ /**
+ * DataAgent updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ DataAgent.prototype.updateTime = null;
+
+ /**
+ * DataAgent deleteTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} deleteTime
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ DataAgent.prototype.deleteTime = null;
+
+ /**
+ * DataAgent purgeTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} purgeTime
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ DataAgent.prototype.purgeTime = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * DataAgent type.
+ * @member {"dataAnalyticsAgent"|undefined} type
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ */
+ Object.defineProperty(DataAgent.prototype, "type", {
+ get: $util.oneOfGetter($oneOfFields = ["dataAnalyticsAgent"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new DataAgent instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataAgent=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataAgent} DataAgent instance
+ */
+ DataAgent.create = function create(properties) {
+ return new DataAgent(properties);
+ };
+
+ /**
+ * Encodes the specified DataAgent message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAgent.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataAgent} message DataAgent message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataAgent.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.displayName);
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.description);
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.deleteTime != null && Object.hasOwnProperty.call(message, "deleteTime"))
+ $root.google.protobuf.Timestamp.encode(message.deleteTime, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
+ if (message.purgeTime != null && Object.hasOwnProperty.call(message, "purgeTime"))
+ $root.google.protobuf.Timestamp.encode(message.purgeTime, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
+ if (message.dataAnalyticsAgent != null && Object.hasOwnProperty.call(message, "dataAnalyticsAgent"))
+ $root.google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.encode(message.dataAnalyticsAgent, writer.uint32(/* id 101, wireType 2 =*/810).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DataAgent message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAgent.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataAgent} message DataAgent message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataAgent.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DataAgent message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataAgent} DataAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataAgent.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.DataAgent(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 101: {
+ message.dataAnalyticsAgent = $root.google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.decode(reader, reader.uint32());
+ break;
+ }
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 3: {
+ message.displayName = reader.string();
+ break;
+ }
+ case 4: {
+ message.description = reader.string();
+ break;
+ }
+ case 5: {
+ if (message.labels === $util.emptyObject)
+ message.labels = {};
+ var end2 = reader.uint32() + reader.pos;
+ key = "";
+ value = "";
+ while (reader.pos < end2) {
+ var tag2 = reader.uint32();
+ switch (tag2 >>> 3) {
+ case 1:
+ key = reader.string();
+ break;
+ case 2:
+ value = reader.string();
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.labels[key] = value;
+ break;
+ }
+ case 7: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 8: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 12: {
+ message.deleteTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 13: {
+ message.purgeTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DataAgent message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataAgent} DataAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataAgent.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DataAgent message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DataAgent.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.dataAnalyticsAgent != null && message.hasOwnProperty("dataAnalyticsAgent")) {
+ properties.type = 1;
+ {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.verify(message.dataAnalyticsAgent);
+ if (error)
+ return "dataAnalyticsAgent." + error;
+ }
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.deleteTime != null && message.hasOwnProperty("deleteTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.deleteTime);
+ if (error)
+ return "deleteTime." + error;
+ }
+ if (message.purgeTime != null && message.hasOwnProperty("purgeTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.purgeTime);
+ if (error)
+ return "purgeTime." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DataAgent message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataAgent} DataAgent
+ */
+ DataAgent.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.DataAgent)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.DataAgent();
+ if (object.dataAnalyticsAgent != null) {
+ if (typeof object.dataAnalyticsAgent !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DataAgent.dataAnalyticsAgent: object expected");
+ message.dataAnalyticsAgent = $root.google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.fromObject(object.dataAnalyticsAgent);
+ }
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DataAgent.labels: object expected");
+ message.labels = {};
+ for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i)
+ message.labels[keys[i]] = String(object.labels[keys[i]]);
+ }
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DataAgent.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DataAgent.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.deleteTime != null) {
+ if (typeof object.deleteTime !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DataAgent.deleteTime: object expected");
+ message.deleteTime = $root.google.protobuf.Timestamp.fromObject(object.deleteTime);
+ }
+ if (object.purgeTime != null) {
+ if (typeof object.purgeTime !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DataAgent.purgeTime: object expected");
+ message.purgeTime = $root.google.protobuf.Timestamp.fromObject(object.purgeTime);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DataAgent message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgent} message DataAgent
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DataAgent.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.name = "";
+ object.displayName = "";
+ object.description = "";
+ object.createTime = null;
+ object.updateTime = null;
+ object.deleteTime = null;
+ object.purgeTime = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ object.displayName = message.displayName;
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ if (message.deleteTime != null && message.hasOwnProperty("deleteTime"))
+ object.deleteTime = $root.google.protobuf.Timestamp.toObject(message.deleteTime, options);
+ if (message.purgeTime != null && message.hasOwnProperty("purgeTime"))
+ object.purgeTime = $root.google.protobuf.Timestamp.toObject(message.purgeTime, options);
+ if (message.dataAnalyticsAgent != null && message.hasOwnProperty("dataAnalyticsAgent")) {
+ object.dataAnalyticsAgent = $root.google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.toObject(message.dataAnalyticsAgent, options);
+ if (options.oneofs)
+ object.type = "dataAnalyticsAgent";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this DataAgent to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DataAgent.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DataAgent
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgent
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DataAgent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.DataAgent";
+ };
+
+ return DataAgent;
+ })();
+
+ v1alpha.DataAnalyticsAgent = (function() {
+
+ /**
+ * Properties of a DataAnalyticsAgent.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IDataAnalyticsAgent
+ * @property {google.cloud.geminidataanalytics.v1alpha.IContext|null} [stagingContext] DataAnalyticsAgent stagingContext
+ * @property {google.cloud.geminidataanalytics.v1alpha.IContext|null} [publishedContext] DataAnalyticsAgent publishedContext
+ * @property {google.cloud.geminidataanalytics.v1alpha.IContext|null} [lastPublishedContext] DataAnalyticsAgent lastPublishedContext
+ */
+
+ /**
+ * Constructs a new DataAnalyticsAgent.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a DataAnalyticsAgent.
+ * @implements IDataAnalyticsAgent
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent=} [properties] Properties to set
+ */
+ function DataAnalyticsAgent(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]];
+ }
+
+ /**
+ * DataAnalyticsAgent stagingContext.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IContext|null|undefined} stagingContext
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @instance
+ */
+ DataAnalyticsAgent.prototype.stagingContext = null;
+
+ /**
+ * DataAnalyticsAgent publishedContext.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IContext|null|undefined} publishedContext
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @instance
+ */
+ DataAnalyticsAgent.prototype.publishedContext = null;
+
+ /**
+ * DataAnalyticsAgent lastPublishedContext.
+ * @member {google.cloud.geminidataanalytics.v1alpha.IContext|null|undefined} lastPublishedContext
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @instance
+ */
+ DataAnalyticsAgent.prototype.lastPublishedContext = null;
+
+ /**
+ * Creates a new DataAnalyticsAgent instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent} DataAnalyticsAgent instance
+ */
+ DataAnalyticsAgent.create = function create(properties) {
+ return new DataAnalyticsAgent(properties);
+ };
+
+ /**
+ * Encodes the specified DataAnalyticsAgent message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent} message DataAnalyticsAgent message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataAnalyticsAgent.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.stagingContext != null && Object.hasOwnProperty.call(message, "stagingContext"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Context.encode(message.stagingContext, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.publishedContext != null && Object.hasOwnProperty.call(message, "publishedContext"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Context.encode(message.publishedContext, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.lastPublishedContext != null && Object.hasOwnProperty.call(message, "lastPublishedContext"))
+ $root.google.cloud.geminidataanalytics.v1alpha.Context.encode(message.lastPublishedContext, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DataAnalyticsAgent message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDataAnalyticsAgent} message DataAnalyticsAgent message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataAnalyticsAgent.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DataAnalyticsAgent message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent} DataAnalyticsAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataAnalyticsAgent.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 5: {
+ message.stagingContext = $root.google.cloud.geminidataanalytics.v1alpha.Context.decode(reader, reader.uint32());
+ break;
+ }
+ case 6: {
+ message.publishedContext = $root.google.cloud.geminidataanalytics.v1alpha.Context.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.lastPublishedContext = $root.google.cloud.geminidataanalytics.v1alpha.Context.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DataAnalyticsAgent message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent} DataAnalyticsAgent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataAnalyticsAgent.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DataAnalyticsAgent message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DataAnalyticsAgent.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.stagingContext != null && message.hasOwnProperty("stagingContext")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Context.verify(message.stagingContext);
+ if (error)
+ return "stagingContext." + error;
+ }
+ if (message.publishedContext != null && message.hasOwnProperty("publishedContext")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Context.verify(message.publishedContext);
+ if (error)
+ return "publishedContext." + error;
+ }
+ if (message.lastPublishedContext != null && message.hasOwnProperty("lastPublishedContext")) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.Context.verify(message.lastPublishedContext);
+ if (error)
+ return "lastPublishedContext." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DataAnalyticsAgent message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent} DataAnalyticsAgent
+ */
+ DataAnalyticsAgent.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent();
+ if (object.stagingContext != null) {
+ if (typeof object.stagingContext !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.stagingContext: object expected");
+ message.stagingContext = $root.google.cloud.geminidataanalytics.v1alpha.Context.fromObject(object.stagingContext);
+ }
+ if (object.publishedContext != null) {
+ if (typeof object.publishedContext !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.publishedContext: object expected");
+ message.publishedContext = $root.google.cloud.geminidataanalytics.v1alpha.Context.fromObject(object.publishedContext);
+ }
+ if (object.lastPublishedContext != null) {
+ if (typeof object.lastPublishedContext !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent.lastPublishedContext: object expected");
+ message.lastPublishedContext = $root.google.cloud.geminidataanalytics.v1alpha.Context.fromObject(object.lastPublishedContext);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DataAnalyticsAgent message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent} message DataAnalyticsAgent
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DataAnalyticsAgent.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.stagingContext = null;
+ object.publishedContext = null;
+ object.lastPublishedContext = null;
+ }
+ if (message.stagingContext != null && message.hasOwnProperty("stagingContext"))
+ object.stagingContext = $root.google.cloud.geminidataanalytics.v1alpha.Context.toObject(message.stagingContext, options);
+ if (message.publishedContext != null && message.hasOwnProperty("publishedContext"))
+ object.publishedContext = $root.google.cloud.geminidataanalytics.v1alpha.Context.toObject(message.publishedContext, options);
+ if (message.lastPublishedContext != null && message.hasOwnProperty("lastPublishedContext"))
+ object.lastPublishedContext = $root.google.cloud.geminidataanalytics.v1alpha.Context.toObject(message.lastPublishedContext, options);
+ return object;
+ };
+
+ /**
+ * Converts this DataAnalyticsAgent to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DataAnalyticsAgent.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DataAnalyticsAgent
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DataAnalyticsAgent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.DataAnalyticsAgent";
+ };
+
+ return DataAnalyticsAgent;
+ })();
+
+ v1alpha.DataAgentService = (function() {
+
+ /**
+ * Constructs a new DataAgentService service.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a DataAgentService
+ * @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 DataAgentService(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (DataAgentService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DataAgentService;
+
+ /**
+ * Creates new DataAgentService service using the specified rpc implementation.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @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 {DataAgentService} RPC service. Useful where requests and/or responses are streamed.
+ */
+ DataAgentService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|listDataAgents}.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @typedef ListDataAgentsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse} [response] ListDataAgentsResponse
+ */
+
+ /**
+ * Calls ListDataAgents.
+ * @function listDataAgents
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest} request ListDataAgentsRequest message or plain object
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgentService.ListDataAgentsCallback} callback Node-style callback called with the error, if any, and ListDataAgentsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataAgentService.prototype.listDataAgents = function listDataAgents(request, callback) {
+ return this.rpcCall(listDataAgents, $root.google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest, $root.google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse, request, callback);
+ }, "name", { value: "ListDataAgents" });
+
+ /**
+ * Calls ListDataAgents.
+ * @function listDataAgents
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest} request ListDataAgentsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|listAccessibleDataAgents}.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @typedef ListAccessibleDataAgentsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse} [response] ListAccessibleDataAgentsResponse
+ */
+
+ /**
+ * Calls ListAccessibleDataAgents.
+ * @function listAccessibleDataAgents
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest} request ListAccessibleDataAgentsRequest message or plain object
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgentService.ListAccessibleDataAgentsCallback} callback Node-style callback called with the error, if any, and ListAccessibleDataAgentsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataAgentService.prototype.listAccessibleDataAgents = function listAccessibleDataAgents(request, callback) {
+ return this.rpcCall(listAccessibleDataAgents, $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest, $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse, request, callback);
+ }, "name", { value: "ListAccessibleDataAgents" });
+
+ /**
+ * Calls ListAccessibleDataAgents.
+ * @function listAccessibleDataAgents
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest} request ListAccessibleDataAgentsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|getDataAgent}.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @typedef GetDataAgentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgent} [response] DataAgent
+ */
+
+ /**
+ * Calls GetDataAgent.
+ * @function getDataAgent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IGetDataAgentRequest} request GetDataAgentRequest message or plain object
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgentService.GetDataAgentCallback} callback Node-style callback called with the error, if any, and DataAgent
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataAgentService.prototype.getDataAgent = function getDataAgent(request, callback) {
+ return this.rpcCall(getDataAgent, $root.google.cloud.geminidataanalytics.v1alpha.GetDataAgentRequest, $root.google.cloud.geminidataanalytics.v1alpha.DataAgent, request, callback);
+ }, "name", { value: "GetDataAgent" });
+
+ /**
+ * Calls GetDataAgent.
+ * @function getDataAgent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IGetDataAgentRequest} request GetDataAgentRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|createDataAgent}.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @typedef CreateDataAgentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls CreateDataAgent.
+ * @function createDataAgent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.ICreateDataAgentRequest} request CreateDataAgentRequest message or plain object
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgentService.CreateDataAgentCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataAgentService.prototype.createDataAgent = function createDataAgent(request, callback) {
+ return this.rpcCall(createDataAgent, $root.google.cloud.geminidataanalytics.v1alpha.CreateDataAgentRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "CreateDataAgent" });
+
+ /**
+ * Calls CreateDataAgent.
+ * @function createDataAgent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.ICreateDataAgentRequest} request CreateDataAgentRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|updateDataAgent}.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @typedef UpdateDataAgentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls UpdateDataAgent.
+ * @function updateDataAgent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IUpdateDataAgentRequest} request UpdateDataAgentRequest message or plain object
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgentService.UpdateDataAgentCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataAgentService.prototype.updateDataAgent = function updateDataAgent(request, callback) {
+ return this.rpcCall(updateDataAgent, $root.google.cloud.geminidataanalytics.v1alpha.UpdateDataAgentRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "UpdateDataAgent" });
+
+ /**
+ * Calls UpdateDataAgent.
+ * @function updateDataAgent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IUpdateDataAgentRequest} request UpdateDataAgentRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|deleteDataAgent}.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @typedef DeleteDataAgentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls DeleteDataAgent.
+ * @function deleteDataAgent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDeleteDataAgentRequest} request DeleteDataAgentRequest message or plain object
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgentService.DeleteDataAgentCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataAgentService.prototype.deleteDataAgent = function deleteDataAgent(request, callback) {
+ return this.rpcCall(deleteDataAgent, $root.google.cloud.geminidataanalytics.v1alpha.DeleteDataAgentRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "DeleteDataAgent" });
+
+ /**
+ * Calls DeleteDataAgent.
+ * @function deleteDataAgent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.cloud.geminidataanalytics.v1alpha.IDeleteDataAgentRequest} request DeleteDataAgentRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|getIamPolicy}.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @typedef GetIamPolicyCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.Policy} [response] Policy
+ */
+
+ /**
+ * Calls GetIamPolicy.
+ * @function getIamPolicy
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.iam.v1.IGetIamPolicyRequest} request GetIamPolicyRequest message or plain object
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgentService.GetIamPolicyCallback} callback Node-style callback called with the error, if any, and Policy
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataAgentService.prototype.getIamPolicy = function getIamPolicy(request, callback) {
+ return this.rpcCall(getIamPolicy, $root.google.iam.v1.GetIamPolicyRequest, $root.google.iam.v1.Policy, request, callback);
+ }, "name", { value: "GetIamPolicy" });
+
+ /**
+ * Calls GetIamPolicy.
+ * @function getIamPolicy
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.iam.v1.IGetIamPolicyRequest} request GetIamPolicyRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.geminidataanalytics.v1alpha.DataAgentService|setIamPolicy}.
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @typedef SetIamPolicyCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.Policy} [response] Policy
+ */
+
+ /**
+ * Calls SetIamPolicy.
+ * @function setIamPolicy
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.iam.v1.ISetIamPolicyRequest} request SetIamPolicyRequest message or plain object
+ * @param {google.cloud.geminidataanalytics.v1alpha.DataAgentService.SetIamPolicyCallback} callback Node-style callback called with the error, if any, and Policy
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataAgentService.prototype.setIamPolicy = function setIamPolicy(request, callback) {
+ return this.rpcCall(setIamPolicy, $root.google.iam.v1.SetIamPolicyRequest, $root.google.iam.v1.Policy, request, callback);
+ }, "name", { value: "SetIamPolicy" });
+
+ /**
+ * Calls SetIamPolicy.
+ * @function setIamPolicy
+ * @memberof google.cloud.geminidataanalytics.v1alpha.DataAgentService
+ * @instance
+ * @param {google.iam.v1.ISetIamPolicyRequest} request SetIamPolicyRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ return DataAgentService;
+ })();
+
+ v1alpha.ListDataAgentsRequest = (function() {
+
+ /**
+ * Properties of a ListDataAgentsRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IListDataAgentsRequest
+ * @property {string|null} [parent] ListDataAgentsRequest parent
+ * @property {number|null} [pageSize] ListDataAgentsRequest pageSize
+ * @property {string|null} [pageToken] ListDataAgentsRequest pageToken
+ * @property {string|null} [filter] ListDataAgentsRequest filter
+ * @property {string|null} [orderBy] ListDataAgentsRequest orderBy
+ * @property {boolean|null} [showDeleted] ListDataAgentsRequest showDeleted
+ */
+
+ /**
+ * Constructs a new ListDataAgentsRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a ListDataAgentsRequest.
+ * @implements IListDataAgentsRequest
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest=} [properties] Properties to set
+ */
+ function ListDataAgentsRequest(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]];
+ }
+
+ /**
+ * ListDataAgentsRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @instance
+ */
+ ListDataAgentsRequest.prototype.parent = "";
+
+ /**
+ * ListDataAgentsRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @instance
+ */
+ ListDataAgentsRequest.prototype.pageSize = 0;
+
+ /**
+ * ListDataAgentsRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @instance
+ */
+ ListDataAgentsRequest.prototype.pageToken = "";
+
+ /**
+ * ListDataAgentsRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @instance
+ */
+ ListDataAgentsRequest.prototype.filter = "";
+
+ /**
+ * ListDataAgentsRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @instance
+ */
+ ListDataAgentsRequest.prototype.orderBy = "";
+
+ /**
+ * ListDataAgentsRequest showDeleted.
+ * @member {boolean} showDeleted
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @instance
+ */
+ ListDataAgentsRequest.prototype.showDeleted = false;
+
+ /**
+ * Creates a new ListDataAgentsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest} ListDataAgentsRequest instance
+ */
+ ListDataAgentsRequest.create = function create(properties) {
+ return new ListDataAgentsRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListDataAgentsRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest} message ListDataAgentsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListDataAgentsRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
+ if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
+ if (message.showDeleted != null && Object.hasOwnProperty.call(message, "showDeleted"))
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.showDeleted);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListDataAgentsRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsRequest} message ListDataAgentsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListDataAgentsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListDataAgentsRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest} ListDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListDataAgentsRequest.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageToken = reader.string();
+ break;
+ }
+ case 4: {
+ message.filter = reader.string();
+ break;
+ }
+ case 5: {
+ message.orderBy = reader.string();
+ break;
+ }
+ case 6: {
+ message.showDeleted = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListDataAgentsRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest} ListDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListDataAgentsRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListDataAgentsRequest message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListDataAgentsRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ if (!$util.isString(message.orderBy))
+ return "orderBy: string expected";
+ if (message.showDeleted != null && message.hasOwnProperty("showDeleted"))
+ if (typeof message.showDeleted !== "boolean")
+ return "showDeleted: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListDataAgentsRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest} ListDataAgentsRequest
+ */
+ ListDataAgentsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ if (object.orderBy != null)
+ message.orderBy = String(object.orderBy);
+ if (object.showDeleted != null)
+ message.showDeleted = Boolean(object.showDeleted);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListDataAgentsRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest} message ListDataAgentsRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListDataAgentsRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ object.filter = "";
+ object.orderBy = "";
+ object.showDeleted = false;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ object.orderBy = message.orderBy;
+ if (message.showDeleted != null && message.hasOwnProperty("showDeleted"))
+ object.showDeleted = message.showDeleted;
+ return object;
+ };
+
+ /**
+ * Converts this ListDataAgentsRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListDataAgentsRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListDataAgentsRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListDataAgentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.ListDataAgentsRequest";
+ };
+
+ return ListDataAgentsRequest;
+ })();
+
+ v1alpha.ListDataAgentsResponse = (function() {
+
+ /**
+ * Properties of a ListDataAgentsResponse.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IListDataAgentsResponse
+ * @property {Array.|null} [dataAgents] ListDataAgentsResponse dataAgents
+ * @property {string|null} [nextPageToken] ListDataAgentsResponse nextPageToken
+ * @property {Array.|null} [unreachable] ListDataAgentsResponse unreachable
+ */
+
+ /**
+ * Constructs a new ListDataAgentsResponse.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a ListDataAgentsResponse.
+ * @implements IListDataAgentsResponse
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsResponse=} [properties] Properties to set
+ */
+ function ListDataAgentsResponse(properties) {
+ this.dataAgents = [];
+ this.unreachable = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * ListDataAgentsResponse dataAgents.
+ * @member {Array.} dataAgents
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @instance
+ */
+ ListDataAgentsResponse.prototype.dataAgents = $util.emptyArray;
+
+ /**
+ * ListDataAgentsResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @instance
+ */
+ ListDataAgentsResponse.prototype.nextPageToken = "";
+
+ /**
+ * ListDataAgentsResponse unreachable.
+ * @member {Array.} unreachable
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @instance
+ */
+ ListDataAgentsResponse.prototype.unreachable = $util.emptyArray;
+
+ /**
+ * Creates a new ListDataAgentsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsResponse=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse} ListDataAgentsResponse instance
+ */
+ ListDataAgentsResponse.create = function create(properties) {
+ return new ListDataAgentsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListDataAgentsResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsResponse} message ListDataAgentsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListDataAgentsResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.dataAgents != null && message.dataAgents.length)
+ for (var i = 0; i < message.dataAgents.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.DataAgent.encode(message.dataAgents[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
+ if (message.unreachable != null && message.unreachable.length)
+ for (var i = 0; i < message.unreachable.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.unreachable[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListDataAgentsResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListDataAgentsResponse} message ListDataAgentsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListDataAgentsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListDataAgentsResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse} ListDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListDataAgentsResponse.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.dataAgents && message.dataAgents.length))
+ message.dataAgents = [];
+ message.dataAgents.push($root.google.cloud.geminidataanalytics.v1alpha.DataAgent.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.unreachable && message.unreachable.length))
+ message.unreachable = [];
+ message.unreachable.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListDataAgentsResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse} ListDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListDataAgentsResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListDataAgentsResponse message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListDataAgentsResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.dataAgents != null && message.hasOwnProperty("dataAgents")) {
+ if (!Array.isArray(message.dataAgents))
+ return "dataAgents: array expected";
+ for (var i = 0; i < message.dataAgents.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.DataAgent.verify(message.dataAgents[i]);
+ if (error)
+ return "dataAgents." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ if (message.unreachable != null && message.hasOwnProperty("unreachable")) {
+ if (!Array.isArray(message.unreachable))
+ return "unreachable: array expected";
+ for (var i = 0; i < message.unreachable.length; ++i)
+ if (!$util.isString(message.unreachable[i]))
+ return "unreachable: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ListDataAgentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse} ListDataAgentsResponse
+ */
+ ListDataAgentsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse();
+ if (object.dataAgents) {
+ if (!Array.isArray(object.dataAgents))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse.dataAgents: array expected");
+ message.dataAgents = [];
+ for (var i = 0; i < object.dataAgents.length; ++i) {
+ if (typeof object.dataAgents[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse.dataAgents: object expected");
+ message.dataAgents[i] = $root.google.cloud.geminidataanalytics.v1alpha.DataAgent.fromObject(object.dataAgents[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ if (object.unreachable) {
+ if (!Array.isArray(object.unreachable))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse.unreachable: array expected");
+ message.unreachable = [];
+ for (var i = 0; i < object.unreachable.length; ++i)
+ message.unreachable[i] = String(object.unreachable[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListDataAgentsResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse} message ListDataAgentsResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListDataAgentsResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.dataAgents = [];
+ object.unreachable = [];
+ }
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.dataAgents && message.dataAgents.length) {
+ object.dataAgents = [];
+ for (var j = 0; j < message.dataAgents.length; ++j)
+ object.dataAgents[j] = $root.google.cloud.geminidataanalytics.v1alpha.DataAgent.toObject(message.dataAgents[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ if (message.unreachable && message.unreachable.length) {
+ object.unreachable = [];
+ for (var j = 0; j < message.unreachable.length; ++j)
+ object.unreachable[j] = message.unreachable[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ListDataAgentsResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListDataAgentsResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListDataAgentsResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListDataAgentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.ListDataAgentsResponse";
+ };
+
+ return ListDataAgentsResponse;
+ })();
+
+ v1alpha.ListAccessibleDataAgentsRequest = (function() {
+
+ /**
+ * Properties of a ListAccessibleDataAgentsRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IListAccessibleDataAgentsRequest
+ * @property {string|null} [parent] ListAccessibleDataAgentsRequest parent
+ * @property {number|null} [pageSize] ListAccessibleDataAgentsRequest pageSize
+ * @property {string|null} [pageToken] ListAccessibleDataAgentsRequest pageToken
+ * @property {string|null} [filter] ListAccessibleDataAgentsRequest filter
+ * @property {string|null} [orderBy] ListAccessibleDataAgentsRequest orderBy
+ * @property {boolean|null} [showDeleted] ListAccessibleDataAgentsRequest showDeleted
+ * @property {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.CreatorFilter|null} [creatorFilter] ListAccessibleDataAgentsRequest creatorFilter
+ */
+
+ /**
+ * Constructs a new ListAccessibleDataAgentsRequest.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a ListAccessibleDataAgentsRequest.
+ * @implements IListAccessibleDataAgentsRequest
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest=} [properties] Properties to set
+ */
+ function ListAccessibleDataAgentsRequest(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]];
+ }
+
+ /**
+ * ListAccessibleDataAgentsRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @instance
+ */
+ ListAccessibleDataAgentsRequest.prototype.parent = "";
+
+ /**
+ * ListAccessibleDataAgentsRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @instance
+ */
+ ListAccessibleDataAgentsRequest.prototype.pageSize = 0;
+
+ /**
+ * ListAccessibleDataAgentsRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @instance
+ */
+ ListAccessibleDataAgentsRequest.prototype.pageToken = "";
+
+ /**
+ * ListAccessibleDataAgentsRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @instance
+ */
+ ListAccessibleDataAgentsRequest.prototype.filter = "";
+
+ /**
+ * ListAccessibleDataAgentsRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @instance
+ */
+ ListAccessibleDataAgentsRequest.prototype.orderBy = "";
+
+ /**
+ * ListAccessibleDataAgentsRequest showDeleted.
+ * @member {boolean} showDeleted
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @instance
+ */
+ ListAccessibleDataAgentsRequest.prototype.showDeleted = false;
+
+ /**
+ * ListAccessibleDataAgentsRequest creatorFilter.
+ * @member {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.CreatorFilter} creatorFilter
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @instance
+ */
+ ListAccessibleDataAgentsRequest.prototype.creatorFilter = 0;
+
+ /**
+ * Creates a new ListAccessibleDataAgentsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest} ListAccessibleDataAgentsRequest instance
+ */
+ ListAccessibleDataAgentsRequest.create = function create(properties) {
+ return new ListAccessibleDataAgentsRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsRequest message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest} message ListAccessibleDataAgentsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListAccessibleDataAgentsRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
+ if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
+ if (message.showDeleted != null && Object.hasOwnProperty.call(message, "showDeleted"))
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.showDeleted);
+ if (message.creatorFilter != null && Object.hasOwnProperty.call(message, "creatorFilter"))
+ writer.uint32(/* id 7, wireType 0 =*/56).int32(message.creatorFilter);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsRequest message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsRequest} message ListAccessibleDataAgentsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListAccessibleDataAgentsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListAccessibleDataAgentsRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest} ListAccessibleDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListAccessibleDataAgentsRequest.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageToken = reader.string();
+ break;
+ }
+ case 4: {
+ message.filter = reader.string();
+ break;
+ }
+ case 5: {
+ message.orderBy = reader.string();
+ break;
+ }
+ case 6: {
+ message.showDeleted = reader.bool();
+ break;
+ }
+ case 7: {
+ message.creatorFilter = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListAccessibleDataAgentsRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest} ListAccessibleDataAgentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListAccessibleDataAgentsRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListAccessibleDataAgentsRequest message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListAccessibleDataAgentsRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ if (!$util.isString(message.orderBy))
+ return "orderBy: string expected";
+ if (message.showDeleted != null && message.hasOwnProperty("showDeleted"))
+ if (typeof message.showDeleted !== "boolean")
+ return "showDeleted: boolean expected";
+ if (message.creatorFilter != null && message.hasOwnProperty("creatorFilter"))
+ switch (message.creatorFilter) {
+ default:
+ return "creatorFilter: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ListAccessibleDataAgentsRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest} ListAccessibleDataAgentsRequest
+ */
+ ListAccessibleDataAgentsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ if (object.orderBy != null)
+ message.orderBy = String(object.orderBy);
+ if (object.showDeleted != null)
+ message.showDeleted = Boolean(object.showDeleted);
+ switch (object.creatorFilter) {
+ default:
+ if (typeof object.creatorFilter === "number") {
+ message.creatorFilter = object.creatorFilter;
+ break;
+ }
+ break;
+ case "CREATOR_FILTER_UNSPECIFIED":
+ case 0:
+ message.creatorFilter = 0;
+ break;
+ case "NONE":
+ case 1:
+ message.creatorFilter = 1;
+ break;
+ case "CREATOR_ONLY":
+ case 2:
+ message.creatorFilter = 2;
+ break;
+ case "NOT_CREATOR_ONLY":
+ case 3:
+ message.creatorFilter = 3;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListAccessibleDataAgentsRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest} message ListAccessibleDataAgentsRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListAccessibleDataAgentsRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ object.filter = "";
+ object.orderBy = "";
+ object.showDeleted = false;
+ object.creatorFilter = options.enums === String ? "CREATOR_FILTER_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.orderBy != null && message.hasOwnProperty("orderBy"))
+ object.orderBy = message.orderBy;
+ if (message.showDeleted != null && message.hasOwnProperty("showDeleted"))
+ object.showDeleted = message.showDeleted;
+ if (message.creatorFilter != null && message.hasOwnProperty("creatorFilter"))
+ object.creatorFilter = options.enums === String ? $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.CreatorFilter[message.creatorFilter] === undefined ? message.creatorFilter : $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.CreatorFilter[message.creatorFilter] : message.creatorFilter;
+ return object;
+ };
+
+ /**
+ * Converts this ListAccessibleDataAgentsRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListAccessibleDataAgentsRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListAccessibleDataAgentsRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListAccessibleDataAgentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest";
+ };
+
+ /**
+ * CreatorFilter enum.
+ * @name google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsRequest.CreatorFilter
+ * @enum {number}
+ * @property {number} CREATOR_FILTER_UNSPECIFIED=0 CREATOR_FILTER_UNSPECIFIED value
+ * @property {number} NONE=1 NONE value
+ * @property {number} CREATOR_ONLY=2 CREATOR_ONLY value
+ * @property {number} NOT_CREATOR_ONLY=3 NOT_CREATOR_ONLY value
+ */
+ ListAccessibleDataAgentsRequest.CreatorFilter = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "CREATOR_FILTER_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "NONE"] = 1;
+ values[valuesById[2] = "CREATOR_ONLY"] = 2;
+ values[valuesById[3] = "NOT_CREATOR_ONLY"] = 3;
+ return values;
+ })();
+
+ return ListAccessibleDataAgentsRequest;
+ })();
+
+ v1alpha.ListAccessibleDataAgentsResponse = (function() {
+
+ /**
+ * Properties of a ListAccessibleDataAgentsResponse.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @interface IListAccessibleDataAgentsResponse
+ * @property {Array.|null} [dataAgents] ListAccessibleDataAgentsResponse dataAgents
+ * @property {string|null} [nextPageToken] ListAccessibleDataAgentsResponse nextPageToken
+ * @property {Array.|null} [unreachable] ListAccessibleDataAgentsResponse unreachable
+ */
+
+ /**
+ * Constructs a new ListAccessibleDataAgentsResponse.
+ * @memberof google.cloud.geminidataanalytics.v1alpha
+ * @classdesc Represents a ListAccessibleDataAgentsResponse.
+ * @implements IListAccessibleDataAgentsResponse
+ * @constructor
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsResponse=} [properties] Properties to set
+ */
+ function ListAccessibleDataAgentsResponse(properties) {
+ this.dataAgents = [];
+ this.unreachable = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * ListAccessibleDataAgentsResponse dataAgents.
+ * @member {Array.} dataAgents
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @instance
+ */
+ ListAccessibleDataAgentsResponse.prototype.dataAgents = $util.emptyArray;
+
+ /**
+ * ListAccessibleDataAgentsResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @instance
+ */
+ ListAccessibleDataAgentsResponse.prototype.nextPageToken = "";
+
+ /**
+ * ListAccessibleDataAgentsResponse unreachable.
+ * @member {Array.} unreachable
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @instance
+ */
+ ListAccessibleDataAgentsResponse.prototype.unreachable = $util.emptyArray;
+
+ /**
+ * Creates a new ListAccessibleDataAgentsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsResponse=} [properties] Properties to set
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse} ListAccessibleDataAgentsResponse instance
+ */
+ ListAccessibleDataAgentsResponse.create = function create(properties) {
+ return new ListAccessibleDataAgentsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsResponse message. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsResponse} message ListAccessibleDataAgentsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListAccessibleDataAgentsResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.dataAgents != null && message.dataAgents.length)
+ for (var i = 0; i < message.dataAgents.length; ++i)
+ $root.google.cloud.geminidataanalytics.v1alpha.DataAgent.encode(message.dataAgents[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
+ if (message.unreachable != null && message.unreachable.length)
+ for (var i = 0; i < message.unreachable.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.unreachable[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListAccessibleDataAgentsResponse message, length delimited. Does not implicitly {@link google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.IListAccessibleDataAgentsResponse} message ListAccessibleDataAgentsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListAccessibleDataAgentsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListAccessibleDataAgentsResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse} ListAccessibleDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListAccessibleDataAgentsResponse.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.dataAgents && message.dataAgents.length))
+ message.dataAgents = [];
+ message.dataAgents.push($root.google.cloud.geminidataanalytics.v1alpha.DataAgent.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.unreachable && message.unreachable.length))
+ message.unreachable = [];
+ message.unreachable.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListAccessibleDataAgentsResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse} ListAccessibleDataAgentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListAccessibleDataAgentsResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListAccessibleDataAgentsResponse message.
+ * @function verify
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListAccessibleDataAgentsResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.dataAgents != null && message.hasOwnProperty("dataAgents")) {
+ if (!Array.isArray(message.dataAgents))
+ return "dataAgents: array expected";
+ for (var i = 0; i < message.dataAgents.length; ++i) {
+ var error = $root.google.cloud.geminidataanalytics.v1alpha.DataAgent.verify(message.dataAgents[i]);
+ if (error)
+ return "dataAgents." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ if (message.unreachable != null && message.hasOwnProperty("unreachable")) {
+ if (!Array.isArray(message.unreachable))
+ return "unreachable: array expected";
+ for (var i = 0; i < message.unreachable.length; ++i)
+ if (!$util.isString(message.unreachable[i]))
+ return "unreachable: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ListAccessibleDataAgentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse} ListAccessibleDataAgentsResponse
+ */
+ ListAccessibleDataAgentsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse)
+ return object;
+ var message = new $root.google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse();
+ if (object.dataAgents) {
+ if (!Array.isArray(object.dataAgents))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse.dataAgents: array expected");
+ message.dataAgents = [];
+ for (var i = 0; i < object.dataAgents.length; ++i) {
+ if (typeof object.dataAgents[i] !== "object")
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse.dataAgents: object expected");
+ message.dataAgents[i] = $root.google.cloud.geminidataanalytics.v1alpha.DataAgent.fromObject(object.dataAgents[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ if (object.unreachable) {
+ if (!Array.isArray(object.unreachable))
+ throw TypeError(".google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse.unreachable: array expected");
+ message.unreachable = [];
+ for (var i = 0; i < object.unreachable.length; ++i)
+ message.unreachable[i] = String(object.unreachable[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListAccessibleDataAgentsResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @static
+ * @param {google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse} message ListAccessibleDataAgentsResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListAccessibleDataAgentsResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.dataAgents = [];
+ object.unreachable = [];
+ }
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.dataAgents && message.dataAgents.length) {
+ object.dataAgents = [];
+ for (var j = 0; j < message.dataAgents.length; ++j)
+ object.dataAgents[j] = $root.google.cloud.geminidataanalytics.v1alpha.DataAgent.toObject(message.dataAgents[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ if (message.unreachable && message.unreachable.length) {
+ object.unreachable = [];
+ for (var j = 0; j < message.unreachable.length; ++j)
+ object.unreachable[j] = message.unreachable[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ListAccessibleDataAgentsResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.geminidataanalytics.v1alpha.ListAccessibleDataAgentsResponse
+ * @instance
+ * @returns {Object.