diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 1a084802c334..cefcba3222ec 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -1,4 +1,4 @@
-# Copyright 2022 Google LLC
+# 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.
@@ -13,4 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:latest
- digest: sha256:f4c4b25acd731314f08ff8965e837f8a3088f2dac5691031ce3b9f3ab65cb6c7
+ digest: sha256:89526e4d0c2f9e11da737d8f00373b459459390811b9d47af68bd66a8a65984a
+# created: 2025-11-03T16:04:39.848021946Z
diff --git a/.github/workflows/continuous.yaml b/.github/workflows/continuous.yaml
index c84403768ee0..c9dfb820b116 100644
--- a/.github/workflows/continuous.yaml
+++ b/.github/workflows/continuous.yaml
@@ -10,7 +10,7 @@ jobs:
matrix:
node: [18, 20, 22]
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: ^7.0.0
diff --git a/.github/workflows/issues-no-repro.yaml b/.github/workflows/issues-no-repro.yaml
index 816d9a709a26..531054022d14 100644
--- a/.github/workflows/issues-no-repro.yaml
+++ b/.github/workflows/issues-no-repro.yaml
@@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: 18
diff --git a/.github/workflows/presubmit.yaml b/.github/workflows/presubmit.yaml
index cbf7ad29ef79..062e95c43436 100644
--- a/.github/workflows/presubmit.yaml
+++ b/.github/workflows/presubmit.yaml
@@ -8,7 +8,7 @@ jobs:
matrix:
node: [18, 20, 22]
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
fetch-depth: 300
- uses: pnpm/action-setup@v4
diff --git a/.github/workflows/response.yml b/.github/workflows/response.yml
index 6ed37326feab..e81a3603af52 100644
--- a/.github/workflows/response.yml
+++ b/.github/workflows/response.yml
@@ -13,7 +13,7 @@ jobs:
issues: write
pull-requests: write
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
- uses: actions/github-script@v7
with:
script: |
@@ -27,7 +27,7 @@ jobs:
issues: write
pull-requests: write
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
- uses: actions/github-script@v7
with:
script: |
diff --git a/.github/workflows/update-api-list.yaml b/.github/workflows/update-api-list.yaml
index f5a2b455ed24..ee64496f9d85 100644
--- a/.github/workflows/update-api-list.yaml
+++ b/.github/workflows/update-api-list.yaml
@@ -7,7 +7,7 @@ jobs:
update-api-list:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: 18
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 241f9d61d4ca..d8eae04199f1 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,6 +1,6 @@
{
- "packages/gapic-node-processing": "0.1.5",
- "packages/google-ai-generativelanguage": "3.4.1",
+ "packages/gapic-node-processing": "0.1.6",
+ "packages/google-ai-generativelanguage": "3.5.0",
"packages/google-analytics-admin": "9.0.1",
"packages/google-analytics-data": "5.2.1",
"packages/google-api-apikeys": "2.2.1",
@@ -11,7 +11,7 @@
"packages/google-area120-tables": "4.2.1",
"packages/google-cloud-accessapproval": "4.2.1",
"packages/google-cloud-advisorynotifications": "2.2.1",
- "packages/google-cloud-aiplatform": "5.8.0",
+ "packages/google-cloud-aiplatform": "5.14.0",
"packages/google-cloud-alloydb": "2.2.1",
"packages/google-cloud-apigateway": "4.2.1",
"packages/google-cloud-apigeeconnect": "4.2.1",
@@ -20,13 +20,13 @@
"packages/google-cloud-assuredworkloads": "5.1.1",
"packages/google-cloud-automl": "5.1.1",
"packages/google-cloud-baremetalsolution": "2.1.1",
- "packages/google-cloud-batch": "2.2.1",
+ "packages/google-cloud-batch": "2.3.0",
"packages/google-cloud-beyondcorp-appconnections": "2.1.1",
"packages/google-cloud-beyondcorp-appconnectors": "2.1.1",
"packages/google-cloud-beyondcorp-appgateways": "2.1.1",
"packages/google-cloud-beyondcorp-clientconnectorservices": "3.1.1",
"packages/google-cloud-beyondcorp-clientgateways": "2.1.1",
- "packages/google-cloud-bigquery-analyticshub": "2.3.1",
+ "packages/google-cloud-bigquery-analyticshub": "2.4.0",
"packages/google-cloud-bigquery-connection": "4.1.1",
"packages/google-cloud-bigquery-dataexchange": "2.1.1",
"packages/google-cloud-bigquery-datapolicies": "2.3.1",
@@ -40,7 +40,7 @@
"packages/google-cloud-channel": "4.1.1",
"packages/google-cloud-clouddms": "4.1.1",
"packages/google-cloud-commerce-consumer-procurement": "0.7.1",
- "packages/google-cloud-compute": "6.4.0",
+ "packages/google-cloud-compute": "6.5.0",
"packages/google-cloud-confidentialcomputing": "2.2.2",
"packages/google-cloud-config": "0.11.1",
"packages/google-cloud-connectors": "0.5.1",
@@ -51,14 +51,14 @@
"packages/google-cloud-dataform": "2.2.1",
"packages/google-cloud-datafusion": "4.1.1",
"packages/google-cloud-datalabeling": "5.1.1",
- "packages/google-cloud-dataplex": "5.1.1",
+ "packages/google-cloud-dataplex": "5.3.0",
"packages/google-cloud-dataproc": "6.2.1",
"packages/google-cloud-dataqna": "4.1.1",
"packages/google-cloud-datastream": "4.3.1",
"packages/google-cloud-deploy": "5.2.1",
- "packages/google-cloud-dialogflow": "7.2.1",
- "packages/google-cloud-dialogflow-cx": "5.4.0",
- "packages/google-cloud-discoveryengine": "2.5.1",
+ "packages/google-cloud-dialogflow": "7.4.0",
+ "packages/google-cloud-dialogflow-cx": "5.5.0",
+ "packages/google-cloud-discoveryengine": "2.5.2",
"packages/google-cloud-dns": "5.3.1",
"packages/google-cloud-documentai": "9.5.0",
"packages/google-cloud-domains": "4.2.1",
@@ -86,11 +86,11 @@
"packages/google-cloud-metastore": "5.2.1",
"packages/google-cloud-migrationcenter": "2.2.1",
"packages/google-cloud-monitoring": "5.3.1",
- "packages/google-cloud-netapp": "0.14.1",
+ "packages/google-cloud-netapp": "0.15.0",
"packages/google-cloud-networkconnectivity": "4.5.1",
"packages/google-cloud-networkmanagement": "5.1.1",
"packages/google-cloud-networksecurity": "3.3.1",
- "packages/google-cloud-networkservices": "0.11.1",
+ "packages/google-cloud-networkservices": "0.12.0",
"packages/google-cloud-notebooks": "4.2.1",
"packages/google-cloud-orchestration-airflow-service": "4.3.1",
"packages/google-cloud-orgpolicy": "4.3.1",
@@ -116,14 +116,14 @@
"packages/google-cloud-servicedirectory": "6.1.1",
"packages/google-cloud-shell": "4.1.1",
"packages/google-cloud-speech": "7.2.1",
- "packages/google-cloud-sql": "0.21.1",
+ "packages/google-cloud-sql": "0.23.0",
"packages/google-cloud-storageinsights": "2.2.1",
"packages/google-cloud-support": "2.2.1",
"packages/google-cloud-talent": "7.1.1",
"packages/google-cloud-tasks": "6.2.1",
- "packages/google-cloud-texttospeech": "6.3.1",
+ "packages/google-cloud-texttospeech": "6.4.0",
"packages/google-cloud-tpu": "4.1.1",
- "packages/google-cloud-translate": "9.2.1",
+ "packages/google-cloud-translate": "9.3.0",
"packages/google-cloud-video-livestream": "2.2.1",
"packages/google-cloud-video-stitcher": "3.2.1",
"packages/google-cloud-video-transcoder": "4.4.1",
@@ -136,9 +136,9 @@
"packages/google-cloud-websecurityscanner": "4.2.1",
"packages/google-cloud-workflows-executions": "5.0.0",
"packages/google-cloud-workstations": "2.2.1",
- "packages/google-container": "6.4.1",
+ "packages/google-container": "6.6.0",
"packages/google-dataflow": "4.1.1",
- "packages/google-devtools-artifactregistry": "4.3.1",
+ "packages/google-devtools-artifactregistry": "4.4.0",
"packages/google-devtools-cloudbuild": "5.3.1",
"packages/google-devtools-cloudprofiler": "0.9.1",
"packages/google-devtools-containeranalysis": "6.3.1",
@@ -147,14 +147,14 @@
"packages/google-identity-accesscontextmanager": "4.2.1",
"packages/google-maps-addressvalidation": "3.2.1",
"packages/google-maps-mapsplatformdatasets": "3.1.1",
- "packages/google-maps-places": "2.1.1",
+ "packages/google-maps-places": "2.2.0",
"packages/google-maps-routing": "2.1.1",
"packages/google-monitoring-dashboard": "4.1.1",
"packages/google-privacy-dlp": "6.5.0",
"packages/google-storagetransfer": "4.2.1",
"packages/grafeas": "6.1.1",
"packages/typeless-sample-bot": "3.1.1",
- "packages/google-cloud-edgenetwork": "0.10.1",
+ "packages/google-cloud-edgenetwork": "0.11.0",
"packages/google-shopping-merchant-reports": "0.13.1",
"packages/google-shopping-merchant-inventories": "0.11.1",
"packages/google-shopping-css": "0.10.1",
@@ -166,22 +166,22 @@
"packages/google-cloud-cloudcontrolspartner": "0.6.1",
"packages/google-cloud-telcoautomation": "0.5.1",
"packages/google-cloud-apphub": "0.6.1",
- "packages/google-chat": "0.19.1",
- "packages/google-shopping-merchant-quota": "0.8.1",
+ "packages/google-chat": "0.21.0",
+ "packages/google-shopping-merchant-quota": "0.9.0",
"packages/google-storage-control": "0.6.1",
- "packages/google-cloud-backupdr": "0.5.1",
+ "packages/google-cloud-backupdr": "0.7.0",
"packages/google-cloud-securesourcemanager": "0.8.1",
"packages/google-shopping-merchant-notifications": "0.8.1",
"packages/google-shopping-merchant-lfp": "0.9.1",
"packages/google-cloud-securitycentermanagement": "0.7.1",
"packages/google-shopping-merchant-conversions": "0.7.1",
"packages/google-maps-solar": "0.5.1",
- "packages/google-maps-routeoptimization": "0.5.1",
+ "packages/google-maps-routeoptimization": "0.6.0",
"packages/google-maps-fleetengine-delivery": "0.6.1",
"packages/google-streetview-publish": "0.4.1",
"packages/google-maps-fleetengine": "0.8.1",
"packages/google-shopping-merchant-promotions": "0.5.1",
- "packages/google-shopping-merchant-datasources": "0.9.1",
+ "packages/google-shopping-merchant-datasources": "0.10.0",
"packages/google-cloud-managedkafka": "0.8.1",
"packages/google-cloud-developerconnect": "0.6.1",
"packages/google-cloud-privilegedaccessmanager": "0.6.1",
@@ -189,9 +189,9 @@
"packages/google-shopping-merchant-accounts": "3.0.1",
"packages/google-cloud-gdchardwaremanagement": "0.9.1",
"packages/google-cloud-apihub": "0.5.1",
- "packages/google-marketingplatform-admin": "0.3.1",
- "packages/google-cloud-oracledatabase": "0.6.1",
- "packages/google-ads-admanager": "0.4.1",
+ "packages/google-marketingplatform-admin": "0.4.0",
+ "packages/google-cloud-oracledatabase": "0.7.0",
+ "packages/google-ads-admanager": "0.5.0",
"packages/google-shopping-merchant-reviews": "0.5.1",
"packages/google-cloud-memorystore": "0.3.1",
"packages/google-cloud-parametermanager": "0.5.1",
@@ -210,7 +210,9 @@
"packages/google-cloud-licensemanager": "0.1.1",
"packages/google-cloud-configdelivery": "0.1.1",
"packages/google-cloud-saasplatform-saasservicemgmt": "0.1.1",
- "packages/google-cloud-cloudsecuritycompliance": "0.1.1",
- "packages/google-cloud-capacityplanner": "0.1.1",
- "packages/google-cloud-locationfinder": "0.1.1"
+ "packages/google-cloud-cloudsecuritycompliance": "0.2.0",
+ "packages/google-cloud-capacityplanner": "0.1.2",
+ "packages/google-cloud-locationfinder": "0.1.1",
+ "packages/google-cloud-geminidataanalytics": "0.2.0",
+ "packages/google-ads-datamanager": "0.1.0"
}
diff --git a/README.md b/README.md
index ab01b056ac26..182fb93f8842 100644
--- a/README.md
+++ b/README.md
@@ -179,7 +179,9 @@ applications that interact with individual Google Cloud services:
| [Chronicle API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-chronicle) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/chronicle) |
| [Config Delivery API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-configdelivery) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/configdelivery) |
| [CSS API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-shopping-css) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-shopping/css) |
+| [Data Analytics API with Gemini](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-geminidataanalytics) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/geminidataanalytics) |
| [Data Labeling](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datalabeling) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/datalabeling) |
+| [Data Manager API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-ads-datamanager) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-ads/datamanager) |
| [Data QnA](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataqna) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/data-qna) |
| [Dataflow](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-dataflow) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/dataflow) |
| [Dataform API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataform) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/dataform) |
@@ -225,7 +227,6 @@ applications that interact with individual Google Cloud services:
| [Security Compliance API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-cloudsecuritycompliance) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/cloudsecuritycompliance) |
| [Solar API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-maps-solar) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@googlemaps/solar) |
| [Storage Batch Operations API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-storagebatchoperations) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/storagebatchoperations) |
-| [Trace](https://github.com/googleapis/cloud-trace-nodejs) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/trace-agent) |
If the service is not listed above, [google-api-nodejs-client](https://github.com/googleapis/google-api-nodejs-client) interfaces
diff --git a/changelog.json b/changelog.json
index 993bf863435d..a558e0e7e0aa 100644
--- a/changelog.json
+++ b/changelog.json
@@ -1,6 +1,784 @@
{
"repository": "googleapis/google-cloud-node",
"entries": [
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "1403b5b709a040898dbcd15b390485804840b778",
+ "message": "[marketingplatformadminapi] add the `ListOrganizations`, `FindSalesPartnerManagedClients`, and `ReportPropertyUsage` methods",
+ "issues": [
+ "6858"
+ ]
+ }
+ ],
+ "version": "0.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-ads/marketing-platform-admin",
+ "id": "d121492d-957b-4b9c-98ed-4fe833a0a826",
+ "createTime": "2025-11-21T23:14:19.352Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "b26f79d452a55f26a309166362ca3a6a1cda89c1",
+ "message": "[backupdr] Adding new fields for CMEK and Retention Inheritance features",
+ "issues": [
+ "6901"
+ ]
+ }
+ ],
+ "version": "0.7.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/backupdr",
+ "id": "fea4a715-ca58-401c-8207-ff5ab55c3a74",
+ "createTime": "2025-11-21T23:14:19.333Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "7e76acee01946bf65d665ed04cd6305cdc331297",
+ "message": "[merchantapi] Add the AccountLimit resource and its service to the quota bundle",
+ "issues": [
+ "6883"
+ ]
+ }
+ ],
+ "version": "0.9.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-shopping/quota",
+ "id": "6837c0fd-e0c4-4905-86b3-3e244d2222b6",
+ "createTime": "2025-11-21T23:14:19.317Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "ce760fd66ce4e290b00205f3c9f6a81863622fd1",
+ "message": "[artifactregistry] add image_manifest field in DockerImage",
+ "issues": [
+ "6888"
+ ]
+ }
+ ],
+ "version": "4.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/artifact-registry",
+ "id": "f14ff9af-5137-4a00-92e6-57fb778b46da",
+ "createTime": "2025-11-21T23:14:19.298Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "f3c58114c24765dfb3d3969ba5e411fb9fb9b3f8",
+ "message": "[sql] introduces auto_upgrade_enabled option for MySQL in DatabaseInstance.Settings",
+ "issues": [
+ "6904"
+ ]
+ }
+ ],
+ "version": "0.23.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/sql",
+ "id": "bbc70fe6-2114-40df-85dc-adc75100651c",
+ "createTime": "2025-11-21T23:14:19.282Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "e77b12e03a97fa7c42df57561af6ab1c3bae3a3f",
+ "message": "[netapp] Add Squash Mode to Export Policy",
+ "issues": [
+ "6905"
+ ]
+ }
+ ],
+ "version": "0.15.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/netapp",
+ "id": "f0bebda4-5efb-4f4c-b40e-3d6a12cee012",
+ "createTime": "2025-11-21T23:14:19.263Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "54e3b03149fd8f91ea076b691ec0e32d45748421",
+ "message": "[cx] add support for defining custom actions in code. See https://cloud.google.com/dialogflow/cx/docs/concept/playbook/code-block for more information",
+ "issues": [
+ "6879"
+ ]
+ }
+ ],
+ "version": "5.5.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/dialogflow-cx",
+ "id": "b1a6810a-6fc7-41e9-b27d-932746a0dbe6",
+ "createTime": "2025-11-21T23:14:19.240Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "68d767e5690cee2f953657ef74412d18212e056e",
+ "message": "[compute] Update Compute Engine v1beta API to revision 20251019",
+ "issues": [
+ "6869"
+ ]
+ }
+ ],
+ "version": "6.5.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/compute",
+ "id": "19a0c325-49f7-4c7a-ac8a-8fea111a475d",
+ "createTime": "2025-11-21T23:14:19.212Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "ea62cf5717fb0fcb8eb4d3e37260c9f89c3b8076",
+ "message": "[batch] added new provisioning models",
+ "issues": [
+ "6902"
+ ]
+ }
+ ],
+ "version": "2.3.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/batch",
+ "id": "a2d7bf44-244d-4313-a9e9-47eb54eaff9d",
+ "createTime": "2025-11-21T23:14:19.189Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "7b6c79b20551dde858cd932174c1fb558408172f",
+ "message": "Add support for developer connect based deployment",
+ "issues": [
+ "6900"
+ ]
+ },
+ {
+ "type": "feat",
+ "sha": "beb5cac2dbd8cad292d67e3641306824c3ecab85",
+ "message": "Add `ReplicatedVoiceConfig` to `VoiceConfig` to enable Gemini TTS voice replication",
+ "issues": [
+ "6899"
+ ]
+ }
+ ],
+ "version": "5.14.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/aiplatform",
+ "id": "6748c978-c276-4f5d-a0a0-997afac91035",
+ "createTime": "2025-11-21T23:14:19.156Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "a637d5caaa14186adaae5e8a708f5faee3a17084",
+ "message": "[geminidataanalytics] Adding a new SchemaRelationship message to define relationships between table schema",
+ "issues": [
+ "6871"
+ ]
+ }
+ ],
+ "version": "0.2.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/geminidataanalytics",
+ "id": "2dfbc409-ea8e-4078-af9c-cd183563fd6e",
+ "createTime": "2025-11-11T01:02:09.511Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "947fcf5468e0923866bbe7c28c262830d748f5ca",
+ "message": "Add initial files for google.ads.datamanager.v1",
+ "issues": [
+ "6841"
+ ]
+ },
+ {
+ "type": "fix",
+ "sha": "41c2ff2851b5fdadabf4f9bd3500167c34b32ff7",
+ "message": "[gkeconnect-gateway] remove unused GatewayServiceClient",
+ "issues": [
+ "6775"
+ ]
+ }
+ ],
+ "version": "0.1.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-ads/datamanager",
+ "id": "0b41663d-a553-454b-a7b8-9a85e02081be",
+ "createTime": "2025-11-11T01:02:09.476Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "fix",
+ "sha": "e1c953ae47d7f6697bd9f048d82d5584239ba0d1",
+ "message": "Doc linter issues",
+ "issues": []
+ }
+ ],
+ "version": "0.1.2",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/capacityplanner",
+ "id": "e04b2af3-2a2b-4a8a-9aa0-5934b2b135d0",
+ "createTime": "2025-11-11T01:02:09.433Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "44f08c6d3e7d9377e7e070c8ba3dcb949e2642c1",
+ "message": "[backupdr] Adding `unreachable` field to `ListDataSourceReferences` API",
+ "issues": [
+ "6865"
+ ]
+ }
+ ],
+ "version": "0.6.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/backupdr",
+ "id": "e25c6aee-80cd-429a-b90c-7dd6d81f7c69",
+ "createTime": "2025-11-11T01:02:09.384Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "c9d8b6ad53d584999a6a76073ae1f3e47fae3d37",
+ "message": "[translate] Adds support for RefineText",
+ "issues": [
+ "6867"
+ ]
+ }
+ ],
+ "version": "9.3.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/translate",
+ "id": "1f7f6610-7132-4522-9d79-ba50be4992ae",
+ "createTime": "2025-11-11T01:02:09.356Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "4bc9aa903b6385f9eec79c71320959da9c65764a",
+ "message": "[networkservices] Add support for LbEdgeExtension resource in NetworkServices API",
+ "issues": [
+ "6863"
+ ]
+ }
+ ],
+ "version": "0.12.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/networkservices",
+ "id": "5e913f31-ef5e-4b21-aa73-4162f971225d",
+ "createTime": "2025-11-11T01:02:09.276Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "e6cfcdea780819b0c84daf0325127be322803fac",
+ "message": "[dialogflow] add agentDesktopSource field to the Participant object",
+ "issues": [
+ "6878"
+ ]
+ }
+ ],
+ "version": "7.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/dialogflow",
+ "id": "3769165e-658d-4ec5-8032-e3c8f820452b",
+ "createTime": "2025-11-11T01:02:09.233Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "524ca3cabe52d2e58e83467f94968cdf28c79fe9",
+ "message": "Add GetIamPolicy method for DataProduct resources",
+ "issues": [],
+ "scope": "dataplex"
+ },
+ {
+ "type": "feat",
+ "sha": "524ca3cabe52d2e58e83467f94968cdf28c79fe9",
+ "message": "[dataplex] Allow publishing Data Profile scan results to the Dataplex Catalog",
+ "issues": [
+ "6868"
+ ],
+ "scope": "dataplex"
+ }
+ ],
+ "version": "5.3.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/dataplex",
+ "id": "8d0b52de-7190-4af2-9f4c-bdab414c2d39",
+ "createTime": "2025-11-11T01:02:09.189Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "e4faaba9f6d3c28cf81d816fbd3758af80b6a45d",
+ "message": "[bigquery-analyticshub] add Stored Procedure Sharing support for analyticshub listings",
+ "issues": [
+ "6866"
+ ]
+ }
+ ],
+ "version": "2.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/bigquery-analyticshub",
+ "id": "430fa686-b6b5-442a-b3ae-8ad3ff60b6c6",
+ "createTime": "2025-11-11T01:02:09.157Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "8d71bbf30bc7ae1a54a3e37b8740d46dfbe418dd",
+ "message": "Add order_by to list_events",
+ "issues": [
+ "6864"
+ ]
+ }
+ ],
+ "version": "5.13.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/aiplatform",
+ "id": "6d4d35b4-76a7-40e5-b14f-c0a431c721ee",
+ "createTime": "2025-11-11T01:02:09.120Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "fix",
+ "sha": "91207939dad2b0c1e258bd8f24ec70d6a0bbe35b",
+ "message": "[merchantapi] An existing field `contains_custom_rules` is removed from message `.google.shopping.merchant.datasources.v1.PrimaryProductDataSource`",
+ "issues": [
+ "6860"
+ ],
+ "breakingChangeNote": "[merchantapi] An existing field `contains_custom_rules` is removed from message `.google.shopping.merchant.datasources.v1.PrimaryProductDataSource` ([#6860](https://github.com/googleapis/google-cloud-node/issues/6860))"
+ }
+ ],
+ "version": "0.10.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-shopping/datasources",
+ "id": "957907c1-ae3a-487b-a2ca-56b1f1c4e3b7",
+ "createTime": "2025-10-31T23:33:45.328Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "90ffcd969537de0668c80caf611eaafd6beb1273",
+ "message": "[sql] introduces POSTGRES_17 and POSTGRES_18 database versions in the SqlDatabaseVersion enum type",
+ "issues": [
+ "6854"
+ ]
+ }
+ ],
+ "version": "0.22.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/sql",
+ "id": "90282008-1e6c-4dcb-9117-455644e600ac",
+ "createTime": "2025-10-31T23:33:45.297Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "c1bfaf1f5b0b3dc1c9abbcd06ca4583e2e9b92c3",
+ "message": "Add initial files for google.cloud.geminidataanalytics.v1beta",
+ "issues": [
+ "6839"
+ ]
+ },
+ {
+ "type": "fix",
+ "sha": "41c2ff2851b5fdadabf4f9bd3500167c34b32ff7",
+ "message": "[gkeconnect-gateway] remove unused GatewayServiceClient",
+ "issues": [
+ "6775"
+ ]
+ }
+ ],
+ "version": "0.1.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/geminidataanalytics",
+ "id": "71695e47-01c0-4fd6-879c-1ddf07f2a885",
+ "createTime": "2025-10-29T18:52:27.981Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "704574fd5a774a5444938ae1c7229bb7a2d4563e",
+ "message": "[cloudsecuritycompliance] add Audit API surface",
+ "issues": [
+ "6852"
+ ]
+ }
+ ],
+ "version": "0.2.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/cloudsecuritycompliance",
+ "id": "b2360679-1bd7-4216-9243-89f1f3b0dbdb",
+ "createTime": "2025-10-29T18:52:27.904Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "d904acc7ba1474e5acc9cb8ad4a38033e57f927e",
+ "message": "[edgenetwork] A new field `remote_peering_network_type` is added to message `google.cloud.edgenetwork.v1.Interconnect`",
+ "issues": [
+ "6851"
+ ]
+ }
+ ],
+ "version": "0.11.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/edgenetwork",
+ "id": "5757c07c-f80b-476d-9fa6-b31f7ab254dc",
+ "createTime": "2025-10-29T18:52:27.846Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "84654a5c0cc56d940b96a85b0e439dc6ac140699",
+ "message": "[chat] add ROLE_ASSISTANT_MANAGER to the MembershipRole enum in the Membership proto and assistant_managers_allowed to the PermissionSetting",
+ "issues": [
+ "6843"
+ ]
+ }
+ ],
+ "version": "0.21.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-apps/chat",
+ "id": "81e740ea-4ebf-476c-81a6-e7a129e6020d",
+ "createTime": "2025-10-25T03:59:34.796Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "da2c71816dc16c6ec4d64d74b7913ae5e399a0bc",
+ "message": "Add EmbedContent method v1",
+ "issues": [
+ "6844"
+ ]
+ }
+ ],
+ "version": "5.12.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/aiplatform",
+ "id": "07134093-8517-44f5-840b-6c0829e742fe",
+ "createTime": "2025-10-25T03:59:34.776Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "fix",
+ "sha": "468c23374a64c1dbdbfb52707d43169fc8fda2dc",
+ "message": "Bug in system test deletion logic",
+ "issues": [
+ "6845"
+ ]
+ }
+ ],
+ "version": "0.1.6",
+ "language": "JAVASCRIPT",
+ "artifactName": "gapic-node-processing",
+ "id": "e34cd443-08c5-4aeb-a38f-2a8c9a0102af",
+ "createTime": "2025-10-24T20:55:51.632Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "79e9ddf22a87f114cb7c692be5ee3b34424ad5d5",
+ "message": "[admanager] Added Application resource",
+ "issues": [
+ "6834"
+ ]
+ }
+ ],
+ "version": "0.5.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-ads/admanager",
+ "id": "94298076-8858-42a8-8b9f-8b6370d80955",
+ "createTime": "2025-10-23T17:47:01.168Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "31da8eb0033e4edd861695715eda47830a5b447a",
+ "message": "[places] Add Review.visitDate field to indicate when the review author visited",
+ "issues": [
+ "6836"
+ ]
+ }
+ ],
+ "version": "2.2.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@googlemaps/places",
+ "id": "f388a30b-05a1-4a26-8564-26e8c906801d",
+ "createTime": "2025-10-23T17:47:01.135Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "7f614ac2228003354479fd3b5959f631c67e7cc6",
+ "message": "[container] add node_kernel_module_loading field to LinuxNodeConfig",
+ "issues": [
+ "6832"
+ ]
+ }
+ ],
+ "version": "6.6.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/container",
+ "id": "8ec4f74a-a4f0-4146-bf30-7006d5aaec55",
+ "createTime": "2025-10-23T17:47:01.110Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "b334162c5081489ffc9a970157723b3ffb9cc063",
+ "message": "[dialogflow] Added support for Build Your Own Assist feature",
+ "issues": [
+ "6835"
+ ]
+ }
+ ],
+ "version": "7.3.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/dialogflow",
+ "id": "ecb31434-3d2f-4a23-8453-6bc11b682833",
+ "createTime": "2025-10-23T17:47:01.088Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "8cd5a4acb6460d56f4267abff60b00be93cf2a55",
+ "message": "[dataplex] A new message `DataDocumentationSpec` is added representing Data Documentation Spec",
+ "issues": [
+ "6837"
+ ]
+ }
+ ],
+ "version": "5.2.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/dataplex",
+ "id": "b2b095af-7e83-4b4e-a51e-7b1f721bfcd5",
+ "createTime": "2025-10-23T17:47:01.058Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "8a7ce8e898273557543277bcdb664d5aee9183ce",
+ "message": "Add EmbedContent method v1beta1",
+ "issues": [
+ "6833"
+ ]
+ }
+ ],
+ "version": "5.11.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/aiplatform",
+ "id": "26103632-b6d9-4ab5-9884-4e2befff013b",
+ "createTime": "2025-10-23T17:47:01.027Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "a00faa8f3da51868df3e5d7a4a418bdb2f0de840",
+ "message": "[oracledatabase] Expand Oracle Database v1 API to add support for Exadata Exascale (`ExadbVmCluster`, `ExascaleDbStorageVault`), Base Database (`DbSystem`, `Database`, `PluggableDatabase`), and Networking (`OdbNetwork`, `OdbSubnet`). Adds enhance...",
+ "issues": [
+ "6831"
+ ]
+ }
+ ],
+ "version": "0.7.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/oracledatabase",
+ "id": "6d3ec81f-7403-4f83-99f4-0b5d44151e04",
+ "createTime": "2025-10-21T17:28:44.603Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "eeaccdba2f06c01d6fca5427bc5b2fa9b22b5021",
+ "message": "[texttospeech] add `relax_safety_filters` proto field for Gemini TTS",
+ "issues": [
+ "6823"
+ ]
+ }
+ ],
+ "version": "6.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/text-to-speech",
+ "id": "28359df8-7d94-46bc-93d7-c85cfe331741",
+ "createTime": "2025-10-21T17:28:44.582Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "fix",
+ "sha": "9eb1fef3ff79fc73a5b890d69b5187baf87897e3",
+ "message": "[discoveryengine] Include AssistAnswer as a part of the Session",
+ "issues": [
+ "6824"
+ ]
+ }
+ ],
+ "version": "2.5.2",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/discoveryengine",
+ "id": "d5d0986d-d100-4b61-a199-5580180ff3b5",
+ "createTime": "2025-10-21T17:28:44.529Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "6001de8c9b62274d067b58b346e835c97dc249ea",
+ "message": "Add FunctionResponsePart and excluded_predefined_functions in ComputerUse",
+ "issues": [
+ "6829"
+ ]
+ },
+ {
+ "type": "feat",
+ "sha": "0d3274e0fa00cf2cf9cc15488b2f33672a97fe00",
+ "message": "Add FunctionResponsePart and excluded_predefined_functions in ComputerUse",
+ "issues": [
+ "6825"
+ ]
+ }
+ ],
+ "version": "5.10.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/aiplatform",
+ "id": "1c80e9b3-5187-4056-b7b8-57a3123dd690",
+ "createTime": "2025-10-21T17:28:44.493Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "68fd63cd8c3d91e7f0c8e0193c9521e51fdeb33f",
+ "message": "[routeoptimization] add experimental Load Costs feature",
+ "issues": [
+ "6819"
+ ]
+ }
+ ],
+ "version": "0.6.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@googlemaps/routeoptimization",
+ "id": "a1715bbf-a7df-48ba-ace1-6b85ba2e9a91",
+ "createTime": "2025-10-16T22:02:18.319Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "7365b32f30e259c4839aad81e4c5cc5a91e6ebee",
+ "message": "[chat] Add `Carousel` widget",
+ "issues": [
+ "6821"
+ ]
+ }
+ ],
+ "version": "0.20.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-apps/chat",
+ "id": "172efab2-620e-4d79-8138-7cffc0efeebe",
+ "createTime": "2025-10-16T22:02:18.267Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "ee1aabfb23f3e6c6c6b26298188ab3411f4073ae",
+ "message": "[container] Add SwapConfig to enable and configure swap memory for node pools",
+ "issues": [
+ "6818"
+ ]
+ }
+ ],
+ "version": "6.5.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/container",
+ "id": "4105c77e-5e88-41ce-888d-d9f8adcb7134",
+ "createTime": "2025-10-16T22:02:18.235Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "9f40bf125a2e32fee4da4cd391265e9d4b380bcd",
+ "message": "Add aspect_ratio and image_config for v1 version",
+ "issues": [
+ "6817"
+ ]
+ },
+ {
+ "type": "feat",
+ "sha": "8d38a0919218be1c4ba6de4e283786facf2eb0b4",
+ "message": "Add aspect_ratio and image_config for v1beta1 version",
+ "issues": [
+ "6814"
+ ]
+ }
+ ],
+ "version": "5.9.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/aiplatform",
+ "id": "0735d357-7175-4d65-8d4a-4ecab5d85566",
+ "createTime": "2025-10-16T22:02:18.199Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "3290633a3b1d99a8c696aebe79f38984fda44460",
+ "message": "[generativelanguage] add support for additional reasons to stop image generation",
+ "issues": [
+ "6820"
+ ]
+ }
+ ],
+ "version": "3.5.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-ai/generativelanguage",
+ "id": "95a3c5b0-6374-415f-989e-b7a77f3636df",
+ "createTime": "2025-10-16T22:02:18.146Z"
+ },
{
"changes": [
{
@@ -66327,5 +67105,5 @@
"createTime": "2023-01-28T04:18:24.718Z"
}
],
- "updateTime": "2025-10-13T16:25:08.956Z"
+ "updateTime": "2025-11-21T23:14:19.352Z"
}
\ No newline at end of file
diff --git a/ci/run_single_test.sh b/ci/run_single_test.sh
index 69bb5018afe6..31ce02061114 100755
--- a/ci/run_single_test.sh
+++ b/ci/run_single_test.sh
@@ -70,23 +70,4 @@ units)
esac
set -e
-# Run flakybot for non-presubmit builds
-if [ ${BUILD_TYPE} != "presubmit" ]; then
- if [ ${TEST_TYPE} == "system" ] || [ ${TEST_TYPE} == "samples" ]; then
- if [ -f "${PROJECT}_sponge_log.xml" ]; then
- echo "Contents in ${PROJECT}_sponge_log.xml:"
- cat ${PROJECT}_sponge_log.xml
-
- echo "Calling flakybot --repo ${REPO_OWNER}/${REPO_NAME} --commit_hash ${COMMIT_SHA} --build_url https://console.cloud.google.com/cloud-build/builds;region=global/${BUILD_ID}?project=${PROJECT_ID}"
- flakybot \
- --repo "${REPO_OWNER}/${REPO_NAME}" \
- --commit_hash "${COMMIT_SHA}" \
- --build_url \
- "https://console.cloud.google.com/cloud-build/builds;region=global/${BUILD_ID}?project=${PROJECT_ID}"
- else
- echo "Missing sponge log: ${PROJECT}_sponge_log.xml"
- fi
- fi
-fi
-
exit ${retval}
diff --git a/libraries.json b/libraries.json
index bf9463232541..7f7117bd92b3 100644
--- a/libraries.json
+++ b/libraries.json
@@ -3080,6 +3080,24 @@
"linkToRepoHomepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-shopping-css",
"support_documentation": "https://developers.google.com/comparison-shopping-services/api/docs/getting-support"
},
+ {
+ "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",
+ "linkToRepoHomepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-geminidataanalytics",
+ "support_documentation": "https://cloud.google.com/gemini/docs/getting-support"
+ },
{
"default_version": "v1beta1",
"release_level": "preview",
@@ -3099,6 +3117,24 @@
"linkToRepoHomepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datalabeling",
"support_documentation": "https://cloud.google.com/data-labeling/docs/getting-support"
},
+ {
+ "name": "datamanager",
+ "name_pretty": "Data Manager API",
+ "product_documentation": "https://developers.google.com/data-manager",
+ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/datamanager/latest",
+ "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
+ "release_level": "preview",
+ "language": "nodejs",
+ "repo": "googleapis/google-cloud-node",
+ "distribution_name": "@google-ads/datamanager",
+ "api_id": "datamanager.googleapis.com",
+ "default_version": "v1",
+ "requires_billing": true,
+ "library_type": "GAPIC_AUTO",
+ "api_shortname": "datamanager",
+ "linkToRepoHomepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-ads-datamanager",
+ "support_documentation": "https://developers.google.com/data-manager/docs/getting-support"
+ },
{
"language": "nodejs",
"requires_billing": true,
@@ -3908,22 +3944,5 @@
"api_shortname": "storagebatchoperations",
"linkToRepoHomepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-storagebatchoperations",
"support_documentation": "https://cloud.google.com/storage/docs/getting-support"
- },
- {
- "name": "trace",
- "name_pretty": "Trace",
- "product_documentation": "https://cloud.google.com/trace",
- "client_documentation": "https://cloud.google.com/nodejs/docs/reference/trace-agent/latest",
- "issue_tracker": "https://issuetracker.google.com/savedsearches/559776",
- "release_level": "preview",
- "language": "nodejs",
- "repo": "googleapis/cloud-trace-nodejs",
- "distribution_name": "@google-cloud/trace-agent",
- "api_id": "cloudtrace.googleapis.com",
- "codeowner_team": "@googleapis/google-cloud-trace",
- "api_shortname": "cloudtrace",
- "library_type": "AGENT",
- "linkToRepoHomepage": "https://github.com/googleapis/cloud-trace-nodejs",
- "support_documentation": "https://cloud.google.com/trace/docs/getting-support"
}
]
\ No newline at end of file
diff --git a/packages/gapic-node-processing/CHANGELOG.md b/packages/gapic-node-processing/CHANGELOG.md
index 6d2edbdb62da..6c2f0e0fd88a 100644
--- a/packages/gapic-node-processing/CHANGELOG.md
+++ b/packages/gapic-node-processing/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [0.1.6](https://github.com/googleapis/google-cloud-node/compare/gapic-node-processing-v0.1.5...gapic-node-processing-v0.1.6) (2025-10-24)
+
+
+### Bug Fixes
+
+* Bug in system test deletion logic ([#6845](https://github.com/googleapis/google-cloud-node/issues/6845)) ([468c233](https://github.com/googleapis/google-cloud-node/commit/468c23374a64c1dbdbfb52707d43169fc8fda2dc))
+
## [0.1.5](https://github.com/googleapis/google-cloud-node/compare/gapic-node-processing-v0.1.4...gapic-node-processing-v0.1.5) (2025-10-13)
diff --git a/packages/gapic-node-processing/package.json b/packages/gapic-node-processing/package.json
index dc5a2dfe21b1..f114b7e91f20 100644
--- a/packages/gapic-node-processing/package.json
+++ b/packages/gapic-node-processing/package.json
@@ -1,6 +1,6 @@
{
"name": "gapic-node-processing",
- "version": "0.1.5",
+ "version": "0.1.6",
"description": "Does various processing functions for Nodejs gapic libraries",
"bin": "./build/src/cli.js",
"scripts": {
diff --git a/packages/gapic-node-processing/src/combine-libraries.ts b/packages/gapic-node-processing/src/combine-libraries.ts
index 070d6a7520d6..4c8b693aa87e 100644
--- a/packages/gapic-node-processing/src/combine-libraries.ts
+++ b/packages/gapic-node-processing/src/combine-libraries.ts
@@ -201,12 +201,13 @@ export function setOnlyDefaultSystemTests(
'system-test/fixtures/sample/src',
);
- for (const filePathObj of filePaths) {
+ for (let i = filePaths.length - 1; i >= 0; i--) {
+ const filePathObj = filePaths[i];
if (
systemTestRegex.test(filePathObj.filePath) &&
!filePathObj.filePath.includes(defaultVersion)
) {
- filePaths.splice(filePaths.indexOf(filePathObj), 1);
+ filePaths.splice(i, 1);
}
}
}
diff --git a/packages/gapic-node-processing/test/combine-libraries.test.ts b/packages/gapic-node-processing/test/combine-libraries.test.ts
index 743a11e3df7b..cf7915f0c51b 100644
--- a/packages/gapic-node-processing/test/combine-libraries.test.ts
+++ b/packages/gapic-node-processing/test/combine-libraries.test.ts
@@ -31,6 +31,8 @@ export const LIB_PRE_COMBINATION_ESM = 'google-cloud-tasks-nodejs';
export const LIB_PRE_COMBINATION = 'google-cloud-speech-nodejs';
export const LIB_POST_COMBINATION_ESM = 'google-cloud-tasks';
export const LIB_POST_COMBINATION = 'google-cloud-speech';
+export const LIB_PRE_COMBINATION_DEFAULT_SYSTEM_TEST = 'google-analytics-data-nodejs';
+export const LIB_POST_COMBINATION_DEFAULT_SYSTEM_TEST = 'google-analytics-data';
const libraryConfigCJS = new LibraryConfig({
sourcePath: path.resolve(TEST_FIXTURES_PATH, LIB_PRE_COMBINATION),
@@ -50,6 +52,18 @@ const libraryConfigESM = new LibraryConfig({
defaultVersion: 'v1',
isEsm: true,
});
+const libraryConfigDefaultSystemTest = new LibraryConfig({
+ sourcePath: path.resolve(
+ TEST_FIXTURES_PATH,
+ LIB_PRE_COMBINATION_DEFAULT_SYSTEM_TEST,
+ ),
+ destinationPath: path.resolve(
+ TEST_FIXTURES_PATH,
+ LIB_POST_COMBINATION_DEFAULT_SYSTEM_TEST,
+ ),
+ defaultVersion: 'v1beta',
+ isEsm: false,
+});
describe('combine libraries', () => {
it('should throw an error if the library is not in a "pre" combo state', async () => {
@@ -197,55 +211,32 @@ describe('combine libraries', () => {
});
it('should only have default system tests', async () => {
- await combineLibraries(libraryConfigCJS);
+ await combineLibraries(libraryConfigDefaultSystemTest);
assert.match(
await fs.readFile(
path.resolve(
TEST_FIXTURES_PATH,
- LIB_POST_COMBINATION,
+ LIB_POST_COMBINATION_DEFAULT_SYSTEM_TEST,
'system-test/fixtures/sample/src/index.js',
),
'utf-8',
),
- /AdaptationClient/,
+ /BetaAnalyticsDataClient/,
);
assert.match(
await fs.readFile(
path.resolve(
TEST_FIXTURES_PATH,
- LIB_POST_COMBINATION,
- 'system-test/fixtures/sample/src/index.js',
- ),
- 'utf-8',
- ),
- /SpeechClient/,
- );
-
- assert.match(
- await fs.readFile(
- path.resolve(
- TEST_FIXTURES_PATH,
- LIB_POST_COMBINATION,
+ LIB_POST_COMBINATION_DEFAULT_SYSTEM_TEST,
'system-test/fixtures/sample/src/index.ts',
),
'utf-8',
),
- /AdaptationClient/,
+ /BetaAnalyticsDataClient/,
);
- assert.match(
- await fs.readFile(
- path.resolve(
- TEST_FIXTURES_PATH,
- LIB_POST_COMBINATION,
- 'system-test/fixtures/sample/src/index.ts',
- ),
- 'utf-8',
- ),
- /SpeechClient/,
- );
});
it('should create a directory and write files', async () => {
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.eslintignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.eslintignore
new file mode 100644
index 000000000000..cfc348ec4d11
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.eslintignore
@@ -0,0 +1,7 @@
+**/node_modules
+**/.coverage
+build/
+docs/
+protos/
+system-test/
+samples/generated/
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.eslintrc.json b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.eslintrc.json
new file mode 100644
index 000000000000..782153495464
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": "./node_modules/gts"
+}
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.gitattributes b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.gitattributes
new file mode 100644
index 000000000000..33739cb74e44
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.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/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.gitignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.gitignore
new file mode 100644
index 000000000000..d4f03a0df2e8
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.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/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.jsdoc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.jsdoc.js
new file mode 100644
index 000000000000..717522242d93
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.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/data',
+ theme: 'lumen',
+ default: {
+ outputSourceFiles: false
+ }
+ },
+ markdown: {
+ idInHeadings: true
+ }
+};
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.mocharc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.mocharc.js
new file mode 100644
index 000000000000..24e9d15257f9
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.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/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.nycrc b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.nycrc
new file mode 100644
index 000000000000..81a95fc94b00
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.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/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore
new file mode 100644
index 000000000000..9340ad9b86d3
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignore
@@ -0,0 +1,6 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.js
new file mode 100644
index 000000000000..d89a632f90b0
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.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/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/CODE_OF_CONDUCT.md b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/CODE_OF_CONDUCT.md
new file mode 100644
index 000000000000..2add2547a812
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/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/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/CONTRIBUTING.md b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/CONTRIBUTING.md
new file mode 100644
index 000000000000..11f6908f30cf
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/CONTRIBUTING.md
@@ -0,0 +1,76 @@
+# How to become a contributor and submit your own code
+
+**Table of contents**
+
+* [Contributor License Agreements](#contributor-license-agreements)
+* [Contributing a patch](#contributing-a-patch)
+* [Running the tests](#running-the-tests)
+* [Releasing the library](#releasing-the-library)
+
+## Contributor License Agreements
+
+We'd love to accept your sample apps and patches! Before we can take them, we
+have to jump a couple of legal hurdles.
+
+Please fill out either the individual or corporate Contributor License Agreement
+(CLA).
+
+ * If you are an individual writing original source code and you're sure you
+ own the intellectual property, then you'll need to sign an [individual CLA](https://developers.google.com/open-source/cla/individual).
+ * If you work for a company that wants to allow you to contribute your work,
+ then you'll need to sign a [corporate CLA](https://developers.google.com/open-source/cla/corporate).
+
+Follow either of the two links above to access the appropriate CLA and
+instructions for how to sign and return it. Once we receive it, we'll be able to
+accept your pull requests.
+
+## Contributing A Patch
+
+1. Submit an issue describing your proposed change to the repo in question.
+1. The repo owner will respond to your issue promptly.
+1. If your proposed change is accepted, and you haven't already done so, sign a
+ Contributor License Agreement (see details above).
+1. Fork the desired repo, develop and test your code changes.
+1. Ensure that your code adheres to the existing style in the code to which
+ you are contributing.
+1. Ensure that your code has an appropriate set of tests which all pass.
+1. Title your pull request following [Conventional Commits](https://www.conventionalcommits.org/) styling.
+1. Submit a pull request.
+
+### Before you begin
+
+1. [Select or create a Cloud Platform project][projects].
+1. [Enable billing for your project][billing].
+1. [Enable the Data 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=analyticsdata.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
\ No newline at end of file
diff --git a/packages/google-shopping-merchant-accounts/LICENSE.md b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/LICENSE
similarity index 100%
rename from packages/google-shopping-merchant-accounts/LICENSE.md
rename to packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/LICENSE
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/README.md b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/README.md
new file mode 100644
index 000000000000..1b19eee45c37
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/README.md
@@ -0,0 +1,108 @@
+[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
+[//]: # "The comments you see below are used to generate those parts of the template in later states."
+
+
+# [Google Analytics Data API: Nodejs Client][homepage]
+
+[//]: # "releaseLevel"
+
+[](https://www.npmjs.org/package/@google-cloud/data)
+
+Google Analytics Data API client for Node.js
+
+[//]: # "partials.introduction"
+
+A comprehensive list of changes in each version may be found in
+[the CHANGELOG][homepage_changelog].
+
+* [Google Analytics Data API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/data/latest)
+
+
+Read more about the client libraries for Cloud APIs, including the older
+Google APIs Client Libraries, in [Client Libraries Explained][explained].
+
+[explained]: https://cloud.google.com/apis/docs/client-libraries-explained
+
+**Table of contents:**
+
+* [Quickstart](#quickstart)
+ * [Before you begin](#before-you-begin)
+ * [Installing the client library](#installing-the-client-library)
+
+* [Versioning](#versioning)
+* [Contributing](#contributing)
+* [License](#license)
+
+## Quickstart
+### Before you begin
+
+1. [Select or create a Cloud Platform project][projects].
+1. [Enable billing for your project][billing].
+1. [Enable the Google Analytics Data API 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/data
+```
+
+[//]: # "partials.body"
+
+## Samples
+
+Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample.
+
+[//]: # "samples"
+
+## Supported Node.js Versions
+
+Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
+Libraries are compatible with all current _active_ and _maintenance_ versions of
+Node.js.
+If you are using an end-of-life version of Node.js, we recommend that you update
+as soon as possible to an actively supported LTS version.
+
+Google's client libraries support legacy versions of Node.js runtimes on a
+best-efforts basis with the following warnings:
+
+* Legacy versions are not tested in continuous integration.
+* Some security patches and features cannot be backported.
+* Dependencies cannot be kept up-to-date.
+
+Client libraries targeting some end-of-life versions of Node.js are available, and
+can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
+The dist-tags follow the naming convention `legacy-(version)`.
+For example, `npm install @google-cloud/data@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-analytics-data/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-analytics-data/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=analyticsdata.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-analytics-data/samples
+[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-analytics-data/CHANGELOG.md
+[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-analytics-data
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/package.json b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/package.json
new file mode 100644
index 000000000000..a60aee8e2247
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "@google-cloud/data",
+ "version": "0.1.0",
+ "description": "Data client for Node.js",
+ "repository": "googleapis/nodejs-data",
+ "license": "Apache-2.0",
+ "author": "Google LLC",
+ "main": "build/src/index.js",
+ "files": [
+ "build/src",
+ "build/protos"
+ ],
+ "keywords": [
+ "google apis client",
+ "google api client",
+ "google apis",
+ "google api",
+ "google",
+ "google cloud platform",
+ "google cloud",
+ "cloud",
+ "google data",
+ "data",
+ "alpha analytics data"
+ ],
+ "scripts": {
+ "clean": "gts clean",
+ "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson",
+ "compile-protos": "compileProtos src",
+ "docs": "jsdoc -c .jsdoc.js",
+ "fix": "gts fix",
+ "lint": "gts check",
+ "prepare": "npm run compile-protos && npm run compile",
+ "system-test": "c8 mocha build/system-test",
+ "test": "c8 mocha build/test"
+ },
+ "dependencies": {
+ "google-gax": "^5.1.1-rc.1"
+ },
+ "devDependencies": {
+ "@types/mocha": "^10.0.10",
+ "@types/node": "^22.18.11",
+ "@types/sinon": "^17.0.4",
+ "c8": "^10.1.3",
+ "gapic-tools": "^1.0.3",
+ "gts": "^6.0.2",
+ "jsdoc": "^4.0.5",
+ "jsdoc-fresh": "^5.0.2",
+ "jsdoc-region-tag": "^4.0.1",
+ "mocha": "^11.7.4",
+ "pack-n-play": "^4.2.1",
+ "typescript": "5.8.3",
+ "sinon": "^21.0.0"
+ },
+ "engines": {
+ "node": ">=v18"
+ }
+}
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/google/analytics/data/v1alpha/analytics_data_api.proto b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/google/analytics/data/v1alpha/analytics_data_api.proto
new file mode 100644
index 000000000000..47c4f3b278cd
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/google/analytics/data/v1alpha/analytics_data_api.proto
@@ -0,0 +1,1304 @@
+// 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.analytics.data.v1alpha;
+
+import "google/analytics/data/v1alpha/data.proto";
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/longrunning/operations.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/analytics/data/v1alpha;data";
+option java_multiple_files = true;
+option java_outer_classname = "AnalyticsDataApiProto";
+option java_package = "com.google.analytics.data.v1alpha";
+option (google.api.resource_definition) = {
+ type: "analyticsadmin.googleapis.com/Property"
+ pattern: "properties/{property}"
+};
+
+// Google Analytics reporting data service.
+service AlphaAnalyticsData {
+ option (google.api.default_host) = "analyticsdata.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/analytics,"
+ "https://www.googleapis.com/auth/analytics.readonly,"
+ "https://www.googleapis.com/auth/drive,"
+ "https://www.googleapis.com/auth/drive.file,"
+ "https://www.googleapis.com/auth/spreadsheets";
+
+ // Returns a customized funnel report of your Google Analytics event data. The
+ // data returned from the API is as a table with columns for the requested
+ // dimensions and metrics.
+ //
+ // Funnel exploration lets you visualize the steps your users take to complete
+ // a task and quickly see how well they are succeeding or failing at each
+ // step. For example, how do prospects become shoppers and then become buyers?
+ // How do one time buyers become repeat buyers? With this information, you can
+ // improve inefficient or abandoned customer journeys. To learn more, see [GA4
+ // Funnel Explorations](https://support.google.com/analytics/answer/9327974).
+ //
+ // This method is introduced at alpha stability with the intention of
+ // gathering feedback on syntax and capabilities before entering beta. To give
+ // your feedback on this API, complete the [Google Analytics Data API Funnel
+ // Reporting
+ // Feedback](https://docs.google.com/forms/d/e/1FAIpQLSdwOlQDJAUoBiIgUZZ3S_Lwi8gr7Bb0k1jhvc-DEg7Rol3UjA/viewform).
+ rpc RunFunnelReport(RunFunnelReportRequest)
+ returns (RunFunnelReportResponse) {
+ option (google.api.http) = {
+ post: "/v1alpha/{property=properties/*}:runFunnelReport"
+ body: "*"
+ };
+ }
+
+ // Creates an audience list for later retrieval. This method quickly returns
+ // the audience list's resource name and initiates a long running asynchronous
+ // request to form an audience list. To list the users in an audience list,
+ // first create the audience list through this method and then send the
+ // audience resource name to the `QueryAudienceList` method.
+ //
+ // See [Creating an Audience
+ // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
+ // for an introduction to Audience Lists with examples.
+ //
+ // An audience list is a snapshot of the users currently in the audience at
+ // the time of audience list creation. Creating audience lists for one
+ // audience on different days will return different results as users enter and
+ // exit the audience.
+ //
+ // Audiences in Google Analytics 4 allow you to segment your users in the ways
+ // that are important to your business. To learn more, see
+ // https://support.google.com/analytics/answer/9267572. Audience lists contain
+ // the users in each audience.
+ //
+ // This method is available at beta stability at
+ // [audienceExports.create](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/create).
+ // To give your feedback on this API, complete the [Google Analytics Audience
+ // Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc CreateAudienceList(CreateAudienceListRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1alpha/{parent=properties/*}/audienceLists"
+ body: "audience_list"
+ };
+ option (google.api.method_signature) = "parent,audience_list";
+ option (google.longrunning.operation_info) = {
+ response_type: "AudienceList"
+ metadata_type: "AudienceListMetadata"
+ };
+ }
+
+ // Retrieves an audience list of users. After creating an audience, the users
+ // are not immediately available for listing. First, a request to
+ // `CreateAudienceList` is necessary to create an audience list of users, and
+ // then second, this method is used to retrieve the users in the audience
+ // list.
+ //
+ // See [Creating an Audience
+ // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
+ // for an introduction to Audience Lists with examples.
+ //
+ // Audiences in Google Analytics 4 allow you to segment your users in the ways
+ // that are important to your business. To learn more, see
+ // https://support.google.com/analytics/answer/9267572.
+ //
+ // This method is available at beta stability at
+ // [audienceExports.query](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/query).
+ // To give your feedback on this API, complete the [Google Analytics Audience
+ // Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc QueryAudienceList(QueryAudienceListRequest)
+ returns (QueryAudienceListResponse) {
+ option (google.api.http) = {
+ post: "/v1alpha/{name=properties/*/audienceLists/*}:query"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Exports an audience list of users to a Google Sheet. After creating an
+ // audience, the users are not immediately available for listing. First, a
+ // request to `CreateAudienceList` is necessary to create an audience list of
+ // users, and then second, this method is used to export those users in the
+ // audience list to a Google Sheet.
+ //
+ // See [Creating an Audience
+ // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
+ // for an introduction to Audience Lists with examples.
+ //
+ // Audiences in Google Analytics 4 allow you to segment your users in the ways
+ // that are important to your business. To learn more, see
+ // https://support.google.com/analytics/answer/9267572.
+ //
+ // This method is introduced at alpha stability with the intention of
+ // gathering feedback on syntax and capabilities before entering beta. To give
+ // your feedback on this API, complete the
+ // [Google Analytics Audience Export API
+ // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc SheetExportAudienceList(SheetExportAudienceListRequest)
+ returns (SheetExportAudienceListResponse) {
+ option (google.api.http) = {
+ post: "/v1alpha/{name=properties/*/audienceLists/*}:exportSheet"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets configuration metadata about a specific audience list. This method
+ // can be used to understand an audience list after it has been created.
+ //
+ // See [Creating an Audience
+ // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
+ // for an introduction to Audience Lists with examples.
+ //
+ // This method is available at beta stability at
+ // [audienceExports.get](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/get).
+ // To give your feedback on this API, complete the
+ // [Google Analytics Audience Export API
+ // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc GetAudienceList(GetAudienceListRequest) returns (AudienceList) {
+ option (google.api.http) = {
+ get: "/v1alpha/{name=properties/*/audienceLists/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists all audience lists for a property. This method can be used for you to
+ // find and reuse existing audience lists rather than creating unnecessary new
+ // audience lists. The same audience can have multiple audience lists that
+ // represent the list of users that were in an audience on different days.
+ //
+ // See [Creating an Audience
+ // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
+ // for an introduction to Audience Lists with examples.
+ //
+ // This method is available at beta stability at
+ // [audienceExports.list](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/list).
+ // To give your feedback on this API, complete the
+ // [Google Analytics Audience Export API
+ // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc ListAudienceLists(ListAudienceListsRequest)
+ returns (ListAudienceListsResponse) {
+ option (google.api.http) = {
+ get: "/v1alpha/{parent=properties/*}/audienceLists"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Creates a recurring audience list. Recurring audience lists produces new
+ // audience lists each day. Audience lists are users in an audience at the
+ // time of the list's creation.
+ //
+ // A recurring audience list ensures that you have audience list based on the
+ // most recent data available for use each day. If you manually create
+ // audience list, you don't know when an audience list based on an additional
+ // day's data is available. This recurring audience list automates the
+ // creation of an audience list when an additional day's data is available.
+ // You will consume fewer quota tokens by using recurring audience list versus
+ // manually creating audience list at various times of day trying to guess
+ // when an additional day's data is ready.
+ //
+ // This method is introduced at alpha stability with the intention of
+ // gathering feedback on syntax and capabilities before entering beta. To give
+ // your feedback on this API, complete the
+ // [Google Analytics Audience Export API
+ // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc CreateRecurringAudienceList(CreateRecurringAudienceListRequest)
+ returns (RecurringAudienceList) {
+ option (google.api.http) = {
+ post: "/v1alpha/{parent=properties/*}/recurringAudienceLists"
+ body: "recurring_audience_list"
+ };
+ option (google.api.method_signature) = "parent,recurring_audience_list";
+ }
+
+ // Gets configuration metadata about a specific recurring audience list. This
+ // method can be used to understand a recurring audience list's state after it
+ // has been created. For example, a recurring audience list resource will
+ // generate audience list instances for each day, and this method can be used
+ // to get the resource name of the most recent audience list instance.
+ //
+ // This method is introduced at alpha stability with the intention of
+ // gathering feedback on syntax and capabilities before entering beta. To give
+ // your feedback on this API, complete the
+ // [Google Analytics Audience Export API
+ // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc GetRecurringAudienceList(GetRecurringAudienceListRequest)
+ returns (RecurringAudienceList) {
+ option (google.api.http) = {
+ get: "/v1alpha/{name=properties/*/recurringAudienceLists/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists all recurring audience lists for a property. This method can be used
+ // for you to find and reuse existing recurring audience lists rather than
+ // creating unnecessary new recurring audience lists. The same audience can
+ // have multiple recurring audience lists that represent different dimension
+ // combinations; for example, just the dimension `deviceId` or both the
+ // dimensions `deviceId` and `userId`.
+ //
+ // This method is introduced at alpha stability with the intention of
+ // gathering feedback on syntax and capabilities before entering beta. To give
+ // your feedback on this API, complete the
+ // [Google Analytics Audience Export API
+ // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc ListRecurringAudienceLists(ListRecurringAudienceListsRequest)
+ returns (ListRecurringAudienceListsResponse) {
+ option (google.api.http) = {
+ get: "/v1alpha/{parent=properties/*}/recurringAudienceLists"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Get all property quotas organized by quota category for a given property.
+ // This will charge 1 property quota from the category with the most quota.
+ rpc GetPropertyQuotasSnapshot(GetPropertyQuotasSnapshotRequest)
+ returns (PropertyQuotasSnapshot) {
+ option (google.api.http) = {
+ get: "/v1alpha/{name=properties/*/propertyQuotasSnapshot}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Initiates the creation of a report task. This method quickly
+ // returns a report task and initiates a long running
+ // asynchronous request to form a customized report of your Google Analytics
+ // event data.
+ //
+ // A report task will be retained and available for querying for 72 hours
+ // after it has been created.
+ //
+ // A report task created by one user can be listed and queried by all users
+ // who have access to the property.
+ rpc CreateReportTask(CreateReportTaskRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1alpha/{parent=properties/*}/reportTasks"
+ body: "report_task"
+ };
+ option (google.api.method_signature) = "parent,report_task";
+ option (google.longrunning.operation_info) = {
+ response_type: "ReportTask"
+ metadata_type: "ReportTaskMetadata"
+ };
+ }
+
+ // Retrieves a report task's content. After requesting the `CreateReportTask`,
+ // you are able to retrieve the report content once the report is
+ // ACTIVE. This method will return an error if the report task's state is not
+ // `ACTIVE`. A query response will return the tabular row & column values of
+ // the report.
+ rpc QueryReportTask(QueryReportTaskRequest)
+ returns (QueryReportTaskResponse) {
+ option (google.api.http) = {
+ post: "/v1alpha/{name=properties/*/reportTasks/*}:query"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets report metadata about a specific report task. After creating a report
+ // task, use this method to check its processing state or inspect its
+ // report definition.
+ rpc GetReportTask(GetReportTaskRequest) returns (ReportTask) {
+ option (google.api.http) = {
+ get: "/v1alpha/{name=properties/*/reportTasks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists all report tasks for a property.
+ rpc ListReportTasks(ListReportTasksRequest)
+ returns (ListReportTasksResponse) {
+ option (google.api.http) = {
+ get: "/v1alpha/{parent=properties/*}/reportTasks"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+}
+
+// A request to create a new recurring audience list.
+message CreateRecurringAudienceListRequest {
+ // Required. The parent resource where this recurring audience list will be
+ // created. Format: `properties/{property}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "analyticsdata.googleapis.com/RecurringAudienceList"
+ }
+ ];
+
+ // Required. The recurring audience list to create.
+ RecurringAudienceList recurring_audience_list = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// A recurring audience list produces new audience lists each day. Audience
+// lists are users in an audience at the time of the list's creation. A
+// recurring audience list ensures that you have audience list based on the most
+// recent data available for use each day.
+message RecurringAudienceList {
+ option (google.api.resource) = {
+ type: "analyticsdata.googleapis.com/RecurringAudienceList"
+ pattern: "properties/{property}/recurringAudienceLists/{recurring_audience_list}"
+ plural: "recurringAudienceLists"
+ singular: "recurringAudienceList"
+ };
+
+ // Output only. Identifier. The recurring audience list resource name assigned
+ // during creation. This resource name identifies this
+ // `RecurringAudienceList`.
+ //
+ // Format:
+ // `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ string name = 1 [
+ (google.api.field_behavior) = IDENTIFIER,
+ (google.api.field_behavior) = OUTPUT_ONLY
+ ];
+
+ // Required. The audience resource name. This resource name identifies the
+ // audience being listed and is shared between the Analytics Data & Admin
+ // APIs.
+ //
+ // Format: `properties/{property}/audiences/{audience}`
+ string audience = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The descriptive display name for this audience. For example,
+ // "Purchasers".
+ string audience_display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. The dimensions requested and displayed in the audience list
+ // response.
+ repeated AudienceDimension dimensions = 4
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The number of remaining days that a recurring audience export
+ // will produce an audience list instance. This counter decreases by one each
+ // day, and when it reaches zero, no new audience lists will be created.
+ //
+ // Recurring audience list request for Analytics 360 properties default to 180
+ // days and have a maximum of 365 days. Requests for standard Analytics
+ // properties default to 14 days and have a maximum of 30 days.
+ //
+ // The minimum value allowed during creation is 1. Requests above their
+ // respective maximum will be coerced to their maximum.
+ optional int32 active_days_remaining = 5
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Audience list resource names for audience list instances
+ // created for this recurring audience list. One audience list is created for
+ // each day, and the audience list will be listed here.
+ //
+ // This list is ordered with the most recently created audience list first.
+ repeated string audience_lists = 6
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Configures webhook notifications to be sent from the Google
+ // Analytics Data API to your webhook server. Use of webhooks is optional. If
+ // unused, you'll need to poll this API to determine when a recurring audience
+ // list creates new audience lists. Webhooks allow a notification to be sent
+ // to your servers & avoid the need for polling.
+ //
+ // Two POST requests will be sent each time a recurring audience list creates
+ // an audience list. This happens once per day until a recurring audience list
+ // reaches 0 active days remaining. The first request will be sent showing a
+ // newly created audience list in its CREATING state. The second request will
+ // be sent after the audience list completes creation (either the ACTIVE or
+ // FAILED state).
+ optional WebhookNotification webhook_notification = 8
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Configures a long-running operation resource to send a webhook notification
+// from the Google Analytics Data API to your webhook server when the resource
+// updates.
+//
+// Notification configurations contain private values & are only visible to your
+// GCP project. Different GCP projects may attach different webhook
+// notifications to the same long-running operation resource.
+message WebhookNotification {
+ // Optional. The web address that will receive the webhook notification. This
+ // address will receive POST requests as the state of the long running
+ // operation resource changes. The POST request will contain both a JSON
+ // version of the long running operation resource in the body and a
+ // `sentTimestamp` field. The sent timestamp will specify the unix
+ // microseconds since the epoch that the request was sent; this lets you
+ // identify replayed notifications.
+ //
+ // An example URI is
+ // `https://us-central1-example-project-id.cloudfunctions.net/example-function-1`.
+ //
+ // The URI must use HTTPS and point to a site with a valid SSL certificate on
+ // the web server. The URI must have a maximum string length of 128 characters
+ // & use only the allowlisted characters from [RFC
+ // 1738](https://www.rfc-editor.org/rfc/rfc1738).
+ //
+ // When your webhook server receives a notification, it is expected to reply
+ // with an HTTP response status code of 200 within 5 seconds.
+ //
+ // A URI is required to use webhook notifications.
+ //
+ // Requests to this webhook server will contain an ID token authenticating the
+ // service account
+ // `google-analytics-audience-export@system.gserviceaccount.com`. To learn
+ // more about ID tokens, see
+ // https://cloud.google.com/docs/authentication/token-types#id. For Google
+ // Cloud Functions, this lets you configure your function to require
+ // authentication. In Cloud IAM, you will need to grant the service account
+ // permissions to the Cloud Run Invoker (`roles/run.invoker`) & Cloud
+ // Functions Invoker (`roles/cloudfunctions.invoker`) roles for the webhook
+ // post request to pass Google Cloud Functions authentication. This API can
+ // send webhook notifications to arbitrary URIs; for webhook servers other
+ // than Google Cloud Functions, this ID token in the authorization bearer
+ // header should be ignored if it is not needed.
+ optional string uri = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The channel token is an arbitrary string value and must have a
+ // maximum string length of 64 characters. Channel tokens allow you to verify
+ // the source of a webhook notification. This guards against the message being
+ // spoofed. The channel token will be specified in the `X-Goog-Channel-Token`
+ // HTTP header of the webhook POST request.
+ //
+ // A channel token is not required to use webhook notifications.
+ optional string channel_token = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A request to retrieve configuration metadata about a specific recurring
+// audience list.
+message GetRecurringAudienceListRequest {
+ // Required. The recurring audience list resource name.
+ // Format:
+ // `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "analyticsdata.googleapis.com/RecurringAudienceList"
+ }
+ ];
+}
+
+// A request to list all recurring audience lists for a property.
+message ListRecurringAudienceListsRequest {
+ // Required. All recurring audience lists for this property will be listed in
+ // the response. Format: `properties/{property}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "analyticsdata.googleapis.com/RecurringAudienceList"
+ }
+ ];
+
+ // Optional. The maximum number of recurring audience lists to return. The
+ // service may return fewer than this value. If unspecified, at most 200
+ // recurring audience lists will be returned. The maximum value is 1000
+ // (higher values will be coerced to the maximum).
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous
+ // `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ // page.
+ //
+ // When paginating, all other parameters provided to
+ // `ListRecurringAudienceLists` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A list of all recurring audience lists for a property.
+message ListRecurringAudienceListsResponse {
+ // Each recurring audience list for a property.
+ repeated RecurringAudienceList recurring_audience_lists = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ optional string next_page_token = 2;
+}
+
+// A request to return the PropertyQuotasSnapshot for a given category.
+message GetPropertyQuotasSnapshotRequest {
+ // Required. Quotas from this property will be listed in the response.
+ // Format: `properties/{property}/propertyQuotasSnapshot`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "analyticsadmin.googleapis.com/PropertyQuotasSnapshot"
+ }
+ ];
+}
+
+// Current state of all Property Quotas organized by quota category.
+message PropertyQuotasSnapshot {
+ option (google.api.resource) = {
+ type: "analyticsadmin.googleapis.com/PropertyQuotasSnapshot"
+ pattern: "properties/{property}/propertyQuotasSnapshot"
+ plural: "propertyQuotasSnapshots"
+ singular: "propertyQuotasSnapshot"
+ };
+
+ // Identifier. The property quota snapshot resource name.
+ string name = 4 [(google.api.field_behavior) = IDENTIFIER];
+
+ // Property Quota for core property tokens
+ PropertyQuota core_property_quota = 1;
+
+ // Property Quota for realtime property tokens
+ PropertyQuota realtime_property_quota = 2;
+
+ // Property Quota for funnel property tokens
+ PropertyQuota funnel_property_quota = 3;
+}
+
+// A request to retrieve configuration metadata about a specific audience list.
+message GetAudienceListRequest {
+ // Required. The audience list resource name.
+ // Format: `properties/{property}/audienceLists/{audience_list}`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "analyticsdata.googleapis.com/AudienceList"
+ }
+ ];
+}
+
+// A request to list all audience lists for a property.
+message ListAudienceListsRequest {
+ // Required. All audience lists for this property will be listed in the
+ // response. Format: `properties/{property}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "analyticsdata.googleapis.com/AudienceList"
+ }
+ ];
+
+ // Optional. The maximum number of audience lists to return. The service may
+ // return fewer than this value. If unspecified, at most 200 audience lists
+ // will be returned. The maximum value is 1000 (higher values will be coerced
+ // to the maximum).
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListAudienceLists` call.
+ // Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other parameters provided to `ListAudienceLists` must
+ // match the call that provided the page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A list of all audience lists for a property.
+message ListAudienceListsResponse {
+ // Each audience list for a property.
+ repeated AudienceList audience_lists = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ optional string next_page_token = 2;
+}
+
+// A request to create a new audience list.
+message CreateAudienceListRequest {
+ // Required. The parent resource where this audience list will be created.
+ // Format: `properties/{property}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "analyticsdata.googleapis.com/AudienceList"
+ }
+ ];
+
+ // Required. The audience list to create.
+ AudienceList audience_list = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// An audience list is a list of users in an audience at the time of the list's
+// creation. One audience may have multiple audience lists created for different
+// days.
+message AudienceList {
+ option (google.api.resource) = {
+ type: "analyticsdata.googleapis.com/AudienceList"
+ pattern: "properties/{property}/audienceLists/{audience_list}"
+ plural: "audienceLists"
+ singular: "audienceList"
+ };
+
+ // The AudienceList currently exists in this state.
+ enum State {
+ // Unspecified state will never be used.
+ STATE_UNSPECIFIED = 0;
+
+ // The AudienceList is currently creating and will be available in the
+ // future. Creating occurs immediately after the CreateAudienceList call.
+ CREATING = 1;
+
+ // The AudienceList is fully created and ready for querying. An AudienceList
+ // is updated to active asynchronously from a request; this occurs some
+ // time (for example 15 minutes) after the initial create call.
+ ACTIVE = 2;
+
+ // The AudienceList failed to be created. It is possible that re-requesting
+ // this audience list will succeed.
+ FAILED = 3;
+ }
+
+ // Output only. Identifier. The audience list resource name assigned during
+ // creation. This resource name identifies this `AudienceList`.
+ //
+ // Format: `properties/{property}/audienceLists/{audience_list}`
+ string name = 1 [
+ (google.api.field_behavior) = IDENTIFIER,
+ (google.api.field_behavior) = OUTPUT_ONLY
+ ];
+
+ // Required. The audience resource name. This resource name identifies the
+ // audience being listed and is shared between the Analytics Data & Admin
+ // APIs.
+ //
+ // Format: `properties/{property}/audiences/{audience}`
+ string audience = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The descriptive display name for this audience. For example,
+ // "Purchasers".
+ string audience_display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. The dimensions requested and displayed in the query response.
+ repeated AudienceDimension dimensions = 4
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The current state for this AudienceList.
+ optional State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when CreateAudienceList was called and the
+ // AudienceList began the `CREATING` state.
+ optional google.protobuf.Timestamp begin_creating_time = 6
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The total quota tokens charged during creation of the
+ // AudienceList. Because this token count is based on activity from the
+ // `CREATING` state, this tokens charged will be fixed once an AudienceList
+ // enters the `ACTIVE` or `FAILED` states.
+ int32 creation_quota_tokens_charged = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The total number of rows in the AudienceList result.
+ optional int32 row_count = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Error message is populated when an audience list fails during
+ // creation. A common reason for such a failure is quota exhaustion.
+ optional string error_message = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The percentage completed for this audience export ranging
+ // between 0 to 100.
+ optional double percentage_completed = 11
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The recurring audience list that created this audience list.
+ // Recurring audience lists create audience lists daily.
+ //
+ // If audience lists are created directly, they will have no associated
+ // recurring audience list, and this field will be blank.
+ optional string recurring_audience_list = 12
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Configures webhook notifications to be sent from the Google
+ // Analytics Data API to your webhook server. Use of webhooks is optional. If
+ // unused, you'll need to poll this API to determine when an audience list is
+ // ready to be used. Webhooks allow a notification to be sent to your servers
+ // & avoid the need for polling.
+ //
+ // Either one or two POST requests will be sent to the webhook. The first POST
+ // request will be sent immediately showing the newly created audience list in
+ // its CREATING state. The second POST request will be sent after the audience
+ // list completes creation (either the ACTIVE or FAILED state).
+ //
+ // If identical audience lists are requested in quick succession, the second &
+ // subsequent audience lists can be served from cache. In that case, the
+ // audience list create method can return an audience list is already ACTIVE.
+ // In this scenario, only one POST request will be sent to the webhook.
+ optional WebhookNotification webhook_notification = 13
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// This metadata is currently blank.
+message AudienceListMetadata {}
+
+// A request to list users in an audience list.
+message QueryAudienceListRequest {
+ // Required. The name of the audience list to retrieve users from.
+ // Format: `properties/{property}/audienceLists/{audience_list}`
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The row count of the start row. The first row is counted as row
+ // 0.
+ //
+ // When paging, the first request does not specify offset; or equivalently,
+ // sets offset to 0; the first request returns the first `limit` of rows. The
+ // second request sets offset to the `limit` of the first request; the second
+ // request returns the second `limit` of rows.
+ //
+ // To learn more about this pagination parameter, see
+ // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
+ int64 offset = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The number of rows to return. If unspecified, 10,000 rows are
+ // returned. The API returns a maximum of 250,000 rows per request, no matter
+ // how many you ask for. `limit` must be positive.
+ //
+ // The API can also return fewer rows than the requested `limit`, if there
+ // aren't as many dimension values as the `limit`.
+ //
+ // To learn more about this pagination parameter, see
+ // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
+ int64 limit = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A list of users in an audience list.
+message QueryAudienceListResponse {
+ // Configuration data about AudienceList being queried. Returned to help
+ // interpret the audience rows in this response. For example, the dimensions
+ // in this AudienceList correspond to the columns in the AudienceRows.
+ optional AudienceList audience_list = 1;
+
+ // Rows for each user in an audience list. The number of rows in this
+ // response will be less than or equal to request's page size.
+ repeated AudienceRow audience_rows = 2;
+
+ // The total number of rows in the AudienceList result. `rowCount` is
+ // independent of the number of rows returned in the response, the `limit`
+ // request parameter, and the `offset` request parameter. For example if a
+ // query returns 175 rows and includes `limit` of 50 in the API request, the
+ // response will contain `rowCount` of 175 but only 50 rows.
+ //
+ // To learn more about this pagination parameter, see
+ // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
+ optional int32 row_count = 3;
+}
+
+// A request to export users in an audience list to a Google Sheet.
+message SheetExportAudienceListRequest {
+ // Required. The name of the audience list to retrieve users from.
+ // Format: `properties/{property}/audienceLists/{audience_list}`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "analyticsdata.googleapis.com/AudienceList"
+ }
+ ];
+
+ // Optional. The row count of the start row. The first row is counted as row
+ // 0.
+ //
+ // When paging, the first request does not specify offset; or equivalently,
+ // sets offset to 0; the first request returns the first `limit` of rows. The
+ // second request sets offset to the `limit` of the first request; the second
+ // request returns the second `limit` of rows.
+ //
+ // To learn more about this pagination parameter, see
+ // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
+ int64 offset = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The number of rows to return. If unspecified, 10,000 rows are
+ // returned. The API returns a maximum of 250,000 rows per request, no matter
+ // how many you ask for. `limit` must be positive.
+ //
+ // The API can also return fewer rows than the requested `limit`, if there
+ // aren't as many dimension values as the `limit`.
+ //
+ // To learn more about this pagination parameter, see
+ // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
+ int64 limit = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The created Google Sheet with the list of users in an audience list.
+message SheetExportAudienceListResponse {
+ // A uri for you to visit in your browser to view the Google Sheet.
+ optional string spreadsheet_uri = 1;
+
+ // An ID that identifies the created Google Sheet resource.
+ optional string spreadsheet_id = 2;
+
+ // The total number of rows in the AudienceList result. `rowCount` is
+ // independent of the number of rows returned in the response, the `limit`
+ // request parameter, and the `offset` request parameter. For example if a
+ // query returns 175 rows and includes `limit` of 50 in the API request, the
+ // response will contain `rowCount` of 175 but only 50 rows.
+ //
+ // To learn more about this pagination parameter, see
+ // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
+ optional int32 row_count = 3;
+
+ // Configuration data about AudienceList being exported. Returned to help
+ // interpret the AudienceList in the Google Sheet of this response.
+ //
+ // For example, the AudienceList may have more rows than are present in the
+ // Google Sheet, and in that case, you may want to send an additional sheet
+ // export request with a different `offset` value to retrieve the next page of
+ // rows in an additional Google Sheet.
+ optional AudienceList audience_list = 4;
+}
+
+// Dimension value attributes for the audience user row.
+message AudienceRow {
+ // Each dimension value attribute for an audience user. One dimension value
+ // will be added for each dimension column requested.
+ repeated AudienceDimensionValue dimension_values = 1;
+}
+
+// An audience dimension is a user attribute. Specific user attributed are
+// requested and then later returned in the `QueryAudienceListResponse`.
+message AudienceDimension {
+ // Optional. The API name of the dimension. See the [API
+ // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions)
+ // for the list of dimension names.
+ string dimension_name = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The value of a dimension.
+message AudienceDimensionValue {
+ // One kind of dimension value.
+ oneof one_value {
+ // Value as a string if the dimension type is a string.
+ string value = 1;
+ }
+}
+
+// The request for a funnel report.
+message RunFunnelReportRequest {
+ // Controls the dimensions present in the funnel visualization sub report
+ // response.
+ enum FunnelVisualizationType {
+ // Unspecified type.
+ FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED = 0;
+
+ // A standard (stepped) funnel. The funnel visualization sub report in the
+ // response will not contain date.
+ STANDARD_FUNNEL = 1;
+
+ // A trended (line chart) funnel. The funnel visualization sub report in the
+ // response will contain the date dimension.
+ TRENDED_FUNNEL = 2;
+ }
+
+ // Optional. A Google Analytics property identifier whose events are tracked.
+ // Specified in the URL path and not the body. To learn more, see [where to
+ // find your Property
+ // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+ // Within a batch request, this property should either be unspecified or
+ // consistent with the batch-level property.
+ //
+ // Example: properties/1234
+ string property = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Date ranges of data to read. If multiple date ranges are
+ // requested, each response row will contain a zero based date range index. If
+ // two date ranges overlap, the event data for the overlapping days is
+ // included in the response rows for both date ranges.
+ repeated DateRange date_ranges = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The configuration of this request's funnel. This funnel
+ // configuration is required.
+ Funnel funnel = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If specified, this breakdown adds a dimension to the funnel table
+ // sub report response. This breakdown dimension expands each funnel step to
+ // the unique values of the breakdown dimension. For example, a breakdown by
+ // the `deviceCategory` dimension will create rows for `mobile`, `tablet`,
+ // `desktop`, and the total.
+ FunnelBreakdown funnel_breakdown = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If specified, next action adds a dimension to the funnel
+ // visualization sub report response. This next action dimension expands each
+ // funnel step to the unique values of the next action. For example a next
+ // action of the `eventName` dimension will create rows for several events
+ // (for example `session_start` & `click`) and the total.
+ //
+ // Next action only supports `eventName` and most Page / Screen dimensions
+ // like `pageTitle` and `pagePath`.
+ FunnelNextAction funnel_next_action = 5
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The funnel visualization type controls the dimensions present in
+ // the funnel visualization sub report response. If not specified,
+ // `STANDARD_FUNNEL` is used.
+ FunnelVisualizationType funnel_visualization_type = 6
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The configurations of segments. Segments are subsets of a
+ // property's data. In a funnel report with segments, the funnel is evaluated
+ // in each segment.
+ //
+ // Each segment specified in this request
+ // produces a separate row in the response; in the response, each segment
+ // identified by its name.
+ //
+ // The segments parameter is optional. Requests are limited to 4 segments.
+ repeated Segment segments = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The number of rows to return. If unspecified, 10,000 rows are
+ // returned. The API returns a maximum of 250,000 rows per request, no matter
+ // how many you ask for. `limit` must be positive.
+ //
+ // The API can also return fewer rows than the requested `limit`, if there
+ // aren't as many dimension values as the `limit`.
+ int64 limit = 9 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Dimension filters allow you to ask for only specific dimension
+ // values in the report. To learn more, see [Creating a Report: Dimension
+ // Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+ // for examples. Metrics cannot be used in this filter.
+ FilterExpression dimension_filter = 10
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Toggles whether to return the current state of this Analytics
+ // Property's quota. Quota is returned in [PropertyQuota](#PropertyQuota).
+ bool return_property_quota = 12 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The funnel report response contains two sub reports. The two sub reports are
+// different combinations of dimensions and metrics.
+message RunFunnelReportResponse {
+ // The funnel table is a report with the funnel step, segment, breakdown
+ // dimension, active users, completion rate, abandonments, and abandonments
+ // rate.
+ //
+ // The segment dimension is only present in this response if a segment was
+ // requested. The breakdown dimension is only present in this response if it
+ // was requested.
+ FunnelSubReport funnel_table = 1;
+
+ // The funnel visualization is a report with the funnel step, segment, date,
+ // next action dimension, and active users.
+ //
+ // The segment dimension is only present in this response if a segment was
+ // requested. The date dimension is only present in this response if it was
+ // requested through the `TRENDED_FUNNEL` funnel type. The next action
+ // dimension is only present in the response if it was requested.
+ FunnelSubReport funnel_visualization = 2;
+
+ // This Analytics Property's quota state including this request.
+ PropertyQuota property_quota = 3;
+
+ // Identifies what kind of resource this message is. This `kind` is always the
+ // fixed string "analyticsData#runFunnelReport". Useful to distinguish between
+ // response types in JSON.
+ string kind = 4;
+}
+
+// A specific report task configuration.
+message ReportTask {
+ option (google.api.resource) = {
+ type: "analyticsdata.googleapis.com/ReportTask"
+ pattern: "properties/{property}/reportTasks/{report_task}"
+ plural: "reportTasks"
+ singular: "reportTask"
+ };
+
+ // The definition of how a report should be run.
+ message ReportDefinition {
+ // Optional. The dimensions requested and displayed.
+ repeated Dimension dimensions = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The metrics requested and displayed.
+ repeated Metric metrics = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Date ranges of data to read. If multiple date ranges are
+ // requested, each response row will contain a zero based date range index.
+ // If two date ranges overlap, the event data for the overlapping days is
+ // included in the response rows for both date ranges. In a cohort request,
+ // this `dateRanges` must be unspecified.
+ repeated DateRange date_ranges = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Dimension filters let you ask for only specific dimension
+ // values in the report. To learn more, see [Fundamentals of Dimension
+ // Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+ // for examples. Metrics cannot be used in this filter.
+ FilterExpression dimension_filter = 5
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filter clause of metrics. Applied after aggregating the
+ // report's rows, similar to SQL having-clause. Dimensions cannot be used in
+ // this filter.
+ FilterExpression metric_filter = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The row count of the start row from Google Analytics Storage.
+ // The first row is counted as row 0.
+ //
+ // When creating a report task, the `offset` and `limit` parameters define
+ // the subset of data rows from Google Analytics storage to be included in
+ // the generated report. For example, if there are a total of 300,000 rows
+ // in Google Analytics storage, the initial report task may have the
+ // first 10,000 rows with a limit of 10,000 and an offset of 0.
+ // Subsequently, another report task could cover the next 10,000 rows with a
+ // limit of 10,000 and an offset of 10,000.
+ int64 offset = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The number of rows to return in the Report. If unspecified,
+ // 10,000 rows are returned. The API returns a maximum of 250,000 rows per
+ // request, no matter how many you ask for. `limit` must be positive.
+ //
+ // The API can also return fewer rows than the requested `limit`, if there
+ // aren't as many dimension values as the `limit`. For instance, there are
+ // fewer than 300 possible values for the dimension `country`, so when
+ // reporting on only `country`, you can't get more than 300 rows, even if
+ // you set `limit` to a higher value.
+ int64 limit = 8 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Aggregation of metrics. Aggregated metric values will be shown
+ // in rows where the dimension_values are set to
+ // "RESERVED_(MetricAggregation)".
+ repeated MetricAggregation metric_aggregations = 9
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies how rows are ordered in the response.
+ repeated OrderBy order_bys = 10 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY".
+ // If the field is empty, the report uses the property's default currency.
+ string currency_code = 11 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Cohort group associated with this request. If there is a cohort
+ // group in the request the 'cohort' dimension must be present.
+ CohortSpec cohort_spec = 12 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If false or unspecified, each row with all metrics equal to 0
+ // will not be returned. If true, these rows will be returned if they are
+ // not separately removed by a filter.
+ //
+ // Regardless of this `keep_empty_rows` setting, only data recorded by the
+ // Google Analytics property can be displayed in a report.
+ //
+ // For example if a property never logs a `purchase` event, then a query for
+ // the `eventName` dimension and `eventCount` metric will not have a row
+ // containing eventName: "purchase" and eventCount: 0.
+ bool keep_empty_rows = 13 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The report's sampling level.
+ optional SamplingLevel sampling_level = 14
+ [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // The report metadata for a specific report task.
+ message ReportMetadata {
+ // The processing state.
+ enum State {
+ // Unspecified state will never be used.
+ STATE_UNSPECIFIED = 0;
+
+ // The report is currently creating and will be available in the
+ // future. Creating occurs immediately after the CreateReport call.
+ CREATING = 1;
+
+ // The report is fully created and ready for querying.
+ ACTIVE = 2;
+
+ // The report failed to be created.
+ FAILED = 3;
+ }
+
+ // Output only. The current state for this report task.
+ optional State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when `CreateReportTask` was called and the report
+ // began the `CREATING` state.
+ optional google.protobuf.Timestamp begin_creating_time = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The total quota tokens charged during creation of the
+ // report. Because this token count is based on activity from the `CREATING`
+ // state, this tokens charge will be fixed once a report task enters the
+ // `ACTIVE` or `FAILED` state.
+ int32 creation_quota_tokens_charged = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The total number of rows in the report result. This field
+ // will be populated when the state is active. You can utilize
+ // `task_row_count` for pagination within the confines of their existing
+ // report.
+ optional int32 task_row_count = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Error message is populated if a report task fails during
+ // creation.
+ optional string error_message = 5
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The total number of rows in Google Analytics storage. If you
+ // want to query additional data rows beyond the current report, they can
+ // initiate a new report task based on the `total_row_count`.
+ //
+ // The `task_row_count` represents the number of rows specifically
+ // pertaining to the current report, whereas `total_row_count` encompasses
+ // the total count of rows across all data retrieved from Google
+ // Analytics storage.
+ //
+ // For example, suppose the current report's `task_row_count` is 20,
+ // displaying the data from the first 20 rows. Simultaneously, the
+ // `total_row_count` is 30, indicating the presence of data for all 30 rows.
+ // The `task_row_count` can be utilizated to paginate through the initial 20
+ // rows. To expand the report and include data from all 30 rows, a new
+ // report task can be created using the total_row_count to access the full
+ // set of 30 rows' worth of data.
+ optional int32 total_row_count = 6
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ // Output only. Identifier. The report task resource name assigned during
+ // creation. Format: "properties/{property}/reportTasks/{report_task}"
+ string name = 1 [
+ (google.api.field_behavior) = IDENTIFIER,
+ (google.api.field_behavior) = OUTPUT_ONLY
+ ];
+
+ // Optional. A report definition to fetch report data, which describes the
+ // structure of a report. It typically includes the fields that will be
+ // included in the report and the criteria that will be used to filter the
+ // data.
+ ReportDefinition report_definition = 2
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. The report metadata for a specific report task, which provides
+ // information about a report. It typically includes the following
+ // information: the resource name of the report, the state of the report, the
+ // timestamp the report was created, etc,
+ ReportMetadata report_metadata = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// A request to create a report task.
+message CreateReportTaskRequest {
+ // Required. The parent resource where this report task will be created.
+ // Format: `properties/{propertyId}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "analyticsdata.googleapis.com/ReportTask"
+ }
+ ];
+
+ // Required. The report task configuration to create.
+ ReportTask report_task = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Represents the metadata of a long-running operation. Currently, this metadata
+// is blank.
+message ReportTaskMetadata {}
+
+// A request to fetch the report content for a report task.
+message QueryReportTaskRequest {
+ // Required. The report source name.
+ // Format: `properties/{property}/reportTasks/{report}`
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The row count of the start row in the report. The first row is
+ // counted as row 0.
+ //
+ // When paging, the first request does not specify offset; or equivalently,
+ // sets offset to 0; the first request returns the first `limit` of rows. The
+ // second request sets offset to the `limit` of the first request; the second
+ // request returns the second `limit` of rows.
+ //
+ // To learn more about this pagination parameter, see
+ // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
+ int64 offset = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The number of rows to return from the report. If unspecified,
+ // 10,000 rows are returned. The API returns a maximum of 250,000 rows per
+ // request, no matter how many you ask for. `limit` must be positive.
+ //
+ // The API can also return fewer rows than the requested `limit`, if there
+ // aren't as many dimension values as the `limit`. The number of rows
+ // available to a QueryReportTaskRequest is further limited by the limit of
+ // the associated ReportTask. A query can retrieve at most ReportTask.limit
+ // rows. For example, if the ReportTask has a limit of 1,000, then a
+ // QueryReportTask request with offset=900 and limit=500 will return at most
+ // 100 rows.
+ //
+ // To learn more about this pagination parameter, see
+ // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
+ int64 limit = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The report content corresponding to a report task.
+message QueryReportTaskResponse {
+ // Describes dimension columns. The number of DimensionHeaders and ordering of
+ // DimensionHeaders matches the dimensions present in rows.
+ repeated DimensionHeader dimension_headers = 1;
+
+ // Describes metric columns. The number of MetricHeaders and ordering of
+ // MetricHeaders matches the metrics present in rows.
+ repeated MetricHeader metric_headers = 2;
+
+ // Rows of dimension value combinations and metric values in the report.
+ repeated Row rows = 3;
+
+ // If requested, the totaled values of metrics.
+ repeated Row totals = 4;
+
+ // If requested, the maximum values of metrics.
+ repeated Row maximums = 5;
+
+ // If requested, the minimum values of metrics.
+ repeated Row minimums = 6;
+
+ // The total number of rows in the query result.
+ int32 row_count = 7;
+
+ // Metadata for the report.
+ ResponseMetaData metadata = 8;
+}
+
+// A request to retrieve configuration metadata about a specific report task.
+message GetReportTaskRequest {
+ // Required. The report task resource name.
+ // Format: `properties/{property}/reportTasks/{report_task}`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "analyticsdata.googleapis.com/ReportTask"
+ }
+ ];
+}
+
+// A request to list all report tasks for a property.
+message ListReportTasksRequest {
+ // Required. All report tasks for this property will be listed in the
+ // response. Format: `properties/{property}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "analyticsdata.googleapis.com/ReportTask"
+ }
+ ];
+
+ // Optional. The maximum number of report tasks to return.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListReportTasks` call.
+ // Provide this to retrieve the subsequent page.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A list of all report tasks for a property.
+message ListReportTasksResponse {
+ // Each report task for a property.
+ repeated ReportTask report_tasks = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ optional string next_page_token = 2;
+}
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/google/analytics/data/v1alpha/data.proto b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/google/analytics/data/v1alpha/data.proto
new file mode 100644
index 000000000000..0315a16711bc
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/google/analytics/data/v1alpha/data.proto
@@ -0,0 +1,1611 @@
+// 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.analytics.data.v1alpha;
+
+import "google/protobuf/duration.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/analytics/data/v1alpha;data";
+option java_multiple_files = true;
+option java_outer_classname = "ReportingApiProto";
+option java_package = "com.google.analytics.data.v1alpha";
+
+// A contiguous set of days: `startDate`, `startDate + 1`, ..., `endDate`.
+// Requests are allowed up to 4 date ranges.
+message DateRange {
+ // The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
+ // be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
+ // accepted, and in that case, the date is inferred based on the property's
+ // reporting time zone.
+ string start_date = 1;
+
+ // The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
+ // be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
+ // also accepted, and in that case, the date is inferred based on the
+ // property's reporting time zone.
+ string end_date = 2;
+
+ // Assigns a name to this date range. The dimension `dateRange` is valued to
+ // this name in a report response. If set, cannot begin with `date_range_` or
+ // `RESERVED_`. If not set, date ranges are named by their zero based index in
+ // the request: `date_range_0`, `date_range_1`, etc.
+ string name = 3;
+}
+
+// Dimensions are attributes of your data. For example, the dimension city
+// indicates the city from which an event originates. Dimension values in report
+// responses are strings; for example, the city could be "Paris" or "New York".
+message Dimension {
+ // The name of the dimension. See the [API
+ // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+ // for the list of dimension names supported by core reporting methods such
+ // as `runReport` and `batchRunReports`. See
+ // [Realtime
+ // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions)
+ // for the list of dimension names supported by the `runRealtimeReport`
+ // method. See
+ // [Funnel
+ // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions)
+ // for the list of dimension names supported by the `runFunnelReport`
+ // method.
+ //
+ // If `dimensionExpression` is specified, `name` can be any string that you
+ // would like within the allowed character set. For example if a
+ // `dimensionExpression` concatenates `country` and `city`, you could call
+ // that dimension `countryAndCity`. Dimension names that you choose must match
+ // the regular expression `^[a-zA-Z0-9_]$`.
+ //
+ // Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
+ // `dimensionExpression`, and `pivots`.
+ string name = 1;
+
+ // One dimension can be the result of an expression of multiple dimensions.
+ // For example, dimension "country, city": concatenate(country, ", ", city).
+ DimensionExpression dimension_expression = 2;
+}
+
+// Used to express a dimension which is the result of a formula of multiple
+// dimensions. Example usages:
+// 1) lower_case(dimension)
+// 2) concatenate(dimension1, symbol, dimension2).
+message DimensionExpression {
+ // Used to convert a dimension value to a single case.
+ message CaseExpression {
+ // Name of a dimension. The name must refer back to a name in dimensions
+ // field of the request.
+ string dimension_name = 1;
+ }
+
+ // Used to combine dimension values to a single dimension.
+ message ConcatenateExpression {
+ // Names of dimensions. The names must refer back to names in the dimensions
+ // field of the request.
+ repeated string dimension_names = 1;
+
+ // The delimiter placed between dimension names.
+ //
+ // Delimiters are often single characters such as "|" or "," but can be
+ // longer strings. If a dimension value contains the delimiter, both will be
+ // present in response with no distinction. For example if dimension 1 value
+ // = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
+ // response will contain "US,FR,JP".
+ string delimiter = 2;
+ }
+
+ // Specify one type of dimension expression for `DimensionExpression`.
+ oneof one_expression {
+ // Used to convert a dimension value to lower case.
+ CaseExpression lower_case = 4;
+
+ // Used to convert a dimension value to upper case.
+ CaseExpression upper_case = 5;
+
+ // Used to combine dimension values to a single dimension.
+ // For example, dimension "country, city": concatenate(country, ", ", city).
+ ConcatenateExpression concatenate = 6;
+ }
+}
+
+// The quantitative measurements of a report. For example, the metric
+// `eventCount` is the total number of events. Requests are allowed up to 10
+// metrics.
+message Metric {
+ // The name of the metric. See the [API
+ // Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+ // for the list of metric names supported by core reporting methods such
+ // as `runReport` and `batchRunReports`. See
+ // [Realtime
+ // Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics)
+ // for the list of metric names supported by the `runRealtimeReport`
+ // method. See
+ // [Funnel
+ // Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics)
+ // for the list of metric names supported by the `runFunnelReport`
+ // method.
+ //
+ // If `expression` is specified, `name` can be any string that you would like
+ // within the allowed character set. For example if `expression` is
+ // `screenPageViews/sessions`, you could call that metric's name =
+ // `viewsPerSession`. Metric names that you choose must match the regular
+ // expression `^[a-zA-Z0-9_]$`.
+ //
+ // Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
+ // `expression`.
+ string name = 1;
+
+ // A mathematical expression for derived metrics. For example, the metric
+ // Event count per user is `eventCount/totalUsers`.
+ string expression = 2;
+
+ // Indicates if a metric is invisible in the report response. If a metric is
+ // invisible, the metric will not produce a column in the response, but can be
+ // used in `metricFilter`, `orderBys`, or a metric `expression`.
+ bool invisible = 3;
+}
+
+// To express dimension or metric filters. The fields in the same
+// FilterExpression need to be either all dimensions or all metrics.
+message FilterExpression {
+ // Specify one type of filter expression for `FilterExpression`.
+ oneof expr {
+ // The FilterExpressions in and_group have an AND relationship.
+ FilterExpressionList and_group = 1;
+
+ // The FilterExpressions in or_group have an OR relationship.
+ FilterExpressionList or_group = 2;
+
+ // The FilterExpression is NOT of not_expression.
+ FilterExpression not_expression = 3;
+
+ // A primitive filter. In the same FilterExpression, all of the filter's
+ // field names need to be either all dimensions or all metrics.
+ Filter filter = 4;
+ }
+}
+
+// A list of filter expressions.
+message FilterExpressionList {
+ // A list of filter expressions.
+ repeated FilterExpression expressions = 1;
+}
+
+// An expression to filter dimension or metric values.
+message Filter {
+ // The dimension name or metric name. Must be a name defined in dimensions
+ // or metrics.
+ string field_name = 1;
+
+ // Specify one type of filter for `Filter`.
+ oneof one_filter {
+ // Strings related filter.
+ StringFilter string_filter = 2;
+
+ // A filter for in list values.
+ InListFilter in_list_filter = 3;
+
+ // A filter for numeric or date values.
+ NumericFilter numeric_filter = 4;
+
+ // A filter for between two values.
+ BetweenFilter between_filter = 5;
+
+ // A filter for empty values such as "(not set)" and "" values.
+ EmptyFilter empty_filter = 6;
+ }
+}
+
+// The filter for string
+message StringFilter {
+ // The match type of a string filter
+ enum MatchType {
+ // Unspecified
+ MATCH_TYPE_UNSPECIFIED = 0;
+
+ // Exact match of the string value.
+ EXACT = 1;
+
+ // Begins with the string value.
+ BEGINS_WITH = 2;
+
+ // Ends with the string value.
+ ENDS_WITH = 3;
+
+ // Contains the string value.
+ CONTAINS = 4;
+
+ // Full match for the regular expression with the string value.
+ FULL_REGEXP = 5;
+
+ // Partial match for the regular expression with the string value.
+ PARTIAL_REGEXP = 6;
+ }
+
+ // The match type for this filter.
+ MatchType match_type = 1;
+
+ // The string value used for the matching.
+ string value = 2;
+
+ // If true, the string value is case sensitive.
+ bool case_sensitive = 3;
+}
+
+// The result needs to be in a list of string values.
+message InListFilter {
+ // The list of string values.
+ // Must be non-empty.
+ repeated string values = 1;
+
+ // If true, the string value is case sensitive.
+ bool case_sensitive = 2;
+}
+
+// Filters for numeric or date values.
+message NumericFilter {
+ // The operation applied to a numeric filter
+ enum Operation {
+ // Unspecified.
+ OPERATION_UNSPECIFIED = 0;
+
+ // Equal
+ EQUAL = 1;
+
+ // Less than
+ LESS_THAN = 2;
+
+ // Less than or equal
+ LESS_THAN_OR_EQUAL = 3;
+
+ // Greater than
+ GREATER_THAN = 4;
+
+ // Greater than or equal
+ GREATER_THAN_OR_EQUAL = 5;
+ }
+
+ // The operation type for this filter.
+ Operation operation = 1;
+
+ // A numeric value or a date value.
+ NumericValue value = 2;
+}
+
+// Order bys define how rows will be sorted in the response. For example,
+// ordering rows by descending event count is one ordering, and ordering rows by
+// the event name string is a different ordering.
+message OrderBy {
+ // Sorts by metric values.
+ message MetricOrderBy {
+ // A metric name in the request to order by.
+ string metric_name = 1;
+ }
+
+ // Sorts by dimension values.
+ message DimensionOrderBy {
+ // Rule to order the string dimension values by.
+ enum OrderType {
+ // Unspecified.
+ ORDER_TYPE_UNSPECIFIED = 0;
+
+ // Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
+ // "b" < "z".
+ ALPHANUMERIC = 1;
+
+ // Case insensitive alphanumeric sort by lower case Unicode code point.
+ // For example, "2" < "A" < "b" < "X" < "z".
+ CASE_INSENSITIVE_ALPHANUMERIC = 2;
+
+ // Dimension values are converted to numbers before sorting. For example
+ // in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
+ // "25". Non-numeric dimension values all have equal ordering value below
+ // all numeric values.
+ NUMERIC = 3;
+ }
+
+ // A dimension name in the request to order by.
+ string dimension_name = 1;
+
+ // Controls the rule for dimension value ordering.
+ OrderType order_type = 2;
+ }
+
+ // Specify one type of order by for `OrderBy`.
+ oneof one_order_by {
+ // Sorts results by a metric's values.
+ MetricOrderBy metric = 1;
+
+ // Sorts results by a dimension's values.
+ DimensionOrderBy dimension = 2;
+ }
+
+ // If true, sorts by descending order.
+ bool desc = 4;
+}
+
+// To express that the result needs to be between two numbers (inclusive).
+message BetweenFilter {
+ // Begins with this number.
+ NumericValue from_value = 1;
+
+ // Ends with this number.
+ NumericValue to_value = 2;
+}
+
+// Filter for empty values.
+message EmptyFilter {}
+
+// To represent a number.
+message NumericValue {
+ // One of a numeric value
+ oneof one_value {
+ // Integer value
+ int64 int64_value = 1;
+
+ // Double value
+ double double_value = 2;
+ }
+}
+
+// The specification of cohorts for a cohort report.
+//
+// Cohort reports create a time series of user retention for the cohort. For
+// example, you could select the cohort of users that were acquired in the first
+// week of September and follow that cohort for the next six weeks. Selecting
+// the users acquired in the first week of September cohort is specified in the
+// `cohort` object. Following that cohort for the next six weeks is specified in
+// the `cohortsRange` object.
+//
+// For examples, see [Cohort Report
+// Examples](https://developers.google.com/analytics/devguides/reporting/data/v1/advanced#cohort_report_examples).
+//
+// The report response could show a weekly time series where say your app has
+// retained 60% of this cohort after three weeks and 25% of this cohort after
+// six weeks. These two percentages can be calculated by the metric
+// `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the report.
+message CohortSpec {
+ // Defines the selection criteria to group users into cohorts.
+ //
+ // Most cohort reports define only a single cohort. If multiple cohorts are
+ // specified, each cohort can be recognized in the report by their name.
+ repeated Cohort cohorts = 1;
+
+ // Cohort reports follow cohorts over an extended reporting date range. This
+ // range specifies an offset duration to follow the cohorts over.
+ CohortsRange cohorts_range = 2;
+
+ // Optional settings for a cohort report.
+ CohortReportSettings cohort_report_settings = 3;
+}
+
+// Defines a cohort selection criteria. A cohort is a group of users who share
+// a common characteristic. For example, users with the same `firstSessionDate`
+// belong to the same cohort.
+message Cohort {
+ // Assigns a name to this cohort. The dimension `cohort` is valued to this
+ // name in a report response. If set, cannot begin with `cohort_` or
+ // `RESERVED_`. If not set, cohorts are named by their zero based index
+ // `cohort_0`, `cohort_1`, etc.
+ string name = 1;
+
+ // Dimension used by the cohort. Required and only supports
+ // `firstSessionDate`.
+ string dimension = 2;
+
+ // The cohort selects users whose first touch date is between start date and
+ // end date defined in the `dateRange`. This `dateRange` does not specify the
+ // full date range of event data that is present in a cohort report. In a
+ // cohort report, this `dateRange` is extended by the granularity and offset
+ // present in the `cohortsRange`; event data for the extended reporting date
+ // range is present in a cohort report.
+ //
+ // In a cohort request, this `dateRange` is required and the `dateRanges` in
+ // the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
+ //
+ // This `dateRange` should generally be aligned with the cohort's granularity.
+ // If `CohortsRange` uses daily granularity, this `dateRange` can be a single
+ // day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
+ // aligned to a week boundary, starting at Sunday and ending Saturday. If
+ // `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
+ // a month, starting at the first and ending on the last day of the month.
+ DateRange date_range = 3;
+}
+
+// Configures the extended reporting date range for a cohort report. Specifies
+// an offset duration to follow the cohorts over.
+message CohortsRange {
+ // The granularity used to interpret the `startOffset` and `endOffset` for the
+ // extended reporting date range for a cohort report.
+ enum Granularity {
+ // Should never be specified.
+ GRANULARITY_UNSPECIFIED = 0;
+
+ // Daily granularity. Commonly used if the cohort's `dateRange` is a single
+ // day and the request contains `cohortNthDay`.
+ DAILY = 1;
+
+ // Weekly granularity. Commonly used if the cohort's `dateRange` is a week
+ // in duration (starting on Sunday and ending on Saturday) and the request
+ // contains `cohortNthWeek`.
+ WEEKLY = 2;
+
+ // Monthly granularity. Commonly used if the cohort's `dateRange` is a month
+ // in duration and the request contains `cohortNthMonth`.
+ MONTHLY = 3;
+ }
+
+ // Required. The granularity used to interpret the `startOffset` and
+ // `endOffset` for the extended reporting date range for a cohort report.
+ Granularity granularity = 1;
+
+ // `startOffset` specifies the start date of the extended reporting date range
+ // for a cohort report. `startOffset` is commonly set to 0 so that reports
+ // contain data from the acquisition of the cohort forward.
+ //
+ // If `granularity` is `DAILY`, the `startDate` of the extended reporting date
+ // range is `startDate` of the cohort plus `startOffset` days.
+ //
+ // If `granularity` is `WEEKLY`, the `startDate` of the extended reporting
+ // date range is `startDate` of the cohort plus `startOffset * 7` days.
+ //
+ // If `granularity` is `MONTHLY`, the `startDate` of the extended reporting
+ // date range is `startDate` of the cohort plus `startOffset * 30` days.
+ int32 start_offset = 2;
+
+ // Required. `endOffset` specifies the end date of the extended reporting date
+ // range for a cohort report. `endOffset` can be any positive integer but is
+ // commonly set to 5 to 10 so that reports contain data on the cohort for the
+ // next several granularity time periods.
+ //
+ // If `granularity` is `DAILY`, the `endDate` of the extended reporting date
+ // range is `endDate` of the cohort plus `endOffset` days.
+ //
+ // If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date
+ // range is `endDate` of the cohort plus `endOffset * 7` days.
+ //
+ // If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date
+ // range is `endDate` of the cohort plus `endOffset * 30` days.
+ int32 end_offset = 3;
+}
+
+// Optional settings of a cohort report.
+message CohortReportSettings {
+ // If true, accumulates the result from first touch day to the end day. Not
+ // supported in `RunReportRequest`.
+ bool accumulate = 1;
+}
+
+// Response's metadata carrying additional information about the report content.
+message ResponseMetaData {
+ // The schema restrictions actively enforced in creating this report. To learn
+ // more, see [Access and data-restriction
+ // management](https://support.google.com/analytics/answer/10851388).
+ message SchemaRestrictionResponse {
+ // A metric actively restricted in creating the report.
+ message ActiveMetricRestriction {
+ // The name of the restricted metric.
+ optional string metric_name = 1;
+
+ // The reason for this metric's restriction.
+ repeated RestrictedMetricType restricted_metric_types = 2;
+ }
+
+ // All restrictions actively enforced in creating the report. For example,
+ // `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
+ // However, this active response restriction is only populated if the user's
+ // custom role disallows access to `REVENUE_DATA`.
+ repeated ActiveMetricRestriction active_metric_restrictions = 1;
+ }
+
+ // If true, indicates some buckets of dimension combinations are rolled into
+ // "(other)" row. This can happen for high cardinality reports.
+ //
+ // The metadata parameter dataLossFromOtherRow is populated based on the
+ // aggregated data table used in the report. The parameter will be accurately
+ // populated regardless of the filters and limits in the report.
+ //
+ // For example, the (other) row could be dropped from the report because the
+ // request contains a filter on sessionSource = google. This parameter will
+ // still be populated if data loss from other row was present in the input
+ // aggregate data used to generate this report.
+ //
+ // To learn more, see [About the (other) row and data
+ // sampling](https://support.google.com/analytics/answer/13208658#reports).
+ bool data_loss_from_other_row = 3;
+
+ // Describes the schema restrictions actively enforced in creating this
+ // report. To learn more, see [Access and data-restriction
+ // management](https://support.google.com/analytics/answer/10851388).
+ optional SchemaRestrictionResponse schema_restriction_response = 4;
+
+ // The currency code used in this report. Intended to be used in formatting
+ // currency metrics like `purchaseRevenue` for visualization. If currency_code
+ // was specified in the request, this response parameter will echo the request
+ // parameter; otherwise, this response parameter is the property's current
+ // currency_code.
+ //
+ // Currency codes are string encodings of currency types from the ISO 4217
+ // standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD",
+ // "EUR", "JPY". To learn more, see
+ // https://support.google.com/analytics/answer/9796179.
+ optional string currency_code = 5;
+
+ // The property's current timezone. Intended to be used to interpret
+ // time-based dimensions like `hour` and `minute`. Formatted as strings from
+ // the IANA Time Zone database (https://www.iana.org/time-zones); for example
+ // "America/New_York" or "Asia/Tokyo".
+ optional string time_zone = 6;
+
+ // If empty reason is specified, the report is empty for this reason.
+ optional string empty_reason = 7;
+
+ // If `subjectToThresholding` is true, this report is subject to thresholding
+ // and only returns data that meets the minimum aggregation thresholds. It is
+ // possible for a request to be subject to thresholding thresholding and no
+ // data is absent from the report, and this happens when all data is above the
+ // thresholds. To learn more, see [Data
+ // thresholds](https://support.google.com/analytics/answer/9383630) and [About
+ // Demographics and
+ // Interests](https://support.google.com/analytics/answer/2799357).
+ optional bool subject_to_thresholding = 8;
+
+ // If this report's results are
+ // [sampled](https://support.google.com/analytics/answer/13331292), this
+ // describes the percentage of events used in this report. One
+ // `samplingMetadatas` is populated for each date range. Each
+ // `samplingMetadatas` corresponds to a date range in the order that date
+ // ranges were specified in the request.
+ //
+ // However if the results are not sampled, this field will not be defined.
+ repeated SamplingMetadata sampling_metadatas = 9;
+}
+
+// Describes a dimension column in the report. Dimensions requested in a report
+// produce column entries within rows and DimensionHeaders. However, dimensions
+// used exclusively within filters or expressions do not produce columns in a
+// report; correspondingly, those dimensions do not produce headers.
+message DimensionHeader {
+ // The dimension's name.
+ string name = 1;
+}
+
+// Describes a metric column in the report. Visible metrics requested in a
+// report produce column entries within rows and MetricHeaders. However,
+// metrics used exclusively within filters or expressions do not produce columns
+// in a report; correspondingly, those metrics do not produce headers.
+message MetricHeader {
+ // The metric's name.
+ string name = 1;
+
+ // The metric's data type.
+ MetricType type = 2;
+}
+
+// Report data for each row.
+// For example if RunReportRequest contains:
+//
+// ```none
+// "dimensions": [
+// {
+// "name": "eventName"
+// },
+// {
+// "name": "countryId"
+// }
+// ],
+// "metrics": [
+// {
+// "name": "eventCount"
+// }
+// ]
+// ```
+//
+// One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and
+// 15 as the eventCount, would be:
+//
+// ```none
+// "dimensionValues": [
+// {
+// "value": "in_app_purchase"
+// },
+// {
+// "value": "JP"
+// }
+// ],
+// "metricValues": [
+// {
+// "value": "15"
+// }
+// ]
+// ```
+message Row {
+ // List of requested dimension values. In a PivotReport, dimension_values
+ // are only listed for dimensions included in a pivot.
+ repeated DimensionValue dimension_values = 1;
+
+ // List of requested visible metric values.
+ repeated MetricValue metric_values = 2;
+}
+
+// The value of a dimension.
+message DimensionValue {
+ // One kind of dimension value
+ oneof one_value {
+ // Value as a string if the dimension type is a string.
+ string value = 1;
+ }
+}
+
+// The value of a metric.
+message MetricValue {
+ // One of metric value
+ oneof one_value {
+ // Measurement value. See MetricHeader for type.
+ string value = 4;
+ }
+}
+
+// Current state of all quotas for this Analytics Property. If any quota for a
+// property is exhausted, all requests to that property will return Resource
+// Exhausted errors.
+message PropertyQuota {
+ // Standard Analytics Properties can use up to 200,000 tokens per day;
+ // Analytics 360 Properties can use 2,000,000 tokens per day. Most requests
+ // consume fewer than 10 tokens.
+ QuotaStatus tokens_per_day = 1;
+
+ // Standard Analytics Properties can use up to 40,000 tokens per hour;
+ // Analytics 360 Properties can use 400,000 tokens per hour. An API request
+ // consumes a single number of tokens, and that number is deducted from all of
+ // the hourly, daily, and per project hourly quotas.
+ QuotaStatus tokens_per_hour = 2;
+
+ // Standard Analytics Properties can send up to 10 concurrent requests;
+ // Analytics 360 Properties can use up to 50 concurrent requests.
+ QuotaStatus concurrent_requests = 3;
+
+ // Standard Analytics Properties and cloud project pairs can have up to 10
+ // server errors per hour; Analytics 360 Properties and cloud project pairs
+ // can have up to 50 server errors per hour.
+ QuotaStatus server_errors_per_project_per_hour = 4;
+
+ // Analytics Properties can send up to 120 requests with potentially
+ // thresholded dimensions per hour. In a batch request, each report request
+ // is individually counted for this quota if the request contains potentially
+ // thresholded dimensions.
+ QuotaStatus potentially_thresholded_requests_per_hour = 5;
+
+ // Analytics Properties can use up to 35% of their tokens per project per
+ // hour. This amounts to standard Analytics Properties can use up to 14,000
+ // tokens per project per hour, and Analytics 360 Properties can use 140,000
+ // tokens per project per hour. An API request consumes a single number of
+ // tokens, and that number is deducted from all of the hourly, daily, and per
+ // project hourly quotas.
+ QuotaStatus tokens_per_project_per_hour = 6;
+}
+
+// Current state for a particular quota group.
+message QuotaStatus {
+ // Quota consumed by this request.
+ int32 consumed = 1;
+
+ // Quota remaining after this request.
+ int32 remaining = 2;
+}
+
+// Breakdowns add a dimension to the funnel table sub report response.
+message FunnelBreakdown {
+ // The dimension column added to the funnel table sub report response. The
+ // breakdown dimension breaks down each funnel step. A valid
+ // `breakdownDimension` is required if `funnelBreakdown` is specified.
+ Dimension breakdown_dimension = 1;
+
+ // The maximum number of distinct values of the breakdown dimension to return
+ // in the response. A `limit` of `5` is used if limit is not specified. Limit
+ // must exceed zero and cannot exceed 15.
+ optional int64 limit = 2;
+}
+
+// Next actions state the value for a dimension after the user has achieved
+// a step but before the same user has achieved the next step. For example if
+// the `nextActionDimension` is `eventName`, then `nextActionDimension` in the
+// `i`th funnel step row will return first event after the event that qualified
+// the user into the `i`th funnel step but before the user achieved the `i+1`th
+// funnel step.
+message FunnelNextAction {
+ // The dimension column added to the funnel visualization sub report response.
+ // The next action dimension returns the next dimension value of this
+ // dimension after the user has attained the `i`th funnel step.
+ //
+ // `nextActionDimension` currently only supports `eventName` and most Page /
+ // Screen dimensions like `pageTitle` and `pagePath`. `nextActionDimension`
+ // cannot be a dimension expression.
+ Dimension next_action_dimension = 1;
+
+ // The maximum number of distinct values of the breakdown dimension to return
+ // in the response. A `limit` of `5` is used if limit is not specified. Limit
+ // must exceed zero and cannot exceed 5.
+ optional int64 limit = 2;
+}
+
+// Configures the funnel in a funnel report request. A funnel reports on users
+// as they pass through a sequence of steps.
+//
+// Funnel exploration lets you visualize the steps your users take to complete a
+// task and quickly see how well they are succeeding or failing at each step.
+// For example, how do prospects become shoppers and then become buyers? How do
+// one time buyers become repeat buyers? With this information, you can improve
+// inefficient or abandoned customer journeys.
+message Funnel {
+ // In an open funnel, users can enter the funnel in any step, and in a closed
+ // funnel, users must enter the funnel in the first step. Optional. If
+ // unspecified, a closed funnel is used.
+ bool is_open_funnel = 1;
+
+ // The sequential steps of this funnel.
+ repeated FunnelStep steps = 2;
+}
+
+// Steps define the user journey you want to measure. Steps contain one or
+// more conditions that your users must meet to be included in that step of
+// the funnel journey.
+message FunnelStep {
+ // The distinctive name for this step. If unspecified, steps will be named
+ // by a 1 based indexed name (for example "0. ", "1. ", etc.). This name
+ // defines string value returned by the `funnelStepName` dimension. For
+ // example, specifying `name = Purchase` in the request's third funnel step
+ // will produce `3. Purchase` in the funnel report response.
+ string name = 1;
+
+ // If true, this step must directly follow the previous step. If false,
+ // there can be events between the previous step and this step. If
+ // unspecified, `isDirectlyFollowedBy` is treated as false.
+ bool is_directly_followed_by = 2;
+
+ // If specified, this step must complete within this duration of the
+ // completion of the prior step. `withinDurationFromPriorStep` is inclusive
+ // of the endpoint at the microsecond granularity. For example a duration of
+ // 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1
+ // microsecond.
+ //
+ // `withinDurationFromPriorStep` is optional, and if unspecified, steps may
+ // be separated by any time duration.
+ optional google.protobuf.Duration within_duration_from_prior_step = 3;
+
+ // The condition that your users must meet to be included in this step of
+ // the funnel journey.
+ FunnelFilterExpression filter_expression = 4;
+}
+
+// Funnel sub reports contain the dimension and metric data values. For example,
+// 12 users reached the second step of the funnel.
+message FunnelSubReport {
+ // Describes dimension columns. Funnel reports always include the funnel step
+ // dimension in sub report responses. Additional dimensions like breakdowns,
+ // dates, and next actions may be present in the response if requested.
+ repeated DimensionHeader dimension_headers = 1;
+
+ // Describes metric columns. Funnel reports always include active users in sub
+ // report responses. The funnel table includes additional metrics like
+ // completion rate, abandonments, and abandonments rate.
+ repeated MetricHeader metric_headers = 2;
+
+ // Rows of dimension value combinations and metric values in the report.
+ repeated Row rows = 3;
+
+ // Metadata for the funnel report.
+ FunnelResponseMetadata metadata = 4;
+}
+
+// User segments are subsets of users who engaged with your site or app. For
+// example, users who have previously purchased; users who added items to their
+// shopping carts, but didn’t complete a purchase.
+message UserSegment {
+ // Defines which users are included in this segment. Optional.
+ UserSegmentCriteria user_inclusion_criteria = 1;
+
+ // Defines which users are excluded in this segment. Optional.
+ UserSegmentExclusion exclusion = 2;
+}
+
+// A user matches a criteria if the user's events meet the conditions in the
+// criteria.
+message UserSegmentCriteria {
+ // A user matches this criteria if the user matches each of these
+ // `andConditionGroups` and each of the `andSequenceGroups`.
+ // `andConditionGroups` may be empty if `andSequenceGroups` are specified.
+ repeated UserSegmentConditionGroup and_condition_groups = 1;
+
+ // A user matches this criteria if the user matches each of these
+ // `andSequenceGroups` and each of the `andConditionGroups`.
+ // `andSequenceGroups` may be empty if `andConditionGroups` are specified.
+ repeated UserSegmentSequenceGroup and_sequence_groups = 2;
+}
+
+// Scoping specifies which events are considered when evaluating if a user
+// meets a criteria.
+enum UserCriteriaScoping {
+ // Unspecified criteria scoping. Do not specify.
+ USER_CRITERIA_SCOPING_UNSPECIFIED = 0;
+
+ // If the criteria is satisfied within one event, the user matches the
+ // criteria.
+ USER_CRITERIA_WITHIN_SAME_EVENT = 1;
+
+ // If the criteria is satisfied within one session, the user matches the
+ // criteria.
+ USER_CRITERIA_WITHIN_SAME_SESSION = 2;
+
+ // If the criteria is satisfied by any events for the user, the user
+ // matches the criteria.
+ USER_CRITERIA_ACROSS_ALL_SESSIONS = 3;
+}
+
+// Conditions tell Analytics what data to include in or exclude from the
+// segment.
+message UserSegmentConditionGroup {
+ // Data is included or excluded from the segment based on if it matches
+ // the condition group. This scoping defines how many events the
+ // `segmentFilterExpression` is evaluated on before the condition group
+ // is determined to be matched or not. For example if `conditionScoping =
+ // USER_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all
+ // events in a session, and then, the condition group is determined to be
+ // matched or not for this user. For example if `conditionScoping =
+ // USER_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a single
+ // event, and then, the condition group is determined to be matched or not for
+ // this user.
+ //
+ // Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is
+ // used.
+ UserCriteriaScoping condition_scoping = 1;
+
+ // Data is included or excluded from the segment based on if it matches
+ // this expression. Expressions express criteria on dimension, metrics,
+ // and/or parameters.
+ SegmentFilterExpression segment_filter_expression = 2;
+}
+
+// Define conditions that must occur in a specific order for the user to be
+// a member of the segment.
+message UserSegmentSequenceGroup {
+ // All sequence steps must be satisfied in the scoping for the user to
+ // match the sequence. For example if `sequenceScoping =
+ // USER_CRITERIA_WITHIN_SAME_SESSION`, all sequence steps must complete within
+ // one session for the user to match the sequence. `sequenceScoping =
+ // USER_CRITERIA_WITHIN_SAME_EVENT` is not supported.
+ //
+ // Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is
+ // used.
+ UserCriteriaScoping sequence_scoping = 1;
+
+ // Defines the time period in which the whole sequence must occur; for
+ // example, 30 Minutes. `sequenceMaximumDuration` is inclusive
+ // of the endpoint at the microsecond granularity. For example a sequence
+ // with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
+ // seconds, but not 5 seconds and 1 microsecond.
+ //
+ // `sequenceMaximumDuration` is optional, and if unspecified, sequences can
+ // be completed in any time duration.
+ google.protobuf.Duration sequence_maximum_duration = 2;
+
+ // An ordered sequence of condition steps. A user's events must complete
+ // each step in order for the user to match the
+ // `UserSegmentSequenceGroup`.
+ repeated UserSequenceStep user_sequence_steps = 3;
+}
+
+// A condition that must occur in the specified step order for this user
+// to match the sequence.
+message UserSequenceStep {
+ // If true, the event satisfying this step must be the very next event
+ // after the event satifying the last step. If false, this step indirectly
+ // follows the prior step; for example, there may be events between the
+ // prior step and this step. `isDirectlyFollowedBy` must be false for
+ // the first step.
+ bool is_directly_followed_by = 1;
+
+ // This sequence step must be satisfied in the scoping for the user to
+ // match the sequence. For example if `sequenceScoping =
+ // WITHIN_SAME_SESSION`, this sequence steps must complete within one
+ // session for the user to match the sequence. `stepScoping =
+ // ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping =
+ // ACROSS_ALL_SESSIONS`.
+ //
+ // Optional. If unspecified, `stepScoping` uses the same
+ // `UserCriteriaScoping` as the `sequenceScoping`.
+ UserCriteriaScoping step_scoping = 2;
+
+ // A user matches this sequence step if their events match this
+ // expression. Expressions express criteria on dimension, metrics,
+ // and/or parameters.
+ SegmentFilterExpression segment_filter_expression = 3;
+}
+
+// Specifies which users are excluded in this segment.
+message UserSegmentExclusion {
+ // Specifies how long an exclusion will last if a user matches the
+ // `userExclusionCriteria`.
+ //
+ // Optional. If unspecified, `userExclusionDuration` of
+ // `USER_EXCLUSION_TEMPORARY` is used.
+ UserExclusionDuration user_exclusion_duration = 1;
+
+ // If a user meets this condition, the user is excluded from membership in
+ // the segment for the `userExclusionDuration`.
+ UserSegmentCriteria user_exclusion_criteria = 2;
+}
+
+// Enumerates options for how long an exclusion will last if a user matches
+// the `userExclusionCriteria`.
+enum UserExclusionDuration {
+ // Unspecified exclusion duration. Do not specify.
+ USER_EXCLUSION_DURATION_UNSPECIFIED = 0;
+
+ // Temporarily exclude users from the segment during periods when the
+ // user meets the `userExclusionCriteria` condition.
+ USER_EXCLUSION_TEMPORARY = 1;
+
+ // Permanently exclude users from the segment if the user ever meets the
+ // `userExclusionCriteria` condition.
+ USER_EXCLUSION_PERMANENT = 2;
+}
+
+// Session segments are subsets of the sessions that occurred on your site or
+// app: for example, all the sessions that originated from a particular
+// advertising campaign.
+message SessionSegment {
+ // Defines which sessions are included in this segment. Optional.
+ SessionSegmentCriteria session_inclusion_criteria = 1;
+
+ // Defines which sessions are excluded in this segment. Optional.
+ SessionSegmentExclusion exclusion = 2;
+}
+
+// A session matches a criteria if the session's events meet the conditions in
+// the criteria.
+message SessionSegmentCriteria {
+ // A session matches this criteria if the session matches each of these
+ // `andConditionGroups`.
+ repeated SessionSegmentConditionGroup and_condition_groups = 1;
+}
+
+// Scoping specifies which events are considered when evaluating if a
+// session meets a criteria.
+enum SessionCriteriaScoping {
+ // Unspecified criteria scoping. Do not specify.
+ SESSION_CRITERIA_SCOPING_UNSPECIFIED = 0;
+
+ // If the criteria is satisfied within one event, the session matches the
+ // criteria.
+ SESSION_CRITERIA_WITHIN_SAME_EVENT = 1;
+
+ // If the criteria is satisfied within one session, the session matches
+ // the criteria.
+ SESSION_CRITERIA_WITHIN_SAME_SESSION = 2;
+}
+
+// Conditions tell Analytics what data to include in or exclude from the
+// segment.
+message SessionSegmentConditionGroup {
+ // Data is included or excluded from the segment based on if it matches
+ // the condition group. This scoping defines how many events the
+ // `segmentFilterExpression` is evaluated on before the condition group
+ // is determined to be matched or not. For example if `conditionScoping =
+ // SESSION_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all
+ // events in a session, and then, the condition group is determined to be
+ // matched or not for this session. For example if `conditionScoping =
+ // SESSION_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a
+ // single event, and then, the condition group is determined to be matched or
+ // not for this session.
+ //
+ // Optional. If unspecified, a `conditionScoping` of `WITHIN_SAME_SESSION`
+ // is used.
+ SessionCriteriaScoping condition_scoping = 1;
+
+ // Data is included or excluded from the segment based on if it matches
+ // this expression. Expressions express criteria on dimension, metrics,
+ // and/or parameters.
+ SegmentFilterExpression segment_filter_expression = 2;
+}
+
+// Specifies which sessions are excluded in this segment.
+message SessionSegmentExclusion {
+ // Specifies how long an exclusion will last if a session matches the
+ // `sessionExclusionCriteria`.
+ //
+ // Optional. If unspecified, a `sessionExclusionDuration` of
+ // `SESSION_EXCLUSION_TEMPORARY` is used.
+ SessionExclusionDuration session_exclusion_duration = 1;
+
+ // If a session meets this condition, the session is excluded from
+ // membership in the segment for the `sessionExclusionDuration`.
+ SessionSegmentCriteria session_exclusion_criteria = 2;
+}
+
+// Enumerates options for how long an exclusion will last if a session
+// matches the `sessionExclusionCriteria`.
+enum SessionExclusionDuration {
+ // Unspecified exclusion duration. Do not specify.
+ SESSION_EXCLUSION_DURATION_UNSPECIFIED = 0;
+
+ // Temporarily exclude sessions from the segment during periods when the
+ // session meets the `sessionExclusionCriteria` condition.
+ SESSION_EXCLUSION_TEMPORARY = 1;
+
+ // Permanently exclude sessions from the segment if the session ever meets
+ // the `sessionExclusionCriteria` condition.
+ SESSION_EXCLUSION_PERMANENT = 2;
+}
+
+// Event segments are subsets of events that were triggered on your site or app.
+// for example, all purchase events made in a particular location; app_exception
+// events that occurred on a specific operating system.
+message EventSegment {
+ // Defines which events are included in this segment. Optional.
+ EventSegmentCriteria event_inclusion_criteria = 1;
+
+ // Defines which events are excluded in this segment. Optional.
+ EventSegmentExclusion exclusion = 2;
+}
+
+// An event matches a criteria if the event meet the conditions in the
+// criteria.
+message EventSegmentCriteria {
+ // An event matches this criteria if the event matches each of these
+ // `andConditionGroups`.
+ repeated EventSegmentConditionGroup and_condition_groups = 1;
+}
+
+// Scoping specifies which events are considered when evaluating if an event
+// meets a criteria.
+enum EventCriteriaScoping {
+ // Unspecified criteria scoping. Do not specify.
+ EVENT_CRITERIA_SCOPING_UNSPECIFIED = 0;
+
+ // If the criteria is satisfied within one event, the event matches the
+ // criteria.
+ EVENT_CRITERIA_WITHIN_SAME_EVENT = 1;
+}
+
+// Conditions tell Analytics what data to include in or exclude from the
+// segment.
+message EventSegmentConditionGroup {
+ // `conditionScoping` should always be `EVENT_CRITERIA_WITHIN_SAME_EVENT`.
+ //
+ // Optional. If unspecified, a `conditionScoping` of
+ // `EVENT_CRITERIA_WITHIN_SAME_EVENT` is used.
+ EventCriteriaScoping condition_scoping = 1;
+
+ // Data is included or excluded from the segment based on if it matches
+ // this expression. Expressions express criteria on dimension, metrics,
+ // and/or parameters.
+ SegmentFilterExpression segment_filter_expression = 2;
+}
+
+// Specifies which events are excluded in this segment.
+message EventSegmentExclusion {
+ // `eventExclusionDuration` should always be `PERMANENTLY_EXCLUDE`.
+ //
+ // Optional. If unspecified, an `eventExclusionDuration` of
+ // `EVENT_EXCLUSION_PERMANENT` is used.
+ EventExclusionDuration event_exclusion_duration = 1;
+
+ // If an event meets this condition, the event is excluded from membership
+ // in the segment for the `eventExclusionDuration`.
+ EventSegmentCriteria event_exclusion_criteria = 2;
+}
+
+// Enumerates options for how long an exclusion will last if an event
+// matches the `eventExclusionCriteria`.
+enum EventExclusionDuration {
+ // Unspecified exclusion duration. Do not specify.
+ EVENT_EXCLUSION_DURATION_UNSPECIFIED = 0;
+
+ // Permanently exclude events from the segment if the event ever meets
+ // the `eventExclusionCriteria` condition.
+ EVENT_EXCLUSION_PERMANENT = 1;
+}
+
+// A segment is a subset of your Analytics data. For example, of your entire set
+// of users, one segment might be users from a particular country or city.
+// Another segment might be users who purchase a particular line of products or
+// who visit a specific part of your site or trigger certain events in your app.
+//
+// To learn more, see [Segment
+// Builder](https://support.google.com/analytics/answer/9304353).
+message Segment {
+ // The name for this segment. If unspecified, segments are named "Segment".
+ // This name defines string value returned by the `segment` dimension. The
+ // `segment` dimension prefixes segment names by the 1-based index number of
+ // the segment in the request (for example "1. Segment", "2. Segment", etc.).
+ string name = 1;
+
+ // A segment is specified in one scope.
+ oneof one_segment_scope {
+ // User segments are subsets of users who engaged with your site or app.
+ UserSegment user_segment = 2;
+
+ // Session segments are subsets of the sessions that occurred on your site
+ // or app.
+ SessionSegment session_segment = 3;
+
+ // Event segments are subsets of events that were triggered on your site or
+ // app.
+ EventSegment event_segment = 4;
+ }
+}
+
+// Expresses combinations of segment filters.
+message SegmentFilterExpression {
+ // Specify one type of filter for `SegmentFilterExpression`.
+ oneof expr {
+ // The SegmentFilterExpression in `andGroup` have an AND relationship.
+ SegmentFilterExpressionList and_group = 1;
+
+ // The SegmentFilterExpression in `orGroup` have an OR relationship.
+ SegmentFilterExpressionList or_group = 2;
+
+ // The SegmentFilterExpression is NOT of `notExpression`.
+ SegmentFilterExpression not_expression = 3;
+
+ // A primitive segment filter.
+ SegmentFilter segment_filter = 4;
+
+ // Creates a filter that matches events of a single event name. If a
+ // parameter filter expression is specified, only the subset of events that
+ // match both the single event name and the parameter filter expressions
+ // match this event filter.
+ SegmentEventFilter segment_event_filter = 5;
+ }
+}
+
+// A list of segment filter expressions.
+message SegmentFilterExpressionList {
+ // The list of segment filter expressions
+ repeated SegmentFilterExpression expressions = 1;
+}
+
+// An expression to filter dimension or metric values.
+message SegmentFilter {
+ // The dimension name or metric name.
+ string field_name = 1;
+
+ // Specify one type of filter for `Filter`.
+ oneof one_filter {
+ // Strings related filter.
+ StringFilter string_filter = 4;
+
+ // A filter for in list values.
+ InListFilter in_list_filter = 5;
+
+ // A filter for numeric or date values.
+ NumericFilter numeric_filter = 6;
+
+ // A filter for between two values.
+ BetweenFilter between_filter = 7;
+ }
+
+ // Specifies the scope for the filter.
+ SegmentFilterScoping filter_scoping = 8;
+}
+
+// Scopings specify how the dimensions & metrics of multiple events
+// should be considered when evaluating a segment filter.
+message SegmentFilterScoping {
+ // If `atAnyPointInTime` is true, this filter evaluates to true for all
+ // events if it evaluates to true for any event in the date range of the
+ // request.
+ //
+ // This `atAnyPointInTime` parameter does not extend the date range of
+ // events in the report. If `atAnyPointInTime` is true, only events within
+ // the report's date range are considered when evaluating this filter.
+ //
+ // This `atAnyPointInTime` is only able to be specified if the criteria
+ // scoping is `ACROSS_ALL_SESSIONS` and is not able to be specified in
+ // sequences.
+ //
+ // If the criteria scoping is `ACROSS_ALL_SESSIONS`, `atAnyPointInTime` =
+ // false is used if unspecified.
+ optional bool at_any_point_in_time = 1;
+}
+
+// Creates a filter that matches events of a single event name. If a parameter
+// filter expression is specified, only the subset of events that match both the
+// single event name and the parameter filter expressions match this event
+// filter.
+message SegmentEventFilter {
+ // This filter matches events of this single event name. Event name is
+ // required.
+ optional string event_name = 1;
+
+ // If specified, this filter matches events that match both the single event
+ // name and the parameter filter expressions.
+ //
+ // Inside the parameter filter expression, only parameter filters are
+ // available.
+ optional SegmentParameterFilterExpression
+ segment_parameter_filter_expression = 2;
+}
+
+// Expresses combinations of segment filter on parameters.
+message SegmentParameterFilterExpression {
+ // Specify one type of filter for `SegmentParameterFilterExpression`.
+ oneof expr {
+ // The SegmentParameterFilterExpression in `andGroup` have an AND
+ // relationship.
+ SegmentParameterFilterExpressionList and_group = 1;
+
+ // The SegmentParameterFilterExpression in `orGroup` have an OR
+ // relationship.
+ SegmentParameterFilterExpressionList or_group = 2;
+
+ // The SegmentParameterFilterExpression is NOT of `notExpression`.
+ SegmentParameterFilterExpression not_expression = 3;
+
+ // A primitive segment parameter filter.
+ SegmentParameterFilter segment_parameter_filter = 4;
+ }
+}
+
+// A list of segment parameter filter expressions.
+message SegmentParameterFilterExpressionList {
+ // The list of segment parameter filter expressions.
+ repeated SegmentParameterFilterExpression expressions = 1;
+}
+
+// An expression to filter parameter values in a segment.
+message SegmentParameterFilter {
+ // The field that is being filtered.
+ oneof one_parameter {
+ // This filter will be evaluated on the specified event parameter. Event
+ // parameters are logged as parameters of the event. Event parameters
+ // include fields like "firebase_screen" & "currency".
+ //
+ // Event parameters can only be used in segments & funnels and can only be
+ // used in a descendent filter from an EventFilter. In a descendent filter
+ // from an EventFilter either event or item parameters should be used.
+ string event_parameter_name = 1;
+
+ // This filter will be evaluated on the specified item parameter. Item
+ // parameters are logged as parameters in the item array. Item parameters
+ // include fields like "item_name" & "item_category".
+ //
+ // Item parameters can only be used in segments & funnels and can only be
+ // used in a descendent filter from an EventFilter. In a descendent filter
+ // from an EventFilter either event or item parameters should be used.
+ //
+ // Item parameters are only available in ecommerce events. To learn more
+ // about ecommerce events, see the [Measure ecommerce]
+ // (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce)
+ // guide.
+ string item_parameter_name = 2;
+ }
+
+ // Specify one type of filter.
+ oneof one_filter {
+ // Strings related filter.
+ StringFilter string_filter = 4;
+
+ // A filter for in list values.
+ InListFilter in_list_filter = 5;
+
+ // A filter for numeric or date values.
+ NumericFilter numeric_filter = 6;
+
+ // A filter for between two values.
+ BetweenFilter between_filter = 7;
+ }
+
+ // Specifies the scope for the filter.
+ SegmentParameterFilterScoping filter_scoping = 8;
+}
+
+// Scopings specify how multiple events should be considered when evaluating a
+// segment parameter filter.
+message SegmentParameterFilterScoping {
+ // Accumulates the parameter over the specified period of days before
+ // applying the filter. Only supported if criteria scoping is
+ // `ACROSS_ALL_SESSIONS` or `WITHIN_SAME_SESSION`. Only supported if the
+ // parameter is `event_count`.
+ //
+ // For example if `inAnyNDayPeriod` is 3, the event_name is "purchase",
+ // the event parameter is "event_count", and the Filter's criteria is
+ // greater than 5, this filter will accumulate the event count of purchase
+ // events over every 3 consecutive day period in the report's date range; a
+ // user will pass this Filter's criteria to be included in this segment if
+ // their count of purchase events exceeds 5 in any 3 consecutive day period.
+ // For example, the periods 2021-11-01 to 2021-11-03, 2021-11-02 to
+ // 2021-11-04, 2021-11-03 to 2021-11-05, and etc. will be considered.
+ //
+ // The date range is not extended for the purpose of having a full N day
+ // window near the start of the date range. For example if a report is for
+ // 2021-11-01 to 2021-11-10 and `inAnyNDayPeriod` = 3, the first two day
+ // period will be effectively shortened because no event data outside the
+ // report's date range will be read. For example, the first four periods
+ // will effectively be: 2021-11-01 to 2021-11-01, 2021-11-01 to 2021-11-02,
+ // 2021-11-01 to 2021-11-03, and 2021-11-02 to 2021-11-04.
+ //
+ // `inAnyNDayPeriod` is optional. If not specified, the
+ // `segmentParameterFilter` is applied to each event individually.
+ optional int64 in_any_n_day_period = 1;
+}
+
+// Expresses combinations of funnel filters.
+message FunnelFilterExpression {
+ // Specify one type of filter for `FunnelFilterExpression`.
+ oneof expr {
+ // The FunnelFilterExpression in `andGroup` have an AND relationship.
+ FunnelFilterExpressionList and_group = 1;
+
+ // The FunnelFilterExpression in `orGroup` have an OR relationship.
+ FunnelFilterExpressionList or_group = 2;
+
+ // The FunnelFilterExpression is NOT of `notExpression`.
+ FunnelFilterExpression not_expression = 3;
+
+ // A funnel filter for a dimension or metric.
+ FunnelFieldFilter funnel_field_filter = 4;
+
+ // Creates a filter that matches events of a single event name. If a
+ // parameter filter expression is specified, only the subset of events that
+ // match both the single event name and the parameter filter expressions
+ // match this event filter.
+ FunnelEventFilter funnel_event_filter = 5;
+ }
+}
+
+// A list of funnel filter expressions.
+message FunnelFilterExpressionList {
+ // The list of funnel filter expressions.
+ repeated FunnelFilterExpression expressions = 1;
+}
+
+// An expression to filter dimension or metric values.
+message FunnelFieldFilter {
+ // The dimension name or metric name.
+ string field_name = 1;
+
+ // Specify one type of filter.
+ oneof one_filter {
+ // Strings related filter.
+ StringFilter string_filter = 4;
+
+ // A filter for in list values.
+ InListFilter in_list_filter = 5;
+
+ // A filter for numeric or date values.
+ NumericFilter numeric_filter = 6;
+
+ // A filter for between two values.
+ BetweenFilter between_filter = 7;
+ }
+}
+
+// Creates a filter that matches events of a single event name. If a parameter
+// filter expression is specified, only the subset of events that match both the
+// single event name and the parameter filter expressions match this event
+// filter.
+message FunnelEventFilter {
+ // This filter matches events of this single event name. Event name is
+ // required.
+ optional string event_name = 1;
+
+ // If specified, this filter matches events that match both the single event
+ // name and the parameter filter expressions.
+ //
+ // Inside the parameter filter expression, only parameter filters are
+ // available.
+ optional FunnelParameterFilterExpression funnel_parameter_filter_expression =
+ 2;
+}
+
+// Expresses combinations of funnel filters on parameters.
+message FunnelParameterFilterExpression {
+ // Specify one type of filter for `FunnelParameterFilterExpression`.
+ oneof expr {
+ // The FunnelParameterFilterExpression in `andGroup` have an AND
+ // relationship.
+ FunnelParameterFilterExpressionList and_group = 1;
+
+ // The FunnelParameterFilterExpression in `orGroup` have an OR
+ // relationship.
+ FunnelParameterFilterExpressionList or_group = 2;
+
+ // The FunnelParameterFilterExpression is NOT of `notExpression`.
+ FunnelParameterFilterExpression not_expression = 3;
+
+ // A primitive funnel parameter filter.
+ FunnelParameterFilter funnel_parameter_filter = 4;
+ }
+}
+
+// A list of funnel parameter filter expressions.
+message FunnelParameterFilterExpressionList {
+ // The list of funnel parameter filter expressions.
+ repeated FunnelParameterFilterExpression expressions = 1;
+}
+
+// An expression to filter parameter values in a funnel.
+message FunnelParameterFilter {
+ // The field that is being filtered.
+ oneof one_parameter {
+ // This filter will be evaluated on the specified event parameter. Event
+ // parameters are logged as parameters of the event. Event parameters
+ // include fields like "firebase_screen" & "currency".
+ //
+ // Event parameters can only be used in segments & funnels and can only be
+ // used in a descendent filter from an EventFilter. In a descendent filter
+ // from an EventFilter either event or item parameters should be used.
+ string event_parameter_name = 1;
+
+ // This filter will be evaluated on the specified item parameter. Item
+ // parameters are logged as parameters in the item array. Item parameters
+ // include fields like "item_name" & "item_category".
+ //
+ // Item parameters can only be used in segments & funnels and can only be
+ // used in a descendent filter from an EventFilter. In a descendent filter
+ // from an EventFilter either event or item parameters should be used.
+ //
+ // Item parameters are only available in ecommerce events. To learn more
+ // about ecommerce events, see the [Measure ecommerce]
+ // (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce)
+ // guide.
+ string item_parameter_name = 2;
+ }
+
+ // Specify one type of filter.
+ oneof one_filter {
+ // Strings related filter.
+ StringFilter string_filter = 4;
+
+ // A filter for in list values.
+ InListFilter in_list_filter = 5;
+
+ // A filter for numeric or date values.
+ NumericFilter numeric_filter = 6;
+
+ // A filter for between two values.
+ BetweenFilter between_filter = 7;
+ }
+}
+
+// The funnel report's response metadata carries additional information about
+// the funnel report.
+message FunnelResponseMetadata {
+ // If funnel report results are
+ // [sampled](https://support.google.com/analytics/answer/13331292), this
+ // describes what percentage of events were used in this funnel report. One
+ // `samplingMetadatas` is populated for each date range. Each
+ // `samplingMetadatas` corresponds to a date range in the order that date
+ // ranges were specified in the request.
+ //
+ // However if the results are not sampled, this field will not be defined.
+ repeated SamplingMetadata sampling_metadatas = 1;
+}
+
+// If funnel report results are
+// [sampled](https://support.google.com/analytics/answer/13331292), this
+// metadata describes what percentage of events were used in this funnel
+// report for a date range. Sampling is the practice of analyzing a subset of
+// all data in order to uncover the meaningful information in the larger data
+// set.
+message SamplingMetadata {
+ // The total number of events read in this sampled report for a date range.
+ // This is the size of the subset this property's data that was analyzed in
+ // this funnel report.
+ int64 samples_read_count = 1;
+
+ // The total number of events present in this property's data that could
+ // have been analyzed in this funnel report for a date range. Sampling
+ // uncovers the meaningful information about the larger data set, and this
+ // is the size of the larger data set.
+ //
+ // To calculate the percentage of available data that was used in this
+ // funnel report, compute `samplesReadCount/samplingSpaceSize`.
+ int64 sampling_space_size = 2;
+}
+
+// Represents aggregation of metrics.
+enum MetricAggregation {
+ // Unspecified operator.
+ METRIC_AGGREGATION_UNSPECIFIED = 0;
+
+ // SUM operator.
+ TOTAL = 1;
+
+ // Minimum operator.
+ MINIMUM = 5;
+
+ // Maximum operator.
+ MAXIMUM = 6;
+
+ // Count operator.
+ COUNT = 4;
+}
+
+// A metric's value type.
+enum MetricType {
+ // Unspecified type.
+ METRIC_TYPE_UNSPECIFIED = 0;
+
+ // Integer type.
+ TYPE_INTEGER = 1;
+
+ // Floating point type.
+ TYPE_FLOAT = 2;
+
+ // A duration of seconds; a special floating point type.
+ TYPE_SECONDS = 4;
+
+ // A duration in milliseconds; a special floating point type.
+ TYPE_MILLISECONDS = 5;
+
+ // A duration in minutes; a special floating point type.
+ TYPE_MINUTES = 6;
+
+ // A duration in hours; a special floating point type.
+ TYPE_HOURS = 7;
+
+ // A custom metric of standard type; a special floating point type.
+ TYPE_STANDARD = 8;
+
+ // An amount of money; a special floating point type.
+ TYPE_CURRENCY = 9;
+
+ // A length in feet; a special floating point type.
+ TYPE_FEET = 10;
+
+ // A length in miles; a special floating point type.
+ TYPE_MILES = 11;
+
+ // A length in meters; a special floating point type.
+ TYPE_METERS = 12;
+
+ // A length in kilometers; a special floating point type.
+ TYPE_KILOMETERS = 13;
+}
+
+// Categories of data that you may be restricted from viewing on certain
+// Google Analytics properties.
+enum RestrictedMetricType {
+ // Unspecified type.
+ RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0;
+
+ // Cost metrics such as `adCost`.
+ COST_DATA = 1;
+
+ // Revenue metrics such as `purchaseRevenue`.
+ REVENUE_DATA = 2;
+}
+
+// Categories of sampling levels for the requests.
+enum SamplingLevel {
+ // Unspecified type.
+ SAMPLING_LEVEL_UNSPECIFIED = 0;
+
+ // Applies a sampling level of 10 million to standard properties and
+ // 100 million to Google Analytics 360 properties.
+ LOW = 1;
+
+ // Exclusive to Google Analytics 360 properties with a sampling level of 1
+ // billion.
+ MEDIUM = 2;
+
+ // Exclusive to Google Analytics 360 properties. Unsampled explorations are
+ // more accurate and can reveal insights that aren't visible in standard
+ // explorations. To learn more, see
+ // https://support.google.com/analytics/answer/10896953.
+ UNSAMPLED = 3;
+}
diff --git a/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/protos.d.ts b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/protos.d.ts
new file mode 100644
index 000000000000..3834f3310998
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/protos.d.ts
@@ -0,0 +1,19422 @@
+// 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 protobuf. */
+ namespace protobuf {
+
+ /** 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 FileDescriptorSet. */
+ interface IFileDescriptorSet {
+
+ /** FileDescriptorSet file */
+ file?: (google.protobuf.IFileDescriptorProto[]|null);
+ }
+
+ /** Represents a FileDescriptorSet. */
+ class FileDescriptorSet implements IFileDescriptorSet {
+
+ /**
+ * Constructs a new FileDescriptorSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorSet);
+
+ /** FileDescriptorSet file. */
+ public file: google.protobuf.IFileDescriptorProto[];
+
+ /**
+ * Creates a new FileDescriptorSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorSet instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Verifies a FileDescriptorSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
+ * @param message FileDescriptorSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Edition enum. */
+ enum Edition {
+ EDITION_UNKNOWN = 0,
+ EDITION_PROTO2 = 998,
+ EDITION_PROTO3 = 999,
+ EDITION_2023 = 1000,
+ EDITION_2024 = 1001,
+ EDITION_1_TEST_ONLY = 1,
+ EDITION_2_TEST_ONLY = 2,
+ EDITION_99997_TEST_ONLY = 99997,
+ EDITION_99998_TEST_ONLY = 99998,
+ EDITION_99999_TEST_ONLY = 99999,
+ EDITION_MAX = 2147483647
+ }
+
+ /** Properties of a FileDescriptorProto. */
+ interface IFileDescriptorProto {
+
+ /** FileDescriptorProto name */
+ name?: (string|null);
+
+ /** FileDescriptorProto package */
+ "package"?: (string|null);
+
+ /** FileDescriptorProto dependency */
+ dependency?: (string[]|null);
+
+ /** FileDescriptorProto publicDependency */
+ publicDependency?: (number[]|null);
+
+ /** FileDescriptorProto weakDependency */
+ weakDependency?: (number[]|null);
+
+ /** FileDescriptorProto messageType */
+ messageType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** FileDescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** FileDescriptorProto service */
+ service?: (google.protobuf.IServiceDescriptorProto[]|null);
+
+ /** FileDescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** FileDescriptorProto options */
+ options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo */
+ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax */
+ syntax?: (string|null);
+
+ /** FileDescriptorProto edition */
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+ }
+
+ /** Represents a FileDescriptorProto. */
+ class FileDescriptorProto implements IFileDescriptorProto {
+
+ /**
+ * Constructs a new FileDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorProto);
+
+ /** FileDescriptorProto name. */
+ public name: string;
+
+ /** FileDescriptorProto package. */
+ public package: string;
+
+ /** FileDescriptorProto dependency. */
+ public dependency: string[];
+
+ /** FileDescriptorProto publicDependency. */
+ public publicDependency: number[];
+
+ /** FileDescriptorProto weakDependency. */
+ public weakDependency: number[];
+
+ /** FileDescriptorProto messageType. */
+ public messageType: google.protobuf.IDescriptorProto[];
+
+ /** FileDescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** FileDescriptorProto service. */
+ public service: google.protobuf.IServiceDescriptorProto[];
+
+ /** FileDescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** FileDescriptorProto options. */
+ public options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo. */
+ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax. */
+ public syntax: string;
+
+ /** FileDescriptorProto edition. */
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /**
+ * Creates a new FileDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Verifies a FileDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
+ * @param message FileDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DescriptorProto. */
+ interface IDescriptorProto {
+
+ /** DescriptorProto name */
+ name?: (string|null);
+
+ /** DescriptorProto field */
+ field?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto nestedType */
+ nestedType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** DescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** DescriptorProto extensionRange */
+ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
+
+ /** DescriptorProto oneofDecl */
+ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
+
+ /** DescriptorProto options */
+ options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
+
+ /** DescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents a DescriptorProto. */
+ class DescriptorProto implements IDescriptorProto {
+
+ /**
+ * Constructs a new DescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDescriptorProto);
+
+ /** DescriptorProto name. */
+ public name: string;
+
+ /** DescriptorProto field. */
+ public field: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto nestedType. */
+ public nestedType: google.protobuf.IDescriptorProto[];
+
+ /** DescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** DescriptorProto extensionRange. */
+ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
+
+ /** DescriptorProto oneofDecl. */
+ public oneofDecl: google.protobuf.IOneofDescriptorProto[];
+
+ /** DescriptorProto options. */
+ public options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
+
+ /** DescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new DescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
+
+ /**
+ * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
+
+ /**
+ * Verifies a DescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
+
+ /**
+ * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
+ * @param message DescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DescriptorProto {
+
+ /** Properties of an ExtensionRange. */
+ interface IExtensionRange {
+
+ /** ExtensionRange start */
+ start?: (number|null);
+
+ /** ExtensionRange end */
+ end?: (number|null);
+
+ /** ExtensionRange options */
+ options?: (google.protobuf.IExtensionRangeOptions|null);
+ }
+
+ /** Represents an ExtensionRange. */
+ class ExtensionRange implements IExtensionRange {
+
+ /**
+ * Constructs a new ExtensionRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
+
+ /** ExtensionRange start. */
+ public start: number;
+
+ /** ExtensionRange end. */
+ public end: number;
+
+ /** ExtensionRange options. */
+ public options?: (google.protobuf.IExtensionRangeOptions|null);
+
+ /**
+ * Creates a new ExtensionRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Verifies an ExtensionRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
+ * @param message ExtensionRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReservedRange. */
+ interface IReservedRange {
+
+ /** ReservedRange start */
+ start?: (number|null);
+
+ /** ReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents a ReservedRange. */
+ class ReservedRange implements IReservedRange {
+
+ /**
+ * Constructs a new ReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
+
+ /** ReservedRange start. */
+ public start: number;
+
+ /** ReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new ReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReservedRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Verifies a ReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
+ * @param message ReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an ExtensionRangeOptions. */
+ interface IExtensionRangeOptions {
+
+ /** ExtensionRangeOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** ExtensionRangeOptions declaration */
+ declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null);
+
+ /** ExtensionRangeOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** ExtensionRangeOptions verification */
+ verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|null);
+ }
+
+ /** Represents an ExtensionRangeOptions. */
+ class ExtensionRangeOptions implements IExtensionRangeOptions {
+
+ /**
+ * Constructs a new ExtensionRangeOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IExtensionRangeOptions);
+
+ /** ExtensionRangeOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /** ExtensionRangeOptions declaration. */
+ public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[];
+
+ /** ExtensionRangeOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** ExtensionRangeOptions verification. */
+ public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState);
+
+ /**
+ * Creates a new ExtensionRangeOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRangeOptions instance
+ */
+ public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Verifies an ExtensionRangeOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRangeOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
+ * @param message ExtensionRangeOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRangeOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRangeOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ExtensionRangeOptions {
+
+ /** Properties of a Declaration. */
+ interface IDeclaration {
+
+ /** Declaration number */
+ number?: (number|null);
+
+ /** Declaration fullName */
+ fullName?: (string|null);
+
+ /** Declaration type */
+ type?: (string|null);
+
+ /** Declaration reserved */
+ reserved?: (boolean|null);
+
+ /** Declaration repeated */
+ repeated?: (boolean|null);
+ }
+
+ /** Represents a Declaration. */
+ class Declaration implements IDeclaration {
+
+ /**
+ * Constructs a new Declaration.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration);
+
+ /** Declaration number. */
+ public number: number;
+
+ /** Declaration fullName. */
+ public fullName: string;
+
+ /** Declaration type. */
+ public type: string;
+
+ /** Declaration reserved. */
+ public reserved: boolean;
+
+ /** Declaration repeated. */
+ public repeated: boolean;
+
+ /**
+ * Creates a new Declaration instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Declaration instance
+ */
+ public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
+ * @param message Declaration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
+ * @param message Declaration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Declaration message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Declaration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Decodes a Declaration message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Declaration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Verifies a Declaration message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Declaration message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Declaration
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Creates a plain object from a Declaration message. Also converts values to other types if specified.
+ * @param message Declaration
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Declaration to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Declaration
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** VerificationState enum. */
+ enum VerificationState {
+ DECLARATION = 0,
+ UNVERIFIED = 1
+ }
+ }
+
+ /** Properties of a FieldDescriptorProto. */
+ interface IFieldDescriptorProto {
+
+ /** FieldDescriptorProto name */
+ name?: (string|null);
+
+ /** FieldDescriptorProto number */
+ number?: (number|null);
+
+ /** FieldDescriptorProto label */
+ label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
+
+ /** FieldDescriptorProto type */
+ type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
+
+ /** FieldDescriptorProto typeName */
+ typeName?: (string|null);
+
+ /** FieldDescriptorProto extendee */
+ extendee?: (string|null);
+
+ /** FieldDescriptorProto defaultValue */
+ defaultValue?: (string|null);
+
+ /** FieldDescriptorProto oneofIndex */
+ oneofIndex?: (number|null);
+
+ /** FieldDescriptorProto jsonName */
+ jsonName?: (string|null);
+
+ /** FieldDescriptorProto options */
+ options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional */
+ proto3Optional?: (boolean|null);
+ }
+
+ /** Represents a FieldDescriptorProto. */
+ class FieldDescriptorProto implements IFieldDescriptorProto {
+
+ /**
+ * Constructs a new FieldDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldDescriptorProto);
+
+ /** FieldDescriptorProto name. */
+ public name: string;
+
+ /** FieldDescriptorProto number. */
+ public number: number;
+
+ /** FieldDescriptorProto label. */
+ public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
+
+ /** FieldDescriptorProto type. */
+ public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
+
+ /** FieldDescriptorProto typeName. */
+ public typeName: string;
+
+ /** FieldDescriptorProto extendee. */
+ public extendee: string;
+
+ /** FieldDescriptorProto defaultValue. */
+ public defaultValue: string;
+
+ /** FieldDescriptorProto oneofIndex. */
+ public oneofIndex: number;
+
+ /** FieldDescriptorProto jsonName. */
+ public jsonName: string;
+
+ /** FieldDescriptorProto options. */
+ public options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional. */
+ public proto3Optional: boolean;
+
+ /**
+ * Creates a new FieldDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Verifies a FieldDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
+ * @param message FieldDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldDescriptorProto {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_DOUBLE = 1,
+ TYPE_FLOAT = 2,
+ TYPE_INT64 = 3,
+ TYPE_UINT64 = 4,
+ TYPE_INT32 = 5,
+ TYPE_FIXED64 = 6,
+ TYPE_FIXED32 = 7,
+ TYPE_BOOL = 8,
+ TYPE_STRING = 9,
+ TYPE_GROUP = 10,
+ TYPE_MESSAGE = 11,
+ TYPE_BYTES = 12,
+ TYPE_UINT32 = 13,
+ TYPE_ENUM = 14,
+ TYPE_SFIXED32 = 15,
+ TYPE_SFIXED64 = 16,
+ TYPE_SINT32 = 17,
+ TYPE_SINT64 = 18
+ }
+
+ /** Label enum. */
+ enum Label {
+ LABEL_OPTIONAL = 1,
+ LABEL_REPEATED = 3,
+ LABEL_REQUIRED = 2
+ }
+ }
+
+ /** Properties of an OneofDescriptorProto. */
+ interface IOneofDescriptorProto {
+
+ /** OneofDescriptorProto name */
+ name?: (string|null);
+
+ /** OneofDescriptorProto options */
+ options?: (google.protobuf.IOneofOptions|null);
+ }
+
+ /** Represents an OneofDescriptorProto. */
+ class OneofDescriptorProto implements IOneofDescriptorProto {
+
+ /**
+ * Constructs a new OneofDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofDescriptorProto);
+
+ /** OneofDescriptorProto name. */
+ public name: string;
+
+ /** OneofDescriptorProto options. */
+ public options?: (google.protobuf.IOneofOptions|null);
+
+ /**
+ * Creates a new OneofDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Verifies an OneofDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
+ * @param message OneofDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumDescriptorProto. */
+ interface IEnumDescriptorProto {
+
+ /** EnumDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumDescriptorProto value */
+ value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
+
+ /** EnumDescriptorProto options */
+ options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
+
+ /** EnumDescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents an EnumDescriptorProto. */
+ class EnumDescriptorProto implements IEnumDescriptorProto {
+
+ /**
+ * Constructs a new EnumDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumDescriptorProto);
+
+ /** EnumDescriptorProto name. */
+ public name: string;
+
+ /** EnumDescriptorProto value. */
+ public value: google.protobuf.IEnumValueDescriptorProto[];
+
+ /** EnumDescriptorProto options. */
+ public options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
+
+ /** EnumDescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new EnumDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Verifies an EnumDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EnumDescriptorProto {
+
+ /** Properties of an EnumReservedRange. */
+ interface IEnumReservedRange {
+
+ /** EnumReservedRange start */
+ start?: (number|null);
+
+ /** EnumReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents an EnumReservedRange. */
+ class EnumReservedRange implements IEnumReservedRange {
+
+ /**
+ * Constructs a new EnumReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
+
+ /** EnumReservedRange start. */
+ public start: number;
+
+ /** EnumReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new EnumReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumReservedRange instance
+ */
+ public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Verifies an EnumReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
+ * @param message EnumReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an EnumValueDescriptorProto. */
+ interface IEnumValueDescriptorProto {
+
+ /** EnumValueDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumValueDescriptorProto number */
+ number?: (number|null);
+
+ /** EnumValueDescriptorProto options */
+ options?: (google.protobuf.IEnumValueOptions|null);
+ }
+
+ /** Represents an EnumValueDescriptorProto. */
+ class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
+
+ /**
+ * Constructs a new EnumValueDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
+
+ /** EnumValueDescriptorProto name. */
+ public name: string;
+
+ /** EnumValueDescriptorProto number. */
+ public number: number;
+
+ /** EnumValueDescriptorProto options. */
+ public options?: (google.protobuf.IEnumValueOptions|null);
+
+ /**
+ * Creates a new EnumValueDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Verifies an EnumValueDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumValueDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceDescriptorProto. */
+ interface IServiceDescriptorProto {
+
+ /** ServiceDescriptorProto name */
+ name?: (string|null);
+
+ /** ServiceDescriptorProto method */
+ method?: (google.protobuf.IMethodDescriptorProto[]|null);
+
+ /** ServiceDescriptorProto options */
+ options?: (google.protobuf.IServiceOptions|null);
+ }
+
+ /** Represents a ServiceDescriptorProto. */
+ class ServiceDescriptorProto implements IServiceDescriptorProto {
+
+ /**
+ * Constructs a new ServiceDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceDescriptorProto);
+
+ /** ServiceDescriptorProto name. */
+ public name: string;
+
+ /** ServiceDescriptorProto method. */
+ public method: google.protobuf.IMethodDescriptorProto[];
+
+ /** ServiceDescriptorProto options. */
+ public options?: (google.protobuf.IServiceOptions|null);
+
+ /**
+ * Creates a new ServiceDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Verifies a ServiceDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
+ * @param message ServiceDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodDescriptorProto. */
+ interface IMethodDescriptorProto {
+
+ /** MethodDescriptorProto name */
+ name?: (string|null);
+
+ /** MethodDescriptorProto inputType */
+ inputType?: (string|null);
+
+ /** MethodDescriptorProto outputType */
+ outputType?: (string|null);
+
+ /** MethodDescriptorProto options */
+ options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming */
+ clientStreaming?: (boolean|null);
+
+ /** MethodDescriptorProto serverStreaming */
+ serverStreaming?: (boolean|null);
+ }
+
+ /** Represents a MethodDescriptorProto. */
+ class MethodDescriptorProto implements IMethodDescriptorProto {
+
+ /**
+ * Constructs a new MethodDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodDescriptorProto);
+
+ /** MethodDescriptorProto name. */
+ public name: string;
+
+ /** MethodDescriptorProto inputType. */
+ public inputType: string;
+
+ /** MethodDescriptorProto outputType. */
+ public outputType: string;
+
+ /** MethodDescriptorProto options. */
+ public options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming. */
+ public clientStreaming: boolean;
+
+ /** MethodDescriptorProto serverStreaming. */
+ public serverStreaming: boolean;
+
+ /**
+ * Creates a new MethodDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Verifies a MethodDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
+ * @param message MethodDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileOptions. */
+ interface IFileOptions {
+
+ /** FileOptions javaPackage */
+ javaPackage?: (string|null);
+
+ /** FileOptions javaOuterClassname */
+ javaOuterClassname?: (string|null);
+
+ /** FileOptions javaMultipleFiles */
+ javaMultipleFiles?: (boolean|null);
+
+ /** FileOptions javaGenerateEqualsAndHash */
+ javaGenerateEqualsAndHash?: (boolean|null);
+
+ /** FileOptions javaStringCheckUtf8 */
+ javaStringCheckUtf8?: (boolean|null);
+
+ /** FileOptions optimizeFor */
+ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
+
+ /** FileOptions goPackage */
+ goPackage?: (string|null);
+
+ /** FileOptions ccGenericServices */
+ ccGenericServices?: (boolean|null);
+
+ /** FileOptions javaGenericServices */
+ javaGenericServices?: (boolean|null);
+
+ /** FileOptions pyGenericServices */
+ pyGenericServices?: (boolean|null);
+
+ /** FileOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FileOptions ccEnableArenas */
+ ccEnableArenas?: (boolean|null);
+
+ /** FileOptions objcClassPrefix */
+ objcClassPrefix?: (string|null);
+
+ /** FileOptions csharpNamespace */
+ csharpNamespace?: (string|null);
+
+ /** FileOptions swiftPrefix */
+ swiftPrefix?: (string|null);
+
+ /** FileOptions phpClassPrefix */
+ phpClassPrefix?: (string|null);
+
+ /** FileOptions phpNamespace */
+ phpNamespace?: (string|null);
+
+ /** FileOptions phpMetadataNamespace */
+ phpMetadataNamespace?: (string|null);
+
+ /** FileOptions rubyPackage */
+ rubyPackage?: (string|null);
+
+ /** FileOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** FileOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FileOptions .google.api.resourceDefinition */
+ ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null);
+ }
+
+ /** Represents a FileOptions. */
+ class FileOptions implements IFileOptions {
+
+ /**
+ * Constructs a new FileOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileOptions);
+
+ /** FileOptions javaPackage. */
+ public javaPackage: string;
+
+ /** FileOptions javaOuterClassname. */
+ public javaOuterClassname: string;
+
+ /** FileOptions javaMultipleFiles. */
+ public javaMultipleFiles: boolean;
+
+ /** FileOptions javaGenerateEqualsAndHash. */
+ public javaGenerateEqualsAndHash: boolean;
+
+ /** FileOptions javaStringCheckUtf8. */
+ public javaStringCheckUtf8: boolean;
+
+ /** FileOptions optimizeFor. */
+ public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
+
+ /** FileOptions goPackage. */
+ public goPackage: string;
+
+ /** FileOptions ccGenericServices. */
+ public ccGenericServices: boolean;
+
+ /** FileOptions javaGenericServices. */
+ public javaGenericServices: boolean;
+
+ /** FileOptions pyGenericServices. */
+ public pyGenericServices: boolean;
+
+ /** FileOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FileOptions ccEnableArenas. */
+ public ccEnableArenas: boolean;
+
+ /** FileOptions objcClassPrefix. */
+ public objcClassPrefix: string;
+
+ /** FileOptions csharpNamespace. */
+ public csharpNamespace: string;
+
+ /** FileOptions swiftPrefix. */
+ public swiftPrefix: string;
+
+ /** FileOptions phpClassPrefix. */
+ public phpClassPrefix: string;
+
+ /** FileOptions phpNamespace. */
+ public phpNamespace: string;
+
+ /** FileOptions phpMetadataNamespace. */
+ public phpMetadataNamespace: string;
+
+ /** FileOptions rubyPackage. */
+ public rubyPackage: string;
+
+ /** FileOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** FileOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FileOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileOptions instance
+ */
+ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
+
+ /**
+ * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
+
+ /**
+ * Verifies a FileOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
+
+ /**
+ * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
+ * @param message FileOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FileOptions {
+
+ /** OptimizeMode enum. */
+ enum OptimizeMode {
+ SPEED = 1,
+ CODE_SIZE = 2,
+ LITE_RUNTIME = 3
+ }
+ }
+
+ /** Properties of a MessageOptions. */
+ interface IMessageOptions {
+
+ /** MessageOptions messageSetWireFormat */
+ messageSetWireFormat?: (boolean|null);
+
+ /** MessageOptions noStandardDescriptorAccessor */
+ noStandardDescriptorAccessor?: (boolean|null);
+
+ /** MessageOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MessageOptions mapEntry */
+ mapEntry?: (boolean|null);
+
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts */
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
+
+ /** MessageOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** MessageOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MessageOptions .google.api.resource */
+ ".google.api.resource"?: (google.api.IResourceDescriptor|null);
+ }
+
+ /** Represents a MessageOptions. */
+ class MessageOptions implements IMessageOptions {
+
+ /**
+ * Constructs a new MessageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMessageOptions);
+
+ /** MessageOptions messageSetWireFormat. */
+ public messageSetWireFormat: boolean;
+
+ /** MessageOptions noStandardDescriptorAccessor. */
+ public noStandardDescriptorAccessor: boolean;
+
+ /** MessageOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MessageOptions mapEntry. */
+ public mapEntry: boolean;
+
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts. */
+ public deprecatedLegacyJsonFieldConflicts: boolean;
+
+ /** MessageOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** MessageOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MessageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MessageOptions instance
+ */
+ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
+
+ /**
+ * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
+
+ /**
+ * Verifies a MessageOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MessageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
+
+ /**
+ * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
+ * @param message MessageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MessageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MessageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldOptions. */
+ interface IFieldOptions {
+
+ /** FieldOptions ctype */
+ ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
+
+ /** FieldOptions packed */
+ packed?: (boolean|null);
+
+ /** FieldOptions jstype */
+ jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
+
+ /** FieldOptions lazy */
+ lazy?: (boolean|null);
+
+ /** FieldOptions unverifiedLazy */
+ unverifiedLazy?: (boolean|null);
+
+ /** FieldOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FieldOptions weak */
+ weak?: (boolean|null);
+
+ /** FieldOptions debugRedact */
+ debugRedact?: (boolean|null);
+
+ /** FieldOptions retention */
+ retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
+
+ /** FieldOptions targets */
+ targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null);
+
+ /** FieldOptions editionDefaults */
+ editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null);
+
+ /** FieldOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** FieldOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FieldOptions .google.api.fieldBehavior */
+ ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
+
+ /** FieldOptions .google.api.resourceReference */
+ ".google.api.resourceReference"?: (google.api.IResourceReference|null);
+ }
+
+ /** Represents a FieldOptions. */
+ class FieldOptions implements IFieldOptions {
+
+ /**
+ * Constructs a new FieldOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldOptions);
+
+ /** FieldOptions ctype. */
+ public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
+
+ /** FieldOptions packed. */
+ public packed: boolean;
+
+ /** FieldOptions jstype. */
+ public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
+
+ /** FieldOptions lazy. */
+ public lazy: boolean;
+
+ /** FieldOptions unverifiedLazy. */
+ public unverifiedLazy: boolean;
+
+ /** FieldOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FieldOptions weak. */
+ public weak: boolean;
+
+ /** FieldOptions debugRedact. */
+ public debugRedact: boolean;
+
+ /** FieldOptions retention. */
+ public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
+
+ /** FieldOptions targets. */
+ public targets: google.protobuf.FieldOptions.OptionTargetType[];
+
+ /** FieldOptions editionDefaults. */
+ public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[];
+
+ /** FieldOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** FieldOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FieldOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldOptions instance
+ */
+ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
+
+ /**
+ * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
+
+ /**
+ * Verifies a FieldOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
+
+ /**
+ * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
+ * @param message FieldOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldOptions {
+
+ /** CType enum. */
+ enum CType {
+ STRING = 0,
+ CORD = 1,
+ STRING_PIECE = 2
+ }
+
+ /** JSType enum. */
+ enum JSType {
+ JS_NORMAL = 0,
+ JS_STRING = 1,
+ JS_NUMBER = 2
+ }
+
+ /** OptionRetention enum. */
+ enum OptionRetention {
+ RETENTION_UNKNOWN = 0,
+ RETENTION_RUNTIME = 1,
+ RETENTION_SOURCE = 2
+ }
+
+ /** OptionTargetType enum. */
+ enum OptionTargetType {
+ TARGET_TYPE_UNKNOWN = 0,
+ TARGET_TYPE_FILE = 1,
+ TARGET_TYPE_EXTENSION_RANGE = 2,
+ TARGET_TYPE_MESSAGE = 3,
+ TARGET_TYPE_FIELD = 4,
+ TARGET_TYPE_ONEOF = 5,
+ TARGET_TYPE_ENUM = 6,
+ TARGET_TYPE_ENUM_ENTRY = 7,
+ TARGET_TYPE_SERVICE = 8,
+ TARGET_TYPE_METHOD = 9
+ }
+
+ /** Properties of an EditionDefault. */
+ interface IEditionDefault {
+
+ /** EditionDefault edition */
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+
+ /** EditionDefault value */
+ value?: (string|null);
+ }
+
+ /** Represents an EditionDefault. */
+ class EditionDefault implements IEditionDefault {
+
+ /**
+ * Constructs a new EditionDefault.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
+
+ /** EditionDefault edition. */
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /** EditionDefault value. */
+ public value: string;
+
+ /**
+ * Creates a new EditionDefault instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EditionDefault instance
+ */
+ public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
+ * @param message EditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
+ * @param message EditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EditionDefault message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Decodes an EditionDefault message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Verifies an EditionDefault message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EditionDefault
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
+ * @param message EditionDefault
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EditionDefault to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EditionDefault
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an OneofOptions. */
+ interface IOneofOptions {
+
+ /** OneofOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** OneofOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an OneofOptions. */
+ class OneofOptions implements IOneofOptions {
+
+ /**
+ * Constructs a new OneofOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofOptions);
+
+ /** OneofOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** OneofOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new OneofOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofOptions instance
+ */
+ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
+
+ /**
+ * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
+
+ /**
+ * Verifies an OneofOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
+
+ /**
+ * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
+ * @param message OneofOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumOptions. */
+ interface IEnumOptions {
+
+ /** EnumOptions allowAlias */
+ allowAlias?: (boolean|null);
+
+ /** EnumOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts */
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
+
+ /** EnumOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumOptions. */
+ class EnumOptions implements IEnumOptions {
+
+ /**
+ * Constructs a new EnumOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumOptions);
+
+ /** EnumOptions allowAlias. */
+ public allowAlias: boolean;
+
+ /** EnumOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts. */
+ public deprecatedLegacyJsonFieldConflicts: boolean;
+
+ /** EnumOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
+
+ /**
+ * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
+
+ /**
+ * Verifies an EnumOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
+
+ /**
+ * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
+ * @param message EnumOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumValueOptions. */
+ interface IEnumValueOptions {
+
+ /** EnumValueOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumValueOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumValueOptions debugRedact */
+ debugRedact?: (boolean|null);
+
+ /** EnumValueOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumValueOptions. */
+ class EnumValueOptions implements IEnumValueOptions {
+
+ /**
+ * Constructs a new EnumValueOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueOptions);
+
+ /** EnumValueOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumValueOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumValueOptions debugRedact. */
+ public debugRedact: boolean;
+
+ /** EnumValueOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumValueOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
+
+ /**
+ * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
+
+ /**
+ * Verifies an EnumValueOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
+
+ /**
+ * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
+ * @param message EnumValueOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceOptions. */
+ interface IServiceOptions {
+
+ /** ServiceOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** ServiceOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** ServiceOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** ServiceOptions .google.api.defaultHost */
+ ".google.api.defaultHost"?: (string|null);
+
+ /** ServiceOptions .google.api.oauthScopes */
+ ".google.api.oauthScopes"?: (string|null);
+
+ /** ServiceOptions .google.api.apiVersion */
+ ".google.api.apiVersion"?: (string|null);
+ }
+
+ /** Represents a ServiceOptions. */
+ class ServiceOptions implements IServiceOptions {
+
+ /**
+ * Constructs a new ServiceOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceOptions);
+
+ /** ServiceOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** ServiceOptions deprecated. */
+ public deprecated: boolean;
+
+ /** ServiceOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ServiceOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceOptions instance
+ */
+ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
+
+ /**
+ * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
+
+ /**
+ * Verifies a ServiceOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
+
+ /**
+ * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
+ * @param message ServiceOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodOptions. */
+ interface IMethodOptions {
+
+ /** MethodOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MethodOptions idempotencyLevel */
+ idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
+
+ /** MethodOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** MethodOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MethodOptions .google.api.http */
+ ".google.api.http"?: (google.api.IHttpRule|null);
+
+ /** MethodOptions .google.api.methodSignature */
+ ".google.api.methodSignature"?: (string[]|null);
+
+ /** 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 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 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;
+ }
+ }
+
+ /** Namespace analytics. */
+ namespace analytics {
+
+ /** Namespace data. */
+ namespace data {
+
+ /** Namespace v1alpha. */
+ namespace v1alpha {
+
+ /** Represents an AlphaAnalyticsData */
+ class AlphaAnalyticsData extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new AlphaAnalyticsData 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 AlphaAnalyticsData 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): AlphaAnalyticsData;
+
+ /**
+ * Calls RunFunnelReport.
+ * @param request RunFunnelReportRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and RunFunnelReportResponse
+ */
+ public runFunnelReport(request: google.analytics.data.v1alpha.IRunFunnelReportRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.RunFunnelReportCallback): void;
+
+ /**
+ * Calls RunFunnelReport.
+ * @param request RunFunnelReportRequest message or plain object
+ * @returns Promise
+ */
+ public runFunnelReport(request: google.analytics.data.v1alpha.IRunFunnelReportRequest): Promise;
+
+ /**
+ * Calls CreateAudienceList.
+ * @param request CreateAudienceListRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createAudienceList(request: google.analytics.data.v1alpha.ICreateAudienceListRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.CreateAudienceListCallback): void;
+
+ /**
+ * Calls CreateAudienceList.
+ * @param request CreateAudienceListRequest message or plain object
+ * @returns Promise
+ */
+ public createAudienceList(request: google.analytics.data.v1alpha.ICreateAudienceListRequest): Promise;
+
+ /**
+ * Calls QueryAudienceList.
+ * @param request QueryAudienceListRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and QueryAudienceListResponse
+ */
+ public queryAudienceList(request: google.analytics.data.v1alpha.IQueryAudienceListRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.QueryAudienceListCallback): void;
+
+ /**
+ * Calls QueryAudienceList.
+ * @param request QueryAudienceListRequest message or plain object
+ * @returns Promise
+ */
+ public queryAudienceList(request: google.analytics.data.v1alpha.IQueryAudienceListRequest): Promise;
+
+ /**
+ * Calls SheetExportAudienceList.
+ * @param request SheetExportAudienceListRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and SheetExportAudienceListResponse
+ */
+ public sheetExportAudienceList(request: google.analytics.data.v1alpha.ISheetExportAudienceListRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.SheetExportAudienceListCallback): void;
+
+ /**
+ * Calls SheetExportAudienceList.
+ * @param request SheetExportAudienceListRequest message or plain object
+ * @returns Promise
+ */
+ public sheetExportAudienceList(request: google.analytics.data.v1alpha.ISheetExportAudienceListRequest): Promise;
+
+ /**
+ * Calls GetAudienceList.
+ * @param request GetAudienceListRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and AudienceList
+ */
+ public getAudienceList(request: google.analytics.data.v1alpha.IGetAudienceListRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.GetAudienceListCallback): void;
+
+ /**
+ * Calls GetAudienceList.
+ * @param request GetAudienceListRequest message or plain object
+ * @returns Promise
+ */
+ public getAudienceList(request: google.analytics.data.v1alpha.IGetAudienceListRequest): Promise;
+
+ /**
+ * Calls ListAudienceLists.
+ * @param request ListAudienceListsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListAudienceListsResponse
+ */
+ public listAudienceLists(request: google.analytics.data.v1alpha.IListAudienceListsRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.ListAudienceListsCallback): void;
+
+ /**
+ * Calls ListAudienceLists.
+ * @param request ListAudienceListsRequest message or plain object
+ * @returns Promise
+ */
+ public listAudienceLists(request: google.analytics.data.v1alpha.IListAudienceListsRequest): Promise;
+
+ /**
+ * Calls CreateRecurringAudienceList.
+ * @param request CreateRecurringAudienceListRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and RecurringAudienceList
+ */
+ public createRecurringAudienceList(request: google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.CreateRecurringAudienceListCallback): void;
+
+ /**
+ * Calls CreateRecurringAudienceList.
+ * @param request CreateRecurringAudienceListRequest message or plain object
+ * @returns Promise
+ */
+ public createRecurringAudienceList(request: google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest): Promise;
+
+ /**
+ * Calls GetRecurringAudienceList.
+ * @param request GetRecurringAudienceListRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and RecurringAudienceList
+ */
+ public getRecurringAudienceList(request: google.analytics.data.v1alpha.IGetRecurringAudienceListRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.GetRecurringAudienceListCallback): void;
+
+ /**
+ * Calls GetRecurringAudienceList.
+ * @param request GetRecurringAudienceListRequest message or plain object
+ * @returns Promise
+ */
+ public getRecurringAudienceList(request: google.analytics.data.v1alpha.IGetRecurringAudienceListRequest): Promise;
+
+ /**
+ * Calls ListRecurringAudienceLists.
+ * @param request ListRecurringAudienceListsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListRecurringAudienceListsResponse
+ */
+ public listRecurringAudienceLists(request: google.analytics.data.v1alpha.IListRecurringAudienceListsRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.ListRecurringAudienceListsCallback): void;
+
+ /**
+ * Calls ListRecurringAudienceLists.
+ * @param request ListRecurringAudienceListsRequest message or plain object
+ * @returns Promise
+ */
+ public listRecurringAudienceLists(request: google.analytics.data.v1alpha.IListRecurringAudienceListsRequest): Promise;
+
+ /**
+ * Calls GetPropertyQuotasSnapshot.
+ * @param request GetPropertyQuotasSnapshotRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PropertyQuotasSnapshot
+ */
+ public getPropertyQuotasSnapshot(request: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.GetPropertyQuotasSnapshotCallback): void;
+
+ /**
+ * Calls GetPropertyQuotasSnapshot.
+ * @param request GetPropertyQuotasSnapshotRequest message or plain object
+ * @returns Promise
+ */
+ public getPropertyQuotasSnapshot(request: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest): Promise;
+
+ /**
+ * Calls CreateReportTask.
+ * @param request CreateReportTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createReportTask(request: google.analytics.data.v1alpha.ICreateReportTaskRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.CreateReportTaskCallback): void;
+
+ /**
+ * Calls CreateReportTask.
+ * @param request CreateReportTaskRequest message or plain object
+ * @returns Promise
+ */
+ public createReportTask(request: google.analytics.data.v1alpha.ICreateReportTaskRequest): Promise;
+
+ /**
+ * Calls QueryReportTask.
+ * @param request QueryReportTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and QueryReportTaskResponse
+ */
+ public queryReportTask(request: google.analytics.data.v1alpha.IQueryReportTaskRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.QueryReportTaskCallback): void;
+
+ /**
+ * Calls QueryReportTask.
+ * @param request QueryReportTaskRequest message or plain object
+ * @returns Promise
+ */
+ public queryReportTask(request: google.analytics.data.v1alpha.IQueryReportTaskRequest): Promise;
+
+ /**
+ * Calls GetReportTask.
+ * @param request GetReportTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ReportTask
+ */
+ public getReportTask(request: google.analytics.data.v1alpha.IGetReportTaskRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.GetReportTaskCallback): void;
+
+ /**
+ * Calls GetReportTask.
+ * @param request GetReportTaskRequest message or plain object
+ * @returns Promise
+ */
+ public getReportTask(request: google.analytics.data.v1alpha.IGetReportTaskRequest): Promise;
+
+ /**
+ * Calls ListReportTasks.
+ * @param request ListReportTasksRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListReportTasksResponse
+ */
+ public listReportTasks(request: google.analytics.data.v1alpha.IListReportTasksRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.ListReportTasksCallback): void;
+
+ /**
+ * Calls ListReportTasks.
+ * @param request ListReportTasksRequest message or plain object
+ * @returns Promise
+ */
+ public listReportTasks(request: google.analytics.data.v1alpha.IListReportTasksRequest): Promise;
+ }
+
+ namespace AlphaAnalyticsData {
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|runFunnelReport}.
+ * @param error Error, if any
+ * @param [response] RunFunnelReportResponse
+ */
+ type RunFunnelReportCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.RunFunnelReportResponse) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|createAudienceList}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateAudienceListCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|queryAudienceList}.
+ * @param error Error, if any
+ * @param [response] QueryAudienceListResponse
+ */
+ type QueryAudienceListCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.QueryAudienceListResponse) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|sheetExportAudienceList}.
+ * @param error Error, if any
+ * @param [response] SheetExportAudienceListResponse
+ */
+ type SheetExportAudienceListCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.SheetExportAudienceListResponse) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|getAudienceList}.
+ * @param error Error, if any
+ * @param [response] AudienceList
+ */
+ type GetAudienceListCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.AudienceList) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|listAudienceLists}.
+ * @param error Error, if any
+ * @param [response] ListAudienceListsResponse
+ */
+ type ListAudienceListsCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.ListAudienceListsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|createRecurringAudienceList}.
+ * @param error Error, if any
+ * @param [response] RecurringAudienceList
+ */
+ type CreateRecurringAudienceListCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.RecurringAudienceList) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|getRecurringAudienceList}.
+ * @param error Error, if any
+ * @param [response] RecurringAudienceList
+ */
+ type GetRecurringAudienceListCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.RecurringAudienceList) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|listRecurringAudienceLists}.
+ * @param error Error, if any
+ * @param [response] ListRecurringAudienceListsResponse
+ */
+ type ListRecurringAudienceListsCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.ListRecurringAudienceListsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|getPropertyQuotasSnapshot}.
+ * @param error Error, if any
+ * @param [response] PropertyQuotasSnapshot
+ */
+ type GetPropertyQuotasSnapshotCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.PropertyQuotasSnapshot) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|createReportTask}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateReportTaskCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|queryReportTask}.
+ * @param error Error, if any
+ * @param [response] QueryReportTaskResponse
+ */
+ type QueryReportTaskCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.QueryReportTaskResponse) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|getReportTask}.
+ * @param error Error, if any
+ * @param [response] ReportTask
+ */
+ type GetReportTaskCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.ReportTask) => void;
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|listReportTasks}.
+ * @param error Error, if any
+ * @param [response] ListReportTasksResponse
+ */
+ type ListReportTasksCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.ListReportTasksResponse) => void;
+ }
+
+ /** Properties of a CreateRecurringAudienceListRequest. */
+ interface ICreateRecurringAudienceListRequest {
+
+ /** CreateRecurringAudienceListRequest parent */
+ parent?: (string|null);
+
+ /** CreateRecurringAudienceListRequest recurringAudienceList */
+ recurringAudienceList?: (google.analytics.data.v1alpha.IRecurringAudienceList|null);
+ }
+
+ /** Represents a CreateRecurringAudienceListRequest. */
+ class CreateRecurringAudienceListRequest implements ICreateRecurringAudienceListRequest {
+
+ /**
+ * Constructs a new CreateRecurringAudienceListRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest);
+
+ /** CreateRecurringAudienceListRequest parent. */
+ public parent: string;
+
+ /** CreateRecurringAudienceListRequest recurringAudienceList. */
+ public recurringAudienceList?: (google.analytics.data.v1alpha.IRecurringAudienceList|null);
+
+ /**
+ * Creates a new CreateRecurringAudienceListRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateRecurringAudienceListRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest): google.analytics.data.v1alpha.CreateRecurringAudienceListRequest;
+
+ /**
+ * Encodes the specified CreateRecurringAudienceListRequest message. Does not implicitly {@link google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.verify|verify} messages.
+ * @param message CreateRecurringAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateRecurringAudienceListRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.verify|verify} messages.
+ * @param message CreateRecurringAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateRecurringAudienceListRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateRecurringAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.CreateRecurringAudienceListRequest;
+
+ /**
+ * Decodes a CreateRecurringAudienceListRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateRecurringAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.CreateRecurringAudienceListRequest;
+
+ /**
+ * Verifies a CreateRecurringAudienceListRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateRecurringAudienceListRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateRecurringAudienceListRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.CreateRecurringAudienceListRequest;
+
+ /**
+ * Creates a plain object from a CreateRecurringAudienceListRequest message. Also converts values to other types if specified.
+ * @param message CreateRecurringAudienceListRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.CreateRecurringAudienceListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateRecurringAudienceListRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateRecurringAudienceListRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RecurringAudienceList. */
+ interface IRecurringAudienceList {
+
+ /** RecurringAudienceList name */
+ name?: (string|null);
+
+ /** RecurringAudienceList audience */
+ audience?: (string|null);
+
+ /** RecurringAudienceList audienceDisplayName */
+ audienceDisplayName?: (string|null);
+
+ /** RecurringAudienceList dimensions */
+ dimensions?: (google.analytics.data.v1alpha.IAudienceDimension[]|null);
+
+ /** RecurringAudienceList activeDaysRemaining */
+ activeDaysRemaining?: (number|null);
+
+ /** RecurringAudienceList audienceLists */
+ audienceLists?: (string[]|null);
+
+ /** RecurringAudienceList webhookNotification */
+ webhookNotification?: (google.analytics.data.v1alpha.IWebhookNotification|null);
+ }
+
+ /** Represents a RecurringAudienceList. */
+ class RecurringAudienceList implements IRecurringAudienceList {
+
+ /**
+ * Constructs a new RecurringAudienceList.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IRecurringAudienceList);
+
+ /** RecurringAudienceList name. */
+ public name: string;
+
+ /** RecurringAudienceList audience. */
+ public audience: string;
+
+ /** RecurringAudienceList audienceDisplayName. */
+ public audienceDisplayName: string;
+
+ /** RecurringAudienceList dimensions. */
+ public dimensions: google.analytics.data.v1alpha.IAudienceDimension[];
+
+ /** RecurringAudienceList activeDaysRemaining. */
+ public activeDaysRemaining?: (number|null);
+
+ /** RecurringAudienceList audienceLists. */
+ public audienceLists: string[];
+
+ /** RecurringAudienceList webhookNotification. */
+ public webhookNotification?: (google.analytics.data.v1alpha.IWebhookNotification|null);
+
+ /**
+ * Creates a new RecurringAudienceList instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RecurringAudienceList instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IRecurringAudienceList): google.analytics.data.v1alpha.RecurringAudienceList;
+
+ /**
+ * Encodes the specified RecurringAudienceList message. Does not implicitly {@link google.analytics.data.v1alpha.RecurringAudienceList.verify|verify} messages.
+ * @param message RecurringAudienceList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IRecurringAudienceList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RecurringAudienceList message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.RecurringAudienceList.verify|verify} messages.
+ * @param message RecurringAudienceList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IRecurringAudienceList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RecurringAudienceList message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RecurringAudienceList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.RecurringAudienceList;
+
+ /**
+ * Decodes a RecurringAudienceList message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RecurringAudienceList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.RecurringAudienceList;
+
+ /**
+ * Verifies a RecurringAudienceList message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RecurringAudienceList message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RecurringAudienceList
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.RecurringAudienceList;
+
+ /**
+ * Creates a plain object from a RecurringAudienceList message. Also converts values to other types if specified.
+ * @param message RecurringAudienceList
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.RecurringAudienceList, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RecurringAudienceList to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RecurringAudienceList
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a WebhookNotification. */
+ interface IWebhookNotification {
+
+ /** WebhookNotification uri */
+ uri?: (string|null);
+
+ /** WebhookNotification channelToken */
+ channelToken?: (string|null);
+ }
+
+ /** Represents a WebhookNotification. */
+ class WebhookNotification implements IWebhookNotification {
+
+ /**
+ * Constructs a new WebhookNotification.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IWebhookNotification);
+
+ /** WebhookNotification uri. */
+ public uri?: (string|null);
+
+ /** WebhookNotification channelToken. */
+ public channelToken?: (string|null);
+
+ /**
+ * Creates a new WebhookNotification instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns WebhookNotification instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IWebhookNotification): google.analytics.data.v1alpha.WebhookNotification;
+
+ /**
+ * Encodes the specified WebhookNotification message. Does not implicitly {@link google.analytics.data.v1alpha.WebhookNotification.verify|verify} messages.
+ * @param message WebhookNotification message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IWebhookNotification, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified WebhookNotification message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.WebhookNotification.verify|verify} messages.
+ * @param message WebhookNotification message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IWebhookNotification, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a WebhookNotification message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns WebhookNotification
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.WebhookNotification;
+
+ /**
+ * Decodes a WebhookNotification message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns WebhookNotification
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.WebhookNotification;
+
+ /**
+ * Verifies a WebhookNotification message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a WebhookNotification message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns WebhookNotification
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.WebhookNotification;
+
+ /**
+ * Creates a plain object from a WebhookNotification message. Also converts values to other types if specified.
+ * @param message WebhookNotification
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.WebhookNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this WebhookNotification to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for WebhookNotification
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetRecurringAudienceListRequest. */
+ interface IGetRecurringAudienceListRequest {
+
+ /** GetRecurringAudienceListRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetRecurringAudienceListRequest. */
+ class GetRecurringAudienceListRequest implements IGetRecurringAudienceListRequest {
+
+ /**
+ * Constructs a new GetRecurringAudienceListRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IGetRecurringAudienceListRequest);
+
+ /** GetRecurringAudienceListRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetRecurringAudienceListRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetRecurringAudienceListRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IGetRecurringAudienceListRequest): google.analytics.data.v1alpha.GetRecurringAudienceListRequest;
+
+ /**
+ * Encodes the specified GetRecurringAudienceListRequest message. Does not implicitly {@link google.analytics.data.v1alpha.GetRecurringAudienceListRequest.verify|verify} messages.
+ * @param message GetRecurringAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IGetRecurringAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetRecurringAudienceListRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.GetRecurringAudienceListRequest.verify|verify} messages.
+ * @param message GetRecurringAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IGetRecurringAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetRecurringAudienceListRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetRecurringAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.GetRecurringAudienceListRequest;
+
+ /**
+ * Decodes a GetRecurringAudienceListRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetRecurringAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.GetRecurringAudienceListRequest;
+
+ /**
+ * Verifies a GetRecurringAudienceListRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetRecurringAudienceListRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetRecurringAudienceListRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.GetRecurringAudienceListRequest;
+
+ /**
+ * Creates a plain object from a GetRecurringAudienceListRequest message. Also converts values to other types if specified.
+ * @param message GetRecurringAudienceListRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.GetRecurringAudienceListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetRecurringAudienceListRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetRecurringAudienceListRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListRecurringAudienceListsRequest. */
+ interface IListRecurringAudienceListsRequest {
+
+ /** ListRecurringAudienceListsRequest parent */
+ parent?: (string|null);
+
+ /** ListRecurringAudienceListsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListRecurringAudienceListsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListRecurringAudienceListsRequest. */
+ class ListRecurringAudienceListsRequest implements IListRecurringAudienceListsRequest {
+
+ /**
+ * Constructs a new ListRecurringAudienceListsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IListRecurringAudienceListsRequest);
+
+ /** ListRecurringAudienceListsRequest parent. */
+ public parent: string;
+
+ /** ListRecurringAudienceListsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListRecurringAudienceListsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListRecurringAudienceListsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListRecurringAudienceListsRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IListRecurringAudienceListsRequest): google.analytics.data.v1alpha.ListRecurringAudienceListsRequest;
+
+ /**
+ * Encodes the specified ListRecurringAudienceListsRequest message. Does not implicitly {@link google.analytics.data.v1alpha.ListRecurringAudienceListsRequest.verify|verify} messages.
+ * @param message ListRecurringAudienceListsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IListRecurringAudienceListsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListRecurringAudienceListsRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ListRecurringAudienceListsRequest.verify|verify} messages.
+ * @param message ListRecurringAudienceListsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IListRecurringAudienceListsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListRecurringAudienceListsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListRecurringAudienceListsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ListRecurringAudienceListsRequest;
+
+ /**
+ * Decodes a ListRecurringAudienceListsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListRecurringAudienceListsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ListRecurringAudienceListsRequest;
+
+ /**
+ * Verifies a ListRecurringAudienceListsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListRecurringAudienceListsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListRecurringAudienceListsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ListRecurringAudienceListsRequest;
+
+ /**
+ * Creates a plain object from a ListRecurringAudienceListsRequest message. Also converts values to other types if specified.
+ * @param message ListRecurringAudienceListsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ListRecurringAudienceListsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListRecurringAudienceListsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListRecurringAudienceListsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListRecurringAudienceListsResponse. */
+ interface IListRecurringAudienceListsResponse {
+
+ /** ListRecurringAudienceListsResponse recurringAudienceLists */
+ recurringAudienceLists?: (google.analytics.data.v1alpha.IRecurringAudienceList[]|null);
+
+ /** ListRecurringAudienceListsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListRecurringAudienceListsResponse. */
+ class ListRecurringAudienceListsResponse implements IListRecurringAudienceListsResponse {
+
+ /**
+ * Constructs a new ListRecurringAudienceListsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IListRecurringAudienceListsResponse);
+
+ /** ListRecurringAudienceListsResponse recurringAudienceLists. */
+ public recurringAudienceLists: google.analytics.data.v1alpha.IRecurringAudienceList[];
+
+ /** ListRecurringAudienceListsResponse nextPageToken. */
+ public nextPageToken?: (string|null);
+
+ /**
+ * Creates a new ListRecurringAudienceListsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListRecurringAudienceListsResponse instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IListRecurringAudienceListsResponse): google.analytics.data.v1alpha.ListRecurringAudienceListsResponse;
+
+ /**
+ * Encodes the specified ListRecurringAudienceListsResponse message. Does not implicitly {@link google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.verify|verify} messages.
+ * @param message ListRecurringAudienceListsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IListRecurringAudienceListsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListRecurringAudienceListsResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.verify|verify} messages.
+ * @param message ListRecurringAudienceListsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IListRecurringAudienceListsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListRecurringAudienceListsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListRecurringAudienceListsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ListRecurringAudienceListsResponse;
+
+ /**
+ * Decodes a ListRecurringAudienceListsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListRecurringAudienceListsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ListRecurringAudienceListsResponse;
+
+ /**
+ * Verifies a ListRecurringAudienceListsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListRecurringAudienceListsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListRecurringAudienceListsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ListRecurringAudienceListsResponse;
+
+ /**
+ * Creates a plain object from a ListRecurringAudienceListsResponse message. Also converts values to other types if specified.
+ * @param message ListRecurringAudienceListsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ListRecurringAudienceListsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListRecurringAudienceListsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListRecurringAudienceListsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetPropertyQuotasSnapshotRequest. */
+ interface IGetPropertyQuotasSnapshotRequest {
+
+ /** GetPropertyQuotasSnapshotRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetPropertyQuotasSnapshotRequest. */
+ class GetPropertyQuotasSnapshotRequest implements IGetPropertyQuotasSnapshotRequest {
+
+ /**
+ * Constructs a new GetPropertyQuotasSnapshotRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest);
+
+ /** GetPropertyQuotasSnapshotRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetPropertyQuotasSnapshotRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetPropertyQuotasSnapshotRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest): google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest;
+
+ /**
+ * Encodes the specified GetPropertyQuotasSnapshotRequest message. Does not implicitly {@link google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest.verify|verify} messages.
+ * @param message GetPropertyQuotasSnapshotRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetPropertyQuotasSnapshotRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest.verify|verify} messages.
+ * @param message GetPropertyQuotasSnapshotRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetPropertyQuotasSnapshotRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetPropertyQuotasSnapshotRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest;
+
+ /**
+ * Decodes a GetPropertyQuotasSnapshotRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetPropertyQuotasSnapshotRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest;
+
+ /**
+ * Verifies a GetPropertyQuotasSnapshotRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetPropertyQuotasSnapshotRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetPropertyQuotasSnapshotRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest;
+
+ /**
+ * Creates a plain object from a GetPropertyQuotasSnapshotRequest message. Also converts values to other types if specified.
+ * @param message GetPropertyQuotasSnapshotRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetPropertyQuotasSnapshotRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetPropertyQuotasSnapshotRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PropertyQuotasSnapshot. */
+ interface IPropertyQuotasSnapshot {
+
+ /** PropertyQuotasSnapshot name */
+ name?: (string|null);
+
+ /** PropertyQuotasSnapshot corePropertyQuota */
+ corePropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
+
+ /** PropertyQuotasSnapshot realtimePropertyQuota */
+ realtimePropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
+
+ /** PropertyQuotasSnapshot funnelPropertyQuota */
+ funnelPropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
+ }
+
+ /** Represents a PropertyQuotasSnapshot. */
+ class PropertyQuotasSnapshot implements IPropertyQuotasSnapshot {
+
+ /**
+ * Constructs a new PropertyQuotasSnapshot.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IPropertyQuotasSnapshot);
+
+ /** PropertyQuotasSnapshot name. */
+ public name: string;
+
+ /** PropertyQuotasSnapshot corePropertyQuota. */
+ public corePropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
+
+ /** PropertyQuotasSnapshot realtimePropertyQuota. */
+ public realtimePropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
+
+ /** PropertyQuotasSnapshot funnelPropertyQuota. */
+ public funnelPropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
+
+ /**
+ * Creates a new PropertyQuotasSnapshot instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PropertyQuotasSnapshot instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IPropertyQuotasSnapshot): google.analytics.data.v1alpha.PropertyQuotasSnapshot;
+
+ /**
+ * Encodes the specified PropertyQuotasSnapshot message. Does not implicitly {@link google.analytics.data.v1alpha.PropertyQuotasSnapshot.verify|verify} messages.
+ * @param message PropertyQuotasSnapshot message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IPropertyQuotasSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PropertyQuotasSnapshot message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.PropertyQuotasSnapshot.verify|verify} messages.
+ * @param message PropertyQuotasSnapshot message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IPropertyQuotasSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PropertyQuotasSnapshot message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PropertyQuotasSnapshot
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.PropertyQuotasSnapshot;
+
+ /**
+ * Decodes a PropertyQuotasSnapshot message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PropertyQuotasSnapshot
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.PropertyQuotasSnapshot;
+
+ /**
+ * Verifies a PropertyQuotasSnapshot message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PropertyQuotasSnapshot message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PropertyQuotasSnapshot
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.PropertyQuotasSnapshot;
+
+ /**
+ * Creates a plain object from a PropertyQuotasSnapshot message. Also converts values to other types if specified.
+ * @param message PropertyQuotasSnapshot
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.PropertyQuotasSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PropertyQuotasSnapshot to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PropertyQuotasSnapshot
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetAudienceListRequest. */
+ interface IGetAudienceListRequest {
+
+ /** GetAudienceListRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetAudienceListRequest. */
+ class GetAudienceListRequest implements IGetAudienceListRequest {
+
+ /**
+ * Constructs a new GetAudienceListRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IGetAudienceListRequest);
+
+ /** GetAudienceListRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetAudienceListRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetAudienceListRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IGetAudienceListRequest): google.analytics.data.v1alpha.GetAudienceListRequest;
+
+ /**
+ * Encodes the specified GetAudienceListRequest message. Does not implicitly {@link google.analytics.data.v1alpha.GetAudienceListRequest.verify|verify} messages.
+ * @param message GetAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IGetAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetAudienceListRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.GetAudienceListRequest.verify|verify} messages.
+ * @param message GetAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IGetAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetAudienceListRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.GetAudienceListRequest;
+
+ /**
+ * Decodes a GetAudienceListRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.GetAudienceListRequest;
+
+ /**
+ * Verifies a GetAudienceListRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetAudienceListRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetAudienceListRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.GetAudienceListRequest;
+
+ /**
+ * Creates a plain object from a GetAudienceListRequest message. Also converts values to other types if specified.
+ * @param message GetAudienceListRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.GetAudienceListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetAudienceListRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetAudienceListRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListAudienceListsRequest. */
+ interface IListAudienceListsRequest {
+
+ /** ListAudienceListsRequest parent */
+ parent?: (string|null);
+
+ /** ListAudienceListsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListAudienceListsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListAudienceListsRequest. */
+ class ListAudienceListsRequest implements IListAudienceListsRequest {
+
+ /**
+ * Constructs a new ListAudienceListsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IListAudienceListsRequest);
+
+ /** ListAudienceListsRequest parent. */
+ public parent: string;
+
+ /** ListAudienceListsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListAudienceListsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListAudienceListsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAudienceListsRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IListAudienceListsRequest): google.analytics.data.v1alpha.ListAudienceListsRequest;
+
+ /**
+ * Encodes the specified ListAudienceListsRequest message. Does not implicitly {@link google.analytics.data.v1alpha.ListAudienceListsRequest.verify|verify} messages.
+ * @param message ListAudienceListsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IListAudienceListsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAudienceListsRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ListAudienceListsRequest.verify|verify} messages.
+ * @param message ListAudienceListsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IListAudienceListsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAudienceListsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAudienceListsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ListAudienceListsRequest;
+
+ /**
+ * Decodes a ListAudienceListsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAudienceListsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ListAudienceListsRequest;
+
+ /**
+ * Verifies a ListAudienceListsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListAudienceListsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAudienceListsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ListAudienceListsRequest;
+
+ /**
+ * Creates a plain object from a ListAudienceListsRequest message. Also converts values to other types if specified.
+ * @param message ListAudienceListsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ListAudienceListsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAudienceListsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAudienceListsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListAudienceListsResponse. */
+ interface IListAudienceListsResponse {
+
+ /** ListAudienceListsResponse audienceLists */
+ audienceLists?: (google.analytics.data.v1alpha.IAudienceList[]|null);
+
+ /** ListAudienceListsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListAudienceListsResponse. */
+ class ListAudienceListsResponse implements IListAudienceListsResponse {
+
+ /**
+ * Constructs a new ListAudienceListsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IListAudienceListsResponse);
+
+ /** ListAudienceListsResponse audienceLists. */
+ public audienceLists: google.analytics.data.v1alpha.IAudienceList[];
+
+ /** ListAudienceListsResponse nextPageToken. */
+ public nextPageToken?: (string|null);
+
+ /**
+ * Creates a new ListAudienceListsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAudienceListsResponse instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IListAudienceListsResponse): google.analytics.data.v1alpha.ListAudienceListsResponse;
+
+ /**
+ * Encodes the specified ListAudienceListsResponse message. Does not implicitly {@link google.analytics.data.v1alpha.ListAudienceListsResponse.verify|verify} messages.
+ * @param message ListAudienceListsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IListAudienceListsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAudienceListsResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ListAudienceListsResponse.verify|verify} messages.
+ * @param message ListAudienceListsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IListAudienceListsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAudienceListsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAudienceListsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ListAudienceListsResponse;
+
+ /**
+ * Decodes a ListAudienceListsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAudienceListsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ListAudienceListsResponse;
+
+ /**
+ * Verifies a ListAudienceListsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListAudienceListsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAudienceListsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ListAudienceListsResponse;
+
+ /**
+ * Creates a plain object from a ListAudienceListsResponse message. Also converts values to other types if specified.
+ * @param message ListAudienceListsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ListAudienceListsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAudienceListsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAudienceListsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateAudienceListRequest. */
+ interface ICreateAudienceListRequest {
+
+ /** CreateAudienceListRequest parent */
+ parent?: (string|null);
+
+ /** CreateAudienceListRequest audienceList */
+ audienceList?: (google.analytics.data.v1alpha.IAudienceList|null);
+ }
+
+ /** Represents a CreateAudienceListRequest. */
+ class CreateAudienceListRequest implements ICreateAudienceListRequest {
+
+ /**
+ * Constructs a new CreateAudienceListRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ICreateAudienceListRequest);
+
+ /** CreateAudienceListRequest parent. */
+ public parent: string;
+
+ /** CreateAudienceListRequest audienceList. */
+ public audienceList?: (google.analytics.data.v1alpha.IAudienceList|null);
+
+ /**
+ * Creates a new CreateAudienceListRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateAudienceListRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ICreateAudienceListRequest): google.analytics.data.v1alpha.CreateAudienceListRequest;
+
+ /**
+ * Encodes the specified CreateAudienceListRequest message. Does not implicitly {@link google.analytics.data.v1alpha.CreateAudienceListRequest.verify|verify} messages.
+ * @param message CreateAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ICreateAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateAudienceListRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.CreateAudienceListRequest.verify|verify} messages.
+ * @param message CreateAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ICreateAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateAudienceListRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.CreateAudienceListRequest;
+
+ /**
+ * Decodes a CreateAudienceListRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.CreateAudienceListRequest;
+
+ /**
+ * Verifies a CreateAudienceListRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateAudienceListRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateAudienceListRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.CreateAudienceListRequest;
+
+ /**
+ * Creates a plain object from a CreateAudienceListRequest message. Also converts values to other types if specified.
+ * @param message CreateAudienceListRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.CreateAudienceListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateAudienceListRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateAudienceListRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AudienceList. */
+ interface IAudienceList {
+
+ /** AudienceList name */
+ name?: (string|null);
+
+ /** AudienceList audience */
+ audience?: (string|null);
+
+ /** AudienceList audienceDisplayName */
+ audienceDisplayName?: (string|null);
+
+ /** AudienceList dimensions */
+ dimensions?: (google.analytics.data.v1alpha.IAudienceDimension[]|null);
+
+ /** AudienceList state */
+ state?: (google.analytics.data.v1alpha.AudienceList.State|keyof typeof google.analytics.data.v1alpha.AudienceList.State|null);
+
+ /** AudienceList beginCreatingTime */
+ beginCreatingTime?: (google.protobuf.ITimestamp|null);
+
+ /** AudienceList creationQuotaTokensCharged */
+ creationQuotaTokensCharged?: (number|null);
+
+ /** AudienceList rowCount */
+ rowCount?: (number|null);
+
+ /** AudienceList errorMessage */
+ errorMessage?: (string|null);
+
+ /** AudienceList percentageCompleted */
+ percentageCompleted?: (number|null);
+
+ /** AudienceList recurringAudienceList */
+ recurringAudienceList?: (string|null);
+
+ /** AudienceList webhookNotification */
+ webhookNotification?: (google.analytics.data.v1alpha.IWebhookNotification|null);
+ }
+
+ /** Represents an AudienceList. */
+ class AudienceList implements IAudienceList {
+
+ /**
+ * Constructs a new AudienceList.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IAudienceList);
+
+ /** AudienceList name. */
+ public name: string;
+
+ /** AudienceList audience. */
+ public audience: string;
+
+ /** AudienceList audienceDisplayName. */
+ public audienceDisplayName: string;
+
+ /** AudienceList dimensions. */
+ public dimensions: google.analytics.data.v1alpha.IAudienceDimension[];
+
+ /** AudienceList state. */
+ public state?: (google.analytics.data.v1alpha.AudienceList.State|keyof typeof google.analytics.data.v1alpha.AudienceList.State|null);
+
+ /** AudienceList beginCreatingTime. */
+ public beginCreatingTime?: (google.protobuf.ITimestamp|null);
+
+ /** AudienceList creationQuotaTokensCharged. */
+ public creationQuotaTokensCharged: number;
+
+ /** AudienceList rowCount. */
+ public rowCount?: (number|null);
+
+ /** AudienceList errorMessage. */
+ public errorMessage?: (string|null);
+
+ /** AudienceList percentageCompleted. */
+ public percentageCompleted?: (number|null);
+
+ /** AudienceList recurringAudienceList. */
+ public recurringAudienceList?: (string|null);
+
+ /** AudienceList webhookNotification. */
+ public webhookNotification?: (google.analytics.data.v1alpha.IWebhookNotification|null);
+
+ /**
+ * Creates a new AudienceList instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AudienceList instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IAudienceList): google.analytics.data.v1alpha.AudienceList;
+
+ /**
+ * Encodes the specified AudienceList message. Does not implicitly {@link google.analytics.data.v1alpha.AudienceList.verify|verify} messages.
+ * @param message AudienceList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IAudienceList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AudienceList message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.AudienceList.verify|verify} messages.
+ * @param message AudienceList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IAudienceList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AudienceList message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AudienceList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.AudienceList;
+
+ /**
+ * Decodes an AudienceList message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AudienceList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.AudienceList;
+
+ /**
+ * Verifies an AudienceList message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AudienceList message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AudienceList
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.AudienceList;
+
+ /**
+ * Creates a plain object from an AudienceList message. Also converts values to other types if specified.
+ * @param message AudienceList
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.AudienceList, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AudienceList to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AudienceList
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AudienceList {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ CREATING = 1,
+ ACTIVE = 2,
+ FAILED = 3
+ }
+ }
+
+ /** Properties of an AudienceListMetadata. */
+ interface IAudienceListMetadata {
+ }
+
+ /** Represents an AudienceListMetadata. */
+ class AudienceListMetadata implements IAudienceListMetadata {
+
+ /**
+ * Constructs a new AudienceListMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IAudienceListMetadata);
+
+ /**
+ * Creates a new AudienceListMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AudienceListMetadata instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IAudienceListMetadata): google.analytics.data.v1alpha.AudienceListMetadata;
+
+ /**
+ * Encodes the specified AudienceListMetadata message. Does not implicitly {@link google.analytics.data.v1alpha.AudienceListMetadata.verify|verify} messages.
+ * @param message AudienceListMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IAudienceListMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AudienceListMetadata message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.AudienceListMetadata.verify|verify} messages.
+ * @param message AudienceListMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IAudienceListMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AudienceListMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AudienceListMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.AudienceListMetadata;
+
+ /**
+ * Decodes an AudienceListMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AudienceListMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.AudienceListMetadata;
+
+ /**
+ * Verifies an AudienceListMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AudienceListMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AudienceListMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.AudienceListMetadata;
+
+ /**
+ * Creates a plain object from an AudienceListMetadata message. Also converts values to other types if specified.
+ * @param message AudienceListMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.AudienceListMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AudienceListMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AudienceListMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a QueryAudienceListRequest. */
+ interface IQueryAudienceListRequest {
+
+ /** QueryAudienceListRequest name */
+ name?: (string|null);
+
+ /** QueryAudienceListRequest offset */
+ offset?: (number|Long|string|null);
+
+ /** QueryAudienceListRequest limit */
+ limit?: (number|Long|string|null);
+ }
+
+ /** Represents a QueryAudienceListRequest. */
+ class QueryAudienceListRequest implements IQueryAudienceListRequest {
+
+ /**
+ * Constructs a new QueryAudienceListRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IQueryAudienceListRequest);
+
+ /** QueryAudienceListRequest name. */
+ public name: string;
+
+ /** QueryAudienceListRequest offset. */
+ public offset: (number|Long|string);
+
+ /** QueryAudienceListRequest limit. */
+ public limit: (number|Long|string);
+
+ /**
+ * Creates a new QueryAudienceListRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QueryAudienceListRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IQueryAudienceListRequest): google.analytics.data.v1alpha.QueryAudienceListRequest;
+
+ /**
+ * Encodes the specified QueryAudienceListRequest message. Does not implicitly {@link google.analytics.data.v1alpha.QueryAudienceListRequest.verify|verify} messages.
+ * @param message QueryAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IQueryAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QueryAudienceListRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.QueryAudienceListRequest.verify|verify} messages.
+ * @param message QueryAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IQueryAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QueryAudienceListRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QueryAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.QueryAudienceListRequest;
+
+ /**
+ * Decodes a QueryAudienceListRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QueryAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.QueryAudienceListRequest;
+
+ /**
+ * Verifies a QueryAudienceListRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a QueryAudienceListRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QueryAudienceListRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.QueryAudienceListRequest;
+
+ /**
+ * Creates a plain object from a QueryAudienceListRequest message. Also converts values to other types if specified.
+ * @param message QueryAudienceListRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.QueryAudienceListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QueryAudienceListRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QueryAudienceListRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a QueryAudienceListResponse. */
+ interface IQueryAudienceListResponse {
+
+ /** QueryAudienceListResponse audienceList */
+ audienceList?: (google.analytics.data.v1alpha.IAudienceList|null);
+
+ /** QueryAudienceListResponse audienceRows */
+ audienceRows?: (google.analytics.data.v1alpha.IAudienceRow[]|null);
+
+ /** QueryAudienceListResponse rowCount */
+ rowCount?: (number|null);
+ }
+
+ /** Represents a QueryAudienceListResponse. */
+ class QueryAudienceListResponse implements IQueryAudienceListResponse {
+
+ /**
+ * Constructs a new QueryAudienceListResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IQueryAudienceListResponse);
+
+ /** QueryAudienceListResponse audienceList. */
+ public audienceList?: (google.analytics.data.v1alpha.IAudienceList|null);
+
+ /** QueryAudienceListResponse audienceRows. */
+ public audienceRows: google.analytics.data.v1alpha.IAudienceRow[];
+
+ /** QueryAudienceListResponse rowCount. */
+ public rowCount?: (number|null);
+
+ /**
+ * Creates a new QueryAudienceListResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QueryAudienceListResponse instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IQueryAudienceListResponse): google.analytics.data.v1alpha.QueryAudienceListResponse;
+
+ /**
+ * Encodes the specified QueryAudienceListResponse message. Does not implicitly {@link google.analytics.data.v1alpha.QueryAudienceListResponse.verify|verify} messages.
+ * @param message QueryAudienceListResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IQueryAudienceListResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QueryAudienceListResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.QueryAudienceListResponse.verify|verify} messages.
+ * @param message QueryAudienceListResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IQueryAudienceListResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QueryAudienceListResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QueryAudienceListResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.QueryAudienceListResponse;
+
+ /**
+ * Decodes a QueryAudienceListResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QueryAudienceListResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.QueryAudienceListResponse;
+
+ /**
+ * Verifies a QueryAudienceListResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a QueryAudienceListResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QueryAudienceListResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.QueryAudienceListResponse;
+
+ /**
+ * Creates a plain object from a QueryAudienceListResponse message. Also converts values to other types if specified.
+ * @param message QueryAudienceListResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.QueryAudienceListResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QueryAudienceListResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QueryAudienceListResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SheetExportAudienceListRequest. */
+ interface ISheetExportAudienceListRequest {
+
+ /** SheetExportAudienceListRequest name */
+ name?: (string|null);
+
+ /** SheetExportAudienceListRequest offset */
+ offset?: (number|Long|string|null);
+
+ /** SheetExportAudienceListRequest limit */
+ limit?: (number|Long|string|null);
+ }
+
+ /** Represents a SheetExportAudienceListRequest. */
+ class SheetExportAudienceListRequest implements ISheetExportAudienceListRequest {
+
+ /**
+ * Constructs a new SheetExportAudienceListRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISheetExportAudienceListRequest);
+
+ /** SheetExportAudienceListRequest name. */
+ public name: string;
+
+ /** SheetExportAudienceListRequest offset. */
+ public offset: (number|Long|string);
+
+ /** SheetExportAudienceListRequest limit. */
+ public limit: (number|Long|string);
+
+ /**
+ * Creates a new SheetExportAudienceListRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SheetExportAudienceListRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISheetExportAudienceListRequest): google.analytics.data.v1alpha.SheetExportAudienceListRequest;
+
+ /**
+ * Encodes the specified SheetExportAudienceListRequest message. Does not implicitly {@link google.analytics.data.v1alpha.SheetExportAudienceListRequest.verify|verify} messages.
+ * @param message SheetExportAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISheetExportAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SheetExportAudienceListRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SheetExportAudienceListRequest.verify|verify} messages.
+ * @param message SheetExportAudienceListRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISheetExportAudienceListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SheetExportAudienceListRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SheetExportAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SheetExportAudienceListRequest;
+
+ /**
+ * Decodes a SheetExportAudienceListRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SheetExportAudienceListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SheetExportAudienceListRequest;
+
+ /**
+ * Verifies a SheetExportAudienceListRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SheetExportAudienceListRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SheetExportAudienceListRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SheetExportAudienceListRequest;
+
+ /**
+ * Creates a plain object from a SheetExportAudienceListRequest message. Also converts values to other types if specified.
+ * @param message SheetExportAudienceListRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SheetExportAudienceListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SheetExportAudienceListRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SheetExportAudienceListRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SheetExportAudienceListResponse. */
+ interface ISheetExportAudienceListResponse {
+
+ /** SheetExportAudienceListResponse spreadsheetUri */
+ spreadsheetUri?: (string|null);
+
+ /** SheetExportAudienceListResponse spreadsheetId */
+ spreadsheetId?: (string|null);
+
+ /** SheetExportAudienceListResponse rowCount */
+ rowCount?: (number|null);
+
+ /** SheetExportAudienceListResponse audienceList */
+ audienceList?: (google.analytics.data.v1alpha.IAudienceList|null);
+ }
+
+ /** Represents a SheetExportAudienceListResponse. */
+ class SheetExportAudienceListResponse implements ISheetExportAudienceListResponse {
+
+ /**
+ * Constructs a new SheetExportAudienceListResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISheetExportAudienceListResponse);
+
+ /** SheetExportAudienceListResponse spreadsheetUri. */
+ public spreadsheetUri?: (string|null);
+
+ /** SheetExportAudienceListResponse spreadsheetId. */
+ public spreadsheetId?: (string|null);
+
+ /** SheetExportAudienceListResponse rowCount. */
+ public rowCount?: (number|null);
+
+ /** SheetExportAudienceListResponse audienceList. */
+ public audienceList?: (google.analytics.data.v1alpha.IAudienceList|null);
+
+ /**
+ * Creates a new SheetExportAudienceListResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SheetExportAudienceListResponse instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISheetExportAudienceListResponse): google.analytics.data.v1alpha.SheetExportAudienceListResponse;
+
+ /**
+ * Encodes the specified SheetExportAudienceListResponse message. Does not implicitly {@link google.analytics.data.v1alpha.SheetExportAudienceListResponse.verify|verify} messages.
+ * @param message SheetExportAudienceListResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISheetExportAudienceListResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SheetExportAudienceListResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SheetExportAudienceListResponse.verify|verify} messages.
+ * @param message SheetExportAudienceListResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISheetExportAudienceListResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SheetExportAudienceListResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SheetExportAudienceListResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SheetExportAudienceListResponse;
+
+ /**
+ * Decodes a SheetExportAudienceListResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SheetExportAudienceListResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SheetExportAudienceListResponse;
+
+ /**
+ * Verifies a SheetExportAudienceListResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SheetExportAudienceListResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SheetExportAudienceListResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SheetExportAudienceListResponse;
+
+ /**
+ * Creates a plain object from a SheetExportAudienceListResponse message. Also converts values to other types if specified.
+ * @param message SheetExportAudienceListResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SheetExportAudienceListResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SheetExportAudienceListResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SheetExportAudienceListResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AudienceRow. */
+ interface IAudienceRow {
+
+ /** AudienceRow dimensionValues */
+ dimensionValues?: (google.analytics.data.v1alpha.IAudienceDimensionValue[]|null);
+ }
+
+ /** Represents an AudienceRow. */
+ class AudienceRow implements IAudienceRow {
+
+ /**
+ * Constructs a new AudienceRow.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IAudienceRow);
+
+ /** AudienceRow dimensionValues. */
+ public dimensionValues: google.analytics.data.v1alpha.IAudienceDimensionValue[];
+
+ /**
+ * Creates a new AudienceRow instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AudienceRow instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IAudienceRow): google.analytics.data.v1alpha.AudienceRow;
+
+ /**
+ * Encodes the specified AudienceRow message. Does not implicitly {@link google.analytics.data.v1alpha.AudienceRow.verify|verify} messages.
+ * @param message AudienceRow message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IAudienceRow, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AudienceRow message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.AudienceRow.verify|verify} messages.
+ * @param message AudienceRow message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IAudienceRow, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AudienceRow message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AudienceRow
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.AudienceRow;
+
+ /**
+ * Decodes an AudienceRow message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AudienceRow
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.AudienceRow;
+
+ /**
+ * Verifies an AudienceRow message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AudienceRow message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AudienceRow
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.AudienceRow;
+
+ /**
+ * Creates a plain object from an AudienceRow message. Also converts values to other types if specified.
+ * @param message AudienceRow
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.AudienceRow, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AudienceRow to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AudienceRow
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AudienceDimension. */
+ interface IAudienceDimension {
+
+ /** AudienceDimension dimensionName */
+ dimensionName?: (string|null);
+ }
+
+ /** Represents an AudienceDimension. */
+ class AudienceDimension implements IAudienceDimension {
+
+ /**
+ * Constructs a new AudienceDimension.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IAudienceDimension);
+
+ /** AudienceDimension dimensionName. */
+ public dimensionName: string;
+
+ /**
+ * Creates a new AudienceDimension instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AudienceDimension instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IAudienceDimension): google.analytics.data.v1alpha.AudienceDimension;
+
+ /**
+ * Encodes the specified AudienceDimension message. Does not implicitly {@link google.analytics.data.v1alpha.AudienceDimension.verify|verify} messages.
+ * @param message AudienceDimension message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IAudienceDimension, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AudienceDimension message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.AudienceDimension.verify|verify} messages.
+ * @param message AudienceDimension message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IAudienceDimension, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AudienceDimension message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AudienceDimension
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.AudienceDimension;
+
+ /**
+ * Decodes an AudienceDimension message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AudienceDimension
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.AudienceDimension;
+
+ /**
+ * Verifies an AudienceDimension message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AudienceDimension message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AudienceDimension
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.AudienceDimension;
+
+ /**
+ * Creates a plain object from an AudienceDimension message. Also converts values to other types if specified.
+ * @param message AudienceDimension
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.AudienceDimension, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AudienceDimension to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AudienceDimension
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AudienceDimensionValue. */
+ interface IAudienceDimensionValue {
+
+ /** AudienceDimensionValue value */
+ value?: (string|null);
+ }
+
+ /** Represents an AudienceDimensionValue. */
+ class AudienceDimensionValue implements IAudienceDimensionValue {
+
+ /**
+ * Constructs a new AudienceDimensionValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IAudienceDimensionValue);
+
+ /** AudienceDimensionValue value. */
+ public value?: (string|null);
+
+ /** AudienceDimensionValue oneValue. */
+ public oneValue?: "value";
+
+ /**
+ * Creates a new AudienceDimensionValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AudienceDimensionValue instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IAudienceDimensionValue): google.analytics.data.v1alpha.AudienceDimensionValue;
+
+ /**
+ * Encodes the specified AudienceDimensionValue message. Does not implicitly {@link google.analytics.data.v1alpha.AudienceDimensionValue.verify|verify} messages.
+ * @param message AudienceDimensionValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IAudienceDimensionValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AudienceDimensionValue message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.AudienceDimensionValue.verify|verify} messages.
+ * @param message AudienceDimensionValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IAudienceDimensionValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AudienceDimensionValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AudienceDimensionValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.AudienceDimensionValue;
+
+ /**
+ * Decodes an AudienceDimensionValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AudienceDimensionValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.AudienceDimensionValue;
+
+ /**
+ * Verifies an AudienceDimensionValue message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AudienceDimensionValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AudienceDimensionValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.AudienceDimensionValue;
+
+ /**
+ * Creates a plain object from an AudienceDimensionValue message. Also converts values to other types if specified.
+ * @param message AudienceDimensionValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.AudienceDimensionValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AudienceDimensionValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AudienceDimensionValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RunFunnelReportRequest. */
+ interface IRunFunnelReportRequest {
+
+ /** RunFunnelReportRequest property */
+ property?: (string|null);
+
+ /** RunFunnelReportRequest dateRanges */
+ dateRanges?: (google.analytics.data.v1alpha.IDateRange[]|null);
+
+ /** RunFunnelReportRequest funnel */
+ funnel?: (google.analytics.data.v1alpha.IFunnel|null);
+
+ /** RunFunnelReportRequest funnelBreakdown */
+ funnelBreakdown?: (google.analytics.data.v1alpha.IFunnelBreakdown|null);
+
+ /** RunFunnelReportRequest funnelNextAction */
+ funnelNextAction?: (google.analytics.data.v1alpha.IFunnelNextAction|null);
+
+ /** RunFunnelReportRequest funnelVisualizationType */
+ funnelVisualizationType?: (google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType|keyof typeof google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType|null);
+
+ /** RunFunnelReportRequest segments */
+ segments?: (google.analytics.data.v1alpha.ISegment[]|null);
+
+ /** RunFunnelReportRequest limit */
+ limit?: (number|Long|string|null);
+
+ /** RunFunnelReportRequest dimensionFilter */
+ dimensionFilter?: (google.analytics.data.v1alpha.IFilterExpression|null);
+
+ /** RunFunnelReportRequest returnPropertyQuota */
+ returnPropertyQuota?: (boolean|null);
+ }
+
+ /** Represents a RunFunnelReportRequest. */
+ class RunFunnelReportRequest implements IRunFunnelReportRequest {
+
+ /**
+ * Constructs a new RunFunnelReportRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IRunFunnelReportRequest);
+
+ /** RunFunnelReportRequest property. */
+ public property: string;
+
+ /** RunFunnelReportRequest dateRanges. */
+ public dateRanges: google.analytics.data.v1alpha.IDateRange[];
+
+ /** RunFunnelReportRequest funnel. */
+ public funnel?: (google.analytics.data.v1alpha.IFunnel|null);
+
+ /** RunFunnelReportRequest funnelBreakdown. */
+ public funnelBreakdown?: (google.analytics.data.v1alpha.IFunnelBreakdown|null);
+
+ /** RunFunnelReportRequest funnelNextAction. */
+ public funnelNextAction?: (google.analytics.data.v1alpha.IFunnelNextAction|null);
+
+ /** RunFunnelReportRequest funnelVisualizationType. */
+ public funnelVisualizationType: (google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType|keyof typeof google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType);
+
+ /** RunFunnelReportRequest segments. */
+ public segments: google.analytics.data.v1alpha.ISegment[];
+
+ /** RunFunnelReportRequest limit. */
+ public limit: (number|Long|string);
+
+ /** RunFunnelReportRequest dimensionFilter. */
+ public dimensionFilter?: (google.analytics.data.v1alpha.IFilterExpression|null);
+
+ /** RunFunnelReportRequest returnPropertyQuota. */
+ public returnPropertyQuota: boolean;
+
+ /**
+ * Creates a new RunFunnelReportRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RunFunnelReportRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IRunFunnelReportRequest): google.analytics.data.v1alpha.RunFunnelReportRequest;
+
+ /**
+ * Encodes the specified RunFunnelReportRequest message. Does not implicitly {@link google.analytics.data.v1alpha.RunFunnelReportRequest.verify|verify} messages.
+ * @param message RunFunnelReportRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IRunFunnelReportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RunFunnelReportRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.RunFunnelReportRequest.verify|verify} messages.
+ * @param message RunFunnelReportRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IRunFunnelReportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RunFunnelReportRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RunFunnelReportRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.RunFunnelReportRequest;
+
+ /**
+ * Decodes a RunFunnelReportRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RunFunnelReportRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.RunFunnelReportRequest;
+
+ /**
+ * Verifies a RunFunnelReportRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RunFunnelReportRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RunFunnelReportRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.RunFunnelReportRequest;
+
+ /**
+ * Creates a plain object from a RunFunnelReportRequest message. Also converts values to other types if specified.
+ * @param message RunFunnelReportRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.RunFunnelReportRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RunFunnelReportRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RunFunnelReportRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace RunFunnelReportRequest {
+
+ /** FunnelVisualizationType enum. */
+ enum FunnelVisualizationType {
+ FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED = 0,
+ STANDARD_FUNNEL = 1,
+ TRENDED_FUNNEL = 2
+ }
+ }
+
+ /** Properties of a RunFunnelReportResponse. */
+ interface IRunFunnelReportResponse {
+
+ /** RunFunnelReportResponse funnelTable */
+ funnelTable?: (google.analytics.data.v1alpha.IFunnelSubReport|null);
+
+ /** RunFunnelReportResponse funnelVisualization */
+ funnelVisualization?: (google.analytics.data.v1alpha.IFunnelSubReport|null);
+
+ /** RunFunnelReportResponse propertyQuota */
+ propertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
+
+ /** RunFunnelReportResponse kind */
+ kind?: (string|null);
+ }
+
+ /** Represents a RunFunnelReportResponse. */
+ class RunFunnelReportResponse implements IRunFunnelReportResponse {
+
+ /**
+ * Constructs a new RunFunnelReportResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IRunFunnelReportResponse);
+
+ /** RunFunnelReportResponse funnelTable. */
+ public funnelTable?: (google.analytics.data.v1alpha.IFunnelSubReport|null);
+
+ /** RunFunnelReportResponse funnelVisualization. */
+ public funnelVisualization?: (google.analytics.data.v1alpha.IFunnelSubReport|null);
+
+ /** RunFunnelReportResponse propertyQuota. */
+ public propertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
+
+ /** RunFunnelReportResponse kind. */
+ public kind: string;
+
+ /**
+ * Creates a new RunFunnelReportResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RunFunnelReportResponse instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IRunFunnelReportResponse): google.analytics.data.v1alpha.RunFunnelReportResponse;
+
+ /**
+ * Encodes the specified RunFunnelReportResponse message. Does not implicitly {@link google.analytics.data.v1alpha.RunFunnelReportResponse.verify|verify} messages.
+ * @param message RunFunnelReportResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IRunFunnelReportResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RunFunnelReportResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.RunFunnelReportResponse.verify|verify} messages.
+ * @param message RunFunnelReportResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IRunFunnelReportResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RunFunnelReportResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RunFunnelReportResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.RunFunnelReportResponse;
+
+ /**
+ * Decodes a RunFunnelReportResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RunFunnelReportResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.RunFunnelReportResponse;
+
+ /**
+ * Verifies a RunFunnelReportResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RunFunnelReportResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RunFunnelReportResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.RunFunnelReportResponse;
+
+ /**
+ * Creates a plain object from a RunFunnelReportResponse message. Also converts values to other types if specified.
+ * @param message RunFunnelReportResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.RunFunnelReportResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RunFunnelReportResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RunFunnelReportResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReportTask. */
+ interface IReportTask {
+
+ /** ReportTask name */
+ name?: (string|null);
+
+ /** ReportTask reportDefinition */
+ reportDefinition?: (google.analytics.data.v1alpha.ReportTask.IReportDefinition|null);
+
+ /** ReportTask reportMetadata */
+ reportMetadata?: (google.analytics.data.v1alpha.ReportTask.IReportMetadata|null);
+ }
+
+ /** Represents a ReportTask. */
+ class ReportTask implements IReportTask {
+
+ /**
+ * Constructs a new ReportTask.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IReportTask);
+
+ /** ReportTask name. */
+ public name: string;
+
+ /** ReportTask reportDefinition. */
+ public reportDefinition?: (google.analytics.data.v1alpha.ReportTask.IReportDefinition|null);
+
+ /** ReportTask reportMetadata. */
+ public reportMetadata?: (google.analytics.data.v1alpha.ReportTask.IReportMetadata|null);
+
+ /**
+ * Creates a new ReportTask instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReportTask instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IReportTask): google.analytics.data.v1alpha.ReportTask;
+
+ /**
+ * Encodes the specified ReportTask message. Does not implicitly {@link google.analytics.data.v1alpha.ReportTask.verify|verify} messages.
+ * @param message ReportTask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IReportTask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReportTask message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ReportTask.verify|verify} messages.
+ * @param message ReportTask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IReportTask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReportTask message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReportTask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ReportTask;
+
+ /**
+ * Decodes a ReportTask message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReportTask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ReportTask;
+
+ /**
+ * Verifies a ReportTask message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReportTask message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReportTask
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ReportTask;
+
+ /**
+ * Creates a plain object from a ReportTask message. Also converts values to other types if specified.
+ * @param message ReportTask
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ReportTask, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReportTask to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReportTask
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ReportTask {
+
+ /** Properties of a ReportDefinition. */
+ interface IReportDefinition {
+
+ /** ReportDefinition dimensions */
+ dimensions?: (google.analytics.data.v1alpha.IDimension[]|null);
+
+ /** ReportDefinition metrics */
+ metrics?: (google.analytics.data.v1alpha.IMetric[]|null);
+
+ /** ReportDefinition dateRanges */
+ dateRanges?: (google.analytics.data.v1alpha.IDateRange[]|null);
+
+ /** ReportDefinition dimensionFilter */
+ dimensionFilter?: (google.analytics.data.v1alpha.IFilterExpression|null);
+
+ /** ReportDefinition metricFilter */
+ metricFilter?: (google.analytics.data.v1alpha.IFilterExpression|null);
+
+ /** ReportDefinition offset */
+ offset?: (number|Long|string|null);
+
+ /** ReportDefinition limit */
+ limit?: (number|Long|string|null);
+
+ /** ReportDefinition metricAggregations */
+ metricAggregations?: (google.analytics.data.v1alpha.MetricAggregation[]|null);
+
+ /** ReportDefinition orderBys */
+ orderBys?: (google.analytics.data.v1alpha.IOrderBy[]|null);
+
+ /** ReportDefinition currencyCode */
+ currencyCode?: (string|null);
+
+ /** ReportDefinition cohortSpec */
+ cohortSpec?: (google.analytics.data.v1alpha.ICohortSpec|null);
+
+ /** ReportDefinition keepEmptyRows */
+ keepEmptyRows?: (boolean|null);
+
+ /** ReportDefinition samplingLevel */
+ samplingLevel?: (google.analytics.data.v1alpha.SamplingLevel|keyof typeof google.analytics.data.v1alpha.SamplingLevel|null);
+ }
+
+ /** Represents a ReportDefinition. */
+ class ReportDefinition implements IReportDefinition {
+
+ /**
+ * Constructs a new ReportDefinition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ReportTask.IReportDefinition);
+
+ /** ReportDefinition dimensions. */
+ public dimensions: google.analytics.data.v1alpha.IDimension[];
+
+ /** ReportDefinition metrics. */
+ public metrics: google.analytics.data.v1alpha.IMetric[];
+
+ /** ReportDefinition dateRanges. */
+ public dateRanges: google.analytics.data.v1alpha.IDateRange[];
+
+ /** ReportDefinition dimensionFilter. */
+ public dimensionFilter?: (google.analytics.data.v1alpha.IFilterExpression|null);
+
+ /** ReportDefinition metricFilter. */
+ public metricFilter?: (google.analytics.data.v1alpha.IFilterExpression|null);
+
+ /** ReportDefinition offset. */
+ public offset: (number|Long|string);
+
+ /** ReportDefinition limit. */
+ public limit: (number|Long|string);
+
+ /** ReportDefinition metricAggregations. */
+ public metricAggregations: google.analytics.data.v1alpha.MetricAggregation[];
+
+ /** ReportDefinition orderBys. */
+ public orderBys: google.analytics.data.v1alpha.IOrderBy[];
+
+ /** ReportDefinition currencyCode. */
+ public currencyCode: string;
+
+ /** ReportDefinition cohortSpec. */
+ public cohortSpec?: (google.analytics.data.v1alpha.ICohortSpec|null);
+
+ /** ReportDefinition keepEmptyRows. */
+ public keepEmptyRows: boolean;
+
+ /** ReportDefinition samplingLevel. */
+ public samplingLevel?: (google.analytics.data.v1alpha.SamplingLevel|keyof typeof google.analytics.data.v1alpha.SamplingLevel|null);
+
+ /**
+ * Creates a new ReportDefinition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReportDefinition instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ReportTask.IReportDefinition): google.analytics.data.v1alpha.ReportTask.ReportDefinition;
+
+ /**
+ * Encodes the specified ReportDefinition message. Does not implicitly {@link google.analytics.data.v1alpha.ReportTask.ReportDefinition.verify|verify} messages.
+ * @param message ReportDefinition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ReportTask.IReportDefinition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReportDefinition message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ReportTask.ReportDefinition.verify|verify} messages.
+ * @param message ReportDefinition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ReportTask.IReportDefinition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReportDefinition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReportDefinition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ReportTask.ReportDefinition;
+
+ /**
+ * Decodes a ReportDefinition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReportDefinition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ReportTask.ReportDefinition;
+
+ /**
+ * Verifies a ReportDefinition message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReportDefinition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReportDefinition
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ReportTask.ReportDefinition;
+
+ /**
+ * Creates a plain object from a ReportDefinition message. Also converts values to other types if specified.
+ * @param message ReportDefinition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ReportTask.ReportDefinition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReportDefinition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReportDefinition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReportMetadata. */
+ interface IReportMetadata {
+
+ /** ReportMetadata state */
+ state?: (google.analytics.data.v1alpha.ReportTask.ReportMetadata.State|keyof typeof google.analytics.data.v1alpha.ReportTask.ReportMetadata.State|null);
+
+ /** ReportMetadata beginCreatingTime */
+ beginCreatingTime?: (google.protobuf.ITimestamp|null);
+
+ /** ReportMetadata creationQuotaTokensCharged */
+ creationQuotaTokensCharged?: (number|null);
+
+ /** ReportMetadata taskRowCount */
+ taskRowCount?: (number|null);
+
+ /** ReportMetadata errorMessage */
+ errorMessage?: (string|null);
+
+ /** ReportMetadata totalRowCount */
+ totalRowCount?: (number|null);
+ }
+
+ /** Represents a ReportMetadata. */
+ class ReportMetadata implements IReportMetadata {
+
+ /**
+ * Constructs a new ReportMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ReportTask.IReportMetadata);
+
+ /** ReportMetadata state. */
+ public state?: (google.analytics.data.v1alpha.ReportTask.ReportMetadata.State|keyof typeof google.analytics.data.v1alpha.ReportTask.ReportMetadata.State|null);
+
+ /** ReportMetadata beginCreatingTime. */
+ public beginCreatingTime?: (google.protobuf.ITimestamp|null);
+
+ /** ReportMetadata creationQuotaTokensCharged. */
+ public creationQuotaTokensCharged: number;
+
+ /** ReportMetadata taskRowCount. */
+ public taskRowCount?: (number|null);
+
+ /** ReportMetadata errorMessage. */
+ public errorMessage?: (string|null);
+
+ /** ReportMetadata totalRowCount. */
+ public totalRowCount?: (number|null);
+
+ /**
+ * Creates a new ReportMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReportMetadata instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ReportTask.IReportMetadata): google.analytics.data.v1alpha.ReportTask.ReportMetadata;
+
+ /**
+ * Encodes the specified ReportMetadata message. Does not implicitly {@link google.analytics.data.v1alpha.ReportTask.ReportMetadata.verify|verify} messages.
+ * @param message ReportMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ReportTask.IReportMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReportMetadata message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ReportTask.ReportMetadata.verify|verify} messages.
+ * @param message ReportMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ReportTask.IReportMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReportMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReportMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ReportTask.ReportMetadata;
+
+ /**
+ * Decodes a ReportMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReportMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ReportTask.ReportMetadata;
+
+ /**
+ * Verifies a ReportMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReportMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReportMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ReportTask.ReportMetadata;
+
+ /**
+ * Creates a plain object from a ReportMetadata message. Also converts values to other types if specified.
+ * @param message ReportMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ReportTask.ReportMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReportMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReportMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ReportMetadata {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ CREATING = 1,
+ ACTIVE = 2,
+ FAILED = 3
+ }
+ }
+ }
+
+ /** Properties of a CreateReportTaskRequest. */
+ interface ICreateReportTaskRequest {
+
+ /** CreateReportTaskRequest parent */
+ parent?: (string|null);
+
+ /** CreateReportTaskRequest reportTask */
+ reportTask?: (google.analytics.data.v1alpha.IReportTask|null);
+ }
+
+ /** Represents a CreateReportTaskRequest. */
+ class CreateReportTaskRequest implements ICreateReportTaskRequest {
+
+ /**
+ * Constructs a new CreateReportTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ICreateReportTaskRequest);
+
+ /** CreateReportTaskRequest parent. */
+ public parent: string;
+
+ /** CreateReportTaskRequest reportTask. */
+ public reportTask?: (google.analytics.data.v1alpha.IReportTask|null);
+
+ /**
+ * Creates a new CreateReportTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateReportTaskRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ICreateReportTaskRequest): google.analytics.data.v1alpha.CreateReportTaskRequest;
+
+ /**
+ * Encodes the specified CreateReportTaskRequest message. Does not implicitly {@link google.analytics.data.v1alpha.CreateReportTaskRequest.verify|verify} messages.
+ * @param message CreateReportTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ICreateReportTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateReportTaskRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.CreateReportTaskRequest.verify|verify} messages.
+ * @param message CreateReportTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ICreateReportTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateReportTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateReportTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.CreateReportTaskRequest;
+
+ /**
+ * Decodes a CreateReportTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateReportTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.CreateReportTaskRequest;
+
+ /**
+ * Verifies a CreateReportTaskRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateReportTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateReportTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.CreateReportTaskRequest;
+
+ /**
+ * Creates a plain object from a CreateReportTaskRequest message. Also converts values to other types if specified.
+ * @param message CreateReportTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.CreateReportTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateReportTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateReportTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReportTaskMetadata. */
+ interface IReportTaskMetadata {
+ }
+
+ /** Represents a ReportTaskMetadata. */
+ class ReportTaskMetadata implements IReportTaskMetadata {
+
+ /**
+ * Constructs a new ReportTaskMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IReportTaskMetadata);
+
+ /**
+ * Creates a new ReportTaskMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReportTaskMetadata instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IReportTaskMetadata): google.analytics.data.v1alpha.ReportTaskMetadata;
+
+ /**
+ * Encodes the specified ReportTaskMetadata message. Does not implicitly {@link google.analytics.data.v1alpha.ReportTaskMetadata.verify|verify} messages.
+ * @param message ReportTaskMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IReportTaskMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReportTaskMetadata message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ReportTaskMetadata.verify|verify} messages.
+ * @param message ReportTaskMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IReportTaskMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReportTaskMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReportTaskMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ReportTaskMetadata;
+
+ /**
+ * Decodes a ReportTaskMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReportTaskMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ReportTaskMetadata;
+
+ /**
+ * Verifies a ReportTaskMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReportTaskMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReportTaskMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ReportTaskMetadata;
+
+ /**
+ * Creates a plain object from a ReportTaskMetadata message. Also converts values to other types if specified.
+ * @param message ReportTaskMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ReportTaskMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReportTaskMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReportTaskMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a QueryReportTaskRequest. */
+ interface IQueryReportTaskRequest {
+
+ /** QueryReportTaskRequest name */
+ name?: (string|null);
+
+ /** QueryReportTaskRequest offset */
+ offset?: (number|Long|string|null);
+
+ /** QueryReportTaskRequest limit */
+ limit?: (number|Long|string|null);
+ }
+
+ /** Represents a QueryReportTaskRequest. */
+ class QueryReportTaskRequest implements IQueryReportTaskRequest {
+
+ /**
+ * Constructs a new QueryReportTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IQueryReportTaskRequest);
+
+ /** QueryReportTaskRequest name. */
+ public name: string;
+
+ /** QueryReportTaskRequest offset. */
+ public offset: (number|Long|string);
+
+ /** QueryReportTaskRequest limit. */
+ public limit: (number|Long|string);
+
+ /**
+ * Creates a new QueryReportTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QueryReportTaskRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IQueryReportTaskRequest): google.analytics.data.v1alpha.QueryReportTaskRequest;
+
+ /**
+ * Encodes the specified QueryReportTaskRequest message. Does not implicitly {@link google.analytics.data.v1alpha.QueryReportTaskRequest.verify|verify} messages.
+ * @param message QueryReportTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IQueryReportTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QueryReportTaskRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.QueryReportTaskRequest.verify|verify} messages.
+ * @param message QueryReportTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IQueryReportTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QueryReportTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QueryReportTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.QueryReportTaskRequest;
+
+ /**
+ * Decodes a QueryReportTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QueryReportTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.QueryReportTaskRequest;
+
+ /**
+ * Verifies a QueryReportTaskRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a QueryReportTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QueryReportTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.QueryReportTaskRequest;
+
+ /**
+ * Creates a plain object from a QueryReportTaskRequest message. Also converts values to other types if specified.
+ * @param message QueryReportTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.QueryReportTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QueryReportTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QueryReportTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a QueryReportTaskResponse. */
+ interface IQueryReportTaskResponse {
+
+ /** QueryReportTaskResponse dimensionHeaders */
+ dimensionHeaders?: (google.analytics.data.v1alpha.IDimensionHeader[]|null);
+
+ /** QueryReportTaskResponse metricHeaders */
+ metricHeaders?: (google.analytics.data.v1alpha.IMetricHeader[]|null);
+
+ /** QueryReportTaskResponse rows */
+ rows?: (google.analytics.data.v1alpha.IRow[]|null);
+
+ /** QueryReportTaskResponse totals */
+ totals?: (google.analytics.data.v1alpha.IRow[]|null);
+
+ /** QueryReportTaskResponse maximums */
+ maximums?: (google.analytics.data.v1alpha.IRow[]|null);
+
+ /** QueryReportTaskResponse minimums */
+ minimums?: (google.analytics.data.v1alpha.IRow[]|null);
+
+ /** QueryReportTaskResponse rowCount */
+ rowCount?: (number|null);
+
+ /** QueryReportTaskResponse metadata */
+ metadata?: (google.analytics.data.v1alpha.IResponseMetaData|null);
+ }
+
+ /** Represents a QueryReportTaskResponse. */
+ class QueryReportTaskResponse implements IQueryReportTaskResponse {
+
+ /**
+ * Constructs a new QueryReportTaskResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IQueryReportTaskResponse);
+
+ /** QueryReportTaskResponse dimensionHeaders. */
+ public dimensionHeaders: google.analytics.data.v1alpha.IDimensionHeader[];
+
+ /** QueryReportTaskResponse metricHeaders. */
+ public metricHeaders: google.analytics.data.v1alpha.IMetricHeader[];
+
+ /** QueryReportTaskResponse rows. */
+ public rows: google.analytics.data.v1alpha.IRow[];
+
+ /** QueryReportTaskResponse totals. */
+ public totals: google.analytics.data.v1alpha.IRow[];
+
+ /** QueryReportTaskResponse maximums. */
+ public maximums: google.analytics.data.v1alpha.IRow[];
+
+ /** QueryReportTaskResponse minimums. */
+ public minimums: google.analytics.data.v1alpha.IRow[];
+
+ /** QueryReportTaskResponse rowCount. */
+ public rowCount: number;
+
+ /** QueryReportTaskResponse metadata. */
+ public metadata?: (google.analytics.data.v1alpha.IResponseMetaData|null);
+
+ /**
+ * Creates a new QueryReportTaskResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QueryReportTaskResponse instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IQueryReportTaskResponse): google.analytics.data.v1alpha.QueryReportTaskResponse;
+
+ /**
+ * Encodes the specified QueryReportTaskResponse message. Does not implicitly {@link google.analytics.data.v1alpha.QueryReportTaskResponse.verify|verify} messages.
+ * @param message QueryReportTaskResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IQueryReportTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QueryReportTaskResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.QueryReportTaskResponse.verify|verify} messages.
+ * @param message QueryReportTaskResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IQueryReportTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QueryReportTaskResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QueryReportTaskResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.QueryReportTaskResponse;
+
+ /**
+ * Decodes a QueryReportTaskResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QueryReportTaskResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.QueryReportTaskResponse;
+
+ /**
+ * Verifies a QueryReportTaskResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a QueryReportTaskResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QueryReportTaskResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.QueryReportTaskResponse;
+
+ /**
+ * Creates a plain object from a QueryReportTaskResponse message. Also converts values to other types if specified.
+ * @param message QueryReportTaskResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.QueryReportTaskResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QueryReportTaskResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QueryReportTaskResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetReportTaskRequest. */
+ interface IGetReportTaskRequest {
+
+ /** GetReportTaskRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetReportTaskRequest. */
+ class GetReportTaskRequest implements IGetReportTaskRequest {
+
+ /**
+ * Constructs a new GetReportTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IGetReportTaskRequest);
+
+ /** GetReportTaskRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetReportTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetReportTaskRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IGetReportTaskRequest): google.analytics.data.v1alpha.GetReportTaskRequest;
+
+ /**
+ * Encodes the specified GetReportTaskRequest message. Does not implicitly {@link google.analytics.data.v1alpha.GetReportTaskRequest.verify|verify} messages.
+ * @param message GetReportTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IGetReportTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetReportTaskRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.GetReportTaskRequest.verify|verify} messages.
+ * @param message GetReportTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IGetReportTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetReportTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetReportTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.GetReportTaskRequest;
+
+ /**
+ * Decodes a GetReportTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetReportTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.GetReportTaskRequest;
+
+ /**
+ * Verifies a GetReportTaskRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetReportTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetReportTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.GetReportTaskRequest;
+
+ /**
+ * Creates a plain object from a GetReportTaskRequest message. Also converts values to other types if specified.
+ * @param message GetReportTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.GetReportTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetReportTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetReportTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListReportTasksRequest. */
+ interface IListReportTasksRequest {
+
+ /** ListReportTasksRequest parent */
+ parent?: (string|null);
+
+ /** ListReportTasksRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListReportTasksRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListReportTasksRequest. */
+ class ListReportTasksRequest implements IListReportTasksRequest {
+
+ /**
+ * Constructs a new ListReportTasksRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IListReportTasksRequest);
+
+ /** ListReportTasksRequest parent. */
+ public parent: string;
+
+ /** ListReportTasksRequest pageSize. */
+ public pageSize: number;
+
+ /** ListReportTasksRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListReportTasksRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListReportTasksRequest instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IListReportTasksRequest): google.analytics.data.v1alpha.ListReportTasksRequest;
+
+ /**
+ * Encodes the specified ListReportTasksRequest message. Does not implicitly {@link google.analytics.data.v1alpha.ListReportTasksRequest.verify|verify} messages.
+ * @param message ListReportTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IListReportTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListReportTasksRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ListReportTasksRequest.verify|verify} messages.
+ * @param message ListReportTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IListReportTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListReportTasksRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListReportTasksRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ListReportTasksRequest;
+
+ /**
+ * Decodes a ListReportTasksRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListReportTasksRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ListReportTasksRequest;
+
+ /**
+ * Verifies a ListReportTasksRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListReportTasksRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListReportTasksRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ListReportTasksRequest;
+
+ /**
+ * Creates a plain object from a ListReportTasksRequest message. Also converts values to other types if specified.
+ * @param message ListReportTasksRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ListReportTasksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListReportTasksRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListReportTasksRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListReportTasksResponse. */
+ interface IListReportTasksResponse {
+
+ /** ListReportTasksResponse reportTasks */
+ reportTasks?: (google.analytics.data.v1alpha.IReportTask[]|null);
+
+ /** ListReportTasksResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListReportTasksResponse. */
+ class ListReportTasksResponse implements IListReportTasksResponse {
+
+ /**
+ * Constructs a new ListReportTasksResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IListReportTasksResponse);
+
+ /** ListReportTasksResponse reportTasks. */
+ public reportTasks: google.analytics.data.v1alpha.IReportTask[];
+
+ /** ListReportTasksResponse nextPageToken. */
+ public nextPageToken?: (string|null);
+
+ /**
+ * Creates a new ListReportTasksResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListReportTasksResponse instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IListReportTasksResponse): google.analytics.data.v1alpha.ListReportTasksResponse;
+
+ /**
+ * Encodes the specified ListReportTasksResponse message. Does not implicitly {@link google.analytics.data.v1alpha.ListReportTasksResponse.verify|verify} messages.
+ * @param message ListReportTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IListReportTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListReportTasksResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ListReportTasksResponse.verify|verify} messages.
+ * @param message ListReportTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IListReportTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListReportTasksResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListReportTasksResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ListReportTasksResponse;
+
+ /**
+ * Decodes a ListReportTasksResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListReportTasksResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ListReportTasksResponse;
+
+ /**
+ * Verifies a ListReportTasksResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListReportTasksResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListReportTasksResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ListReportTasksResponse;
+
+ /**
+ * Creates a plain object from a ListReportTasksResponse message. Also converts values to other types if specified.
+ * @param message ListReportTasksResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ListReportTasksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListReportTasksResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListReportTasksResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DateRange. */
+ interface IDateRange {
+
+ /** DateRange startDate */
+ startDate?: (string|null);
+
+ /** DateRange endDate */
+ endDate?: (string|null);
+
+ /** DateRange name */
+ name?: (string|null);
+ }
+
+ /** Represents a DateRange. */
+ class DateRange implements IDateRange {
+
+ /**
+ * Constructs a new DateRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IDateRange);
+
+ /** DateRange startDate. */
+ public startDate: string;
+
+ /** DateRange endDate. */
+ public endDate: string;
+
+ /** DateRange name. */
+ public name: string;
+
+ /**
+ * Creates a new DateRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DateRange instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IDateRange): google.analytics.data.v1alpha.DateRange;
+
+ /**
+ * Encodes the specified DateRange message. Does not implicitly {@link google.analytics.data.v1alpha.DateRange.verify|verify} messages.
+ * @param message DateRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IDateRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DateRange message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.DateRange.verify|verify} messages.
+ * @param message DateRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IDateRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DateRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DateRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.DateRange;
+
+ /**
+ * Decodes a DateRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DateRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.DateRange;
+
+ /**
+ * Verifies a DateRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DateRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DateRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.DateRange;
+
+ /**
+ * Creates a plain object from a DateRange message. Also converts values to other types if specified.
+ * @param message DateRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.DateRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DateRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DateRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Dimension. */
+ interface IDimension {
+
+ /** Dimension name */
+ name?: (string|null);
+
+ /** Dimension dimensionExpression */
+ dimensionExpression?: (google.analytics.data.v1alpha.IDimensionExpression|null);
+ }
+
+ /** Represents a Dimension. */
+ class Dimension implements IDimension {
+
+ /**
+ * Constructs a new Dimension.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IDimension);
+
+ /** Dimension name. */
+ public name: string;
+
+ /** Dimension dimensionExpression. */
+ public dimensionExpression?: (google.analytics.data.v1alpha.IDimensionExpression|null);
+
+ /**
+ * Creates a new Dimension instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Dimension instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IDimension): google.analytics.data.v1alpha.Dimension;
+
+ /**
+ * Encodes the specified Dimension message. Does not implicitly {@link google.analytics.data.v1alpha.Dimension.verify|verify} messages.
+ * @param message Dimension message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IDimension, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Dimension message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.Dimension.verify|verify} messages.
+ * @param message Dimension message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IDimension, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Dimension message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Dimension
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.Dimension;
+
+ /**
+ * Decodes a Dimension message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Dimension
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.Dimension;
+
+ /**
+ * Verifies a Dimension message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Dimension message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Dimension
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.Dimension;
+
+ /**
+ * Creates a plain object from a Dimension message. Also converts values to other types if specified.
+ * @param message Dimension
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.Dimension, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Dimension to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Dimension
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DimensionExpression. */
+ interface IDimensionExpression {
+
+ /** DimensionExpression lowerCase */
+ lowerCase?: (google.analytics.data.v1alpha.DimensionExpression.ICaseExpression|null);
+
+ /** DimensionExpression upperCase */
+ upperCase?: (google.analytics.data.v1alpha.DimensionExpression.ICaseExpression|null);
+
+ /** DimensionExpression concatenate */
+ concatenate?: (google.analytics.data.v1alpha.DimensionExpression.IConcatenateExpression|null);
+ }
+
+ /** Represents a DimensionExpression. */
+ class DimensionExpression implements IDimensionExpression {
+
+ /**
+ * Constructs a new DimensionExpression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IDimensionExpression);
+
+ /** DimensionExpression lowerCase. */
+ public lowerCase?: (google.analytics.data.v1alpha.DimensionExpression.ICaseExpression|null);
+
+ /** DimensionExpression upperCase. */
+ public upperCase?: (google.analytics.data.v1alpha.DimensionExpression.ICaseExpression|null);
+
+ /** DimensionExpression concatenate. */
+ public concatenate?: (google.analytics.data.v1alpha.DimensionExpression.IConcatenateExpression|null);
+
+ /** DimensionExpression oneExpression. */
+ public oneExpression?: ("lowerCase"|"upperCase"|"concatenate");
+
+ /**
+ * Creates a new DimensionExpression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DimensionExpression instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IDimensionExpression): google.analytics.data.v1alpha.DimensionExpression;
+
+ /**
+ * Encodes the specified DimensionExpression message. Does not implicitly {@link google.analytics.data.v1alpha.DimensionExpression.verify|verify} messages.
+ * @param message DimensionExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IDimensionExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DimensionExpression message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.DimensionExpression.verify|verify} messages.
+ * @param message DimensionExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IDimensionExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DimensionExpression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DimensionExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.DimensionExpression;
+
+ /**
+ * Decodes a DimensionExpression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DimensionExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.DimensionExpression;
+
+ /**
+ * Verifies a DimensionExpression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DimensionExpression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DimensionExpression
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.DimensionExpression;
+
+ /**
+ * Creates a plain object from a DimensionExpression message. Also converts values to other types if specified.
+ * @param message DimensionExpression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.DimensionExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DimensionExpression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DimensionExpression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DimensionExpression {
+
+ /** Properties of a CaseExpression. */
+ interface ICaseExpression {
+
+ /** CaseExpression dimensionName */
+ dimensionName?: (string|null);
+ }
+
+ /** Represents a CaseExpression. */
+ class CaseExpression implements ICaseExpression {
+
+ /**
+ * Constructs a new CaseExpression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.DimensionExpression.ICaseExpression);
+
+ /** CaseExpression dimensionName. */
+ public dimensionName: string;
+
+ /**
+ * Creates a new CaseExpression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CaseExpression instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.DimensionExpression.ICaseExpression): google.analytics.data.v1alpha.DimensionExpression.CaseExpression;
+
+ /**
+ * Encodes the specified CaseExpression message. Does not implicitly {@link google.analytics.data.v1alpha.DimensionExpression.CaseExpression.verify|verify} messages.
+ * @param message CaseExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.DimensionExpression.ICaseExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CaseExpression message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.DimensionExpression.CaseExpression.verify|verify} messages.
+ * @param message CaseExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.DimensionExpression.ICaseExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CaseExpression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CaseExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.DimensionExpression.CaseExpression;
+
+ /**
+ * Decodes a CaseExpression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CaseExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.DimensionExpression.CaseExpression;
+
+ /**
+ * Verifies a CaseExpression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CaseExpression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CaseExpression
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.DimensionExpression.CaseExpression;
+
+ /**
+ * Creates a plain object from a CaseExpression message. Also converts values to other types if specified.
+ * @param message CaseExpression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.DimensionExpression.CaseExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CaseExpression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CaseExpression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ConcatenateExpression. */
+ interface IConcatenateExpression {
+
+ /** ConcatenateExpression dimensionNames */
+ dimensionNames?: (string[]|null);
+
+ /** ConcatenateExpression delimiter */
+ delimiter?: (string|null);
+ }
+
+ /** Represents a ConcatenateExpression. */
+ class ConcatenateExpression implements IConcatenateExpression {
+
+ /**
+ * Constructs a new ConcatenateExpression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.DimensionExpression.IConcatenateExpression);
+
+ /** ConcatenateExpression dimensionNames. */
+ public dimensionNames: string[];
+
+ /** ConcatenateExpression delimiter. */
+ public delimiter: string;
+
+ /**
+ * Creates a new ConcatenateExpression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ConcatenateExpression instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.DimensionExpression.IConcatenateExpression): google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression;
+
+ /**
+ * Encodes the specified ConcatenateExpression message. Does not implicitly {@link google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.verify|verify} messages.
+ * @param message ConcatenateExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.DimensionExpression.IConcatenateExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ConcatenateExpression message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.verify|verify} messages.
+ * @param message ConcatenateExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.DimensionExpression.IConcatenateExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ConcatenateExpression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ConcatenateExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression;
+
+ /**
+ * Decodes a ConcatenateExpression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ConcatenateExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression;
+
+ /**
+ * Verifies a ConcatenateExpression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ConcatenateExpression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ConcatenateExpression
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression;
+
+ /**
+ * Creates a plain object from a ConcatenateExpression message. Also converts values to other types if specified.
+ * @param message ConcatenateExpression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ConcatenateExpression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ConcatenateExpression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a Metric. */
+ interface IMetric {
+
+ /** Metric name */
+ name?: (string|null);
+
+ /** Metric expression */
+ expression?: (string|null);
+
+ /** Metric invisible */
+ invisible?: (boolean|null);
+ }
+
+ /** Represents a Metric. */
+ class Metric implements IMetric {
+
+ /**
+ * Constructs a new Metric.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IMetric);
+
+ /** Metric name. */
+ public name: string;
+
+ /** Metric expression. */
+ public expression: string;
+
+ /** Metric invisible. */
+ public invisible: boolean;
+
+ /**
+ * Creates a new Metric instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Metric instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IMetric): google.analytics.data.v1alpha.Metric;
+
+ /**
+ * Encodes the specified Metric message. Does not implicitly {@link google.analytics.data.v1alpha.Metric.verify|verify} messages.
+ * @param message Metric message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IMetric, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Metric message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.Metric.verify|verify} messages.
+ * @param message Metric message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IMetric, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Metric message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Metric
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.Metric;
+
+ /**
+ * Decodes a Metric message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Metric
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.Metric;
+
+ /**
+ * Verifies a Metric message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Metric message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Metric
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.Metric;
+
+ /**
+ * Creates a plain object from a Metric message. Also converts values to other types if specified.
+ * @param message Metric
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.Metric, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Metric to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Metric
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FilterExpression. */
+ interface IFilterExpression {
+
+ /** FilterExpression andGroup */
+ andGroup?: (google.analytics.data.v1alpha.IFilterExpressionList|null);
+
+ /** FilterExpression orGroup */
+ orGroup?: (google.analytics.data.v1alpha.IFilterExpressionList|null);
+
+ /** FilterExpression notExpression */
+ notExpression?: (google.analytics.data.v1alpha.IFilterExpression|null);
+
+ /** FilterExpression filter */
+ filter?: (google.analytics.data.v1alpha.IFilter|null);
+ }
+
+ /** Represents a FilterExpression. */
+ class FilterExpression implements IFilterExpression {
+
+ /**
+ * Constructs a new FilterExpression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFilterExpression);
+
+ /** FilterExpression andGroup. */
+ public andGroup?: (google.analytics.data.v1alpha.IFilterExpressionList|null);
+
+ /** FilterExpression orGroup. */
+ public orGroup?: (google.analytics.data.v1alpha.IFilterExpressionList|null);
+
+ /** FilterExpression notExpression. */
+ public notExpression?: (google.analytics.data.v1alpha.IFilterExpression|null);
+
+ /** FilterExpression filter. */
+ public filter?: (google.analytics.data.v1alpha.IFilter|null);
+
+ /** FilterExpression expr. */
+ public expr?: ("andGroup"|"orGroup"|"notExpression"|"filter");
+
+ /**
+ * Creates a new FilterExpression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FilterExpression instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFilterExpression): google.analytics.data.v1alpha.FilterExpression;
+
+ /**
+ * Encodes the specified FilterExpression message. Does not implicitly {@link google.analytics.data.v1alpha.FilterExpression.verify|verify} messages.
+ * @param message FilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FilterExpression message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FilterExpression.verify|verify} messages.
+ * @param message FilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FilterExpression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FilterExpression;
+
+ /**
+ * Decodes a FilterExpression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FilterExpression;
+
+ /**
+ * Verifies a FilterExpression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FilterExpression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FilterExpression
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FilterExpression;
+
+ /**
+ * Creates a plain object from a FilterExpression message. Also converts values to other types if specified.
+ * @param message FilterExpression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FilterExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FilterExpression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FilterExpression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FilterExpressionList. */
+ interface IFilterExpressionList {
+
+ /** FilterExpressionList expressions */
+ expressions?: (google.analytics.data.v1alpha.IFilterExpression[]|null);
+ }
+
+ /** Represents a FilterExpressionList. */
+ class FilterExpressionList implements IFilterExpressionList {
+
+ /**
+ * Constructs a new FilterExpressionList.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFilterExpressionList);
+
+ /** FilterExpressionList expressions. */
+ public expressions: google.analytics.data.v1alpha.IFilterExpression[];
+
+ /**
+ * Creates a new FilterExpressionList instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FilterExpressionList instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFilterExpressionList): google.analytics.data.v1alpha.FilterExpressionList;
+
+ /**
+ * Encodes the specified FilterExpressionList message. Does not implicitly {@link google.analytics.data.v1alpha.FilterExpressionList.verify|verify} messages.
+ * @param message FilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FilterExpressionList message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FilterExpressionList.verify|verify} messages.
+ * @param message FilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FilterExpressionList message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FilterExpressionList;
+
+ /**
+ * Decodes a FilterExpressionList message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FilterExpressionList;
+
+ /**
+ * Verifies a FilterExpressionList message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FilterExpressionList message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FilterExpressionList
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FilterExpressionList;
+
+ /**
+ * Creates a plain object from a FilterExpressionList message. Also converts values to other types if specified.
+ * @param message FilterExpressionList
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FilterExpressionList, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FilterExpressionList to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FilterExpressionList
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Filter. */
+ interface IFilter {
+
+ /** Filter fieldName */
+ fieldName?: (string|null);
+
+ /** Filter stringFilter */
+ stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** Filter inListFilter */
+ inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** Filter numericFilter */
+ numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** Filter betweenFilter */
+ betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+
+ /** Filter emptyFilter */
+ emptyFilter?: (google.analytics.data.v1alpha.IEmptyFilter|null);
+ }
+
+ /** Represents a Filter. */
+ class Filter implements IFilter {
+
+ /**
+ * Constructs a new Filter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFilter);
+
+ /** Filter fieldName. */
+ public fieldName: string;
+
+ /** Filter stringFilter. */
+ public stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** Filter inListFilter. */
+ public inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** Filter numericFilter. */
+ public numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** Filter betweenFilter. */
+ public betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+
+ /** Filter emptyFilter. */
+ public emptyFilter?: (google.analytics.data.v1alpha.IEmptyFilter|null);
+
+ /** Filter oneFilter. */
+ public oneFilter?: ("stringFilter"|"inListFilter"|"numericFilter"|"betweenFilter"|"emptyFilter");
+
+ /**
+ * Creates a new Filter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Filter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFilter): google.analytics.data.v1alpha.Filter;
+
+ /**
+ * Encodes the specified Filter message. Does not implicitly {@link google.analytics.data.v1alpha.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.analytics.data.v1alpha.IFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Filter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.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.analytics.data.v1alpha.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.analytics.data.v1alpha.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.analytics.data.v1alpha.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.analytics.data.v1alpha.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.analytics.data.v1alpha.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 StringFilter. */
+ interface IStringFilter {
+
+ /** StringFilter matchType */
+ matchType?: (google.analytics.data.v1alpha.StringFilter.MatchType|keyof typeof google.analytics.data.v1alpha.StringFilter.MatchType|null);
+
+ /** StringFilter value */
+ value?: (string|null);
+
+ /** StringFilter caseSensitive */
+ caseSensitive?: (boolean|null);
+ }
+
+ /** Represents a StringFilter. */
+ class StringFilter implements IStringFilter {
+
+ /**
+ * Constructs a new StringFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IStringFilter);
+
+ /** StringFilter matchType. */
+ public matchType: (google.analytics.data.v1alpha.StringFilter.MatchType|keyof typeof google.analytics.data.v1alpha.StringFilter.MatchType);
+
+ /** StringFilter value. */
+ public value: string;
+
+ /** StringFilter caseSensitive. */
+ public caseSensitive: boolean;
+
+ /**
+ * Creates a new StringFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StringFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IStringFilter): google.analytics.data.v1alpha.StringFilter;
+
+ /**
+ * Encodes the specified StringFilter message. Does not implicitly {@link google.analytics.data.v1alpha.StringFilter.verify|verify} messages.
+ * @param message StringFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IStringFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StringFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.StringFilter.verify|verify} messages.
+ * @param message StringFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IStringFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StringFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StringFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.StringFilter;
+
+ /**
+ * Decodes a StringFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StringFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.StringFilter;
+
+ /**
+ * Verifies a StringFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StringFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StringFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.StringFilter;
+
+ /**
+ * Creates a plain object from a StringFilter message. Also converts values to other types if specified.
+ * @param message StringFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.StringFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StringFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StringFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace StringFilter {
+
+ /** MatchType enum. */
+ enum MatchType {
+ MATCH_TYPE_UNSPECIFIED = 0,
+ EXACT = 1,
+ BEGINS_WITH = 2,
+ ENDS_WITH = 3,
+ CONTAINS = 4,
+ FULL_REGEXP = 5,
+ PARTIAL_REGEXP = 6
+ }
+ }
+
+ /** Properties of an InListFilter. */
+ interface IInListFilter {
+
+ /** InListFilter values */
+ values?: (string[]|null);
+
+ /** InListFilter caseSensitive */
+ caseSensitive?: (boolean|null);
+ }
+
+ /** Represents an InListFilter. */
+ class InListFilter implements IInListFilter {
+
+ /**
+ * Constructs a new InListFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IInListFilter);
+
+ /** InListFilter values. */
+ public values: string[];
+
+ /** InListFilter caseSensitive. */
+ public caseSensitive: boolean;
+
+ /**
+ * Creates a new InListFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InListFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IInListFilter): google.analytics.data.v1alpha.InListFilter;
+
+ /**
+ * Encodes the specified InListFilter message. Does not implicitly {@link google.analytics.data.v1alpha.InListFilter.verify|verify} messages.
+ * @param message InListFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IInListFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InListFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.InListFilter.verify|verify} messages.
+ * @param message InListFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IInListFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InListFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InListFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.InListFilter;
+
+ /**
+ * Decodes an InListFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InListFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.InListFilter;
+
+ /**
+ * Verifies an InListFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an InListFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InListFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.InListFilter;
+
+ /**
+ * Creates a plain object from an InListFilter message. Also converts values to other types if specified.
+ * @param message InListFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.InListFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InListFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InListFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a NumericFilter. */
+ interface INumericFilter {
+
+ /** NumericFilter operation */
+ operation?: (google.analytics.data.v1alpha.NumericFilter.Operation|keyof typeof google.analytics.data.v1alpha.NumericFilter.Operation|null);
+
+ /** NumericFilter value */
+ value?: (google.analytics.data.v1alpha.INumericValue|null);
+ }
+
+ /** Represents a NumericFilter. */
+ class NumericFilter implements INumericFilter {
+
+ /**
+ * Constructs a new NumericFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.INumericFilter);
+
+ /** NumericFilter operation. */
+ public operation: (google.analytics.data.v1alpha.NumericFilter.Operation|keyof typeof google.analytics.data.v1alpha.NumericFilter.Operation);
+
+ /** NumericFilter value. */
+ public value?: (google.analytics.data.v1alpha.INumericValue|null);
+
+ /**
+ * Creates a new NumericFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NumericFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.INumericFilter): google.analytics.data.v1alpha.NumericFilter;
+
+ /**
+ * Encodes the specified NumericFilter message. Does not implicitly {@link google.analytics.data.v1alpha.NumericFilter.verify|verify} messages.
+ * @param message NumericFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.INumericFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NumericFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.NumericFilter.verify|verify} messages.
+ * @param message NumericFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.INumericFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NumericFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NumericFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.NumericFilter;
+
+ /**
+ * Decodes a NumericFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NumericFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.NumericFilter;
+
+ /**
+ * Verifies a NumericFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NumericFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NumericFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.NumericFilter;
+
+ /**
+ * Creates a plain object from a NumericFilter message. Also converts values to other types if specified.
+ * @param message NumericFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.NumericFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NumericFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NumericFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace NumericFilter {
+
+ /** Operation enum. */
+ enum Operation {
+ OPERATION_UNSPECIFIED = 0,
+ EQUAL = 1,
+ LESS_THAN = 2,
+ LESS_THAN_OR_EQUAL = 3,
+ GREATER_THAN = 4,
+ GREATER_THAN_OR_EQUAL = 5
+ }
+ }
+
+ /** Properties of an OrderBy. */
+ interface IOrderBy {
+
+ /** OrderBy metric */
+ metric?: (google.analytics.data.v1alpha.OrderBy.IMetricOrderBy|null);
+
+ /** OrderBy dimension */
+ dimension?: (google.analytics.data.v1alpha.OrderBy.IDimensionOrderBy|null);
+
+ /** OrderBy desc */
+ desc?: (boolean|null);
+ }
+
+ /** Represents an OrderBy. */
+ class OrderBy implements IOrderBy {
+
+ /**
+ * Constructs a new OrderBy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IOrderBy);
+
+ /** OrderBy metric. */
+ public metric?: (google.analytics.data.v1alpha.OrderBy.IMetricOrderBy|null);
+
+ /** OrderBy dimension. */
+ public dimension?: (google.analytics.data.v1alpha.OrderBy.IDimensionOrderBy|null);
+
+ /** OrderBy desc. */
+ public desc: boolean;
+
+ /** OrderBy oneOrderBy. */
+ public oneOrderBy?: ("metric"|"dimension");
+
+ /**
+ * Creates a new OrderBy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OrderBy instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IOrderBy): google.analytics.data.v1alpha.OrderBy;
+
+ /**
+ * Encodes the specified OrderBy message. Does not implicitly {@link google.analytics.data.v1alpha.OrderBy.verify|verify} messages.
+ * @param message OrderBy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IOrderBy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OrderBy message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.OrderBy.verify|verify} messages.
+ * @param message OrderBy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IOrderBy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OrderBy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OrderBy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.OrderBy;
+
+ /**
+ * Decodes an OrderBy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OrderBy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.OrderBy;
+
+ /**
+ * Verifies an OrderBy message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OrderBy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OrderBy
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.OrderBy;
+
+ /**
+ * Creates a plain object from an OrderBy message. Also converts values to other types if specified.
+ * @param message OrderBy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.OrderBy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OrderBy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OrderBy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace OrderBy {
+
+ /** Properties of a MetricOrderBy. */
+ interface IMetricOrderBy {
+
+ /** MetricOrderBy metricName */
+ metricName?: (string|null);
+ }
+
+ /** Represents a MetricOrderBy. */
+ class MetricOrderBy implements IMetricOrderBy {
+
+ /**
+ * Constructs a new MetricOrderBy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.OrderBy.IMetricOrderBy);
+
+ /** MetricOrderBy metricName. */
+ public metricName: string;
+
+ /**
+ * Creates a new MetricOrderBy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MetricOrderBy instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.OrderBy.IMetricOrderBy): google.analytics.data.v1alpha.OrderBy.MetricOrderBy;
+
+ /**
+ * Encodes the specified MetricOrderBy message. Does not implicitly {@link google.analytics.data.v1alpha.OrderBy.MetricOrderBy.verify|verify} messages.
+ * @param message MetricOrderBy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.OrderBy.IMetricOrderBy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MetricOrderBy message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.OrderBy.MetricOrderBy.verify|verify} messages.
+ * @param message MetricOrderBy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.OrderBy.IMetricOrderBy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MetricOrderBy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MetricOrderBy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.OrderBy.MetricOrderBy;
+
+ /**
+ * Decodes a MetricOrderBy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MetricOrderBy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.OrderBy.MetricOrderBy;
+
+ /**
+ * Verifies a MetricOrderBy message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MetricOrderBy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MetricOrderBy
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.OrderBy.MetricOrderBy;
+
+ /**
+ * Creates a plain object from a MetricOrderBy message. Also converts values to other types if specified.
+ * @param message MetricOrderBy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.OrderBy.MetricOrderBy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MetricOrderBy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MetricOrderBy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DimensionOrderBy. */
+ interface IDimensionOrderBy {
+
+ /** DimensionOrderBy dimensionName */
+ dimensionName?: (string|null);
+
+ /** DimensionOrderBy orderType */
+ orderType?: (google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType|keyof typeof google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType|null);
+ }
+
+ /** Represents a DimensionOrderBy. */
+ class DimensionOrderBy implements IDimensionOrderBy {
+
+ /**
+ * Constructs a new DimensionOrderBy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.OrderBy.IDimensionOrderBy);
+
+ /** DimensionOrderBy dimensionName. */
+ public dimensionName: string;
+
+ /** DimensionOrderBy orderType. */
+ public orderType: (google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType|keyof typeof google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType);
+
+ /**
+ * Creates a new DimensionOrderBy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DimensionOrderBy instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.OrderBy.IDimensionOrderBy): google.analytics.data.v1alpha.OrderBy.DimensionOrderBy;
+
+ /**
+ * Encodes the specified DimensionOrderBy message. Does not implicitly {@link google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.verify|verify} messages.
+ * @param message DimensionOrderBy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.OrderBy.IDimensionOrderBy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DimensionOrderBy message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.verify|verify} messages.
+ * @param message DimensionOrderBy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.OrderBy.IDimensionOrderBy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DimensionOrderBy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DimensionOrderBy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.OrderBy.DimensionOrderBy;
+
+ /**
+ * Decodes a DimensionOrderBy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DimensionOrderBy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.OrderBy.DimensionOrderBy;
+
+ /**
+ * Verifies a DimensionOrderBy message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DimensionOrderBy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DimensionOrderBy
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.OrderBy.DimensionOrderBy;
+
+ /**
+ * Creates a plain object from a DimensionOrderBy message. Also converts values to other types if specified.
+ * @param message DimensionOrderBy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.OrderBy.DimensionOrderBy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DimensionOrderBy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DimensionOrderBy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DimensionOrderBy {
+
+ /** OrderType enum. */
+ enum OrderType {
+ ORDER_TYPE_UNSPECIFIED = 0,
+ ALPHANUMERIC = 1,
+ CASE_INSENSITIVE_ALPHANUMERIC = 2,
+ NUMERIC = 3
+ }
+ }
+ }
+
+ /** Properties of a BetweenFilter. */
+ interface IBetweenFilter {
+
+ /** BetweenFilter fromValue */
+ fromValue?: (google.analytics.data.v1alpha.INumericValue|null);
+
+ /** BetweenFilter toValue */
+ toValue?: (google.analytics.data.v1alpha.INumericValue|null);
+ }
+
+ /** Represents a BetweenFilter. */
+ class BetweenFilter implements IBetweenFilter {
+
+ /**
+ * Constructs a new BetweenFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IBetweenFilter);
+
+ /** BetweenFilter fromValue. */
+ public fromValue?: (google.analytics.data.v1alpha.INumericValue|null);
+
+ /** BetweenFilter toValue. */
+ public toValue?: (google.analytics.data.v1alpha.INumericValue|null);
+
+ /**
+ * Creates a new BetweenFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BetweenFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IBetweenFilter): google.analytics.data.v1alpha.BetweenFilter;
+
+ /**
+ * Encodes the specified BetweenFilter message. Does not implicitly {@link google.analytics.data.v1alpha.BetweenFilter.verify|verify} messages.
+ * @param message BetweenFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IBetweenFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BetweenFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.BetweenFilter.verify|verify} messages.
+ * @param message BetweenFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IBetweenFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BetweenFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BetweenFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.BetweenFilter;
+
+ /**
+ * Decodes a BetweenFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BetweenFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.BetweenFilter;
+
+ /**
+ * Verifies a BetweenFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BetweenFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BetweenFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.BetweenFilter;
+
+ /**
+ * Creates a plain object from a BetweenFilter message. Also converts values to other types if specified.
+ * @param message BetweenFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.BetweenFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BetweenFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BetweenFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EmptyFilter. */
+ interface IEmptyFilter {
+ }
+
+ /** Represents an EmptyFilter. */
+ class EmptyFilter implements IEmptyFilter {
+
+ /**
+ * Constructs a new EmptyFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IEmptyFilter);
+
+ /**
+ * Creates a new EmptyFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EmptyFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IEmptyFilter): google.analytics.data.v1alpha.EmptyFilter;
+
+ /**
+ * Encodes the specified EmptyFilter message. Does not implicitly {@link google.analytics.data.v1alpha.EmptyFilter.verify|verify} messages.
+ * @param message EmptyFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IEmptyFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EmptyFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.EmptyFilter.verify|verify} messages.
+ * @param message EmptyFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IEmptyFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EmptyFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EmptyFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.EmptyFilter;
+
+ /**
+ * Decodes an EmptyFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EmptyFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.EmptyFilter;
+
+ /**
+ * Verifies an EmptyFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EmptyFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EmptyFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.EmptyFilter;
+
+ /**
+ * Creates a plain object from an EmptyFilter message. Also converts values to other types if specified.
+ * @param message EmptyFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.EmptyFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EmptyFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EmptyFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a NumericValue. */
+ interface INumericValue {
+
+ /** NumericValue int64Value */
+ int64Value?: (number|Long|string|null);
+
+ /** NumericValue doubleValue */
+ doubleValue?: (number|null);
+ }
+
+ /** Represents a NumericValue. */
+ class NumericValue implements INumericValue {
+
+ /**
+ * Constructs a new NumericValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.INumericValue);
+
+ /** NumericValue int64Value. */
+ public int64Value?: (number|Long|string|null);
+
+ /** NumericValue doubleValue. */
+ public doubleValue?: (number|null);
+
+ /** NumericValue oneValue. */
+ public oneValue?: ("int64Value"|"doubleValue");
+
+ /**
+ * Creates a new NumericValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NumericValue instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.INumericValue): google.analytics.data.v1alpha.NumericValue;
+
+ /**
+ * Encodes the specified NumericValue message. Does not implicitly {@link google.analytics.data.v1alpha.NumericValue.verify|verify} messages.
+ * @param message NumericValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.INumericValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NumericValue message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.NumericValue.verify|verify} messages.
+ * @param message NumericValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.INumericValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NumericValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NumericValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.NumericValue;
+
+ /**
+ * Decodes a NumericValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NumericValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.NumericValue;
+
+ /**
+ * Verifies a NumericValue message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NumericValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NumericValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.NumericValue;
+
+ /**
+ * Creates a plain object from a NumericValue message. Also converts values to other types if specified.
+ * @param message NumericValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.NumericValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NumericValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NumericValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CohortSpec. */
+ interface ICohortSpec {
+
+ /** CohortSpec cohorts */
+ cohorts?: (google.analytics.data.v1alpha.ICohort[]|null);
+
+ /** CohortSpec cohortsRange */
+ cohortsRange?: (google.analytics.data.v1alpha.ICohortsRange|null);
+
+ /** CohortSpec cohortReportSettings */
+ cohortReportSettings?: (google.analytics.data.v1alpha.ICohortReportSettings|null);
+ }
+
+ /** Represents a CohortSpec. */
+ class CohortSpec implements ICohortSpec {
+
+ /**
+ * Constructs a new CohortSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ICohortSpec);
+
+ /** CohortSpec cohorts. */
+ public cohorts: google.analytics.data.v1alpha.ICohort[];
+
+ /** CohortSpec cohortsRange. */
+ public cohortsRange?: (google.analytics.data.v1alpha.ICohortsRange|null);
+
+ /** CohortSpec cohortReportSettings. */
+ public cohortReportSettings?: (google.analytics.data.v1alpha.ICohortReportSettings|null);
+
+ /**
+ * Creates a new CohortSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CohortSpec instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ICohortSpec): google.analytics.data.v1alpha.CohortSpec;
+
+ /**
+ * Encodes the specified CohortSpec message. Does not implicitly {@link google.analytics.data.v1alpha.CohortSpec.verify|verify} messages.
+ * @param message CohortSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ICohortSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CohortSpec message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.CohortSpec.verify|verify} messages.
+ * @param message CohortSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ICohortSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CohortSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CohortSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.CohortSpec;
+
+ /**
+ * Decodes a CohortSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CohortSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.CohortSpec;
+
+ /**
+ * Verifies a CohortSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CohortSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CohortSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.CohortSpec;
+
+ /**
+ * Creates a plain object from a CohortSpec message. Also converts values to other types if specified.
+ * @param message CohortSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.CohortSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CohortSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CohortSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Cohort. */
+ interface ICohort {
+
+ /** Cohort name */
+ name?: (string|null);
+
+ /** Cohort dimension */
+ dimension?: (string|null);
+
+ /** Cohort dateRange */
+ dateRange?: (google.analytics.data.v1alpha.IDateRange|null);
+ }
+
+ /** Represents a Cohort. */
+ class Cohort implements ICohort {
+
+ /**
+ * Constructs a new Cohort.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ICohort);
+
+ /** Cohort name. */
+ public name: string;
+
+ /** Cohort dimension. */
+ public dimension: string;
+
+ /** Cohort dateRange. */
+ public dateRange?: (google.analytics.data.v1alpha.IDateRange|null);
+
+ /**
+ * Creates a new Cohort instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Cohort instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ICohort): google.analytics.data.v1alpha.Cohort;
+
+ /**
+ * Encodes the specified Cohort message. Does not implicitly {@link google.analytics.data.v1alpha.Cohort.verify|verify} messages.
+ * @param message Cohort message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ICohort, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Cohort message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.Cohort.verify|verify} messages.
+ * @param message Cohort message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ICohort, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Cohort message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Cohort
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.Cohort;
+
+ /**
+ * Decodes a Cohort message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Cohort
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.Cohort;
+
+ /**
+ * Verifies a Cohort message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Cohort message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Cohort
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.Cohort;
+
+ /**
+ * Creates a plain object from a Cohort message. Also converts values to other types if specified.
+ * @param message Cohort
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.Cohort, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Cohort to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Cohort
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CohortsRange. */
+ interface ICohortsRange {
+
+ /** CohortsRange granularity */
+ granularity?: (google.analytics.data.v1alpha.CohortsRange.Granularity|keyof typeof google.analytics.data.v1alpha.CohortsRange.Granularity|null);
+
+ /** CohortsRange startOffset */
+ startOffset?: (number|null);
+
+ /** CohortsRange endOffset */
+ endOffset?: (number|null);
+ }
+
+ /** Represents a CohortsRange. */
+ class CohortsRange implements ICohortsRange {
+
+ /**
+ * Constructs a new CohortsRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ICohortsRange);
+
+ /** CohortsRange granularity. */
+ public granularity: (google.analytics.data.v1alpha.CohortsRange.Granularity|keyof typeof google.analytics.data.v1alpha.CohortsRange.Granularity);
+
+ /** CohortsRange startOffset. */
+ public startOffset: number;
+
+ /** CohortsRange endOffset. */
+ public endOffset: number;
+
+ /**
+ * Creates a new CohortsRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CohortsRange instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ICohortsRange): google.analytics.data.v1alpha.CohortsRange;
+
+ /**
+ * Encodes the specified CohortsRange message. Does not implicitly {@link google.analytics.data.v1alpha.CohortsRange.verify|verify} messages.
+ * @param message CohortsRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ICohortsRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CohortsRange message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.CohortsRange.verify|verify} messages.
+ * @param message CohortsRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ICohortsRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CohortsRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CohortsRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.CohortsRange;
+
+ /**
+ * Decodes a CohortsRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CohortsRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.CohortsRange;
+
+ /**
+ * Verifies a CohortsRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CohortsRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CohortsRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.CohortsRange;
+
+ /**
+ * Creates a plain object from a CohortsRange message. Also converts values to other types if specified.
+ * @param message CohortsRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.CohortsRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CohortsRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CohortsRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CohortsRange {
+
+ /** Granularity enum. */
+ enum Granularity {
+ GRANULARITY_UNSPECIFIED = 0,
+ DAILY = 1,
+ WEEKLY = 2,
+ MONTHLY = 3
+ }
+ }
+
+ /** Properties of a CohortReportSettings. */
+ interface ICohortReportSettings {
+
+ /** CohortReportSettings accumulate */
+ accumulate?: (boolean|null);
+ }
+
+ /** Represents a CohortReportSettings. */
+ class CohortReportSettings implements ICohortReportSettings {
+
+ /**
+ * Constructs a new CohortReportSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ICohortReportSettings);
+
+ /** CohortReportSettings accumulate. */
+ public accumulate: boolean;
+
+ /**
+ * Creates a new CohortReportSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CohortReportSettings instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ICohortReportSettings): google.analytics.data.v1alpha.CohortReportSettings;
+
+ /**
+ * Encodes the specified CohortReportSettings message. Does not implicitly {@link google.analytics.data.v1alpha.CohortReportSettings.verify|verify} messages.
+ * @param message CohortReportSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ICohortReportSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CohortReportSettings message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.CohortReportSettings.verify|verify} messages.
+ * @param message CohortReportSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ICohortReportSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CohortReportSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CohortReportSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.CohortReportSettings;
+
+ /**
+ * Decodes a CohortReportSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CohortReportSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.CohortReportSettings;
+
+ /**
+ * Verifies a CohortReportSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CohortReportSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CohortReportSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.CohortReportSettings;
+
+ /**
+ * Creates a plain object from a CohortReportSettings message. Also converts values to other types if specified.
+ * @param message CohortReportSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.CohortReportSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CohortReportSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CohortReportSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ResponseMetaData. */
+ interface IResponseMetaData {
+
+ /** ResponseMetaData dataLossFromOtherRow */
+ dataLossFromOtherRow?: (boolean|null);
+
+ /** ResponseMetaData schemaRestrictionResponse */
+ schemaRestrictionResponse?: (google.analytics.data.v1alpha.ResponseMetaData.ISchemaRestrictionResponse|null);
+
+ /** ResponseMetaData currencyCode */
+ currencyCode?: (string|null);
+
+ /** ResponseMetaData timeZone */
+ timeZone?: (string|null);
+
+ /** ResponseMetaData emptyReason */
+ emptyReason?: (string|null);
+
+ /** ResponseMetaData subjectToThresholding */
+ subjectToThresholding?: (boolean|null);
+
+ /** ResponseMetaData samplingMetadatas */
+ samplingMetadatas?: (google.analytics.data.v1alpha.ISamplingMetadata[]|null);
+ }
+
+ /** Represents a ResponseMetaData. */
+ class ResponseMetaData implements IResponseMetaData {
+
+ /**
+ * Constructs a new ResponseMetaData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IResponseMetaData);
+
+ /** ResponseMetaData dataLossFromOtherRow. */
+ public dataLossFromOtherRow: boolean;
+
+ /** ResponseMetaData schemaRestrictionResponse. */
+ public schemaRestrictionResponse?: (google.analytics.data.v1alpha.ResponseMetaData.ISchemaRestrictionResponse|null);
+
+ /** ResponseMetaData currencyCode. */
+ public currencyCode?: (string|null);
+
+ /** ResponseMetaData timeZone. */
+ public timeZone?: (string|null);
+
+ /** ResponseMetaData emptyReason. */
+ public emptyReason?: (string|null);
+
+ /** ResponseMetaData subjectToThresholding. */
+ public subjectToThresholding?: (boolean|null);
+
+ /** ResponseMetaData samplingMetadatas. */
+ public samplingMetadatas: google.analytics.data.v1alpha.ISamplingMetadata[];
+
+ /**
+ * Creates a new ResponseMetaData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResponseMetaData instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IResponseMetaData): google.analytics.data.v1alpha.ResponseMetaData;
+
+ /**
+ * Encodes the specified ResponseMetaData message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.verify|verify} messages.
+ * @param message ResponseMetaData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IResponseMetaData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResponseMetaData message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.verify|verify} messages.
+ * @param message ResponseMetaData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IResponseMetaData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResponseMetaData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResponseMetaData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseMetaData;
+
+ /**
+ * Decodes a ResponseMetaData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResponseMetaData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseMetaData;
+
+ /**
+ * Verifies a ResponseMetaData message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResponseMetaData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResponseMetaData
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseMetaData;
+
+ /**
+ * Creates a plain object from a ResponseMetaData message. Also converts values to other types if specified.
+ * @param message ResponseMetaData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ResponseMetaData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResponseMetaData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResponseMetaData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResponseMetaData {
+
+ /** Properties of a SchemaRestrictionResponse. */
+ interface ISchemaRestrictionResponse {
+
+ /** SchemaRestrictionResponse activeMetricRestrictions */
+ activeMetricRestrictions?: (google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.IActiveMetricRestriction[]|null);
+ }
+
+ /** Represents a SchemaRestrictionResponse. */
+ class SchemaRestrictionResponse implements ISchemaRestrictionResponse {
+
+ /**
+ * Constructs a new SchemaRestrictionResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ResponseMetaData.ISchemaRestrictionResponse);
+
+ /** SchemaRestrictionResponse activeMetricRestrictions. */
+ public activeMetricRestrictions: google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.IActiveMetricRestriction[];
+
+ /**
+ * Creates a new SchemaRestrictionResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaRestrictionResponse instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ResponseMetaData.ISchemaRestrictionResponse): google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse;
+
+ /**
+ * Encodes the specified SchemaRestrictionResponse message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.verify|verify} messages.
+ * @param message SchemaRestrictionResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ResponseMetaData.ISchemaRestrictionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaRestrictionResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.verify|verify} messages.
+ * @param message SchemaRestrictionResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ResponseMetaData.ISchemaRestrictionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaRestrictionResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaRestrictionResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse;
+
+ /**
+ * Decodes a SchemaRestrictionResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaRestrictionResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse;
+
+ /**
+ * Verifies a SchemaRestrictionResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaRestrictionResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaRestrictionResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse;
+
+ /**
+ * Creates a plain object from a SchemaRestrictionResponse message. Also converts values to other types if specified.
+ * @param message SchemaRestrictionResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaRestrictionResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaRestrictionResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SchemaRestrictionResponse {
+
+ /** Properties of an ActiveMetricRestriction. */
+ interface IActiveMetricRestriction {
+
+ /** ActiveMetricRestriction metricName */
+ metricName?: (string|null);
+
+ /** ActiveMetricRestriction restrictedMetricTypes */
+ restrictedMetricTypes?: (google.analytics.data.v1alpha.RestrictedMetricType[]|null);
+ }
+
+ /** Represents an ActiveMetricRestriction. */
+ class ActiveMetricRestriction implements IActiveMetricRestriction {
+
+ /**
+ * Constructs a new ActiveMetricRestriction.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.IActiveMetricRestriction);
+
+ /** ActiveMetricRestriction metricName. */
+ public metricName?: (string|null);
+
+ /** ActiveMetricRestriction restrictedMetricTypes. */
+ public restrictedMetricTypes: google.analytics.data.v1alpha.RestrictedMetricType[];
+
+ /**
+ * Creates a new ActiveMetricRestriction instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ActiveMetricRestriction instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.IActiveMetricRestriction): google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction;
+
+ /**
+ * Encodes the specified ActiveMetricRestriction message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.verify|verify} messages.
+ * @param message ActiveMetricRestriction message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.IActiveMetricRestriction, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ActiveMetricRestriction message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.verify|verify} messages.
+ * @param message ActiveMetricRestriction message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.IActiveMetricRestriction, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ActiveMetricRestriction message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ActiveMetricRestriction
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction;
+
+ /**
+ * Decodes an ActiveMetricRestriction message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ActiveMetricRestriction
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction;
+
+ /**
+ * Verifies an ActiveMetricRestriction message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ActiveMetricRestriction message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ActiveMetricRestriction
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction;
+
+ /**
+ * Creates a plain object from an ActiveMetricRestriction message. Also converts values to other types if specified.
+ * @param message ActiveMetricRestriction
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ActiveMetricRestriction to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ActiveMetricRestriction
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a DimensionHeader. */
+ interface IDimensionHeader {
+
+ /** DimensionHeader name */
+ name?: (string|null);
+ }
+
+ /** Represents a DimensionHeader. */
+ class DimensionHeader implements IDimensionHeader {
+
+ /**
+ * Constructs a new DimensionHeader.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IDimensionHeader);
+
+ /** DimensionHeader name. */
+ public name: string;
+
+ /**
+ * Creates a new DimensionHeader instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DimensionHeader instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IDimensionHeader): google.analytics.data.v1alpha.DimensionHeader;
+
+ /**
+ * Encodes the specified DimensionHeader message. Does not implicitly {@link google.analytics.data.v1alpha.DimensionHeader.verify|verify} messages.
+ * @param message DimensionHeader message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IDimensionHeader, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DimensionHeader message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.DimensionHeader.verify|verify} messages.
+ * @param message DimensionHeader message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IDimensionHeader, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DimensionHeader message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DimensionHeader
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.DimensionHeader;
+
+ /**
+ * Decodes a DimensionHeader message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DimensionHeader
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.DimensionHeader;
+
+ /**
+ * Verifies a DimensionHeader message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DimensionHeader message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DimensionHeader
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.DimensionHeader;
+
+ /**
+ * Creates a plain object from a DimensionHeader message. Also converts values to other types if specified.
+ * @param message DimensionHeader
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.DimensionHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DimensionHeader to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DimensionHeader
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MetricHeader. */
+ interface IMetricHeader {
+
+ /** MetricHeader name */
+ name?: (string|null);
+
+ /** MetricHeader type */
+ type?: (google.analytics.data.v1alpha.MetricType|keyof typeof google.analytics.data.v1alpha.MetricType|null);
+ }
+
+ /** Represents a MetricHeader. */
+ class MetricHeader implements IMetricHeader {
+
+ /**
+ * Constructs a new MetricHeader.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IMetricHeader);
+
+ /** MetricHeader name. */
+ public name: string;
+
+ /** MetricHeader type. */
+ public type: (google.analytics.data.v1alpha.MetricType|keyof typeof google.analytics.data.v1alpha.MetricType);
+
+ /**
+ * Creates a new MetricHeader instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MetricHeader instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IMetricHeader): google.analytics.data.v1alpha.MetricHeader;
+
+ /**
+ * Encodes the specified MetricHeader message. Does not implicitly {@link google.analytics.data.v1alpha.MetricHeader.verify|verify} messages.
+ * @param message MetricHeader message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IMetricHeader, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MetricHeader message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.MetricHeader.verify|verify} messages.
+ * @param message MetricHeader message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IMetricHeader, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MetricHeader message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MetricHeader
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.MetricHeader;
+
+ /**
+ * Decodes a MetricHeader message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MetricHeader
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.MetricHeader;
+
+ /**
+ * Verifies a MetricHeader message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MetricHeader message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MetricHeader
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.MetricHeader;
+
+ /**
+ * Creates a plain object from a MetricHeader message. Also converts values to other types if specified.
+ * @param message MetricHeader
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.MetricHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MetricHeader to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MetricHeader
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Row. */
+ interface IRow {
+
+ /** Row dimensionValues */
+ dimensionValues?: (google.analytics.data.v1alpha.IDimensionValue[]|null);
+
+ /** Row metricValues */
+ metricValues?: (google.analytics.data.v1alpha.IMetricValue[]|null);
+ }
+
+ /** Represents a Row. */
+ class Row implements IRow {
+
+ /**
+ * Constructs a new Row.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IRow);
+
+ /** Row dimensionValues. */
+ public dimensionValues: google.analytics.data.v1alpha.IDimensionValue[];
+
+ /** Row metricValues. */
+ public metricValues: google.analytics.data.v1alpha.IMetricValue[];
+
+ /**
+ * Creates a new Row instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Row instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IRow): google.analytics.data.v1alpha.Row;
+
+ /**
+ * Encodes the specified Row message. Does not implicitly {@link google.analytics.data.v1alpha.Row.verify|verify} messages.
+ * @param message Row message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IRow, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Row message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.Row.verify|verify} messages.
+ * @param message Row message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IRow, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Row message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Row
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.Row;
+
+ /**
+ * Decodes a Row message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Row
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.Row;
+
+ /**
+ * Verifies a Row message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Row message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Row
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.Row;
+
+ /**
+ * Creates a plain object from a Row message. Also converts values to other types if specified.
+ * @param message Row
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.Row, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Row to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Row
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DimensionValue. */
+ interface IDimensionValue {
+
+ /** DimensionValue value */
+ value?: (string|null);
+ }
+
+ /** Represents a DimensionValue. */
+ class DimensionValue implements IDimensionValue {
+
+ /**
+ * Constructs a new DimensionValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IDimensionValue);
+
+ /** DimensionValue value. */
+ public value?: (string|null);
+
+ /** DimensionValue oneValue. */
+ public oneValue?: "value";
+
+ /**
+ * Creates a new DimensionValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DimensionValue instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IDimensionValue): google.analytics.data.v1alpha.DimensionValue;
+
+ /**
+ * Encodes the specified DimensionValue message. Does not implicitly {@link google.analytics.data.v1alpha.DimensionValue.verify|verify} messages.
+ * @param message DimensionValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IDimensionValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DimensionValue message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.DimensionValue.verify|verify} messages.
+ * @param message DimensionValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IDimensionValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DimensionValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DimensionValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.DimensionValue;
+
+ /**
+ * Decodes a DimensionValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DimensionValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.DimensionValue;
+
+ /**
+ * Verifies a DimensionValue message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DimensionValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DimensionValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.DimensionValue;
+
+ /**
+ * Creates a plain object from a DimensionValue message. Also converts values to other types if specified.
+ * @param message DimensionValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.DimensionValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DimensionValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DimensionValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MetricValue. */
+ interface IMetricValue {
+
+ /** MetricValue value */
+ value?: (string|null);
+ }
+
+ /** Represents a MetricValue. */
+ class MetricValue implements IMetricValue {
+
+ /**
+ * Constructs a new MetricValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IMetricValue);
+
+ /** MetricValue value. */
+ public value?: (string|null);
+
+ /** MetricValue oneValue. */
+ public oneValue?: "value";
+
+ /**
+ * Creates a new MetricValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MetricValue instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IMetricValue): google.analytics.data.v1alpha.MetricValue;
+
+ /**
+ * Encodes the specified MetricValue message. Does not implicitly {@link google.analytics.data.v1alpha.MetricValue.verify|verify} messages.
+ * @param message MetricValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IMetricValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MetricValue message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.MetricValue.verify|verify} messages.
+ * @param message MetricValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IMetricValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MetricValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MetricValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.MetricValue;
+
+ /**
+ * Decodes a MetricValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MetricValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.MetricValue;
+
+ /**
+ * Verifies a MetricValue message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MetricValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MetricValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.MetricValue;
+
+ /**
+ * Creates a plain object from a MetricValue message. Also converts values to other types if specified.
+ * @param message MetricValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.MetricValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MetricValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MetricValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PropertyQuota. */
+ interface IPropertyQuota {
+
+ /** PropertyQuota tokensPerDay */
+ tokensPerDay?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota tokensPerHour */
+ tokensPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota concurrentRequests */
+ concurrentRequests?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota serverErrorsPerProjectPerHour */
+ serverErrorsPerProjectPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota potentiallyThresholdedRequestsPerHour */
+ potentiallyThresholdedRequestsPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota tokensPerProjectPerHour */
+ tokensPerProjectPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+ }
+
+ /** Represents a PropertyQuota. */
+ class PropertyQuota implements IPropertyQuota {
+
+ /**
+ * Constructs a new PropertyQuota.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IPropertyQuota);
+
+ /** PropertyQuota tokensPerDay. */
+ public tokensPerDay?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota tokensPerHour. */
+ public tokensPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota concurrentRequests. */
+ public concurrentRequests?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota serverErrorsPerProjectPerHour. */
+ public serverErrorsPerProjectPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota potentiallyThresholdedRequestsPerHour. */
+ public potentiallyThresholdedRequestsPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /** PropertyQuota tokensPerProjectPerHour. */
+ public tokensPerProjectPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
+
+ /**
+ * Creates a new PropertyQuota instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PropertyQuota instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IPropertyQuota): google.analytics.data.v1alpha.PropertyQuota;
+
+ /**
+ * Encodes the specified PropertyQuota message. Does not implicitly {@link google.analytics.data.v1alpha.PropertyQuota.verify|verify} messages.
+ * @param message PropertyQuota message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IPropertyQuota, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PropertyQuota message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.PropertyQuota.verify|verify} messages.
+ * @param message PropertyQuota message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IPropertyQuota, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PropertyQuota message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PropertyQuota
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.PropertyQuota;
+
+ /**
+ * Decodes a PropertyQuota message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PropertyQuota
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.PropertyQuota;
+
+ /**
+ * Verifies a PropertyQuota message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PropertyQuota message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PropertyQuota
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.PropertyQuota;
+
+ /**
+ * Creates a plain object from a PropertyQuota message. Also converts values to other types if specified.
+ * @param message PropertyQuota
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.PropertyQuota, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PropertyQuota to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PropertyQuota
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a QuotaStatus. */
+ interface IQuotaStatus {
+
+ /** QuotaStatus consumed */
+ consumed?: (number|null);
+
+ /** QuotaStatus remaining */
+ remaining?: (number|null);
+ }
+
+ /** Represents a QuotaStatus. */
+ class QuotaStatus implements IQuotaStatus {
+
+ /**
+ * Constructs a new QuotaStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IQuotaStatus);
+
+ /** QuotaStatus consumed. */
+ public consumed: number;
+
+ /** QuotaStatus remaining. */
+ public remaining: number;
+
+ /**
+ * Creates a new QuotaStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QuotaStatus instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IQuotaStatus): google.analytics.data.v1alpha.QuotaStatus;
+
+ /**
+ * Encodes the specified QuotaStatus message. Does not implicitly {@link google.analytics.data.v1alpha.QuotaStatus.verify|verify} messages.
+ * @param message QuotaStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IQuotaStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QuotaStatus message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.QuotaStatus.verify|verify} messages.
+ * @param message QuotaStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IQuotaStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QuotaStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QuotaStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.QuotaStatus;
+
+ /**
+ * Decodes a QuotaStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QuotaStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.QuotaStatus;
+
+ /**
+ * Verifies a QuotaStatus message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a QuotaStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QuotaStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.QuotaStatus;
+
+ /**
+ * Creates a plain object from a QuotaStatus message. Also converts values to other types if specified.
+ * @param message QuotaStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.QuotaStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QuotaStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QuotaStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelBreakdown. */
+ interface IFunnelBreakdown {
+
+ /** FunnelBreakdown breakdownDimension */
+ breakdownDimension?: (google.analytics.data.v1alpha.IDimension|null);
+
+ /** FunnelBreakdown limit */
+ limit?: (number|Long|string|null);
+ }
+
+ /** Represents a FunnelBreakdown. */
+ class FunnelBreakdown implements IFunnelBreakdown {
+
+ /**
+ * Constructs a new FunnelBreakdown.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelBreakdown);
+
+ /** FunnelBreakdown breakdownDimension. */
+ public breakdownDimension?: (google.analytics.data.v1alpha.IDimension|null);
+
+ /** FunnelBreakdown limit. */
+ public limit?: (number|Long|string|null);
+
+ /**
+ * Creates a new FunnelBreakdown instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelBreakdown instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelBreakdown): google.analytics.data.v1alpha.FunnelBreakdown;
+
+ /**
+ * Encodes the specified FunnelBreakdown message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelBreakdown.verify|verify} messages.
+ * @param message FunnelBreakdown message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelBreakdown, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelBreakdown message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelBreakdown.verify|verify} messages.
+ * @param message FunnelBreakdown message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelBreakdown, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelBreakdown message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelBreakdown
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelBreakdown;
+
+ /**
+ * Decodes a FunnelBreakdown message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelBreakdown
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelBreakdown;
+
+ /**
+ * Verifies a FunnelBreakdown message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelBreakdown message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelBreakdown
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelBreakdown;
+
+ /**
+ * Creates a plain object from a FunnelBreakdown message. Also converts values to other types if specified.
+ * @param message FunnelBreakdown
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelBreakdown, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelBreakdown to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelBreakdown
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelNextAction. */
+ interface IFunnelNextAction {
+
+ /** FunnelNextAction nextActionDimension */
+ nextActionDimension?: (google.analytics.data.v1alpha.IDimension|null);
+
+ /** FunnelNextAction limit */
+ limit?: (number|Long|string|null);
+ }
+
+ /** Represents a FunnelNextAction. */
+ class FunnelNextAction implements IFunnelNextAction {
+
+ /**
+ * Constructs a new FunnelNextAction.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelNextAction);
+
+ /** FunnelNextAction nextActionDimension. */
+ public nextActionDimension?: (google.analytics.data.v1alpha.IDimension|null);
+
+ /** FunnelNextAction limit. */
+ public limit?: (number|Long|string|null);
+
+ /**
+ * Creates a new FunnelNextAction instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelNextAction instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelNextAction): google.analytics.data.v1alpha.FunnelNextAction;
+
+ /**
+ * Encodes the specified FunnelNextAction message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelNextAction.verify|verify} messages.
+ * @param message FunnelNextAction message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelNextAction, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelNextAction message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelNextAction.verify|verify} messages.
+ * @param message FunnelNextAction message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelNextAction, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelNextAction message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelNextAction
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelNextAction;
+
+ /**
+ * Decodes a FunnelNextAction message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelNextAction
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelNextAction;
+
+ /**
+ * Verifies a FunnelNextAction message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelNextAction message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelNextAction
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelNextAction;
+
+ /**
+ * Creates a plain object from a FunnelNextAction message. Also converts values to other types if specified.
+ * @param message FunnelNextAction
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelNextAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelNextAction to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelNextAction
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Funnel. */
+ interface IFunnel {
+
+ /** Funnel isOpenFunnel */
+ isOpenFunnel?: (boolean|null);
+
+ /** Funnel steps */
+ steps?: (google.analytics.data.v1alpha.IFunnelStep[]|null);
+ }
+
+ /** Represents a Funnel. */
+ class Funnel implements IFunnel {
+
+ /**
+ * Constructs a new Funnel.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnel);
+
+ /** Funnel isOpenFunnel. */
+ public isOpenFunnel: boolean;
+
+ /** Funnel steps. */
+ public steps: google.analytics.data.v1alpha.IFunnelStep[];
+
+ /**
+ * Creates a new Funnel instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Funnel instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnel): google.analytics.data.v1alpha.Funnel;
+
+ /**
+ * Encodes the specified Funnel message. Does not implicitly {@link google.analytics.data.v1alpha.Funnel.verify|verify} messages.
+ * @param message Funnel message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnel, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Funnel message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.Funnel.verify|verify} messages.
+ * @param message Funnel message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnel, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Funnel message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Funnel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.Funnel;
+
+ /**
+ * Decodes a Funnel message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Funnel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.Funnel;
+
+ /**
+ * Verifies a Funnel message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Funnel message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Funnel
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.Funnel;
+
+ /**
+ * Creates a plain object from a Funnel message. Also converts values to other types if specified.
+ * @param message Funnel
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.Funnel, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Funnel to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Funnel
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelStep. */
+ interface IFunnelStep {
+
+ /** FunnelStep name */
+ name?: (string|null);
+
+ /** FunnelStep isDirectlyFollowedBy */
+ isDirectlyFollowedBy?: (boolean|null);
+
+ /** FunnelStep withinDurationFromPriorStep */
+ withinDurationFromPriorStep?: (google.protobuf.IDuration|null);
+
+ /** FunnelStep filterExpression */
+ filterExpression?: (google.analytics.data.v1alpha.IFunnelFilterExpression|null);
+ }
+
+ /** Represents a FunnelStep. */
+ class FunnelStep implements IFunnelStep {
+
+ /**
+ * Constructs a new FunnelStep.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelStep);
+
+ /** FunnelStep name. */
+ public name: string;
+
+ /** FunnelStep isDirectlyFollowedBy. */
+ public isDirectlyFollowedBy: boolean;
+
+ /** FunnelStep withinDurationFromPriorStep. */
+ public withinDurationFromPriorStep?: (google.protobuf.IDuration|null);
+
+ /** FunnelStep filterExpression. */
+ public filterExpression?: (google.analytics.data.v1alpha.IFunnelFilterExpression|null);
+
+ /**
+ * Creates a new FunnelStep instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelStep instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelStep): google.analytics.data.v1alpha.FunnelStep;
+
+ /**
+ * Encodes the specified FunnelStep message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelStep.verify|verify} messages.
+ * @param message FunnelStep message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelStep, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelStep message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelStep.verify|verify} messages.
+ * @param message FunnelStep message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelStep, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelStep message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelStep
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelStep;
+
+ /**
+ * Decodes a FunnelStep message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelStep
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelStep;
+
+ /**
+ * Verifies a FunnelStep message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelStep message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelStep
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelStep;
+
+ /**
+ * Creates a plain object from a FunnelStep message. Also converts values to other types if specified.
+ * @param message FunnelStep
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelStep, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelStep to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelStep
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelSubReport. */
+ interface IFunnelSubReport {
+
+ /** FunnelSubReport dimensionHeaders */
+ dimensionHeaders?: (google.analytics.data.v1alpha.IDimensionHeader[]|null);
+
+ /** FunnelSubReport metricHeaders */
+ metricHeaders?: (google.analytics.data.v1alpha.IMetricHeader[]|null);
+
+ /** FunnelSubReport rows */
+ rows?: (google.analytics.data.v1alpha.IRow[]|null);
+
+ /** FunnelSubReport metadata */
+ metadata?: (google.analytics.data.v1alpha.IFunnelResponseMetadata|null);
+ }
+
+ /** Represents a FunnelSubReport. */
+ class FunnelSubReport implements IFunnelSubReport {
+
+ /**
+ * Constructs a new FunnelSubReport.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelSubReport);
+
+ /** FunnelSubReport dimensionHeaders. */
+ public dimensionHeaders: google.analytics.data.v1alpha.IDimensionHeader[];
+
+ /** FunnelSubReport metricHeaders. */
+ public metricHeaders: google.analytics.data.v1alpha.IMetricHeader[];
+
+ /** FunnelSubReport rows. */
+ public rows: google.analytics.data.v1alpha.IRow[];
+
+ /** FunnelSubReport metadata. */
+ public metadata?: (google.analytics.data.v1alpha.IFunnelResponseMetadata|null);
+
+ /**
+ * Creates a new FunnelSubReport instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelSubReport instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelSubReport): google.analytics.data.v1alpha.FunnelSubReport;
+
+ /**
+ * Encodes the specified FunnelSubReport message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelSubReport.verify|verify} messages.
+ * @param message FunnelSubReport message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelSubReport, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelSubReport message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelSubReport.verify|verify} messages.
+ * @param message FunnelSubReport message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelSubReport, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelSubReport message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelSubReport
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelSubReport;
+
+ /**
+ * Decodes a FunnelSubReport message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelSubReport
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelSubReport;
+
+ /**
+ * Verifies a FunnelSubReport message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelSubReport message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelSubReport
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelSubReport;
+
+ /**
+ * Creates a plain object from a FunnelSubReport message. Also converts values to other types if specified.
+ * @param message FunnelSubReport
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelSubReport, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelSubReport to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelSubReport
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a UserSegment. */
+ interface IUserSegment {
+
+ /** UserSegment userInclusionCriteria */
+ userInclusionCriteria?: (google.analytics.data.v1alpha.IUserSegmentCriteria|null);
+
+ /** UserSegment exclusion */
+ exclusion?: (google.analytics.data.v1alpha.IUserSegmentExclusion|null);
+ }
+
+ /** Represents a UserSegment. */
+ class UserSegment implements IUserSegment {
+
+ /**
+ * Constructs a new UserSegment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IUserSegment);
+
+ /** UserSegment userInclusionCriteria. */
+ public userInclusionCriteria?: (google.analytics.data.v1alpha.IUserSegmentCriteria|null);
+
+ /** UserSegment exclusion. */
+ public exclusion?: (google.analytics.data.v1alpha.IUserSegmentExclusion|null);
+
+ /**
+ * Creates a new UserSegment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UserSegment instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IUserSegment): google.analytics.data.v1alpha.UserSegment;
+
+ /**
+ * Encodes the specified UserSegment message. Does not implicitly {@link google.analytics.data.v1alpha.UserSegment.verify|verify} messages.
+ * @param message UserSegment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IUserSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UserSegment message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.UserSegment.verify|verify} messages.
+ * @param message UserSegment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IUserSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UserSegment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UserSegment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.UserSegment;
+
+ /**
+ * Decodes a UserSegment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UserSegment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.UserSegment;
+
+ /**
+ * Verifies a UserSegment message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UserSegment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UserSegment
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.UserSegment;
+
+ /**
+ * Creates a plain object from a UserSegment message. Also converts values to other types if specified.
+ * @param message UserSegment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.UserSegment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UserSegment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UserSegment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a UserSegmentCriteria. */
+ interface IUserSegmentCriteria {
+
+ /** UserSegmentCriteria andConditionGroups */
+ andConditionGroups?: (google.analytics.data.v1alpha.IUserSegmentConditionGroup[]|null);
+
+ /** UserSegmentCriteria andSequenceGroups */
+ andSequenceGroups?: (google.analytics.data.v1alpha.IUserSegmentSequenceGroup[]|null);
+ }
+
+ /** Represents a UserSegmentCriteria. */
+ class UserSegmentCriteria implements IUserSegmentCriteria {
+
+ /**
+ * Constructs a new UserSegmentCriteria.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IUserSegmentCriteria);
+
+ /** UserSegmentCriteria andConditionGroups. */
+ public andConditionGroups: google.analytics.data.v1alpha.IUserSegmentConditionGroup[];
+
+ /** UserSegmentCriteria andSequenceGroups. */
+ public andSequenceGroups: google.analytics.data.v1alpha.IUserSegmentSequenceGroup[];
+
+ /**
+ * Creates a new UserSegmentCriteria instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UserSegmentCriteria instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IUserSegmentCriteria): google.analytics.data.v1alpha.UserSegmentCriteria;
+
+ /**
+ * Encodes the specified UserSegmentCriteria message. Does not implicitly {@link google.analytics.data.v1alpha.UserSegmentCriteria.verify|verify} messages.
+ * @param message UserSegmentCriteria message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IUserSegmentCriteria, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UserSegmentCriteria message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.UserSegmentCriteria.verify|verify} messages.
+ * @param message UserSegmentCriteria message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IUserSegmentCriteria, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UserSegmentCriteria message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UserSegmentCriteria
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.UserSegmentCriteria;
+
+ /**
+ * Decodes a UserSegmentCriteria message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UserSegmentCriteria
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.UserSegmentCriteria;
+
+ /**
+ * Verifies a UserSegmentCriteria message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UserSegmentCriteria message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UserSegmentCriteria
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.UserSegmentCriteria;
+
+ /**
+ * Creates a plain object from a UserSegmentCriteria message. Also converts values to other types if specified.
+ * @param message UserSegmentCriteria
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.UserSegmentCriteria, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UserSegmentCriteria to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UserSegmentCriteria
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** UserCriteriaScoping enum. */
+ enum UserCriteriaScoping {
+ USER_CRITERIA_SCOPING_UNSPECIFIED = 0,
+ USER_CRITERIA_WITHIN_SAME_EVENT = 1,
+ USER_CRITERIA_WITHIN_SAME_SESSION = 2,
+ USER_CRITERIA_ACROSS_ALL_SESSIONS = 3
+ }
+
+ /** Properties of a UserSegmentConditionGroup. */
+ interface IUserSegmentConditionGroup {
+
+ /** UserSegmentConditionGroup conditionScoping */
+ conditionScoping?: (google.analytics.data.v1alpha.UserCriteriaScoping|keyof typeof google.analytics.data.v1alpha.UserCriteriaScoping|null);
+
+ /** UserSegmentConditionGroup segmentFilterExpression */
+ segmentFilterExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+ }
+
+ /** Represents a UserSegmentConditionGroup. */
+ class UserSegmentConditionGroup implements IUserSegmentConditionGroup {
+
+ /**
+ * Constructs a new UserSegmentConditionGroup.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IUserSegmentConditionGroup);
+
+ /** UserSegmentConditionGroup conditionScoping. */
+ public conditionScoping: (google.analytics.data.v1alpha.UserCriteriaScoping|keyof typeof google.analytics.data.v1alpha.UserCriteriaScoping);
+
+ /** UserSegmentConditionGroup segmentFilterExpression. */
+ public segmentFilterExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+
+ /**
+ * Creates a new UserSegmentConditionGroup instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UserSegmentConditionGroup instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IUserSegmentConditionGroup): google.analytics.data.v1alpha.UserSegmentConditionGroup;
+
+ /**
+ * Encodes the specified UserSegmentConditionGroup message. Does not implicitly {@link google.analytics.data.v1alpha.UserSegmentConditionGroup.verify|verify} messages.
+ * @param message UserSegmentConditionGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IUserSegmentConditionGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UserSegmentConditionGroup message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.UserSegmentConditionGroup.verify|verify} messages.
+ * @param message UserSegmentConditionGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IUserSegmentConditionGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UserSegmentConditionGroup message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UserSegmentConditionGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.UserSegmentConditionGroup;
+
+ /**
+ * Decodes a UserSegmentConditionGroup message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UserSegmentConditionGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.UserSegmentConditionGroup;
+
+ /**
+ * Verifies a UserSegmentConditionGroup message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UserSegmentConditionGroup message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UserSegmentConditionGroup
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.UserSegmentConditionGroup;
+
+ /**
+ * Creates a plain object from a UserSegmentConditionGroup message. Also converts values to other types if specified.
+ * @param message UserSegmentConditionGroup
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.UserSegmentConditionGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UserSegmentConditionGroup to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UserSegmentConditionGroup
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a UserSegmentSequenceGroup. */
+ interface IUserSegmentSequenceGroup {
+
+ /** UserSegmentSequenceGroup sequenceScoping */
+ sequenceScoping?: (google.analytics.data.v1alpha.UserCriteriaScoping|keyof typeof google.analytics.data.v1alpha.UserCriteriaScoping|null);
+
+ /** UserSegmentSequenceGroup sequenceMaximumDuration */
+ sequenceMaximumDuration?: (google.protobuf.IDuration|null);
+
+ /** UserSegmentSequenceGroup userSequenceSteps */
+ userSequenceSteps?: (google.analytics.data.v1alpha.IUserSequenceStep[]|null);
+ }
+
+ /** Represents a UserSegmentSequenceGroup. */
+ class UserSegmentSequenceGroup implements IUserSegmentSequenceGroup {
+
+ /**
+ * Constructs a new UserSegmentSequenceGroup.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IUserSegmentSequenceGroup);
+
+ /** UserSegmentSequenceGroup sequenceScoping. */
+ public sequenceScoping: (google.analytics.data.v1alpha.UserCriteriaScoping|keyof typeof google.analytics.data.v1alpha.UserCriteriaScoping);
+
+ /** UserSegmentSequenceGroup sequenceMaximumDuration. */
+ public sequenceMaximumDuration?: (google.protobuf.IDuration|null);
+
+ /** UserSegmentSequenceGroup userSequenceSteps. */
+ public userSequenceSteps: google.analytics.data.v1alpha.IUserSequenceStep[];
+
+ /**
+ * Creates a new UserSegmentSequenceGroup instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UserSegmentSequenceGroup instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IUserSegmentSequenceGroup): google.analytics.data.v1alpha.UserSegmentSequenceGroup;
+
+ /**
+ * Encodes the specified UserSegmentSequenceGroup message. Does not implicitly {@link google.analytics.data.v1alpha.UserSegmentSequenceGroup.verify|verify} messages.
+ * @param message UserSegmentSequenceGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IUserSegmentSequenceGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UserSegmentSequenceGroup message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.UserSegmentSequenceGroup.verify|verify} messages.
+ * @param message UserSegmentSequenceGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IUserSegmentSequenceGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UserSegmentSequenceGroup message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UserSegmentSequenceGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.UserSegmentSequenceGroup;
+
+ /**
+ * Decodes a UserSegmentSequenceGroup message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UserSegmentSequenceGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.UserSegmentSequenceGroup;
+
+ /**
+ * Verifies a UserSegmentSequenceGroup message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UserSegmentSequenceGroup message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UserSegmentSequenceGroup
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.UserSegmentSequenceGroup;
+
+ /**
+ * Creates a plain object from a UserSegmentSequenceGroup message. Also converts values to other types if specified.
+ * @param message UserSegmentSequenceGroup
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.UserSegmentSequenceGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UserSegmentSequenceGroup to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UserSegmentSequenceGroup
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a UserSequenceStep. */
+ interface IUserSequenceStep {
+
+ /** UserSequenceStep isDirectlyFollowedBy */
+ isDirectlyFollowedBy?: (boolean|null);
+
+ /** UserSequenceStep stepScoping */
+ stepScoping?: (google.analytics.data.v1alpha.UserCriteriaScoping|keyof typeof google.analytics.data.v1alpha.UserCriteriaScoping|null);
+
+ /** UserSequenceStep segmentFilterExpression */
+ segmentFilterExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+ }
+
+ /** Represents a UserSequenceStep. */
+ class UserSequenceStep implements IUserSequenceStep {
+
+ /**
+ * Constructs a new UserSequenceStep.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IUserSequenceStep);
+
+ /** UserSequenceStep isDirectlyFollowedBy. */
+ public isDirectlyFollowedBy: boolean;
+
+ /** UserSequenceStep stepScoping. */
+ public stepScoping: (google.analytics.data.v1alpha.UserCriteriaScoping|keyof typeof google.analytics.data.v1alpha.UserCriteriaScoping);
+
+ /** UserSequenceStep segmentFilterExpression. */
+ public segmentFilterExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+
+ /**
+ * Creates a new UserSequenceStep instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UserSequenceStep instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IUserSequenceStep): google.analytics.data.v1alpha.UserSequenceStep;
+
+ /**
+ * Encodes the specified UserSequenceStep message. Does not implicitly {@link google.analytics.data.v1alpha.UserSequenceStep.verify|verify} messages.
+ * @param message UserSequenceStep message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IUserSequenceStep, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UserSequenceStep message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.UserSequenceStep.verify|verify} messages.
+ * @param message UserSequenceStep message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IUserSequenceStep, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UserSequenceStep message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UserSequenceStep
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.UserSequenceStep;
+
+ /**
+ * Decodes a UserSequenceStep message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UserSequenceStep
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.UserSequenceStep;
+
+ /**
+ * Verifies a UserSequenceStep message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UserSequenceStep message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UserSequenceStep
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.UserSequenceStep;
+
+ /**
+ * Creates a plain object from a UserSequenceStep message. Also converts values to other types if specified.
+ * @param message UserSequenceStep
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.UserSequenceStep, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UserSequenceStep to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UserSequenceStep
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a UserSegmentExclusion. */
+ interface IUserSegmentExclusion {
+
+ /** UserSegmentExclusion userExclusionDuration */
+ userExclusionDuration?: (google.analytics.data.v1alpha.UserExclusionDuration|keyof typeof google.analytics.data.v1alpha.UserExclusionDuration|null);
+
+ /** UserSegmentExclusion userExclusionCriteria */
+ userExclusionCriteria?: (google.analytics.data.v1alpha.IUserSegmentCriteria|null);
+ }
+
+ /** Represents a UserSegmentExclusion. */
+ class UserSegmentExclusion implements IUserSegmentExclusion {
+
+ /**
+ * Constructs a new UserSegmentExclusion.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IUserSegmentExclusion);
+
+ /** UserSegmentExclusion userExclusionDuration. */
+ public userExclusionDuration: (google.analytics.data.v1alpha.UserExclusionDuration|keyof typeof google.analytics.data.v1alpha.UserExclusionDuration);
+
+ /** UserSegmentExclusion userExclusionCriteria. */
+ public userExclusionCriteria?: (google.analytics.data.v1alpha.IUserSegmentCriteria|null);
+
+ /**
+ * Creates a new UserSegmentExclusion instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UserSegmentExclusion instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IUserSegmentExclusion): google.analytics.data.v1alpha.UserSegmentExclusion;
+
+ /**
+ * Encodes the specified UserSegmentExclusion message. Does not implicitly {@link google.analytics.data.v1alpha.UserSegmentExclusion.verify|verify} messages.
+ * @param message UserSegmentExclusion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IUserSegmentExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UserSegmentExclusion message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.UserSegmentExclusion.verify|verify} messages.
+ * @param message UserSegmentExclusion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IUserSegmentExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UserSegmentExclusion message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UserSegmentExclusion
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.UserSegmentExclusion;
+
+ /**
+ * Decodes a UserSegmentExclusion message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UserSegmentExclusion
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.UserSegmentExclusion;
+
+ /**
+ * Verifies a UserSegmentExclusion message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UserSegmentExclusion message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UserSegmentExclusion
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.UserSegmentExclusion;
+
+ /**
+ * Creates a plain object from a UserSegmentExclusion message. Also converts values to other types if specified.
+ * @param message UserSegmentExclusion
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.UserSegmentExclusion, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UserSegmentExclusion to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UserSegmentExclusion
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** UserExclusionDuration enum. */
+ enum UserExclusionDuration {
+ USER_EXCLUSION_DURATION_UNSPECIFIED = 0,
+ USER_EXCLUSION_TEMPORARY = 1,
+ USER_EXCLUSION_PERMANENT = 2
+ }
+
+ /** Properties of a SessionSegment. */
+ interface ISessionSegment {
+
+ /** SessionSegment sessionInclusionCriteria */
+ sessionInclusionCriteria?: (google.analytics.data.v1alpha.ISessionSegmentCriteria|null);
+
+ /** SessionSegment exclusion */
+ exclusion?: (google.analytics.data.v1alpha.ISessionSegmentExclusion|null);
+ }
+
+ /** Represents a SessionSegment. */
+ class SessionSegment implements ISessionSegment {
+
+ /**
+ * Constructs a new SessionSegment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISessionSegment);
+
+ /** SessionSegment sessionInclusionCriteria. */
+ public sessionInclusionCriteria?: (google.analytics.data.v1alpha.ISessionSegmentCriteria|null);
+
+ /** SessionSegment exclusion. */
+ public exclusion?: (google.analytics.data.v1alpha.ISessionSegmentExclusion|null);
+
+ /**
+ * Creates a new SessionSegment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SessionSegment instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISessionSegment): google.analytics.data.v1alpha.SessionSegment;
+
+ /**
+ * Encodes the specified SessionSegment message. Does not implicitly {@link google.analytics.data.v1alpha.SessionSegment.verify|verify} messages.
+ * @param message SessionSegment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISessionSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SessionSegment message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SessionSegment.verify|verify} messages.
+ * @param message SessionSegment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISessionSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SessionSegment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SessionSegment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SessionSegment;
+
+ /**
+ * Decodes a SessionSegment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SessionSegment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SessionSegment;
+
+ /**
+ * Verifies a SessionSegment message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SessionSegment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SessionSegment
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SessionSegment;
+
+ /**
+ * Creates a plain object from a SessionSegment message. Also converts values to other types if specified.
+ * @param message SessionSegment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SessionSegment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SessionSegment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SessionSegment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SessionSegmentCriteria. */
+ interface ISessionSegmentCriteria {
+
+ /** SessionSegmentCriteria andConditionGroups */
+ andConditionGroups?: (google.analytics.data.v1alpha.ISessionSegmentConditionGroup[]|null);
+ }
+
+ /** Represents a SessionSegmentCriteria. */
+ class SessionSegmentCriteria implements ISessionSegmentCriteria {
+
+ /**
+ * Constructs a new SessionSegmentCriteria.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISessionSegmentCriteria);
+
+ /** SessionSegmentCriteria andConditionGroups. */
+ public andConditionGroups: google.analytics.data.v1alpha.ISessionSegmentConditionGroup[];
+
+ /**
+ * Creates a new SessionSegmentCriteria instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SessionSegmentCriteria instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISessionSegmentCriteria): google.analytics.data.v1alpha.SessionSegmentCriteria;
+
+ /**
+ * Encodes the specified SessionSegmentCriteria message. Does not implicitly {@link google.analytics.data.v1alpha.SessionSegmentCriteria.verify|verify} messages.
+ * @param message SessionSegmentCriteria message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISessionSegmentCriteria, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SessionSegmentCriteria message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SessionSegmentCriteria.verify|verify} messages.
+ * @param message SessionSegmentCriteria message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISessionSegmentCriteria, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SessionSegmentCriteria message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SessionSegmentCriteria
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SessionSegmentCriteria;
+
+ /**
+ * Decodes a SessionSegmentCriteria message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SessionSegmentCriteria
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SessionSegmentCriteria;
+
+ /**
+ * Verifies a SessionSegmentCriteria message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SessionSegmentCriteria message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SessionSegmentCriteria
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SessionSegmentCriteria;
+
+ /**
+ * Creates a plain object from a SessionSegmentCriteria message. Also converts values to other types if specified.
+ * @param message SessionSegmentCriteria
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SessionSegmentCriteria, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SessionSegmentCriteria to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SessionSegmentCriteria
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** SessionCriteriaScoping enum. */
+ enum SessionCriteriaScoping {
+ SESSION_CRITERIA_SCOPING_UNSPECIFIED = 0,
+ SESSION_CRITERIA_WITHIN_SAME_EVENT = 1,
+ SESSION_CRITERIA_WITHIN_SAME_SESSION = 2
+ }
+
+ /** Properties of a SessionSegmentConditionGroup. */
+ interface ISessionSegmentConditionGroup {
+
+ /** SessionSegmentConditionGroup conditionScoping */
+ conditionScoping?: (google.analytics.data.v1alpha.SessionCriteriaScoping|keyof typeof google.analytics.data.v1alpha.SessionCriteriaScoping|null);
+
+ /** SessionSegmentConditionGroup segmentFilterExpression */
+ segmentFilterExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+ }
+
+ /** Represents a SessionSegmentConditionGroup. */
+ class SessionSegmentConditionGroup implements ISessionSegmentConditionGroup {
+
+ /**
+ * Constructs a new SessionSegmentConditionGroup.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISessionSegmentConditionGroup);
+
+ /** SessionSegmentConditionGroup conditionScoping. */
+ public conditionScoping: (google.analytics.data.v1alpha.SessionCriteriaScoping|keyof typeof google.analytics.data.v1alpha.SessionCriteriaScoping);
+
+ /** SessionSegmentConditionGroup segmentFilterExpression. */
+ public segmentFilterExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+
+ /**
+ * Creates a new SessionSegmentConditionGroup instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SessionSegmentConditionGroup instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISessionSegmentConditionGroup): google.analytics.data.v1alpha.SessionSegmentConditionGroup;
+
+ /**
+ * Encodes the specified SessionSegmentConditionGroup message. Does not implicitly {@link google.analytics.data.v1alpha.SessionSegmentConditionGroup.verify|verify} messages.
+ * @param message SessionSegmentConditionGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISessionSegmentConditionGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SessionSegmentConditionGroup message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SessionSegmentConditionGroup.verify|verify} messages.
+ * @param message SessionSegmentConditionGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISessionSegmentConditionGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SessionSegmentConditionGroup message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SessionSegmentConditionGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SessionSegmentConditionGroup;
+
+ /**
+ * Decodes a SessionSegmentConditionGroup message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SessionSegmentConditionGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SessionSegmentConditionGroup;
+
+ /**
+ * Verifies a SessionSegmentConditionGroup message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SessionSegmentConditionGroup message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SessionSegmentConditionGroup
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SessionSegmentConditionGroup;
+
+ /**
+ * Creates a plain object from a SessionSegmentConditionGroup message. Also converts values to other types if specified.
+ * @param message SessionSegmentConditionGroup
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SessionSegmentConditionGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SessionSegmentConditionGroup to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SessionSegmentConditionGroup
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SessionSegmentExclusion. */
+ interface ISessionSegmentExclusion {
+
+ /** SessionSegmentExclusion sessionExclusionDuration */
+ sessionExclusionDuration?: (google.analytics.data.v1alpha.SessionExclusionDuration|keyof typeof google.analytics.data.v1alpha.SessionExclusionDuration|null);
+
+ /** SessionSegmentExclusion sessionExclusionCriteria */
+ sessionExclusionCriteria?: (google.analytics.data.v1alpha.ISessionSegmentCriteria|null);
+ }
+
+ /** Represents a SessionSegmentExclusion. */
+ class SessionSegmentExclusion implements ISessionSegmentExclusion {
+
+ /**
+ * Constructs a new SessionSegmentExclusion.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISessionSegmentExclusion);
+
+ /** SessionSegmentExclusion sessionExclusionDuration. */
+ public sessionExclusionDuration: (google.analytics.data.v1alpha.SessionExclusionDuration|keyof typeof google.analytics.data.v1alpha.SessionExclusionDuration);
+
+ /** SessionSegmentExclusion sessionExclusionCriteria. */
+ public sessionExclusionCriteria?: (google.analytics.data.v1alpha.ISessionSegmentCriteria|null);
+
+ /**
+ * Creates a new SessionSegmentExclusion instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SessionSegmentExclusion instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISessionSegmentExclusion): google.analytics.data.v1alpha.SessionSegmentExclusion;
+
+ /**
+ * Encodes the specified SessionSegmentExclusion message. Does not implicitly {@link google.analytics.data.v1alpha.SessionSegmentExclusion.verify|verify} messages.
+ * @param message SessionSegmentExclusion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISessionSegmentExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SessionSegmentExclusion message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SessionSegmentExclusion.verify|verify} messages.
+ * @param message SessionSegmentExclusion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISessionSegmentExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SessionSegmentExclusion message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SessionSegmentExclusion
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SessionSegmentExclusion;
+
+ /**
+ * Decodes a SessionSegmentExclusion message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SessionSegmentExclusion
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SessionSegmentExclusion;
+
+ /**
+ * Verifies a SessionSegmentExclusion message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SessionSegmentExclusion message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SessionSegmentExclusion
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SessionSegmentExclusion;
+
+ /**
+ * Creates a plain object from a SessionSegmentExclusion message. Also converts values to other types if specified.
+ * @param message SessionSegmentExclusion
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SessionSegmentExclusion, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SessionSegmentExclusion to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SessionSegmentExclusion
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** SessionExclusionDuration enum. */
+ enum SessionExclusionDuration {
+ SESSION_EXCLUSION_DURATION_UNSPECIFIED = 0,
+ SESSION_EXCLUSION_TEMPORARY = 1,
+ SESSION_EXCLUSION_PERMANENT = 2
+ }
+
+ /** Properties of an EventSegment. */
+ interface IEventSegment {
+
+ /** EventSegment eventInclusionCriteria */
+ eventInclusionCriteria?: (google.analytics.data.v1alpha.IEventSegmentCriteria|null);
+
+ /** EventSegment exclusion */
+ exclusion?: (google.analytics.data.v1alpha.IEventSegmentExclusion|null);
+ }
+
+ /** Represents an EventSegment. */
+ class EventSegment implements IEventSegment {
+
+ /**
+ * Constructs a new EventSegment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IEventSegment);
+
+ /** EventSegment eventInclusionCriteria. */
+ public eventInclusionCriteria?: (google.analytics.data.v1alpha.IEventSegmentCriteria|null);
+
+ /** EventSegment exclusion. */
+ public exclusion?: (google.analytics.data.v1alpha.IEventSegmentExclusion|null);
+
+ /**
+ * Creates a new EventSegment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EventSegment instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IEventSegment): google.analytics.data.v1alpha.EventSegment;
+
+ /**
+ * Encodes the specified EventSegment message. Does not implicitly {@link google.analytics.data.v1alpha.EventSegment.verify|verify} messages.
+ * @param message EventSegment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IEventSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EventSegment message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.EventSegment.verify|verify} messages.
+ * @param message EventSegment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IEventSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EventSegment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EventSegment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.EventSegment;
+
+ /**
+ * Decodes an EventSegment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EventSegment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.EventSegment;
+
+ /**
+ * Verifies an EventSegment message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EventSegment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EventSegment
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.EventSegment;
+
+ /**
+ * Creates a plain object from an EventSegment message. Also converts values to other types if specified.
+ * @param message EventSegment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.EventSegment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EventSegment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EventSegment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EventSegmentCriteria. */
+ interface IEventSegmentCriteria {
+
+ /** EventSegmentCriteria andConditionGroups */
+ andConditionGroups?: (google.analytics.data.v1alpha.IEventSegmentConditionGroup[]|null);
+ }
+
+ /** Represents an EventSegmentCriteria. */
+ class EventSegmentCriteria implements IEventSegmentCriteria {
+
+ /**
+ * Constructs a new EventSegmentCriteria.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IEventSegmentCriteria);
+
+ /** EventSegmentCriteria andConditionGroups. */
+ public andConditionGroups: google.analytics.data.v1alpha.IEventSegmentConditionGroup[];
+
+ /**
+ * Creates a new EventSegmentCriteria instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EventSegmentCriteria instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IEventSegmentCriteria): google.analytics.data.v1alpha.EventSegmentCriteria;
+
+ /**
+ * Encodes the specified EventSegmentCriteria message. Does not implicitly {@link google.analytics.data.v1alpha.EventSegmentCriteria.verify|verify} messages.
+ * @param message EventSegmentCriteria message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IEventSegmentCriteria, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EventSegmentCriteria message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.EventSegmentCriteria.verify|verify} messages.
+ * @param message EventSegmentCriteria message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IEventSegmentCriteria, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EventSegmentCriteria message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EventSegmentCriteria
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.EventSegmentCriteria;
+
+ /**
+ * Decodes an EventSegmentCriteria message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EventSegmentCriteria
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.EventSegmentCriteria;
+
+ /**
+ * Verifies an EventSegmentCriteria message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EventSegmentCriteria message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EventSegmentCriteria
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.EventSegmentCriteria;
+
+ /**
+ * Creates a plain object from an EventSegmentCriteria message. Also converts values to other types if specified.
+ * @param message EventSegmentCriteria
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.EventSegmentCriteria, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EventSegmentCriteria to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EventSegmentCriteria
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** EventCriteriaScoping enum. */
+ enum EventCriteriaScoping {
+ EVENT_CRITERIA_SCOPING_UNSPECIFIED = 0,
+ EVENT_CRITERIA_WITHIN_SAME_EVENT = 1
+ }
+
+ /** Properties of an EventSegmentConditionGroup. */
+ interface IEventSegmentConditionGroup {
+
+ /** EventSegmentConditionGroup conditionScoping */
+ conditionScoping?: (google.analytics.data.v1alpha.EventCriteriaScoping|keyof typeof google.analytics.data.v1alpha.EventCriteriaScoping|null);
+
+ /** EventSegmentConditionGroup segmentFilterExpression */
+ segmentFilterExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+ }
+
+ /** Represents an EventSegmentConditionGroup. */
+ class EventSegmentConditionGroup implements IEventSegmentConditionGroup {
+
+ /**
+ * Constructs a new EventSegmentConditionGroup.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IEventSegmentConditionGroup);
+
+ /** EventSegmentConditionGroup conditionScoping. */
+ public conditionScoping: (google.analytics.data.v1alpha.EventCriteriaScoping|keyof typeof google.analytics.data.v1alpha.EventCriteriaScoping);
+
+ /** EventSegmentConditionGroup segmentFilterExpression. */
+ public segmentFilterExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+
+ /**
+ * Creates a new EventSegmentConditionGroup instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EventSegmentConditionGroup instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IEventSegmentConditionGroup): google.analytics.data.v1alpha.EventSegmentConditionGroup;
+
+ /**
+ * Encodes the specified EventSegmentConditionGroup message. Does not implicitly {@link google.analytics.data.v1alpha.EventSegmentConditionGroup.verify|verify} messages.
+ * @param message EventSegmentConditionGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IEventSegmentConditionGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EventSegmentConditionGroup message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.EventSegmentConditionGroup.verify|verify} messages.
+ * @param message EventSegmentConditionGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IEventSegmentConditionGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EventSegmentConditionGroup message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EventSegmentConditionGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.EventSegmentConditionGroup;
+
+ /**
+ * Decodes an EventSegmentConditionGroup message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EventSegmentConditionGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.EventSegmentConditionGroup;
+
+ /**
+ * Verifies an EventSegmentConditionGroup message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EventSegmentConditionGroup message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EventSegmentConditionGroup
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.EventSegmentConditionGroup;
+
+ /**
+ * Creates a plain object from an EventSegmentConditionGroup message. Also converts values to other types if specified.
+ * @param message EventSegmentConditionGroup
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.EventSegmentConditionGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EventSegmentConditionGroup to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EventSegmentConditionGroup
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EventSegmentExclusion. */
+ interface IEventSegmentExclusion {
+
+ /** EventSegmentExclusion eventExclusionDuration */
+ eventExclusionDuration?: (google.analytics.data.v1alpha.EventExclusionDuration|keyof typeof google.analytics.data.v1alpha.EventExclusionDuration|null);
+
+ /** EventSegmentExclusion eventExclusionCriteria */
+ eventExclusionCriteria?: (google.analytics.data.v1alpha.IEventSegmentCriteria|null);
+ }
+
+ /** Represents an EventSegmentExclusion. */
+ class EventSegmentExclusion implements IEventSegmentExclusion {
+
+ /**
+ * Constructs a new EventSegmentExclusion.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IEventSegmentExclusion);
+
+ /** EventSegmentExclusion eventExclusionDuration. */
+ public eventExclusionDuration: (google.analytics.data.v1alpha.EventExclusionDuration|keyof typeof google.analytics.data.v1alpha.EventExclusionDuration);
+
+ /** EventSegmentExclusion eventExclusionCriteria. */
+ public eventExclusionCriteria?: (google.analytics.data.v1alpha.IEventSegmentCriteria|null);
+
+ /**
+ * Creates a new EventSegmentExclusion instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EventSegmentExclusion instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IEventSegmentExclusion): google.analytics.data.v1alpha.EventSegmentExclusion;
+
+ /**
+ * Encodes the specified EventSegmentExclusion message. Does not implicitly {@link google.analytics.data.v1alpha.EventSegmentExclusion.verify|verify} messages.
+ * @param message EventSegmentExclusion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IEventSegmentExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EventSegmentExclusion message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.EventSegmentExclusion.verify|verify} messages.
+ * @param message EventSegmentExclusion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IEventSegmentExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EventSegmentExclusion message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EventSegmentExclusion
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.EventSegmentExclusion;
+
+ /**
+ * Decodes an EventSegmentExclusion message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EventSegmentExclusion
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.EventSegmentExclusion;
+
+ /**
+ * Verifies an EventSegmentExclusion message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EventSegmentExclusion message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EventSegmentExclusion
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.EventSegmentExclusion;
+
+ /**
+ * Creates a plain object from an EventSegmentExclusion message. Also converts values to other types if specified.
+ * @param message EventSegmentExclusion
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.EventSegmentExclusion, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EventSegmentExclusion to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EventSegmentExclusion
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** EventExclusionDuration enum. */
+ enum EventExclusionDuration {
+ EVENT_EXCLUSION_DURATION_UNSPECIFIED = 0,
+ EVENT_EXCLUSION_PERMANENT = 1
+ }
+
+ /** Properties of a Segment. */
+ interface ISegment {
+
+ /** Segment name */
+ name?: (string|null);
+
+ /** Segment userSegment */
+ userSegment?: (google.analytics.data.v1alpha.IUserSegment|null);
+
+ /** Segment sessionSegment */
+ sessionSegment?: (google.analytics.data.v1alpha.ISessionSegment|null);
+
+ /** Segment eventSegment */
+ eventSegment?: (google.analytics.data.v1alpha.IEventSegment|null);
+ }
+
+ /** Represents a Segment. */
+ class Segment implements ISegment {
+
+ /**
+ * Constructs a new Segment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegment);
+
+ /** Segment name. */
+ public name: string;
+
+ /** Segment userSegment. */
+ public userSegment?: (google.analytics.data.v1alpha.IUserSegment|null);
+
+ /** Segment sessionSegment. */
+ public sessionSegment?: (google.analytics.data.v1alpha.ISessionSegment|null);
+
+ /** Segment eventSegment. */
+ public eventSegment?: (google.analytics.data.v1alpha.IEventSegment|null);
+
+ /** Segment oneSegmentScope. */
+ public oneSegmentScope?: ("userSegment"|"sessionSegment"|"eventSegment");
+
+ /**
+ * Creates a new Segment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Segment instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegment): google.analytics.data.v1alpha.Segment;
+
+ /**
+ * Encodes the specified Segment message. Does not implicitly {@link google.analytics.data.v1alpha.Segment.verify|verify} messages.
+ * @param message Segment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Segment message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.Segment.verify|verify} messages.
+ * @param message Segment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Segment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Segment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.Segment;
+
+ /**
+ * Decodes a Segment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Segment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.Segment;
+
+ /**
+ * Verifies a Segment message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Segment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Segment
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.Segment;
+
+ /**
+ * Creates a plain object from a Segment message. Also converts values to other types if specified.
+ * @param message Segment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.Segment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Segment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Segment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SegmentFilterExpression. */
+ interface ISegmentFilterExpression {
+
+ /** SegmentFilterExpression andGroup */
+ andGroup?: (google.analytics.data.v1alpha.ISegmentFilterExpressionList|null);
+
+ /** SegmentFilterExpression orGroup */
+ orGroup?: (google.analytics.data.v1alpha.ISegmentFilterExpressionList|null);
+
+ /** SegmentFilterExpression notExpression */
+ notExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+
+ /** SegmentFilterExpression segmentFilter */
+ segmentFilter?: (google.analytics.data.v1alpha.ISegmentFilter|null);
+
+ /** SegmentFilterExpression segmentEventFilter */
+ segmentEventFilter?: (google.analytics.data.v1alpha.ISegmentEventFilter|null);
+ }
+
+ /** Represents a SegmentFilterExpression. */
+ class SegmentFilterExpression implements ISegmentFilterExpression {
+
+ /**
+ * Constructs a new SegmentFilterExpression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegmentFilterExpression);
+
+ /** SegmentFilterExpression andGroup. */
+ public andGroup?: (google.analytics.data.v1alpha.ISegmentFilterExpressionList|null);
+
+ /** SegmentFilterExpression orGroup. */
+ public orGroup?: (google.analytics.data.v1alpha.ISegmentFilterExpressionList|null);
+
+ /** SegmentFilterExpression notExpression. */
+ public notExpression?: (google.analytics.data.v1alpha.ISegmentFilterExpression|null);
+
+ /** SegmentFilterExpression segmentFilter. */
+ public segmentFilter?: (google.analytics.data.v1alpha.ISegmentFilter|null);
+
+ /** SegmentFilterExpression segmentEventFilter. */
+ public segmentEventFilter?: (google.analytics.data.v1alpha.ISegmentEventFilter|null);
+
+ /** SegmentFilterExpression expr. */
+ public expr?: ("andGroup"|"orGroup"|"notExpression"|"segmentFilter"|"segmentEventFilter");
+
+ /**
+ * Creates a new SegmentFilterExpression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SegmentFilterExpression instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegmentFilterExpression): google.analytics.data.v1alpha.SegmentFilterExpression;
+
+ /**
+ * Encodes the specified SegmentFilterExpression message. Does not implicitly {@link google.analytics.data.v1alpha.SegmentFilterExpression.verify|verify} messages.
+ * @param message SegmentFilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegmentFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SegmentFilterExpression message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SegmentFilterExpression.verify|verify} messages.
+ * @param message SegmentFilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegmentFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SegmentFilterExpression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SegmentFilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SegmentFilterExpression;
+
+ /**
+ * Decodes a SegmentFilterExpression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SegmentFilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SegmentFilterExpression;
+
+ /**
+ * Verifies a SegmentFilterExpression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SegmentFilterExpression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SegmentFilterExpression
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SegmentFilterExpression;
+
+ /**
+ * Creates a plain object from a SegmentFilterExpression message. Also converts values to other types if specified.
+ * @param message SegmentFilterExpression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SegmentFilterExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SegmentFilterExpression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SegmentFilterExpression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SegmentFilterExpressionList. */
+ interface ISegmentFilterExpressionList {
+
+ /** SegmentFilterExpressionList expressions */
+ expressions?: (google.analytics.data.v1alpha.ISegmentFilterExpression[]|null);
+ }
+
+ /** Represents a SegmentFilterExpressionList. */
+ class SegmentFilterExpressionList implements ISegmentFilterExpressionList {
+
+ /**
+ * Constructs a new SegmentFilterExpressionList.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegmentFilterExpressionList);
+
+ /** SegmentFilterExpressionList expressions. */
+ public expressions: google.analytics.data.v1alpha.ISegmentFilterExpression[];
+
+ /**
+ * Creates a new SegmentFilterExpressionList instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SegmentFilterExpressionList instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegmentFilterExpressionList): google.analytics.data.v1alpha.SegmentFilterExpressionList;
+
+ /**
+ * Encodes the specified SegmentFilterExpressionList message. Does not implicitly {@link google.analytics.data.v1alpha.SegmentFilterExpressionList.verify|verify} messages.
+ * @param message SegmentFilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegmentFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SegmentFilterExpressionList message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SegmentFilterExpressionList.verify|verify} messages.
+ * @param message SegmentFilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegmentFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SegmentFilterExpressionList message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SegmentFilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SegmentFilterExpressionList;
+
+ /**
+ * Decodes a SegmentFilterExpressionList message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SegmentFilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SegmentFilterExpressionList;
+
+ /**
+ * Verifies a SegmentFilterExpressionList message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SegmentFilterExpressionList message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SegmentFilterExpressionList
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SegmentFilterExpressionList;
+
+ /**
+ * Creates a plain object from a SegmentFilterExpressionList message. Also converts values to other types if specified.
+ * @param message SegmentFilterExpressionList
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SegmentFilterExpressionList, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SegmentFilterExpressionList to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SegmentFilterExpressionList
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SegmentFilter. */
+ interface ISegmentFilter {
+
+ /** SegmentFilter fieldName */
+ fieldName?: (string|null);
+
+ /** SegmentFilter stringFilter */
+ stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** SegmentFilter inListFilter */
+ inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** SegmentFilter numericFilter */
+ numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** SegmentFilter betweenFilter */
+ betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+
+ /** SegmentFilter filterScoping */
+ filterScoping?: (google.analytics.data.v1alpha.ISegmentFilterScoping|null);
+ }
+
+ /** Represents a SegmentFilter. */
+ class SegmentFilter implements ISegmentFilter {
+
+ /**
+ * Constructs a new SegmentFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegmentFilter);
+
+ /** SegmentFilter fieldName. */
+ public fieldName: string;
+
+ /** SegmentFilter stringFilter. */
+ public stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** SegmentFilter inListFilter. */
+ public inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** SegmentFilter numericFilter. */
+ public numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** SegmentFilter betweenFilter. */
+ public betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+
+ /** SegmentFilter filterScoping. */
+ public filterScoping?: (google.analytics.data.v1alpha.ISegmentFilterScoping|null);
+
+ /** SegmentFilter oneFilter. */
+ public oneFilter?: ("stringFilter"|"inListFilter"|"numericFilter"|"betweenFilter");
+
+ /**
+ * Creates a new SegmentFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SegmentFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegmentFilter): google.analytics.data.v1alpha.SegmentFilter;
+
+ /**
+ * Encodes the specified SegmentFilter message. Does not implicitly {@link google.analytics.data.v1alpha.SegmentFilter.verify|verify} messages.
+ * @param message SegmentFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegmentFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SegmentFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SegmentFilter.verify|verify} messages.
+ * @param message SegmentFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegmentFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SegmentFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SegmentFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SegmentFilter;
+
+ /**
+ * Decodes a SegmentFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SegmentFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SegmentFilter;
+
+ /**
+ * Verifies a SegmentFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SegmentFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SegmentFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SegmentFilter;
+
+ /**
+ * Creates a plain object from a SegmentFilter message. Also converts values to other types if specified.
+ * @param message SegmentFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SegmentFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SegmentFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SegmentFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SegmentFilterScoping. */
+ interface ISegmentFilterScoping {
+
+ /** SegmentFilterScoping atAnyPointInTime */
+ atAnyPointInTime?: (boolean|null);
+ }
+
+ /** Represents a SegmentFilterScoping. */
+ class SegmentFilterScoping implements ISegmentFilterScoping {
+
+ /**
+ * Constructs a new SegmentFilterScoping.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegmentFilterScoping);
+
+ /** SegmentFilterScoping atAnyPointInTime. */
+ public atAnyPointInTime?: (boolean|null);
+
+ /**
+ * Creates a new SegmentFilterScoping instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SegmentFilterScoping instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegmentFilterScoping): google.analytics.data.v1alpha.SegmentFilterScoping;
+
+ /**
+ * Encodes the specified SegmentFilterScoping message. Does not implicitly {@link google.analytics.data.v1alpha.SegmentFilterScoping.verify|verify} messages.
+ * @param message SegmentFilterScoping message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegmentFilterScoping, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SegmentFilterScoping message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SegmentFilterScoping.verify|verify} messages.
+ * @param message SegmentFilterScoping message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegmentFilterScoping, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SegmentFilterScoping message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SegmentFilterScoping
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SegmentFilterScoping;
+
+ /**
+ * Decodes a SegmentFilterScoping message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SegmentFilterScoping
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SegmentFilterScoping;
+
+ /**
+ * Verifies a SegmentFilterScoping message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SegmentFilterScoping message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SegmentFilterScoping
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SegmentFilterScoping;
+
+ /**
+ * Creates a plain object from a SegmentFilterScoping message. Also converts values to other types if specified.
+ * @param message SegmentFilterScoping
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SegmentFilterScoping, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SegmentFilterScoping to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SegmentFilterScoping
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SegmentEventFilter. */
+ interface ISegmentEventFilter {
+
+ /** SegmentEventFilter eventName */
+ eventName?: (string|null);
+
+ /** SegmentEventFilter segmentParameterFilterExpression */
+ segmentParameterFilterExpression?: (google.analytics.data.v1alpha.ISegmentParameterFilterExpression|null);
+ }
+
+ /** Represents a SegmentEventFilter. */
+ class SegmentEventFilter implements ISegmentEventFilter {
+
+ /**
+ * Constructs a new SegmentEventFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegmentEventFilter);
+
+ /** SegmentEventFilter eventName. */
+ public eventName?: (string|null);
+
+ /** SegmentEventFilter segmentParameterFilterExpression. */
+ public segmentParameterFilterExpression?: (google.analytics.data.v1alpha.ISegmentParameterFilterExpression|null);
+
+ /**
+ * Creates a new SegmentEventFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SegmentEventFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegmentEventFilter): google.analytics.data.v1alpha.SegmentEventFilter;
+
+ /**
+ * Encodes the specified SegmentEventFilter message. Does not implicitly {@link google.analytics.data.v1alpha.SegmentEventFilter.verify|verify} messages.
+ * @param message SegmentEventFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegmentEventFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SegmentEventFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SegmentEventFilter.verify|verify} messages.
+ * @param message SegmentEventFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegmentEventFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SegmentEventFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SegmentEventFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SegmentEventFilter;
+
+ /**
+ * Decodes a SegmentEventFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SegmentEventFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SegmentEventFilter;
+
+ /**
+ * Verifies a SegmentEventFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SegmentEventFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SegmentEventFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SegmentEventFilter;
+
+ /**
+ * Creates a plain object from a SegmentEventFilter message. Also converts values to other types if specified.
+ * @param message SegmentEventFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SegmentEventFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SegmentEventFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SegmentEventFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SegmentParameterFilterExpression. */
+ interface ISegmentParameterFilterExpression {
+
+ /** SegmentParameterFilterExpression andGroup */
+ andGroup?: (google.analytics.data.v1alpha.ISegmentParameterFilterExpressionList|null);
+
+ /** SegmentParameterFilterExpression orGroup */
+ orGroup?: (google.analytics.data.v1alpha.ISegmentParameterFilterExpressionList|null);
+
+ /** SegmentParameterFilterExpression notExpression */
+ notExpression?: (google.analytics.data.v1alpha.ISegmentParameterFilterExpression|null);
+
+ /** SegmentParameterFilterExpression segmentParameterFilter */
+ segmentParameterFilter?: (google.analytics.data.v1alpha.ISegmentParameterFilter|null);
+ }
+
+ /** Represents a SegmentParameterFilterExpression. */
+ class SegmentParameterFilterExpression implements ISegmentParameterFilterExpression {
+
+ /**
+ * Constructs a new SegmentParameterFilterExpression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegmentParameterFilterExpression);
+
+ /** SegmentParameterFilterExpression andGroup. */
+ public andGroup?: (google.analytics.data.v1alpha.ISegmentParameterFilterExpressionList|null);
+
+ /** SegmentParameterFilterExpression orGroup. */
+ public orGroup?: (google.analytics.data.v1alpha.ISegmentParameterFilterExpressionList|null);
+
+ /** SegmentParameterFilterExpression notExpression. */
+ public notExpression?: (google.analytics.data.v1alpha.ISegmentParameterFilterExpression|null);
+
+ /** SegmentParameterFilterExpression segmentParameterFilter. */
+ public segmentParameterFilter?: (google.analytics.data.v1alpha.ISegmentParameterFilter|null);
+
+ /** SegmentParameterFilterExpression expr. */
+ public expr?: ("andGroup"|"orGroup"|"notExpression"|"segmentParameterFilter");
+
+ /**
+ * Creates a new SegmentParameterFilterExpression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SegmentParameterFilterExpression instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegmentParameterFilterExpression): google.analytics.data.v1alpha.SegmentParameterFilterExpression;
+
+ /**
+ * Encodes the specified SegmentParameterFilterExpression message. Does not implicitly {@link google.analytics.data.v1alpha.SegmentParameterFilterExpression.verify|verify} messages.
+ * @param message SegmentParameterFilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegmentParameterFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SegmentParameterFilterExpression message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SegmentParameterFilterExpression.verify|verify} messages.
+ * @param message SegmentParameterFilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegmentParameterFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SegmentParameterFilterExpression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SegmentParameterFilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SegmentParameterFilterExpression;
+
+ /**
+ * Decodes a SegmentParameterFilterExpression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SegmentParameterFilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SegmentParameterFilterExpression;
+
+ /**
+ * Verifies a SegmentParameterFilterExpression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SegmentParameterFilterExpression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SegmentParameterFilterExpression
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SegmentParameterFilterExpression;
+
+ /**
+ * Creates a plain object from a SegmentParameterFilterExpression message. Also converts values to other types if specified.
+ * @param message SegmentParameterFilterExpression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SegmentParameterFilterExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SegmentParameterFilterExpression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SegmentParameterFilterExpression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SegmentParameterFilterExpressionList. */
+ interface ISegmentParameterFilterExpressionList {
+
+ /** SegmentParameterFilterExpressionList expressions */
+ expressions?: (google.analytics.data.v1alpha.ISegmentParameterFilterExpression[]|null);
+ }
+
+ /** Represents a SegmentParameterFilterExpressionList. */
+ class SegmentParameterFilterExpressionList implements ISegmentParameterFilterExpressionList {
+
+ /**
+ * Constructs a new SegmentParameterFilterExpressionList.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegmentParameterFilterExpressionList);
+
+ /** SegmentParameterFilterExpressionList expressions. */
+ public expressions: google.analytics.data.v1alpha.ISegmentParameterFilterExpression[];
+
+ /**
+ * Creates a new SegmentParameterFilterExpressionList instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SegmentParameterFilterExpressionList instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegmentParameterFilterExpressionList): google.analytics.data.v1alpha.SegmentParameterFilterExpressionList;
+
+ /**
+ * Encodes the specified SegmentParameterFilterExpressionList message. Does not implicitly {@link google.analytics.data.v1alpha.SegmentParameterFilterExpressionList.verify|verify} messages.
+ * @param message SegmentParameterFilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegmentParameterFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SegmentParameterFilterExpressionList message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SegmentParameterFilterExpressionList.verify|verify} messages.
+ * @param message SegmentParameterFilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegmentParameterFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SegmentParameterFilterExpressionList message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SegmentParameterFilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SegmentParameterFilterExpressionList;
+
+ /**
+ * Decodes a SegmentParameterFilterExpressionList message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SegmentParameterFilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SegmentParameterFilterExpressionList;
+
+ /**
+ * Verifies a SegmentParameterFilterExpressionList message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SegmentParameterFilterExpressionList message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SegmentParameterFilterExpressionList
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SegmentParameterFilterExpressionList;
+
+ /**
+ * Creates a plain object from a SegmentParameterFilterExpressionList message. Also converts values to other types if specified.
+ * @param message SegmentParameterFilterExpressionList
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SegmentParameterFilterExpressionList, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SegmentParameterFilterExpressionList to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SegmentParameterFilterExpressionList
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SegmentParameterFilter. */
+ interface ISegmentParameterFilter {
+
+ /** SegmentParameterFilter eventParameterName */
+ eventParameterName?: (string|null);
+
+ /** SegmentParameterFilter itemParameterName */
+ itemParameterName?: (string|null);
+
+ /** SegmentParameterFilter stringFilter */
+ stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** SegmentParameterFilter inListFilter */
+ inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** SegmentParameterFilter numericFilter */
+ numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** SegmentParameterFilter betweenFilter */
+ betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+
+ /** SegmentParameterFilter filterScoping */
+ filterScoping?: (google.analytics.data.v1alpha.ISegmentParameterFilterScoping|null);
+ }
+
+ /** Represents a SegmentParameterFilter. */
+ class SegmentParameterFilter implements ISegmentParameterFilter {
+
+ /**
+ * Constructs a new SegmentParameterFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegmentParameterFilter);
+
+ /** SegmentParameterFilter eventParameterName. */
+ public eventParameterName?: (string|null);
+
+ /** SegmentParameterFilter itemParameterName. */
+ public itemParameterName?: (string|null);
+
+ /** SegmentParameterFilter stringFilter. */
+ public stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** SegmentParameterFilter inListFilter. */
+ public inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** SegmentParameterFilter numericFilter. */
+ public numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** SegmentParameterFilter betweenFilter. */
+ public betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+
+ /** SegmentParameterFilter filterScoping. */
+ public filterScoping?: (google.analytics.data.v1alpha.ISegmentParameterFilterScoping|null);
+
+ /** SegmentParameterFilter oneParameter. */
+ public oneParameter?: ("eventParameterName"|"itemParameterName");
+
+ /** SegmentParameterFilter oneFilter. */
+ public oneFilter?: ("stringFilter"|"inListFilter"|"numericFilter"|"betweenFilter");
+
+ /**
+ * Creates a new SegmentParameterFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SegmentParameterFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegmentParameterFilter): google.analytics.data.v1alpha.SegmentParameterFilter;
+
+ /**
+ * Encodes the specified SegmentParameterFilter message. Does not implicitly {@link google.analytics.data.v1alpha.SegmentParameterFilter.verify|verify} messages.
+ * @param message SegmentParameterFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegmentParameterFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SegmentParameterFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SegmentParameterFilter.verify|verify} messages.
+ * @param message SegmentParameterFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegmentParameterFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SegmentParameterFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SegmentParameterFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SegmentParameterFilter;
+
+ /**
+ * Decodes a SegmentParameterFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SegmentParameterFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SegmentParameterFilter;
+
+ /**
+ * Verifies a SegmentParameterFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SegmentParameterFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SegmentParameterFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SegmentParameterFilter;
+
+ /**
+ * Creates a plain object from a SegmentParameterFilter message. Also converts values to other types if specified.
+ * @param message SegmentParameterFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SegmentParameterFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SegmentParameterFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SegmentParameterFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SegmentParameterFilterScoping. */
+ interface ISegmentParameterFilterScoping {
+
+ /** SegmentParameterFilterScoping inAnyNDayPeriod */
+ inAnyNDayPeriod?: (number|Long|string|null);
+ }
+
+ /** Represents a SegmentParameterFilterScoping. */
+ class SegmentParameterFilterScoping implements ISegmentParameterFilterScoping {
+
+ /**
+ * Constructs a new SegmentParameterFilterScoping.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISegmentParameterFilterScoping);
+
+ /** SegmentParameterFilterScoping inAnyNDayPeriod. */
+ public inAnyNDayPeriod?: (number|Long|string|null);
+
+ /**
+ * Creates a new SegmentParameterFilterScoping instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SegmentParameterFilterScoping instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISegmentParameterFilterScoping): google.analytics.data.v1alpha.SegmentParameterFilterScoping;
+
+ /**
+ * Encodes the specified SegmentParameterFilterScoping message. Does not implicitly {@link google.analytics.data.v1alpha.SegmentParameterFilterScoping.verify|verify} messages.
+ * @param message SegmentParameterFilterScoping message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISegmentParameterFilterScoping, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SegmentParameterFilterScoping message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SegmentParameterFilterScoping.verify|verify} messages.
+ * @param message SegmentParameterFilterScoping message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISegmentParameterFilterScoping, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SegmentParameterFilterScoping message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SegmentParameterFilterScoping
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SegmentParameterFilterScoping;
+
+ /**
+ * Decodes a SegmentParameterFilterScoping message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SegmentParameterFilterScoping
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SegmentParameterFilterScoping;
+
+ /**
+ * Verifies a SegmentParameterFilterScoping message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SegmentParameterFilterScoping message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SegmentParameterFilterScoping
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SegmentParameterFilterScoping;
+
+ /**
+ * Creates a plain object from a SegmentParameterFilterScoping message. Also converts values to other types if specified.
+ * @param message SegmentParameterFilterScoping
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SegmentParameterFilterScoping, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SegmentParameterFilterScoping to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SegmentParameterFilterScoping
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelFilterExpression. */
+ interface IFunnelFilterExpression {
+
+ /** FunnelFilterExpression andGroup */
+ andGroup?: (google.analytics.data.v1alpha.IFunnelFilterExpressionList|null);
+
+ /** FunnelFilterExpression orGroup */
+ orGroup?: (google.analytics.data.v1alpha.IFunnelFilterExpressionList|null);
+
+ /** FunnelFilterExpression notExpression */
+ notExpression?: (google.analytics.data.v1alpha.IFunnelFilterExpression|null);
+
+ /** FunnelFilterExpression funnelFieldFilter */
+ funnelFieldFilter?: (google.analytics.data.v1alpha.IFunnelFieldFilter|null);
+
+ /** FunnelFilterExpression funnelEventFilter */
+ funnelEventFilter?: (google.analytics.data.v1alpha.IFunnelEventFilter|null);
+ }
+
+ /** Represents a FunnelFilterExpression. */
+ class FunnelFilterExpression implements IFunnelFilterExpression {
+
+ /**
+ * Constructs a new FunnelFilterExpression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelFilterExpression);
+
+ /** FunnelFilterExpression andGroup. */
+ public andGroup?: (google.analytics.data.v1alpha.IFunnelFilterExpressionList|null);
+
+ /** FunnelFilterExpression orGroup. */
+ public orGroup?: (google.analytics.data.v1alpha.IFunnelFilterExpressionList|null);
+
+ /** FunnelFilterExpression notExpression. */
+ public notExpression?: (google.analytics.data.v1alpha.IFunnelFilterExpression|null);
+
+ /** FunnelFilterExpression funnelFieldFilter. */
+ public funnelFieldFilter?: (google.analytics.data.v1alpha.IFunnelFieldFilter|null);
+
+ /** FunnelFilterExpression funnelEventFilter. */
+ public funnelEventFilter?: (google.analytics.data.v1alpha.IFunnelEventFilter|null);
+
+ /** FunnelFilterExpression expr. */
+ public expr?: ("andGroup"|"orGroup"|"notExpression"|"funnelFieldFilter"|"funnelEventFilter");
+
+ /**
+ * Creates a new FunnelFilterExpression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelFilterExpression instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelFilterExpression): google.analytics.data.v1alpha.FunnelFilterExpression;
+
+ /**
+ * Encodes the specified FunnelFilterExpression message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelFilterExpression.verify|verify} messages.
+ * @param message FunnelFilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelFilterExpression message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelFilterExpression.verify|verify} messages.
+ * @param message FunnelFilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelFilterExpression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelFilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelFilterExpression;
+
+ /**
+ * Decodes a FunnelFilterExpression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelFilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelFilterExpression;
+
+ /**
+ * Verifies a FunnelFilterExpression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelFilterExpression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelFilterExpression
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelFilterExpression;
+
+ /**
+ * Creates a plain object from a FunnelFilterExpression message. Also converts values to other types if specified.
+ * @param message FunnelFilterExpression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelFilterExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelFilterExpression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelFilterExpression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelFilterExpressionList. */
+ interface IFunnelFilterExpressionList {
+
+ /** FunnelFilterExpressionList expressions */
+ expressions?: (google.analytics.data.v1alpha.IFunnelFilterExpression[]|null);
+ }
+
+ /** Represents a FunnelFilterExpressionList. */
+ class FunnelFilterExpressionList implements IFunnelFilterExpressionList {
+
+ /**
+ * Constructs a new FunnelFilterExpressionList.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelFilterExpressionList);
+
+ /** FunnelFilterExpressionList expressions. */
+ public expressions: google.analytics.data.v1alpha.IFunnelFilterExpression[];
+
+ /**
+ * Creates a new FunnelFilterExpressionList instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelFilterExpressionList instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelFilterExpressionList): google.analytics.data.v1alpha.FunnelFilterExpressionList;
+
+ /**
+ * Encodes the specified FunnelFilterExpressionList message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelFilterExpressionList.verify|verify} messages.
+ * @param message FunnelFilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelFilterExpressionList message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelFilterExpressionList.verify|verify} messages.
+ * @param message FunnelFilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelFilterExpressionList message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelFilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelFilterExpressionList;
+
+ /**
+ * Decodes a FunnelFilterExpressionList message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelFilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelFilterExpressionList;
+
+ /**
+ * Verifies a FunnelFilterExpressionList message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelFilterExpressionList message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelFilterExpressionList
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelFilterExpressionList;
+
+ /**
+ * Creates a plain object from a FunnelFilterExpressionList message. Also converts values to other types if specified.
+ * @param message FunnelFilterExpressionList
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelFilterExpressionList, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelFilterExpressionList to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelFilterExpressionList
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelFieldFilter. */
+ interface IFunnelFieldFilter {
+
+ /** FunnelFieldFilter fieldName */
+ fieldName?: (string|null);
+
+ /** FunnelFieldFilter stringFilter */
+ stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** FunnelFieldFilter inListFilter */
+ inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** FunnelFieldFilter numericFilter */
+ numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** FunnelFieldFilter betweenFilter */
+ betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+ }
+
+ /** Represents a FunnelFieldFilter. */
+ class FunnelFieldFilter implements IFunnelFieldFilter {
+
+ /**
+ * Constructs a new FunnelFieldFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelFieldFilter);
+
+ /** FunnelFieldFilter fieldName. */
+ public fieldName: string;
+
+ /** FunnelFieldFilter stringFilter. */
+ public stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** FunnelFieldFilter inListFilter. */
+ public inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** FunnelFieldFilter numericFilter. */
+ public numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** FunnelFieldFilter betweenFilter. */
+ public betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+
+ /** FunnelFieldFilter oneFilter. */
+ public oneFilter?: ("stringFilter"|"inListFilter"|"numericFilter"|"betweenFilter");
+
+ /**
+ * Creates a new FunnelFieldFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelFieldFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelFieldFilter): google.analytics.data.v1alpha.FunnelFieldFilter;
+
+ /**
+ * Encodes the specified FunnelFieldFilter message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelFieldFilter.verify|verify} messages.
+ * @param message FunnelFieldFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelFieldFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelFieldFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelFieldFilter.verify|verify} messages.
+ * @param message FunnelFieldFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelFieldFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelFieldFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelFieldFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelFieldFilter;
+
+ /**
+ * Decodes a FunnelFieldFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelFieldFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelFieldFilter;
+
+ /**
+ * Verifies a FunnelFieldFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelFieldFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelFieldFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelFieldFilter;
+
+ /**
+ * Creates a plain object from a FunnelFieldFilter message. Also converts values to other types if specified.
+ * @param message FunnelFieldFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelFieldFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelFieldFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelFieldFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelEventFilter. */
+ interface IFunnelEventFilter {
+
+ /** FunnelEventFilter eventName */
+ eventName?: (string|null);
+
+ /** FunnelEventFilter funnelParameterFilterExpression */
+ funnelParameterFilterExpression?: (google.analytics.data.v1alpha.IFunnelParameterFilterExpression|null);
+ }
+
+ /** Represents a FunnelEventFilter. */
+ class FunnelEventFilter implements IFunnelEventFilter {
+
+ /**
+ * Constructs a new FunnelEventFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelEventFilter);
+
+ /** FunnelEventFilter eventName. */
+ public eventName?: (string|null);
+
+ /** FunnelEventFilter funnelParameterFilterExpression. */
+ public funnelParameterFilterExpression?: (google.analytics.data.v1alpha.IFunnelParameterFilterExpression|null);
+
+ /**
+ * Creates a new FunnelEventFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelEventFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelEventFilter): google.analytics.data.v1alpha.FunnelEventFilter;
+
+ /**
+ * Encodes the specified FunnelEventFilter message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelEventFilter.verify|verify} messages.
+ * @param message FunnelEventFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelEventFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelEventFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelEventFilter.verify|verify} messages.
+ * @param message FunnelEventFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelEventFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelEventFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelEventFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelEventFilter;
+
+ /**
+ * Decodes a FunnelEventFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelEventFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelEventFilter;
+
+ /**
+ * Verifies a FunnelEventFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelEventFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelEventFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelEventFilter;
+
+ /**
+ * Creates a plain object from a FunnelEventFilter message. Also converts values to other types if specified.
+ * @param message FunnelEventFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelEventFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelEventFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelEventFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelParameterFilterExpression. */
+ interface IFunnelParameterFilterExpression {
+
+ /** FunnelParameterFilterExpression andGroup */
+ andGroup?: (google.analytics.data.v1alpha.IFunnelParameterFilterExpressionList|null);
+
+ /** FunnelParameterFilterExpression orGroup */
+ orGroup?: (google.analytics.data.v1alpha.IFunnelParameterFilterExpressionList|null);
+
+ /** FunnelParameterFilterExpression notExpression */
+ notExpression?: (google.analytics.data.v1alpha.IFunnelParameterFilterExpression|null);
+
+ /** FunnelParameterFilterExpression funnelParameterFilter */
+ funnelParameterFilter?: (google.analytics.data.v1alpha.IFunnelParameterFilter|null);
+ }
+
+ /** Represents a FunnelParameterFilterExpression. */
+ class FunnelParameterFilterExpression implements IFunnelParameterFilterExpression {
+
+ /**
+ * Constructs a new FunnelParameterFilterExpression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelParameterFilterExpression);
+
+ /** FunnelParameterFilterExpression andGroup. */
+ public andGroup?: (google.analytics.data.v1alpha.IFunnelParameterFilterExpressionList|null);
+
+ /** FunnelParameterFilterExpression orGroup. */
+ public orGroup?: (google.analytics.data.v1alpha.IFunnelParameterFilterExpressionList|null);
+
+ /** FunnelParameterFilterExpression notExpression. */
+ public notExpression?: (google.analytics.data.v1alpha.IFunnelParameterFilterExpression|null);
+
+ /** FunnelParameterFilterExpression funnelParameterFilter. */
+ public funnelParameterFilter?: (google.analytics.data.v1alpha.IFunnelParameterFilter|null);
+
+ /** FunnelParameterFilterExpression expr. */
+ public expr?: ("andGroup"|"orGroup"|"notExpression"|"funnelParameterFilter");
+
+ /**
+ * Creates a new FunnelParameterFilterExpression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelParameterFilterExpression instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelParameterFilterExpression): google.analytics.data.v1alpha.FunnelParameterFilterExpression;
+
+ /**
+ * Encodes the specified FunnelParameterFilterExpression message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelParameterFilterExpression.verify|verify} messages.
+ * @param message FunnelParameterFilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelParameterFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelParameterFilterExpression message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelParameterFilterExpression.verify|verify} messages.
+ * @param message FunnelParameterFilterExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelParameterFilterExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelParameterFilterExpression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelParameterFilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelParameterFilterExpression;
+
+ /**
+ * Decodes a FunnelParameterFilterExpression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelParameterFilterExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelParameterFilterExpression;
+
+ /**
+ * Verifies a FunnelParameterFilterExpression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelParameterFilterExpression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelParameterFilterExpression
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelParameterFilterExpression;
+
+ /**
+ * Creates a plain object from a FunnelParameterFilterExpression message. Also converts values to other types if specified.
+ * @param message FunnelParameterFilterExpression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelParameterFilterExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelParameterFilterExpression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelParameterFilterExpression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelParameterFilterExpressionList. */
+ interface IFunnelParameterFilterExpressionList {
+
+ /** FunnelParameterFilterExpressionList expressions */
+ expressions?: (google.analytics.data.v1alpha.IFunnelParameterFilterExpression[]|null);
+ }
+
+ /** Represents a FunnelParameterFilterExpressionList. */
+ class FunnelParameterFilterExpressionList implements IFunnelParameterFilterExpressionList {
+
+ /**
+ * Constructs a new FunnelParameterFilterExpressionList.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelParameterFilterExpressionList);
+
+ /** FunnelParameterFilterExpressionList expressions. */
+ public expressions: google.analytics.data.v1alpha.IFunnelParameterFilterExpression[];
+
+ /**
+ * Creates a new FunnelParameterFilterExpressionList instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelParameterFilterExpressionList instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelParameterFilterExpressionList): google.analytics.data.v1alpha.FunnelParameterFilterExpressionList;
+
+ /**
+ * Encodes the specified FunnelParameterFilterExpressionList message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelParameterFilterExpressionList.verify|verify} messages.
+ * @param message FunnelParameterFilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelParameterFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelParameterFilterExpressionList message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelParameterFilterExpressionList.verify|verify} messages.
+ * @param message FunnelParameterFilterExpressionList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelParameterFilterExpressionList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelParameterFilterExpressionList message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelParameterFilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelParameterFilterExpressionList;
+
+ /**
+ * Decodes a FunnelParameterFilterExpressionList message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelParameterFilterExpressionList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelParameterFilterExpressionList;
+
+ /**
+ * Verifies a FunnelParameterFilterExpressionList message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelParameterFilterExpressionList message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelParameterFilterExpressionList
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelParameterFilterExpressionList;
+
+ /**
+ * Creates a plain object from a FunnelParameterFilterExpressionList message. Also converts values to other types if specified.
+ * @param message FunnelParameterFilterExpressionList
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelParameterFilterExpressionList, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelParameterFilterExpressionList to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelParameterFilterExpressionList
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelParameterFilter. */
+ interface IFunnelParameterFilter {
+
+ /** FunnelParameterFilter eventParameterName */
+ eventParameterName?: (string|null);
+
+ /** FunnelParameterFilter itemParameterName */
+ itemParameterName?: (string|null);
+
+ /** FunnelParameterFilter stringFilter */
+ stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** FunnelParameterFilter inListFilter */
+ inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** FunnelParameterFilter numericFilter */
+ numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** FunnelParameterFilter betweenFilter */
+ betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+ }
+
+ /** Represents a FunnelParameterFilter. */
+ class FunnelParameterFilter implements IFunnelParameterFilter {
+
+ /**
+ * Constructs a new FunnelParameterFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelParameterFilter);
+
+ /** FunnelParameterFilter eventParameterName. */
+ public eventParameterName?: (string|null);
+
+ /** FunnelParameterFilter itemParameterName. */
+ public itemParameterName?: (string|null);
+
+ /** FunnelParameterFilter stringFilter. */
+ public stringFilter?: (google.analytics.data.v1alpha.IStringFilter|null);
+
+ /** FunnelParameterFilter inListFilter. */
+ public inListFilter?: (google.analytics.data.v1alpha.IInListFilter|null);
+
+ /** FunnelParameterFilter numericFilter. */
+ public numericFilter?: (google.analytics.data.v1alpha.INumericFilter|null);
+
+ /** FunnelParameterFilter betweenFilter. */
+ public betweenFilter?: (google.analytics.data.v1alpha.IBetweenFilter|null);
+
+ /** FunnelParameterFilter oneParameter. */
+ public oneParameter?: ("eventParameterName"|"itemParameterName");
+
+ /** FunnelParameterFilter oneFilter. */
+ public oneFilter?: ("stringFilter"|"inListFilter"|"numericFilter"|"betweenFilter");
+
+ /**
+ * Creates a new FunnelParameterFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelParameterFilter instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelParameterFilter): google.analytics.data.v1alpha.FunnelParameterFilter;
+
+ /**
+ * Encodes the specified FunnelParameterFilter message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelParameterFilter.verify|verify} messages.
+ * @param message FunnelParameterFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelParameterFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelParameterFilter message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelParameterFilter.verify|verify} messages.
+ * @param message FunnelParameterFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelParameterFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelParameterFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelParameterFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelParameterFilter;
+
+ /**
+ * Decodes a FunnelParameterFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelParameterFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelParameterFilter;
+
+ /**
+ * Verifies a FunnelParameterFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelParameterFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelParameterFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelParameterFilter;
+
+ /**
+ * Creates a plain object from a FunnelParameterFilter message. Also converts values to other types if specified.
+ * @param message FunnelParameterFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelParameterFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelParameterFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelParameterFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FunnelResponseMetadata. */
+ interface IFunnelResponseMetadata {
+
+ /** FunnelResponseMetadata samplingMetadatas */
+ samplingMetadatas?: (google.analytics.data.v1alpha.ISamplingMetadata[]|null);
+ }
+
+ /** Represents a FunnelResponseMetadata. */
+ class FunnelResponseMetadata implements IFunnelResponseMetadata {
+
+ /**
+ * Constructs a new FunnelResponseMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.IFunnelResponseMetadata);
+
+ /** FunnelResponseMetadata samplingMetadatas. */
+ public samplingMetadatas: google.analytics.data.v1alpha.ISamplingMetadata[];
+
+ /**
+ * Creates a new FunnelResponseMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FunnelResponseMetadata instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.IFunnelResponseMetadata): google.analytics.data.v1alpha.FunnelResponseMetadata;
+
+ /**
+ * Encodes the specified FunnelResponseMetadata message. Does not implicitly {@link google.analytics.data.v1alpha.FunnelResponseMetadata.verify|verify} messages.
+ * @param message FunnelResponseMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.IFunnelResponseMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FunnelResponseMetadata message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.FunnelResponseMetadata.verify|verify} messages.
+ * @param message FunnelResponseMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IFunnelResponseMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FunnelResponseMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FunnelResponseMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.FunnelResponseMetadata;
+
+ /**
+ * Decodes a FunnelResponseMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FunnelResponseMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.FunnelResponseMetadata;
+
+ /**
+ * Verifies a FunnelResponseMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FunnelResponseMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FunnelResponseMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelResponseMetadata;
+
+ /**
+ * Creates a plain object from a FunnelResponseMetadata message. Also converts values to other types if specified.
+ * @param message FunnelResponseMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.FunnelResponseMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FunnelResponseMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FunnelResponseMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SamplingMetadata. */
+ interface ISamplingMetadata {
+
+ /** SamplingMetadata samplesReadCount */
+ samplesReadCount?: (number|Long|string|null);
+
+ /** SamplingMetadata samplingSpaceSize */
+ samplingSpaceSize?: (number|Long|string|null);
+ }
+
+ /** Represents a SamplingMetadata. */
+ class SamplingMetadata implements ISamplingMetadata {
+
+ /**
+ * Constructs a new SamplingMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.analytics.data.v1alpha.ISamplingMetadata);
+
+ /** SamplingMetadata samplesReadCount. */
+ public samplesReadCount: (number|Long|string);
+
+ /** SamplingMetadata samplingSpaceSize. */
+ public samplingSpaceSize: (number|Long|string);
+
+ /**
+ * Creates a new SamplingMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SamplingMetadata instance
+ */
+ public static create(properties?: google.analytics.data.v1alpha.ISamplingMetadata): google.analytics.data.v1alpha.SamplingMetadata;
+
+ /**
+ * Encodes the specified SamplingMetadata message. Does not implicitly {@link google.analytics.data.v1alpha.SamplingMetadata.verify|verify} messages.
+ * @param message SamplingMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.analytics.data.v1alpha.ISamplingMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SamplingMetadata message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.SamplingMetadata.verify|verify} messages.
+ * @param message SamplingMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ISamplingMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SamplingMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SamplingMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.SamplingMetadata;
+
+ /**
+ * Decodes a SamplingMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SamplingMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.SamplingMetadata;
+
+ /**
+ * Verifies a SamplingMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SamplingMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SamplingMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.SamplingMetadata;
+
+ /**
+ * Creates a plain object from a SamplingMetadata message. Also converts values to other types if specified.
+ * @param message SamplingMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.analytics.data.v1alpha.SamplingMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SamplingMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SamplingMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** MetricAggregation enum. */
+ enum MetricAggregation {
+ METRIC_AGGREGATION_UNSPECIFIED = 0,
+ TOTAL = 1,
+ MINIMUM = 5,
+ MAXIMUM = 6,
+ COUNT = 4
+ }
+
+ /** MetricType enum. */
+ enum MetricType {
+ METRIC_TYPE_UNSPECIFIED = 0,
+ TYPE_INTEGER = 1,
+ TYPE_FLOAT = 2,
+ TYPE_SECONDS = 4,
+ TYPE_MILLISECONDS = 5,
+ TYPE_MINUTES = 6,
+ TYPE_HOURS = 7,
+ TYPE_STANDARD = 8,
+ TYPE_CURRENCY = 9,
+ TYPE_FEET = 10,
+ TYPE_MILES = 11,
+ TYPE_METERS = 12,
+ TYPE_KILOMETERS = 13
+ }
+
+ /** RestrictedMetricType enum. */
+ enum RestrictedMetricType {
+ RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0,
+ COST_DATA = 1,
+ REVENUE_DATA = 2
+ }
+
+ /** SamplingLevel enum. */
+ enum SamplingLevel {
+ SAMPLING_LEVEL_UNSPECIFIED = 0,
+ LOW = 1,
+ MEDIUM = 2,
+ UNSAMPLED = 3
+ }
+ }
+ }
+ }
+
+ /** Namespace api. */
+ namespace api {
+
+ /** Properties of a Http. */
+ interface IHttp {
+
+ /** Http rules */
+ rules?: (google.api.IHttpRule[]|null);
+
+ /** Http fullyDecodeReservedExpansion */
+ fullyDecodeReservedExpansion?: (boolean|null);
+ }
+
+ /** Represents a Http. */
+ class Http implements IHttp {
+
+ /**
+ * Constructs a new Http.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttp);
+
+ /** Http rules. */
+ public rules: google.api.IHttpRule[];
+
+ /** Http fullyDecodeReservedExpansion. */
+ public fullyDecodeReservedExpansion: boolean;
+
+ /**
+ * Creates a new Http instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Http instance
+ */
+ public static create(properties?: google.api.IHttp): google.api.Http;
+
+ /**
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
+
+ /**
+ * Verifies a Http message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Http message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Http
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
+
+ /**
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
+ * @param message Http
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Http to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Http
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HttpRule. */
+ interface IHttpRule {
+
+ /** HttpRule selector */
+ selector?: (string|null);
+
+ /** HttpRule get */
+ get?: (string|null);
+
+ /** HttpRule put */
+ put?: (string|null);
+
+ /** HttpRule post */
+ post?: (string|null);
+
+ /** HttpRule delete */
+ "delete"?: (string|null);
+
+ /** HttpRule patch */
+ patch?: (string|null);
+
+ /** HttpRule custom */
+ custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body */
+ body?: (string|null);
+
+ /** HttpRule responseBody */
+ responseBody?: (string|null);
+
+ /** HttpRule additionalBindings */
+ additionalBindings?: (google.api.IHttpRule[]|null);
+ }
+
+ /** Represents a HttpRule. */
+ class HttpRule implements IHttpRule {
+
+ /**
+ * Constructs a new HttpRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttpRule);
+
+ /** HttpRule selector. */
+ public selector: string;
+
+ /** HttpRule get. */
+ public get?: (string|null);
+
+ /** HttpRule put. */
+ public put?: (string|null);
+
+ /** HttpRule post. */
+ public post?: (string|null);
+
+ /** HttpRule delete. */
+ public delete?: (string|null);
+
+ /** HttpRule patch. */
+ public patch?: (string|null);
+
+ /** HttpRule custom. */
+ public custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body. */
+ public body: string;
+
+ /** HttpRule responseBody. */
+ public responseBody: string;
+
+ /** HttpRule additionalBindings. */
+ public additionalBindings: google.api.IHttpRule[];
+
+ /** HttpRule pattern. */
+ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
+
+ /**
+ * Creates a new HttpRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HttpRule instance
+ */
+ public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
+
+ /**
+ * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
+
+ /**
+ * Verifies a HttpRule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HttpRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
+
+ /**
+ * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
+ * @param message HttpRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HttpRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HttpRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CustomHttpPattern. */
+ interface ICustomHttpPattern {
+
+ /** CustomHttpPattern kind */
+ kind?: (string|null);
+
+ /** CustomHttpPattern path */
+ path?: (string|null);
+ }
+
+ /** Represents a CustomHttpPattern. */
+ class CustomHttpPattern implements ICustomHttpPattern {
+
+ /**
+ * Constructs a new CustomHttpPattern.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICustomHttpPattern);
+
+ /** CustomHttpPattern kind. */
+ public kind: string;
+
+ /** CustomHttpPattern path. */
+ public path: string;
+
+ /**
+ * Creates a new CustomHttpPattern instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomHttpPattern instance
+ */
+ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
+
+ /**
+ * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
+
+ /**
+ * Verifies a CustomHttpPattern message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomHttpPattern
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
+
+ /**
+ * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
+ * @param message CustomHttpPattern
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomHttpPattern to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomHttpPattern
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CommonLanguageSettings. */
+ interface ICommonLanguageSettings {
+
+ /** CommonLanguageSettings referenceDocsUri */
+ referenceDocsUri?: (string|null);
+
+ /** CommonLanguageSettings destinations */
+ destinations?: (google.api.ClientLibraryDestination[]|null);
+ }
+
+ /** Represents a CommonLanguageSettings. */
+ class CommonLanguageSettings implements ICommonLanguageSettings {
+
+ /**
+ * Constructs a new CommonLanguageSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICommonLanguageSettings);
+
+ /** CommonLanguageSettings referenceDocsUri. */
+ public referenceDocsUri: string;
+
+ /** CommonLanguageSettings destinations. */
+ public destinations: google.api.ClientLibraryDestination[];
+
+ /**
+ * Creates a new CommonLanguageSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CommonLanguageSettings instance
+ */
+ public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings;
+
+ /**
+ * Encodes the specified CommonLanguageSettings message. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
+ * @param message CommonLanguageSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
+ * @param message CommonLanguageSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CommonLanguageSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CommonLanguageSettings;
+
+ /**
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CommonLanguageSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CommonLanguageSettings;
+
+ /**
+ * Verifies a CommonLanguageSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CommonLanguageSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings;
+
+ /**
+ * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified.
+ * @param message CommonLanguageSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CommonLanguageSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CommonLanguageSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ClientLibrarySettings. */
+ interface IClientLibrarySettings {
+
+ /** ClientLibrarySettings version */
+ version?: (string|null);
+
+ /** ClientLibrarySettings launchStage */
+ launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
+
+ /** ClientLibrarySettings restNumericEnums */
+ restNumericEnums?: (boolean|null);
+
+ /** ClientLibrarySettings javaSettings */
+ javaSettings?: (google.api.IJavaSettings|null);
+
+ /** ClientLibrarySettings cppSettings */
+ cppSettings?: (google.api.ICppSettings|null);
+
+ /** ClientLibrarySettings phpSettings */
+ phpSettings?: (google.api.IPhpSettings|null);
+
+ /** ClientLibrarySettings pythonSettings */
+ pythonSettings?: (google.api.IPythonSettings|null);
+
+ /** ClientLibrarySettings nodeSettings */
+ nodeSettings?: (google.api.INodeSettings|null);
+
+ /** ClientLibrarySettings dotnetSettings */
+ dotnetSettings?: (google.api.IDotnetSettings|null);
+
+ /** ClientLibrarySettings rubySettings */
+ rubySettings?: (google.api.IRubySettings|null);
+
+ /** ClientLibrarySettings goSettings */
+ goSettings?: (google.api.IGoSettings|null);
+ }
+
+ /** Represents a ClientLibrarySettings. */
+ class ClientLibrarySettings implements IClientLibrarySettings {
+
+ /**
+ * Constructs a new ClientLibrarySettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IClientLibrarySettings);
+
+ /** ClientLibrarySettings version. */
+ public version: string;
+
+ /** ClientLibrarySettings launchStage. */
+ public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
+
+ /** ClientLibrarySettings restNumericEnums. */
+ public restNumericEnums: boolean;
+
+ /** ClientLibrarySettings javaSettings. */
+ public javaSettings?: (google.api.IJavaSettings|null);
+
+ /** ClientLibrarySettings cppSettings. */
+ public cppSettings?: (google.api.ICppSettings|null);
+
+ /** ClientLibrarySettings phpSettings. */
+ public phpSettings?: (google.api.IPhpSettings|null);
+
+ /** ClientLibrarySettings pythonSettings. */
+ public pythonSettings?: (google.api.IPythonSettings|null);
+
+ /** ClientLibrarySettings nodeSettings. */
+ public nodeSettings?: (google.api.INodeSettings|null);
+
+ /** ClientLibrarySettings dotnetSettings. */
+ public dotnetSettings?: (google.api.IDotnetSettings|null);
+
+ /** ClientLibrarySettings rubySettings. */
+ public rubySettings?: (google.api.IRubySettings|null);
+
+ /** ClientLibrarySettings goSettings. */
+ public goSettings?: (google.api.IGoSettings|null);
+
+ /**
+ * Creates a new ClientLibrarySettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ClientLibrarySettings instance
+ */
+ public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings;
+
+ /**
+ * Encodes the specified ClientLibrarySettings message. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
+ * @param message ClientLibrarySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
+ * @param message ClientLibrarySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ClientLibrarySettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ClientLibrarySettings;
+
+ /**
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ClientLibrarySettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ClientLibrarySettings;
+
+ /**
+ * Verifies a ClientLibrarySettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ClientLibrarySettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings;
+
+ /**
+ * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified.
+ * @param message ClientLibrarySettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ClientLibrarySettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ClientLibrarySettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Publishing. */
+ interface IPublishing {
+
+ /** Publishing methodSettings */
+ methodSettings?: (google.api.IMethodSettings[]|null);
+
+ /** Publishing newIssueUri */
+ newIssueUri?: (string|null);
+
+ /** Publishing documentationUri */
+ documentationUri?: (string|null);
+
+ /** Publishing apiShortName */
+ apiShortName?: (string|null);
+
+ /** Publishing githubLabel */
+ githubLabel?: (string|null);
+
+ /** Publishing codeownerGithubTeams */
+ codeownerGithubTeams?: (string[]|null);
+
+ /** Publishing docTagPrefix */
+ docTagPrefix?: (string|null);
+
+ /** Publishing organization */
+ organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null);
+
+ /** Publishing librarySettings */
+ librarySettings?: (google.api.IClientLibrarySettings[]|null);
+
+ /** Publishing protoReferenceDocumentationUri */
+ protoReferenceDocumentationUri?: (string|null);
+
+ /** Publishing restReferenceDocumentationUri */
+ restReferenceDocumentationUri?: (string|null);
+ }
+
+ /** Represents a Publishing. */
+ class Publishing implements IPublishing {
+
+ /**
+ * Constructs a new Publishing.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IPublishing);
+
+ /** Publishing methodSettings. */
+ public methodSettings: google.api.IMethodSettings[];
+
+ /** Publishing newIssueUri. */
+ public newIssueUri: string;
+
+ /** Publishing documentationUri. */
+ public documentationUri: string;
+
+ /** Publishing apiShortName. */
+ public apiShortName: string;
+
+ /** Publishing githubLabel. */
+ public githubLabel: string;
+
+ /** Publishing codeownerGithubTeams. */
+ public codeownerGithubTeams: string[];
+
+ /** Publishing docTagPrefix. */
+ public docTagPrefix: string;
+
+ /** Publishing organization. */
+ public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization);
+
+ /** Publishing librarySettings. */
+ public librarySettings: google.api.IClientLibrarySettings[];
+
+ /** Publishing protoReferenceDocumentationUri. */
+ public protoReferenceDocumentationUri: string;
+
+ /** Publishing restReferenceDocumentationUri. */
+ public restReferenceDocumentationUri: string;
+
+ /**
+ * Creates a new Publishing instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Publishing instance
+ */
+ public static create(properties?: google.api.IPublishing): google.api.Publishing;
+
+ /**
+ * Encodes the specified Publishing message. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
+ * @param message Publishing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
+ * @param message Publishing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Publishing message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Publishing
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Publishing;
+
+ /**
+ * Decodes a Publishing message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Publishing
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Publishing;
+
+ /**
+ * Verifies a Publishing message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Publishing message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Publishing
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Publishing;
+
+ /**
+ * Creates a plain object from a Publishing message. Also converts values to other types if specified.
+ * @param message Publishing
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Publishing to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Publishing
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a JavaSettings. */
+ interface IJavaSettings {
+
+ /** JavaSettings libraryPackage */
+ libraryPackage?: (string|null);
+
+ /** JavaSettings serviceClassNames */
+ serviceClassNames?: ({ [k: string]: string }|null);
+
+ /** JavaSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a JavaSettings. */
+ class JavaSettings implements IJavaSettings {
+
+ /**
+ * Constructs a new JavaSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IJavaSettings);
+
+ /** JavaSettings libraryPackage. */
+ public libraryPackage: string;
+
+ /** JavaSettings serviceClassNames. */
+ public serviceClassNames: { [k: string]: string };
+
+ /** JavaSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new JavaSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JavaSettings instance
+ */
+ public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings;
+
+ /**
+ * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
+ * @param message JavaSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
+ * @param message JavaSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JavaSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JavaSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.JavaSettings;
+
+ /**
+ * Decodes a JavaSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JavaSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.JavaSettings;
+
+ /**
+ * Verifies a JavaSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JavaSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.JavaSettings;
+
+ /**
+ * Creates a plain object from a JavaSettings message. Also converts values to other types if specified.
+ * @param message JavaSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JavaSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JavaSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CppSettings. */
+ interface ICppSettings {
+
+ /** CppSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a CppSettings. */
+ class CppSettings implements ICppSettings {
+
+ /**
+ * Constructs a new CppSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICppSettings);
+
+ /** CppSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new CppSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CppSettings instance
+ */
+ public static create(properties?: google.api.ICppSettings): google.api.CppSettings;
+
+ /**
+ * Encodes the specified CppSettings message. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
+ * @param message CppSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
+ * @param message CppSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CppSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CppSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CppSettings;
+
+ /**
+ * Decodes a CppSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CppSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CppSettings;
+
+ /**
+ * Verifies a CppSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CppSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CppSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CppSettings;
+
+ /**
+ * Creates a plain object from a CppSettings message. Also converts values to other types if specified.
+ * @param message CppSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CppSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CppSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PhpSettings. */
+ interface IPhpSettings {
+
+ /** PhpSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a PhpSettings. */
+ class PhpSettings implements IPhpSettings {
+
+ /**
+ * Constructs a new PhpSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IPhpSettings);
+
+ /** PhpSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new PhpSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PhpSettings instance
+ */
+ public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings;
+
+ /**
+ * Encodes the specified PhpSettings message. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
+ * @param message PhpSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
+ * @param message PhpSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PhpSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PhpSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PhpSettings;
+
+ /**
+ * Decodes a PhpSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PhpSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PhpSettings;
+
+ /**
+ * Verifies a PhpSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PhpSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.PhpSettings;
+
+ /**
+ * Creates a plain object from a PhpSettings message. Also converts values to other types if specified.
+ * @param message PhpSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PhpSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PhpSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PythonSettings. */
+ interface IPythonSettings {
+
+ /** PythonSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a PythonSettings. */
+ class PythonSettings implements IPythonSettings {
+
+ /**
+ * Constructs a new PythonSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IPythonSettings);
+
+ /** PythonSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new PythonSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PythonSettings instance
+ */
+ public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings;
+
+ /**
+ * Encodes the specified PythonSettings message. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
+ * @param message PythonSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
+ * @param message PythonSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PythonSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PythonSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings;
+
+ /**
+ * Decodes a PythonSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PythonSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings;
+
+ /**
+ * Verifies a PythonSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PythonSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings;
+
+ /**
+ * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
+ * @param message PythonSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PythonSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PythonSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a NodeSettings. */
+ interface INodeSettings {
+
+ /** NodeSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a NodeSettings. */
+ class NodeSettings implements INodeSettings {
+
+ /**
+ * Constructs a new NodeSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.INodeSettings);
+
+ /** NodeSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new NodeSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NodeSettings instance
+ */
+ public static create(properties?: google.api.INodeSettings): google.api.NodeSettings;
+
+ /**
+ * Encodes the specified NodeSettings message. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
+ * @param message NodeSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
+ * @param message NodeSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NodeSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NodeSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.NodeSettings;
+
+ /**
+ * Decodes a NodeSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NodeSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.NodeSettings;
+
+ /**
+ * Verifies a NodeSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NodeSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.NodeSettings;
+
+ /**
+ * Creates a plain object from a NodeSettings message. Also converts values to other types if specified.
+ * @param message NodeSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NodeSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NodeSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DotnetSettings. */
+ interface IDotnetSettings {
+
+ /** DotnetSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+
+ /** DotnetSettings renamedServices */
+ renamedServices?: ({ [k: string]: string }|null);
+
+ /** DotnetSettings renamedResources */
+ renamedResources?: ({ [k: string]: string }|null);
+
+ /** DotnetSettings ignoredResources */
+ ignoredResources?: (string[]|null);
+
+ /** DotnetSettings forcedNamespaceAliases */
+ forcedNamespaceAliases?: (string[]|null);
+
+ /** DotnetSettings handwrittenSignatures */
+ handwrittenSignatures?: (string[]|null);
+ }
+
+ /** Represents a DotnetSettings. */
+ class DotnetSettings implements IDotnetSettings {
+
+ /**
+ * Constructs a new DotnetSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IDotnetSettings);
+
+ /** DotnetSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /** DotnetSettings renamedServices. */
+ public renamedServices: { [k: string]: string };
+
+ /** DotnetSettings renamedResources. */
+ public renamedResources: { [k: string]: string };
+
+ /** DotnetSettings ignoredResources. */
+ public ignoredResources: string[];
+
+ /** DotnetSettings forcedNamespaceAliases. */
+ public forcedNamespaceAliases: string[];
+
+ /** DotnetSettings handwrittenSignatures. */
+ public handwrittenSignatures: string[];
+
+ /**
+ * Creates a new DotnetSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DotnetSettings instance
+ */
+ public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings;
+
+ /**
+ * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
+ * @param message DotnetSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
+ * @param message DotnetSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DotnetSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DotnetSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.DotnetSettings;
+
+ /**
+ * Decodes a DotnetSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DotnetSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.DotnetSettings;
+
+ /**
+ * Verifies a DotnetSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DotnetSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings;
+
+ /**
+ * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified.
+ * @param message DotnetSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DotnetSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DotnetSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RubySettings. */
+ interface IRubySettings {
+
+ /** RubySettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a RubySettings. */
+ class RubySettings implements IRubySettings {
+
+ /**
+ * Constructs a new RubySettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IRubySettings);
+
+ /** RubySettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new RubySettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RubySettings instance
+ */
+ public static create(properties?: google.api.IRubySettings): google.api.RubySettings;
+
+ /**
+ * Encodes the specified RubySettings message. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
+ * @param message RubySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
+ * @param message RubySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RubySettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RubySettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RubySettings;
+
+ /**
+ * Decodes a RubySettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RubySettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RubySettings;
+
+ /**
+ * Verifies a RubySettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RubySettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RubySettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.RubySettings;
+
+ /**
+ * Creates a plain object from a RubySettings message. Also converts values to other types if specified.
+ * @param message RubySettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RubySettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RubySettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GoSettings. */
+ interface IGoSettings {
+
+ /** GoSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a GoSettings. */
+ class GoSettings implements IGoSettings {
+
+ /**
+ * Constructs a new GoSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IGoSettings);
+
+ /** GoSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new GoSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GoSettings instance
+ */
+ public static create(properties?: google.api.IGoSettings): google.api.GoSettings;
+
+ /**
+ * Encodes the specified GoSettings message. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
+ * @param message GoSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
+ * @param message GoSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GoSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GoSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.GoSettings;
+
+ /**
+ * Decodes a GoSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GoSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.GoSettings;
+
+ /**
+ * Verifies a GoSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GoSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GoSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.GoSettings;
+
+ /**
+ * Creates a plain object from a GoSettings message. Also converts values to other types if specified.
+ * @param message GoSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GoSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GoSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodSettings. */
+ interface IMethodSettings {
+
+ /** MethodSettings selector */
+ selector?: (string|null);
+
+ /** MethodSettings longRunning */
+ longRunning?: (google.api.MethodSettings.ILongRunning|null);
+
+ /** MethodSettings autoPopulatedFields */
+ autoPopulatedFields?: (string[]|null);
+ }
+
+ /** Represents a MethodSettings. */
+ class MethodSettings implements IMethodSettings {
+
+ /**
+ * Constructs a new MethodSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IMethodSettings);
+
+ /** MethodSettings selector. */
+ public selector: string;
+
+ /** MethodSettings longRunning. */
+ public longRunning?: (google.api.MethodSettings.ILongRunning|null);
+
+ /** MethodSettings autoPopulatedFields. */
+ public autoPopulatedFields: string[];
+
+ /**
+ * Creates a new MethodSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodSettings instance
+ */
+ public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings;
+
+ /**
+ * Encodes the specified MethodSettings message. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
+ * @param message MethodSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
+ * @param message MethodSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings;
+
+ /**
+ * Decodes a MethodSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodSettings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings;
+
+ /**
+ * Verifies a MethodSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings;
+
+ /**
+ * Creates a plain object from a MethodSettings message. Also converts values to other types if specified.
+ * @param message MethodSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MethodSettings {
+
+ /** Properties of a LongRunning. */
+ interface ILongRunning {
+
+ /** LongRunning initialPollDelay */
+ initialPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning pollDelayMultiplier */
+ pollDelayMultiplier?: (number|null);
+
+ /** LongRunning maxPollDelay */
+ maxPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning totalPollTimeout */
+ totalPollTimeout?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a LongRunning. */
+ class LongRunning implements ILongRunning {
+
+ /**
+ * Constructs a new LongRunning.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.MethodSettings.ILongRunning);
+
+ /** LongRunning initialPollDelay. */
+ public initialPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning pollDelayMultiplier. */
+ public pollDelayMultiplier: number;
+
+ /** LongRunning maxPollDelay. */
+ public maxPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning totalPollTimeout. */
+ public totalPollTimeout?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new LongRunning instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LongRunning instance
+ */
+ public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Encodes the specified LongRunning message. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
+ * @param message LongRunning message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
+ * @param message LongRunning message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LongRunning message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LongRunning
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Decodes a LongRunning message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LongRunning
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Verifies a LongRunning message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LongRunning message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LongRunning
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Creates a plain object from a LongRunning message. Also converts values to other types if specified.
+ * @param message LongRunning
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LongRunning to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LongRunning
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** ClientLibraryOrganization enum. */
+ enum ClientLibraryOrganization {
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
+ CLOUD = 1,
+ ADS = 2,
+ PHOTOS = 3,
+ STREET_VIEW = 4,
+ SHOPPING = 5,
+ GEO = 6,
+ GENERATIVE_AI = 7
+ }
+
+ /** ClientLibraryDestination enum. */
+ enum ClientLibraryDestination {
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
+ GITHUB = 10,
+ PACKAGE_MANAGER = 20
+ }
+
+ /** LaunchStage enum. */
+ enum LaunchStage {
+ LAUNCH_STAGE_UNSPECIFIED = 0,
+ UNIMPLEMENTED = 6,
+ PRELAUNCH = 7,
+ EARLY_ACCESS = 1,
+ ALPHA = 2,
+ BETA = 3,
+ GA = 4,
+ DEPRECATED = 5
+ }
+
+ /** FieldBehavior enum. */
+ enum FieldBehavior {
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
+ OPTIONAL = 1,
+ REQUIRED = 2,
+ OUTPUT_ONLY = 3,
+ INPUT_ONLY = 4,
+ IMMUTABLE = 5,
+ UNORDERED_LIST = 6,
+ NON_EMPTY_DEFAULT = 7,
+ IDENTIFIER = 8
+ }
+
+ /** Properties of a ResourceDescriptor. */
+ interface IResourceDescriptor {
+
+ /** ResourceDescriptor type */
+ type?: (string|null);
+
+ /** ResourceDescriptor pattern */
+ pattern?: (string[]|null);
+
+ /** ResourceDescriptor nameField */
+ nameField?: (string|null);
+
+ /** ResourceDescriptor history */
+ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
+
+ /** ResourceDescriptor plural */
+ plural?: (string|null);
+
+ /** ResourceDescriptor singular */
+ singular?: (string|null);
+
+ /** ResourceDescriptor style */
+ style?: (google.api.ResourceDescriptor.Style[]|null);
+ }
+
+ /** Represents a ResourceDescriptor. */
+ class ResourceDescriptor implements IResourceDescriptor {
+
+ /**
+ * Constructs a new ResourceDescriptor.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceDescriptor);
+
+ /** ResourceDescriptor type. */
+ public type: string;
+
+ /** ResourceDescriptor pattern. */
+ public pattern: string[];
+
+ /** ResourceDescriptor nameField. */
+ public nameField: string;
+
+ /** ResourceDescriptor history. */
+ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
+
+ /** ResourceDescriptor plural. */
+ public plural: string;
+
+ /** ResourceDescriptor singular. */
+ public singular: string;
+
+ /** ResourceDescriptor style. */
+ public style: google.api.ResourceDescriptor.Style[];
+
+ /**
+ * Creates a new ResourceDescriptor instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceDescriptor instance
+ */
+ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
+
+ /**
+ * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
+
+ /**
+ * Verifies a ResourceDescriptor message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceDescriptor
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
+
+ /**
+ * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
+ * @param message ResourceDescriptor
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceDescriptor to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceDescriptor
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceDescriptor {
+
+ /** History enum. */
+ enum History {
+ HISTORY_UNSPECIFIED = 0,
+ ORIGINALLY_SINGLE_PATTERN = 1,
+ FUTURE_MULTI_PATTERN = 2
+ }
+
+ /** Style enum. */
+ enum Style {
+ STYLE_UNSPECIFIED = 0,
+ DECLARATIVE_FRIENDLY = 1
+ }
+ }
+
+ /** Properties of a ResourceReference. */
+ interface IResourceReference {
+
+ /** ResourceReference type */
+ type?: (string|null);
+
+ /** ResourceReference childType */
+ childType?: (string|null);
+ }
+
+ /** Represents a ResourceReference. */
+ class ResourceReference implements IResourceReference {
+
+ /**
+ * Constructs a new ResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceReference);
+
+ /** ResourceReference type. */
+ public type: string;
+
+ /** ResourceReference childType. */
+ public childType: string;
+
+ /**
+ * Creates a new ResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceReference instance
+ */
+ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
+
+ /**
+ * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
+
+ /**
+ * Verifies a ResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
+
+ /**
+ * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
+ * @param message ResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace 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/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/protos.js b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/protos.js
new file mode 100644
index 000000000000..dc3cd47b59ab
--- /dev/null
+++ b/packages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/protos/protos.js
@@ -0,0 +1,50897 @@
+// 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_data_protos || ($protobuf.roots._google_cloud_data_protos = {});
+
+ $root.google = (function() {
+
+ /**
+ * Namespace google.
+ * @exports google
+ * @namespace
+ */
+ var google = {};
+
+ google.protobuf = (function() {
+
+ /**
+ * Namespace protobuf.
+ * @memberof google
+ * @namespace
+ */
+ var protobuf = {};
+
+ protobuf.Duration = (function() {
+
+ /**
+ * Properties of a Duration.
+ * @memberof google.protobuf
+ * @interface IDuration
+ * @property {number|Long|null} [seconds] Duration seconds
+ * @property {number|null} [nanos] Duration nanos
+ */
+
+ /**
+ * Constructs a new Duration.
+ * @memberof google.protobuf
+ * @classdesc Represents a Duration.
+ * @implements IDuration
+ * @constructor
+ * @param {google.protobuf.IDuration=} [properties] Properties to set
+ */
+ function Duration(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]];
+ }
+
+ /**
+ * Duration seconds.
+ * @member {number|Long} seconds
+ * @memberof google.protobuf.Duration
+ * @instance
+ */
+ Duration.prototype.seconds = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Duration nanos.
+ * @member {number} nanos
+ * @memberof google.protobuf.Duration
+ * @instance
+ */
+ Duration.prototype.nanos = 0;
+
+ /**
+ * Creates a new Duration instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.Duration
+ * @static
+ * @param {google.protobuf.IDuration=} [properties] Properties to set
+ * @returns {google.protobuf.Duration} Duration instance
+ */
+ Duration.create = function create(properties) {
+ return new Duration(properties);
+ };
+
+ /**
+ * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.Duration
+ * @static
+ * @param {google.protobuf.IDuration} message Duration message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Duration.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.seconds != null && Object.hasOwnProperty.call(message, "seconds"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.seconds);
+ if (message.nanos != null && Object.hasOwnProperty.call(message, "nanos"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.nanos);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.Duration
+ * @static
+ * @param {google.protobuf.IDuration} message Duration message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Duration.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.Duration
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.Duration} Duration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Duration.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.protobuf.Duration();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.seconds = reader.int64();
+ break;
+ }
+ case 2: {
+ message.nanos = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.Duration
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.Duration} Duration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Duration.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Duration message.
+ * @function verify
+ * @memberof google.protobuf.Duration
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Duration.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.seconds != null && message.hasOwnProperty("seconds"))
+ if (!$util.isInteger(message.seconds) && !(message.seconds && $util.isInteger(message.seconds.low) && $util.isInteger(message.seconds.high)))
+ return "seconds: integer|Long expected";
+ if (message.nanos != null && message.hasOwnProperty("nanos"))
+ if (!$util.isInteger(message.nanos))
+ return "nanos: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates a Duration message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.Duration
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.Duration} Duration
+ */
+ Duration.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.Duration)
+ return object;
+ var message = new $root.google.protobuf.Duration();
+ if (object.seconds != null)
+ if ($util.Long)
+ (message.seconds = $util.Long.fromValue(object.seconds)).unsigned = false;
+ else if (typeof object.seconds === "string")
+ message.seconds = parseInt(object.seconds, 10);
+ else if (typeof object.seconds === "number")
+ message.seconds = object.seconds;
+ else if (typeof object.seconds === "object")
+ message.seconds = new $util.LongBits(object.seconds.low >>> 0, object.seconds.high >>> 0).toNumber();
+ if (object.nanos != null)
+ message.nanos = object.nanos | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Duration message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.Duration
+ * @static
+ * @param {google.protobuf.Duration} message Duration
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Duration.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.seconds = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.seconds = options.longs === String ? "0" : 0;
+ object.nanos = 0;
+ }
+ if (message.seconds != null && message.hasOwnProperty("seconds"))
+ if (typeof message.seconds === "number")
+ object.seconds = options.longs === String ? String(message.seconds) : message.seconds;
+ else
+ object.seconds = options.longs === String ? $util.Long.prototype.toString.call(message.seconds) : options.longs === Number ? new $util.LongBits(message.seconds.low >>> 0, message.seconds.high >>> 0).toNumber() : message.seconds;
+ if (message.nanos != null && message.hasOwnProperty("nanos"))
+ object.nanos = message.nanos;
+ return object;
+ };
+
+ /**
+ * Converts this Duration to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.Duration
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Duration.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Duration
+ * @function getTypeUrl
+ * @memberof google.protobuf.Duration
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Duration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.Duration";
+ };
+
+ return Duration;
+ })();
+
+ protobuf.FileDescriptorSet = (function() {
+
+ /**
+ * Properties of a FileDescriptorSet.
+ * @memberof google.protobuf
+ * @interface IFileDescriptorSet
+ * @property {Array.|null} [file] FileDescriptorSet file
+ */
+
+ /**
+ * Constructs a new FileDescriptorSet.
+ * @memberof google.protobuf
+ * @classdesc Represents a FileDescriptorSet.
+ * @implements IFileDescriptorSet
+ * @constructor
+ * @param {google.protobuf.IFileDescriptorSet=} [properties] Properties to set
+ */
+ function FileDescriptorSet(properties) {
+ this.file = [];
+ 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]];
+ }
+
+ /**
+ * FileDescriptorSet file.
+ * @member {Array.} file
+ * @memberof google.protobuf.FileDescriptorSet
+ * @instance
+ */
+ FileDescriptorSet.prototype.file = $util.emptyArray;
+
+ /**
+ * Creates a new FileDescriptorSet instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.FileDescriptorSet
+ * @static
+ * @param {google.protobuf.IFileDescriptorSet=} [properties] Properties to set
+ * @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet instance
+ */
+ FileDescriptorSet.create = function create(properties) {
+ return new FileDescriptorSet(properties);
+ };
+
+ /**
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.FileDescriptorSet
+ * @static
+ * @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FileDescriptorSet.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.file != null && message.file.length)
+ for (var i = 0; i < message.file.length; ++i)
+ $root.google.protobuf.FileDescriptorProto.encode(message.file[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.FileDescriptorSet
+ * @static
+ * @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FileDescriptorSet.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.FileDescriptorSet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FileDescriptorSet.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.protobuf.FileDescriptorSet();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.file && message.file.length))
+ message.file = [];
+ message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.FileDescriptorSet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FileDescriptorSet.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FileDescriptorSet message.
+ * @function verify
+ * @memberof google.protobuf.FileDescriptorSet
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FileDescriptorSet.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.file != null && message.hasOwnProperty("file")) {
+ if (!Array.isArray(message.file))
+ return "file: array expected";
+ for (var i = 0; i < message.file.length; ++i) {
+ var error = $root.google.protobuf.FileDescriptorProto.verify(message.file[i]);
+ if (error)
+ return "file." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.FileDescriptorSet
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet
+ */
+ FileDescriptorSet.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.FileDescriptorSet)
+ return object;
+ var message = new $root.google.protobuf.FileDescriptorSet();
+ if (object.file) {
+ if (!Array.isArray(object.file))
+ throw TypeError(".google.protobuf.FileDescriptorSet.file: array expected");
+ message.file = [];
+ for (var i = 0; i < object.file.length; ++i) {
+ if (typeof object.file[i] !== "object")
+ throw TypeError(".google.protobuf.FileDescriptorSet.file: object expected");
+ message.file[i] = $root.google.protobuf.FileDescriptorProto.fromObject(object.file[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.FileDescriptorSet
+ * @static
+ * @param {google.protobuf.FileDescriptorSet} message FileDescriptorSet
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FileDescriptorSet.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.file = [];
+ if (message.file && message.file.length) {
+ object.file = [];
+ for (var j = 0; j < message.file.length; ++j)
+ object.file[j] = $root.google.protobuf.FileDescriptorProto.toObject(message.file[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this FileDescriptorSet to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.FileDescriptorSet
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FileDescriptorSet.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FileDescriptorSet
+ * @function getTypeUrl
+ * @memberof google.protobuf.FileDescriptorSet
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FileDescriptorSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.FileDescriptorSet";
+ };
+
+ return FileDescriptorSet;
+ })();
+
+ /**
+ * Edition enum.
+ * @name google.protobuf.Edition
+ * @enum {number}
+ * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
+ * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
+ * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
+ * @property {number} EDITION_2023=1000 EDITION_2023 value
+ * @property {number} EDITION_2024=1001 EDITION_2024 value
+ * @property {number} EDITION_1_TEST_ONLY=1 EDITION_1_TEST_ONLY value
+ * @property {number} EDITION_2_TEST_ONLY=2 EDITION_2_TEST_ONLY value
+ * @property {number} EDITION_99997_TEST_ONLY=99997 EDITION_99997_TEST_ONLY value
+ * @property {number} EDITION_99998_TEST_ONLY=99998 EDITION_99998_TEST_ONLY value
+ * @property {number} EDITION_99999_TEST_ONLY=99999 EDITION_99999_TEST_ONLY value
+ * @property {number} EDITION_MAX=2147483647 EDITION_MAX value
+ */
+ protobuf.Edition = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
+ values[valuesById[998] = "EDITION_PROTO2"] = 998;
+ values[valuesById[999] = "EDITION_PROTO3"] = 999;
+ values[valuesById[1000] = "EDITION_2023"] = 1000;
+ values[valuesById[1001] = "EDITION_2024"] = 1001;
+ values[valuesById[1] = "EDITION_1_TEST_ONLY"] = 1;
+ values[valuesById[2] = "EDITION_2_TEST_ONLY"] = 2;
+ values[valuesById[99997] = "EDITION_99997_TEST_ONLY"] = 99997;
+ values[valuesById[99998] = "EDITION_99998_TEST_ONLY"] = 99998;
+ values[valuesById[99999] = "EDITION_99999_TEST_ONLY"] = 99999;
+ values[valuesById[2147483647] = "EDITION_MAX"] = 2147483647;
+ return values;
+ })();
+
+ protobuf.FileDescriptorProto = (function() {
+
+ /**
+ * Properties of a FileDescriptorProto.
+ * @memberof google.protobuf
+ * @interface IFileDescriptorProto
+ * @property {string|null} [name] FileDescriptorProto name
+ * @property {string|null} ["package"] FileDescriptorProto package
+ * @property {Array.|null} [dependency] FileDescriptorProto dependency
+ * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency
+ * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency
+ * @property {Array.|null} [messageType] FileDescriptorProto messageType
+ * @property {Array.|null} [enumType] FileDescriptorProto enumType
+ * @property {Array.|null} [service] FileDescriptorProto service
+ * @property {Array.|null} [extension] FileDescriptorProto extension
+ * @property {google.protobuf.IFileOptions|null} [options] FileDescriptorProto options
+ * @property {google.protobuf.ISourceCodeInfo|null} [sourceCodeInfo] FileDescriptorProto sourceCodeInfo
+ * @property {string|null} [syntax] FileDescriptorProto syntax
+ * @property {google.protobuf.Edition|null} [edition] FileDescriptorProto edition
+ */
+
+ /**
+ * Constructs a new FileDescriptorProto.
+ * @memberof google.protobuf
+ * @classdesc Represents a FileDescriptorProto.
+ * @implements IFileDescriptorProto
+ * @constructor
+ * @param {google.protobuf.IFileDescriptorProto=} [properties] Properties to set
+ */
+ function FileDescriptorProto(properties) {
+ this.dependency = [];
+ this.publicDependency = [];
+ this.weakDependency = [];
+ this.messageType = [];
+ this.enumType = [];
+ this.service = [];
+ this.extension = [];
+ 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]];
+ }
+
+ /**
+ * FileDescriptorProto name.
+ * @member {string} name
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.name = "";
+
+ /**
+ * FileDescriptorProto package.
+ * @member {string} package
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype["package"] = "";
+
+ /**
+ * FileDescriptorProto dependency.
+ * @member {Array.} dependency
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.dependency = $util.emptyArray;
+
+ /**
+ * FileDescriptorProto publicDependency.
+ * @member {Array.} publicDependency
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.publicDependency = $util.emptyArray;
+
+ /**
+ * FileDescriptorProto weakDependency.
+ * @member {Array.} weakDependency
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.weakDependency = $util.emptyArray;
+
+ /**
+ * FileDescriptorProto messageType.
+ * @member {Array.} messageType
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.messageType = $util.emptyArray;
+
+ /**
+ * FileDescriptorProto enumType.
+ * @member {Array.} enumType
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.enumType = $util.emptyArray;
+
+ /**
+ * FileDescriptorProto service.
+ * @member {Array.} service
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.service = $util.emptyArray;
+
+ /**
+ * FileDescriptorProto extension.
+ * @member {Array.} extension
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.extension = $util.emptyArray;
+
+ /**
+ * FileDescriptorProto options.
+ * @member {google.protobuf.IFileOptions|null|undefined} options
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.options = null;
+
+ /**
+ * FileDescriptorProto sourceCodeInfo.
+ * @member {google.protobuf.ISourceCodeInfo|null|undefined} sourceCodeInfo
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.sourceCodeInfo = null;
+
+ /**
+ * FileDescriptorProto syntax.
+ * @member {string} syntax
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.syntax = "";
+
+ /**
+ * FileDescriptorProto edition.
+ * @member {google.protobuf.Edition} edition
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ */
+ FileDescriptorProto.prototype.edition = 0;
+
+ /**
+ * Creates a new FileDescriptorProto instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.FileDescriptorProto
+ * @static
+ * @param {google.protobuf.IFileDescriptorProto=} [properties] Properties to set
+ * @returns {google.protobuf.FileDescriptorProto} FileDescriptorProto instance
+ */
+ FileDescriptorProto.create = function create(properties) {
+ return new FileDescriptorProto(properties);
+ };
+
+ /**
+ * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.FileDescriptorProto
+ * @static
+ * @param {google.protobuf.IFileDescriptorProto} message FileDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FileDescriptorProto.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["package"] != null && Object.hasOwnProperty.call(message, "package"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message["package"]);
+ if (message.dependency != null && message.dependency.length)
+ for (var i = 0; i < message.dependency.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.dependency[i]);
+ if (message.messageType != null && message.messageType.length)
+ for (var i = 0; i < message.messageType.length; ++i)
+ $root.google.protobuf.DescriptorProto.encode(message.messageType[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.enumType != null && message.enumType.length)
+ for (var i = 0; i < message.enumType.length; ++i)
+ $root.google.protobuf.EnumDescriptorProto.encode(message.enumType[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.service != null && message.service.length)
+ for (var i = 0; i < message.service.length; ++i)
+ $root.google.protobuf.ServiceDescriptorProto.encode(message.service[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.extension != null && message.extension.length)
+ for (var i = 0; i < message.extension.length; ++i)
+ $root.google.protobuf.FieldDescriptorProto.encode(message.extension[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.protobuf.FileOptions.encode(message.options, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.sourceCodeInfo != null && Object.hasOwnProperty.call(message, "sourceCodeInfo"))
+ $root.google.protobuf.SourceCodeInfo.encode(message.sourceCodeInfo, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
+ if (message.publicDependency != null && message.publicDependency.length)
+ for (var i = 0; i < message.publicDependency.length; ++i)
+ writer.uint32(/* id 10, wireType 0 =*/80).int32(message.publicDependency[i]);
+ if (message.weakDependency != null && message.weakDependency.length)
+ for (var i = 0; i < message.weakDependency.length; ++i)
+ writer.uint32(/* id 11, wireType 0 =*/88).int32(message.weakDependency[i]);
+ if (message.syntax != null && Object.hasOwnProperty.call(message, "syntax"))
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
+ if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
+ writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.FileDescriptorProto
+ * @static
+ * @param {google.protobuf.IFileDescriptorProto} message FileDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FileDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.FileDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.FileDescriptorProto} FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FileDescriptorProto.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.protobuf.FileDescriptorProto();
+ 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["package"] = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.dependency && message.dependency.length))
+ message.dependency = [];
+ message.dependency.push(reader.string());
+ break;
+ }
+ case 10: {
+ if (!(message.publicDependency && message.publicDependency.length))
+ message.publicDependency = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message.publicDependency.push(reader.int32());
+ } else
+ message.publicDependency.push(reader.int32());
+ break;
+ }
+ case 11: {
+ if (!(message.weakDependency && message.weakDependency.length))
+ message.weakDependency = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message.weakDependency.push(reader.int32());
+ } else
+ message.weakDependency.push(reader.int32());
+ break;
+ }
+ case 4: {
+ if (!(message.messageType && message.messageType.length))
+ message.messageType = [];
+ message.messageType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 5: {
+ if (!(message.enumType && message.enumType.length))
+ message.enumType = [];
+ message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 6: {
+ if (!(message.service && message.service.length))
+ message.service = [];
+ message.service.push($root.google.protobuf.ServiceDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 7: {
+ if (!(message.extension && message.extension.length))
+ message.extension = [];
+ message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 8: {
+ message.options = $root.google.protobuf.FileOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 9: {
+ message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.decode(reader, reader.uint32());
+ break;
+ }
+ case 12: {
+ message.syntax = reader.string();
+ break;
+ }
+ case 14: {
+ message.edition = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.FileDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.FileDescriptorProto} FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FileDescriptorProto.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FileDescriptorProto message.
+ * @function verify
+ * @memberof google.protobuf.FileDescriptorProto
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FileDescriptorProto.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["package"] != null && message.hasOwnProperty("package"))
+ if (!$util.isString(message["package"]))
+ return "package: string expected";
+ if (message.dependency != null && message.hasOwnProperty("dependency")) {
+ if (!Array.isArray(message.dependency))
+ return "dependency: array expected";
+ for (var i = 0; i < message.dependency.length; ++i)
+ if (!$util.isString(message.dependency[i]))
+ return "dependency: string[] expected";
+ }
+ if (message.publicDependency != null && message.hasOwnProperty("publicDependency")) {
+ if (!Array.isArray(message.publicDependency))
+ return "publicDependency: array expected";
+ for (var i = 0; i < message.publicDependency.length; ++i)
+ if (!$util.isInteger(message.publicDependency[i]))
+ return "publicDependency: integer[] expected";
+ }
+ if (message.weakDependency != null && message.hasOwnProperty("weakDependency")) {
+ if (!Array.isArray(message.weakDependency))
+ return "weakDependency: array expected";
+ for (var i = 0; i < message.weakDependency.length; ++i)
+ if (!$util.isInteger(message.weakDependency[i]))
+ return "weakDependency: integer[] expected";
+ }
+ if (message.messageType != null && message.hasOwnProperty("messageType")) {
+ if (!Array.isArray(message.messageType))
+ return "messageType: array expected";
+ for (var i = 0; i < message.messageType.length; ++i) {
+ var error = $root.google.protobuf.DescriptorProto.verify(message.messageType[i]);
+ if (error)
+ return "messageType." + error;
+ }
+ }
+ if (message.enumType != null && message.hasOwnProperty("enumType")) {
+ if (!Array.isArray(message.enumType))
+ return "enumType: array expected";
+ for (var i = 0; i < message.enumType.length; ++i) {
+ var error = $root.google.protobuf.EnumDescriptorProto.verify(message.enumType[i]);
+ if (error)
+ return "enumType." + error;
+ }
+ }
+ if (message.service != null && message.hasOwnProperty("service")) {
+ if (!Array.isArray(message.service))
+ return "service: array expected";
+ for (var i = 0; i < message.service.length; ++i) {
+ var error = $root.google.protobuf.ServiceDescriptorProto.verify(message.service[i]);
+ if (error)
+ return "service." + error;
+ }
+ }
+ if (message.extension != null && message.hasOwnProperty("extension")) {
+ if (!Array.isArray(message.extension))
+ return "extension: array expected";
+ for (var i = 0; i < message.extension.length; ++i) {
+ var error = $root.google.protobuf.FieldDescriptorProto.verify(message.extension[i]);
+ if (error)
+ return "extension." + error;
+ }
+ }
+ if (message.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.protobuf.FileOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ if (message.sourceCodeInfo != null && message.hasOwnProperty("sourceCodeInfo")) {
+ var error = $root.google.protobuf.SourceCodeInfo.verify(message.sourceCodeInfo);
+ if (error)
+ return "sourceCodeInfo." + error;
+ }
+ if (message.syntax != null && message.hasOwnProperty("syntax"))
+ if (!$util.isString(message.syntax))
+ return "syntax: string expected";
+ if (message.edition != null && message.hasOwnProperty("edition"))
+ switch (message.edition) {
+ default:
+ return "edition: enum value expected";
+ case 0:
+ case 998:
+ case 999:
+ case 1000:
+ case 1001:
+ case 1:
+ case 2:
+ case 99997:
+ case 99998:
+ case 99999:
+ case 2147483647:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.FileDescriptorProto
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.FileDescriptorProto} FileDescriptorProto
+ */
+ FileDescriptorProto.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.FileDescriptorProto)
+ return object;
+ var message = new $root.google.protobuf.FileDescriptorProto();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object["package"] != null)
+ message["package"] = String(object["package"]);
+ if (object.dependency) {
+ if (!Array.isArray(object.dependency))
+ throw TypeError(".google.protobuf.FileDescriptorProto.dependency: array expected");
+ message.dependency = [];
+ for (var i = 0; i < object.dependency.length; ++i)
+ message.dependency[i] = String(object.dependency[i]);
+ }
+ if (object.publicDependency) {
+ if (!Array.isArray(object.publicDependency))
+ throw TypeError(".google.protobuf.FileDescriptorProto.publicDependency: array expected");
+ message.publicDependency = [];
+ for (var i = 0; i < object.publicDependency.length; ++i)
+ message.publicDependency[i] = object.publicDependency[i] | 0;
+ }
+ if (object.weakDependency) {
+ if (!Array.isArray(object.weakDependency))
+ throw TypeError(".google.protobuf.FileDescriptorProto.weakDependency: array expected");
+ message.weakDependency = [];
+ for (var i = 0; i < object.weakDependency.length; ++i)
+ message.weakDependency[i] = object.weakDependency[i] | 0;
+ }
+ if (object.messageType) {
+ if (!Array.isArray(object.messageType))
+ throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected");
+ message.messageType = [];
+ for (var i = 0; i < object.messageType.length; ++i) {
+ if (typeof object.messageType[i] !== "object")
+ throw TypeError(".google.protobuf.FileDescriptorProto.messageType: object expected");
+ message.messageType[i] = $root.google.protobuf.DescriptorProto.fromObject(object.messageType[i]);
+ }
+ }
+ if (object.enumType) {
+ if (!Array.isArray(object.enumType))
+ throw TypeError(".google.protobuf.FileDescriptorProto.enumType: array expected");
+ message.enumType = [];
+ for (var i = 0; i < object.enumType.length; ++i) {
+ if (typeof object.enumType[i] !== "object")
+ throw TypeError(".google.protobuf.FileDescriptorProto.enumType: object expected");
+ message.enumType[i] = $root.google.protobuf.EnumDescriptorProto.fromObject(object.enumType[i]);
+ }
+ }
+ if (object.service) {
+ if (!Array.isArray(object.service))
+ throw TypeError(".google.protobuf.FileDescriptorProto.service: array expected");
+ message.service = [];
+ for (var i = 0; i < object.service.length; ++i) {
+ if (typeof object.service[i] !== "object")
+ throw TypeError(".google.protobuf.FileDescriptorProto.service: object expected");
+ message.service[i] = $root.google.protobuf.ServiceDescriptorProto.fromObject(object.service[i]);
+ }
+ }
+ if (object.extension) {
+ if (!Array.isArray(object.extension))
+ throw TypeError(".google.protobuf.FileDescriptorProto.extension: array expected");
+ message.extension = [];
+ for (var i = 0; i < object.extension.length; ++i) {
+ if (typeof object.extension[i] !== "object")
+ throw TypeError(".google.protobuf.FileDescriptorProto.extension: object expected");
+ message.extension[i] = $root.google.protobuf.FieldDescriptorProto.fromObject(object.extension[i]);
+ }
+ }
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.protobuf.FileDescriptorProto.options: object expected");
+ message.options = $root.google.protobuf.FileOptions.fromObject(object.options);
+ }
+ if (object.sourceCodeInfo != null) {
+ if (typeof object.sourceCodeInfo !== "object")
+ throw TypeError(".google.protobuf.FileDescriptorProto.sourceCodeInfo: object expected");
+ message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.fromObject(object.sourceCodeInfo);
+ }
+ if (object.syntax != null)
+ message.syntax = String(object.syntax);
+ switch (object.edition) {
+ default:
+ if (typeof object.edition === "number") {
+ message.edition = object.edition;
+ break;
+ }
+ break;
+ case "EDITION_UNKNOWN":
+ case 0:
+ message.edition = 0;
+ break;
+ case "EDITION_PROTO2":
+ case 998:
+ message.edition = 998;
+ break;
+ case "EDITION_PROTO3":
+ case 999:
+ message.edition = 999;
+ break;
+ case "EDITION_2023":
+ case 1000:
+ message.edition = 1000;
+ break;
+ case "EDITION_2024":
+ case 1001:
+ message.edition = 1001;
+ break;
+ case "EDITION_1_TEST_ONLY":
+ case 1:
+ message.edition = 1;
+ break;
+ case "EDITION_2_TEST_ONLY":
+ case 2:
+ message.edition = 2;
+ break;
+ case "EDITION_99997_TEST_ONLY":
+ case 99997:
+ message.edition = 99997;
+ break;
+ case "EDITION_99998_TEST_ONLY":
+ case 99998:
+ message.edition = 99998;
+ break;
+ case "EDITION_99999_TEST_ONLY":
+ case 99999:
+ message.edition = 99999;
+ break;
+ case "EDITION_MAX":
+ case 2147483647:
+ message.edition = 2147483647;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.FileDescriptorProto
+ * @static
+ * @param {google.protobuf.FileDescriptorProto} message FileDescriptorProto
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FileDescriptorProto.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.dependency = [];
+ object.messageType = [];
+ object.enumType = [];
+ object.service = [];
+ object.extension = [];
+ object.publicDependency = [];
+ object.weakDependency = [];
+ }
+ if (options.defaults) {
+ object.name = "";
+ object["package"] = "";
+ object.options = null;
+ object.sourceCodeInfo = null;
+ object.syntax = "";
+ object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message["package"] != null && message.hasOwnProperty("package"))
+ object["package"] = message["package"];
+ if (message.dependency && message.dependency.length) {
+ object.dependency = [];
+ for (var j = 0; j < message.dependency.length; ++j)
+ object.dependency[j] = message.dependency[j];
+ }
+ if (message.messageType && message.messageType.length) {
+ object.messageType = [];
+ for (var j = 0; j < message.messageType.length; ++j)
+ object.messageType[j] = $root.google.protobuf.DescriptorProto.toObject(message.messageType[j], options);
+ }
+ if (message.enumType && message.enumType.length) {
+ object.enumType = [];
+ for (var j = 0; j < message.enumType.length; ++j)
+ object.enumType[j] = $root.google.protobuf.EnumDescriptorProto.toObject(message.enumType[j], options);
+ }
+ if (message.service && message.service.length) {
+ object.service = [];
+ for (var j = 0; j < message.service.length; ++j)
+ object.service[j] = $root.google.protobuf.ServiceDescriptorProto.toObject(message.service[j], options);
+ }
+ if (message.extension && message.extension.length) {
+ object.extension = [];
+ for (var j = 0; j < message.extension.length; ++j)
+ object.extension[j] = $root.google.protobuf.FieldDescriptorProto.toObject(message.extension[j], options);
+ }
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.protobuf.FileOptions.toObject(message.options, options);
+ if (message.sourceCodeInfo != null && message.hasOwnProperty("sourceCodeInfo"))
+ object.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.toObject(message.sourceCodeInfo, options);
+ if (message.publicDependency && message.publicDependency.length) {
+ object.publicDependency = [];
+ for (var j = 0; j < message.publicDependency.length; ++j)
+ object.publicDependency[j] = message.publicDependency[j];
+ }
+ if (message.weakDependency && message.weakDependency.length) {
+ object.weakDependency = [];
+ for (var j = 0; j < message.weakDependency.length; ++j)
+ object.weakDependency[j] = message.weakDependency[j];
+ }
+ if (message.syntax != null && message.hasOwnProperty("syntax"))
+ object.syntax = message.syntax;
+ if (message.edition != null && message.hasOwnProperty("edition"))
+ object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
+ return object;
+ };
+
+ /**
+ * Converts this FileDescriptorProto to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.FileDescriptorProto
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FileDescriptorProto.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FileDescriptorProto
+ * @function getTypeUrl
+ * @memberof google.protobuf.FileDescriptorProto
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FileDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.FileDescriptorProto";
+ };
+
+ return FileDescriptorProto;
+ })();
+
+ protobuf.DescriptorProto = (function() {
+
+ /**
+ * Properties of a DescriptorProto.
+ * @memberof google.protobuf
+ * @interface IDescriptorProto
+ * @property {string|null} [name] DescriptorProto name
+ * @property {Array.|null} [field] DescriptorProto field
+ * @property {Array.|null} [extension] DescriptorProto extension
+ * @property {Array.|null} [nestedType] DescriptorProto nestedType
+ * @property {Array.|null} [enumType] DescriptorProto enumType
+ * @property {Array.|null} [extensionRange] DescriptorProto extensionRange
+ * @property {Array.|null} [oneofDecl] DescriptorProto oneofDecl
+ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options
+ * @property {Array.|null} [reservedRange] DescriptorProto reservedRange
+ * @property {Array.|null} [reservedName] DescriptorProto reservedName
+ */
+
+ /**
+ * Constructs a new DescriptorProto.
+ * @memberof google.protobuf
+ * @classdesc Represents a DescriptorProto.
+ * @implements IDescriptorProto
+ * @constructor
+ * @param {google.protobuf.IDescriptorProto=} [properties] Properties to set
+ */
+ function DescriptorProto(properties) {
+ this.field = [];
+ this.extension = [];
+ this.nestedType = [];
+ this.enumType = [];
+ this.extensionRange = [];
+ this.oneofDecl = [];
+ this.reservedRange = [];
+ this.reservedName = [];
+ 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]];
+ }
+
+ /**
+ * DescriptorProto name.
+ * @member {string} name
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.name = "";
+
+ /**
+ * DescriptorProto field.
+ * @member {Array.} field
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.field = $util.emptyArray;
+
+ /**
+ * DescriptorProto extension.
+ * @member {Array.} extension
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.extension = $util.emptyArray;
+
+ /**
+ * DescriptorProto nestedType.
+ * @member {Array.} nestedType
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.nestedType = $util.emptyArray;
+
+ /**
+ * DescriptorProto enumType.
+ * @member {Array.} enumType
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.enumType = $util.emptyArray;
+
+ /**
+ * DescriptorProto extensionRange.
+ * @member {Array.} extensionRange
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.extensionRange = $util.emptyArray;
+
+ /**
+ * DescriptorProto oneofDecl.
+ * @member {Array.} oneofDecl
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.oneofDecl = $util.emptyArray;
+
+ /**
+ * DescriptorProto options.
+ * @member {google.protobuf.IMessageOptions|null|undefined} options
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.options = null;
+
+ /**
+ * DescriptorProto reservedRange.
+ * @member {Array.} reservedRange
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.reservedRange = $util.emptyArray;
+
+ /**
+ * DescriptorProto reservedName.
+ * @member {Array.} reservedName
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ */
+ DescriptorProto.prototype.reservedName = $util.emptyArray;
+
+ /**
+ * Creates a new DescriptorProto instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.DescriptorProto
+ * @static
+ * @param {google.protobuf.IDescriptorProto=} [properties] Properties to set
+ * @returns {google.protobuf.DescriptorProto} DescriptorProto instance
+ */
+ DescriptorProto.create = function create(properties) {
+ return new DescriptorProto(properties);
+ };
+
+ /**
+ * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.DescriptorProto
+ * @static
+ * @param {google.protobuf.IDescriptorProto} message DescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DescriptorProto.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.field != null && message.field.length)
+ for (var i = 0; i < message.field.length; ++i)
+ $root.google.protobuf.FieldDescriptorProto.encode(message.field[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.nestedType != null && message.nestedType.length)
+ for (var i = 0; i < message.nestedType.length; ++i)
+ $root.google.protobuf.DescriptorProto.encode(message.nestedType[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.enumType != null && message.enumType.length)
+ for (var i = 0; i < message.enumType.length; ++i)
+ $root.google.protobuf.EnumDescriptorProto.encode(message.enumType[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.extensionRange != null && message.extensionRange.length)
+ for (var i = 0; i < message.extensionRange.length; ++i)
+ $root.google.protobuf.DescriptorProto.ExtensionRange.encode(message.extensionRange[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.extension != null && message.extension.length)
+ for (var i = 0; i < message.extension.length; ++i)
+ $root.google.protobuf.FieldDescriptorProto.encode(message.extension[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.protobuf.MessageOptions.encode(message.options, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.oneofDecl != null && message.oneofDecl.length)
+ for (var i = 0; i < message.oneofDecl.length; ++i)
+ $root.google.protobuf.OneofDescriptorProto.encode(message.oneofDecl[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.reservedRange != null && message.reservedRange.length)
+ for (var i = 0; i < message.reservedRange.length; ++i)
+ $root.google.protobuf.DescriptorProto.ReservedRange.encode(message.reservedRange[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
+ if (message.reservedName != null && message.reservedName.length)
+ for (var i = 0; i < message.reservedName.length; ++i)
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.DescriptorProto
+ * @static
+ * @param {google.protobuf.IDescriptorProto} message DescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DescriptorProto.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.DescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.DescriptorProto} DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DescriptorProto.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.protobuf.DescriptorProto();
+ 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.field && message.field.length))
+ message.field = [];
+ message.field.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 6: {
+ if (!(message.extension && message.extension.length))
+ message.extension = [];
+ message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 3: {
+ if (!(message.nestedType && message.nestedType.length))
+ message.nestedType = [];
+ message.nestedType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 4: {
+ if (!(message.enumType && message.enumType.length))
+ message.enumType = [];
+ message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 5: {
+ if (!(message.extensionRange && message.extensionRange.length))
+ message.extensionRange = [];
+ message.extensionRange.push($root.google.protobuf.DescriptorProto.ExtensionRange.decode(reader, reader.uint32()));
+ break;
+ }
+ case 8: {
+ if (!(message.oneofDecl && message.oneofDecl.length))
+ message.oneofDecl = [];
+ message.oneofDecl.push($root.google.protobuf.OneofDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 7: {
+ message.options = $root.google.protobuf.MessageOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 9: {
+ if (!(message.reservedRange && message.reservedRange.length))
+ message.reservedRange = [];
+ message.reservedRange.push($root.google.protobuf.DescriptorProto.ReservedRange.decode(reader, reader.uint32()));
+ break;
+ }
+ case 10: {
+ if (!(message.reservedName && message.reservedName.length))
+ message.reservedName = [];
+ message.reservedName.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.DescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.DescriptorProto} DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DescriptorProto.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DescriptorProto message.
+ * @function verify
+ * @memberof google.protobuf.DescriptorProto
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DescriptorProto.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.field != null && message.hasOwnProperty("field")) {
+ if (!Array.isArray(message.field))
+ return "field: array expected";
+ for (var i = 0; i < message.field.length; ++i) {
+ var error = $root.google.protobuf.FieldDescriptorProto.verify(message.field[i]);
+ if (error)
+ return "field." + error;
+ }
+ }
+ if (message.extension != null && message.hasOwnProperty("extension")) {
+ if (!Array.isArray(message.extension))
+ return "extension: array expected";
+ for (var i = 0; i < message.extension.length; ++i) {
+ var error = $root.google.protobuf.FieldDescriptorProto.verify(message.extension[i]);
+ if (error)
+ return "extension." + error;
+ }
+ }
+ if (message.nestedType != null && message.hasOwnProperty("nestedType")) {
+ if (!Array.isArray(message.nestedType))
+ return "nestedType: array expected";
+ for (var i = 0; i < message.nestedType.length; ++i) {
+ var error = $root.google.protobuf.DescriptorProto.verify(message.nestedType[i]);
+ if (error)
+ return "nestedType." + error;
+ }
+ }
+ if (message.enumType != null && message.hasOwnProperty("enumType")) {
+ if (!Array.isArray(message.enumType))
+ return "enumType: array expected";
+ for (var i = 0; i < message.enumType.length; ++i) {
+ var error = $root.google.protobuf.EnumDescriptorProto.verify(message.enumType[i]);
+ if (error)
+ return "enumType." + error;
+ }
+ }
+ if (message.extensionRange != null && message.hasOwnProperty("extensionRange")) {
+ if (!Array.isArray(message.extensionRange))
+ return "extensionRange: array expected";
+ for (var i = 0; i < message.extensionRange.length; ++i) {
+ var error = $root.google.protobuf.DescriptorProto.ExtensionRange.verify(message.extensionRange[i]);
+ if (error)
+ return "extensionRange." + error;
+ }
+ }
+ if (message.oneofDecl != null && message.hasOwnProperty("oneofDecl")) {
+ if (!Array.isArray(message.oneofDecl))
+ return "oneofDecl: array expected";
+ for (var i = 0; i < message.oneofDecl.length; ++i) {
+ var error = $root.google.protobuf.OneofDescriptorProto.verify(message.oneofDecl[i]);
+ if (error)
+ return "oneofDecl." + error;
+ }
+ }
+ if (message.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.protobuf.MessageOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ if (message.reservedRange != null && message.hasOwnProperty("reservedRange")) {
+ if (!Array.isArray(message.reservedRange))
+ return "reservedRange: array expected";
+ for (var i = 0; i < message.reservedRange.length; ++i) {
+ var error = $root.google.protobuf.DescriptorProto.ReservedRange.verify(message.reservedRange[i]);
+ if (error)
+ return "reservedRange." + error;
+ }
+ }
+ if (message.reservedName != null && message.hasOwnProperty("reservedName")) {
+ if (!Array.isArray(message.reservedName))
+ return "reservedName: array expected";
+ for (var i = 0; i < message.reservedName.length; ++i)
+ if (!$util.isString(message.reservedName[i]))
+ return "reservedName: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.DescriptorProto
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.DescriptorProto} DescriptorProto
+ */
+ DescriptorProto.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.DescriptorProto)
+ return object;
+ var message = new $root.google.protobuf.DescriptorProto();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.field) {
+ if (!Array.isArray(object.field))
+ throw TypeError(".google.protobuf.DescriptorProto.field: array expected");
+ message.field = [];
+ for (var i = 0; i < object.field.length; ++i) {
+ if (typeof object.field[i] !== "object")
+ throw TypeError(".google.protobuf.DescriptorProto.field: object expected");
+ message.field[i] = $root.google.protobuf.FieldDescriptorProto.fromObject(object.field[i]);
+ }
+ }
+ if (object.extension) {
+ if (!Array.isArray(object.extension))
+ throw TypeError(".google.protobuf.DescriptorProto.extension: array expected");
+ message.extension = [];
+ for (var i = 0; i < object.extension.length; ++i) {
+ if (typeof object.extension[i] !== "object")
+ throw TypeError(".google.protobuf.DescriptorProto.extension: object expected");
+ message.extension[i] = $root.google.protobuf.FieldDescriptorProto.fromObject(object.extension[i]);
+ }
+ }
+ if (object.nestedType) {
+ if (!Array.isArray(object.nestedType))
+ throw TypeError(".google.protobuf.DescriptorProto.nestedType: array expected");
+ message.nestedType = [];
+ for (var i = 0; i < object.nestedType.length; ++i) {
+ if (typeof object.nestedType[i] !== "object")
+ throw TypeError(".google.protobuf.DescriptorProto.nestedType: object expected");
+ message.nestedType[i] = $root.google.protobuf.DescriptorProto.fromObject(object.nestedType[i]);
+ }
+ }
+ if (object.enumType) {
+ if (!Array.isArray(object.enumType))
+ throw TypeError(".google.protobuf.DescriptorProto.enumType: array expected");
+ message.enumType = [];
+ for (var i = 0; i < object.enumType.length; ++i) {
+ if (typeof object.enumType[i] !== "object")
+ throw TypeError(".google.protobuf.DescriptorProto.enumType: object expected");
+ message.enumType[i] = $root.google.protobuf.EnumDescriptorProto.fromObject(object.enumType[i]);
+ }
+ }
+ if (object.extensionRange) {
+ if (!Array.isArray(object.extensionRange))
+ throw TypeError(".google.protobuf.DescriptorProto.extensionRange: array expected");
+ message.extensionRange = [];
+ for (var i = 0; i < object.extensionRange.length; ++i) {
+ if (typeof object.extensionRange[i] !== "object")
+ throw TypeError(".google.protobuf.DescriptorProto.extensionRange: object expected");
+ message.extensionRange[i] = $root.google.protobuf.DescriptorProto.ExtensionRange.fromObject(object.extensionRange[i]);
+ }
+ }
+ if (object.oneofDecl) {
+ if (!Array.isArray(object.oneofDecl))
+ throw TypeError(".google.protobuf.DescriptorProto.oneofDecl: array expected");
+ message.oneofDecl = [];
+ for (var i = 0; i < object.oneofDecl.length; ++i) {
+ if (typeof object.oneofDecl[i] !== "object")
+ throw TypeError(".google.protobuf.DescriptorProto.oneofDecl: object expected");
+ message.oneofDecl[i] = $root.google.protobuf.OneofDescriptorProto.fromObject(object.oneofDecl[i]);
+ }
+ }
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.protobuf.DescriptorProto.options: object expected");
+ message.options = $root.google.protobuf.MessageOptions.fromObject(object.options);
+ }
+ if (object.reservedRange) {
+ if (!Array.isArray(object.reservedRange))
+ throw TypeError(".google.protobuf.DescriptorProto.reservedRange: array expected");
+ message.reservedRange = [];
+ for (var i = 0; i < object.reservedRange.length; ++i) {
+ if (typeof object.reservedRange[i] !== "object")
+ throw TypeError(".google.protobuf.DescriptorProto.reservedRange: object expected");
+ message.reservedRange[i] = $root.google.protobuf.DescriptorProto.ReservedRange.fromObject(object.reservedRange[i]);
+ }
+ }
+ if (object.reservedName) {
+ if (!Array.isArray(object.reservedName))
+ throw TypeError(".google.protobuf.DescriptorProto.reservedName: array expected");
+ message.reservedName = [];
+ for (var i = 0; i < object.reservedName.length; ++i)
+ message.reservedName[i] = String(object.reservedName[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.DescriptorProto
+ * @static
+ * @param {google.protobuf.DescriptorProto} message DescriptorProto
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DescriptorProto.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.field = [];
+ object.nestedType = [];
+ object.enumType = [];
+ object.extensionRange = [];
+ object.extension = [];
+ object.oneofDecl = [];
+ object.reservedRange = [];
+ object.reservedName = [];
+ }
+ if (options.defaults) {
+ object.name = "";
+ object.options = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.field && message.field.length) {
+ object.field = [];
+ for (var j = 0; j < message.field.length; ++j)
+ object.field[j] = $root.google.protobuf.FieldDescriptorProto.toObject(message.field[j], options);
+ }
+ if (message.nestedType && message.nestedType.length) {
+ object.nestedType = [];
+ for (var j = 0; j < message.nestedType.length; ++j)
+ object.nestedType[j] = $root.google.protobuf.DescriptorProto.toObject(message.nestedType[j], options);
+ }
+ if (message.enumType && message.enumType.length) {
+ object.enumType = [];
+ for (var j = 0; j < message.enumType.length; ++j)
+ object.enumType[j] = $root.google.protobuf.EnumDescriptorProto.toObject(message.enumType[j], options);
+ }
+ if (message.extensionRange && message.extensionRange.length) {
+ object.extensionRange = [];
+ for (var j = 0; j < message.extensionRange.length; ++j)
+ object.extensionRange[j] = $root.google.protobuf.DescriptorProto.ExtensionRange.toObject(message.extensionRange[j], options);
+ }
+ if (message.extension && message.extension.length) {
+ object.extension = [];
+ for (var j = 0; j < message.extension.length; ++j)
+ object.extension[j] = $root.google.protobuf.FieldDescriptorProto.toObject(message.extension[j], options);
+ }
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.protobuf.MessageOptions.toObject(message.options, options);
+ if (message.oneofDecl && message.oneofDecl.length) {
+ object.oneofDecl = [];
+ for (var j = 0; j < message.oneofDecl.length; ++j)
+ object.oneofDecl[j] = $root.google.protobuf.OneofDescriptorProto.toObject(message.oneofDecl[j], options);
+ }
+ if (message.reservedRange && message.reservedRange.length) {
+ object.reservedRange = [];
+ for (var j = 0; j < message.reservedRange.length; ++j)
+ object.reservedRange[j] = $root.google.protobuf.DescriptorProto.ReservedRange.toObject(message.reservedRange[j], options);
+ }
+ if (message.reservedName && message.reservedName.length) {
+ object.reservedName = [];
+ for (var j = 0; j < message.reservedName.length; ++j)
+ object.reservedName[j] = message.reservedName[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this DescriptorProto to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.DescriptorProto
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DescriptorProto.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DescriptorProto
+ * @function getTypeUrl
+ * @memberof google.protobuf.DescriptorProto
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.DescriptorProto";
+ };
+
+ DescriptorProto.ExtensionRange = (function() {
+
+ /**
+ * Properties of an ExtensionRange.
+ * @memberof google.protobuf.DescriptorProto
+ * @interface IExtensionRange
+ * @property {number|null} [start] ExtensionRange start
+ * @property {number|null} [end] ExtensionRange end
+ * @property {google.protobuf.IExtensionRangeOptions|null} [options] ExtensionRange options
+ */
+
+ /**
+ * Constructs a new ExtensionRange.
+ * @memberof google.protobuf.DescriptorProto
+ * @classdesc Represents an ExtensionRange.
+ * @implements IExtensionRange
+ * @constructor
+ * @param {google.protobuf.DescriptorProto.IExtensionRange=} [properties] Properties to set
+ */
+ function ExtensionRange(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]];
+ }
+
+ /**
+ * ExtensionRange start.
+ * @member {number} start
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @instance
+ */
+ ExtensionRange.prototype.start = 0;
+
+ /**
+ * ExtensionRange end.
+ * @member {number} end
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @instance
+ */
+ ExtensionRange.prototype.end = 0;
+
+ /**
+ * ExtensionRange options.
+ * @member {google.protobuf.IExtensionRangeOptions|null|undefined} options
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @instance
+ */
+ ExtensionRange.prototype.options = null;
+
+ /**
+ * Creates a new ExtensionRange instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @static
+ * @param {google.protobuf.DescriptorProto.IExtensionRange=} [properties] Properties to set
+ * @returns {google.protobuf.DescriptorProto.ExtensionRange} ExtensionRange instance
+ */
+ ExtensionRange.create = function create(properties) {
+ return new ExtensionRange(properties);
+ };
+
+ /**
+ * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @static
+ * @param {google.protobuf.DescriptorProto.IExtensionRange} message ExtensionRange message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExtensionRange.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.start != null && Object.hasOwnProperty.call(message, "start"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.start);
+ if (message.end != null && Object.hasOwnProperty.call(message, "end"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.end);
+ if (message.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.protobuf.ExtensionRangeOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @static
+ * @param {google.protobuf.DescriptorProto.IExtensionRange} message ExtensionRange message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExtensionRange.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.DescriptorProto.ExtensionRange} ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExtensionRange.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.protobuf.DescriptorProto.ExtensionRange();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.start = reader.int32();
+ break;
+ }
+ case 2: {
+ message.end = reader.int32();
+ break;
+ }
+ case 3: {
+ message.options = $root.google.protobuf.ExtensionRangeOptions.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.DescriptorProto.ExtensionRange} ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExtensionRange.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExtensionRange message.
+ * @function verify
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExtensionRange.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.start != null && message.hasOwnProperty("start"))
+ if (!$util.isInteger(message.start))
+ return "start: integer expected";
+ if (message.end != null && message.hasOwnProperty("end"))
+ if (!$util.isInteger(message.end))
+ return "end: integer expected";
+ if (message.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.protobuf.ExtensionRangeOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.DescriptorProto.ExtensionRange} ExtensionRange
+ */
+ ExtensionRange.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.DescriptorProto.ExtensionRange)
+ return object;
+ var message = new $root.google.protobuf.DescriptorProto.ExtensionRange();
+ if (object.start != null)
+ message.start = object.start | 0;
+ if (object.end != null)
+ message.end = object.end | 0;
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected");
+ message.options = $root.google.protobuf.ExtensionRangeOptions.fromObject(object.options);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @static
+ * @param {google.protobuf.DescriptorProto.ExtensionRange} message ExtensionRange
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExtensionRange.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.start = 0;
+ object.end = 0;
+ object.options = null;
+ }
+ if (message.start != null && message.hasOwnProperty("start"))
+ object.start = message.start;
+ if (message.end != null && message.hasOwnProperty("end"))
+ object.end = message.end;
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.protobuf.ExtensionRangeOptions.toObject(message.options, options);
+ return object;
+ };
+
+ /**
+ * Converts this ExtensionRange to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExtensionRange.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExtensionRange
+ * @function getTypeUrl
+ * @memberof google.protobuf.DescriptorProto.ExtensionRange
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExtensionRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.DescriptorProto.ExtensionRange";
+ };
+
+ return ExtensionRange;
+ })();
+
+ DescriptorProto.ReservedRange = (function() {
+
+ /**
+ * Properties of a ReservedRange.
+ * @memberof google.protobuf.DescriptorProto
+ * @interface IReservedRange
+ * @property {number|null} [start] ReservedRange start
+ * @property {number|null} [end] ReservedRange end
+ */
+
+ /**
+ * Constructs a new ReservedRange.
+ * @memberof google.protobuf.DescriptorProto
+ * @classdesc Represents a ReservedRange.
+ * @implements IReservedRange
+ * @constructor
+ * @param {google.protobuf.DescriptorProto.IReservedRange=} [properties] Properties to set
+ */
+ function ReservedRange(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]];
+ }
+
+ /**
+ * ReservedRange start.
+ * @member {number} start
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @instance
+ */
+ ReservedRange.prototype.start = 0;
+
+ /**
+ * ReservedRange end.
+ * @member {number} end
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @instance
+ */
+ ReservedRange.prototype.end = 0;
+
+ /**
+ * Creates a new ReservedRange instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @static
+ * @param {google.protobuf.DescriptorProto.IReservedRange=} [properties] Properties to set
+ * @returns {google.protobuf.DescriptorProto.ReservedRange} ReservedRange instance
+ */
+ ReservedRange.create = function create(properties) {
+ return new ReservedRange(properties);
+ };
+
+ /**
+ * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @static
+ * @param {google.protobuf.DescriptorProto.IReservedRange} message ReservedRange message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ReservedRange.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.start != null && Object.hasOwnProperty.call(message, "start"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.start);
+ if (message.end != null && Object.hasOwnProperty.call(message, "end"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.end);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @static
+ * @param {google.protobuf.DescriptorProto.IReservedRange} message ReservedRange message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ReservedRange.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.DescriptorProto.ReservedRange} ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ReservedRange.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.protobuf.DescriptorProto.ReservedRange();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.start = reader.int32();
+ break;
+ }
+ case 2: {
+ message.end = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.DescriptorProto.ReservedRange} ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ReservedRange.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ReservedRange message.
+ * @function verify
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ReservedRange.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.start != null && message.hasOwnProperty("start"))
+ if (!$util.isInteger(message.start))
+ return "start: integer expected";
+ if (message.end != null && message.hasOwnProperty("end"))
+ if (!$util.isInteger(message.end))
+ return "end: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.DescriptorProto.ReservedRange} ReservedRange
+ */
+ ReservedRange.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.DescriptorProto.ReservedRange)
+ return object;
+ var message = new $root.google.protobuf.DescriptorProto.ReservedRange();
+ if (object.start != null)
+ message.start = object.start | 0;
+ if (object.end != null)
+ message.end = object.end | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @static
+ * @param {google.protobuf.DescriptorProto.ReservedRange} message ReservedRange
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ReservedRange.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.start = 0;
+ object.end = 0;
+ }
+ if (message.start != null && message.hasOwnProperty("start"))
+ object.start = message.start;
+ if (message.end != null && message.hasOwnProperty("end"))
+ object.end = message.end;
+ return object;
+ };
+
+ /**
+ * Converts this ReservedRange to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ReservedRange.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ReservedRange
+ * @function getTypeUrl
+ * @memberof google.protobuf.DescriptorProto.ReservedRange
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ReservedRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.DescriptorProto.ReservedRange";
+ };
+
+ return ReservedRange;
+ })();
+
+ return DescriptorProto;
+ })();
+
+ protobuf.ExtensionRangeOptions = (function() {
+
+ /**
+ * Properties of an ExtensionRangeOptions.
+ * @memberof google.protobuf
+ * @interface IExtensionRangeOptions
+ * @property {Array.|null} [uninterpretedOption] ExtensionRangeOptions uninterpretedOption
+ * @property {Array.|null} [declaration] ExtensionRangeOptions declaration
+ * @property {google.protobuf.IFeatureSet|null} [features] ExtensionRangeOptions features
+ * @property {google.protobuf.ExtensionRangeOptions.VerificationState|null} [verification] ExtensionRangeOptions verification
+ */
+
+ /**
+ * Constructs a new ExtensionRangeOptions.
+ * @memberof google.protobuf
+ * @classdesc Represents an ExtensionRangeOptions.
+ * @implements IExtensionRangeOptions
+ * @constructor
+ * @param {google.protobuf.IExtensionRangeOptions=} [properties] Properties to set
+ */
+ function ExtensionRangeOptions(properties) {
+ this.uninterpretedOption = [];
+ this.declaration = [];
+ 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]];
+ }
+
+ /**
+ * ExtensionRangeOptions uninterpretedOption.
+ * @member {Array.} uninterpretedOption
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @instance
+ */
+ ExtensionRangeOptions.prototype.uninterpretedOption = $util.emptyArray;
+
+ /**
+ * ExtensionRangeOptions declaration.
+ * @member {Array.} declaration
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @instance
+ */
+ ExtensionRangeOptions.prototype.declaration = $util.emptyArray;
+
+ /**
+ * ExtensionRangeOptions features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @instance
+ */
+ ExtensionRangeOptions.prototype.features = null;
+
+ /**
+ * ExtensionRangeOptions verification.
+ * @member {google.protobuf.ExtensionRangeOptions.VerificationState} verification
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @instance
+ */
+ ExtensionRangeOptions.prototype.verification = 1;
+
+ /**
+ * Creates a new ExtensionRangeOptions instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @static
+ * @param {google.protobuf.IExtensionRangeOptions=} [properties] Properties to set
+ * @returns {google.protobuf.ExtensionRangeOptions} ExtensionRangeOptions instance
+ */
+ ExtensionRangeOptions.create = function create(properties) {
+ return new ExtensionRangeOptions(properties);
+ };
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @static
+ * @param {google.protobuf.IExtensionRangeOptions} message ExtensionRangeOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExtensionRangeOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.declaration != null && message.declaration.length)
+ for (var i = 0; i < message.declaration.length; ++i)
+ $root.google.protobuf.ExtensionRangeOptions.Declaration.encode(message.declaration[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.verification != null && Object.hasOwnProperty.call(message, "verification"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.verification);
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
+ if (message.uninterpretedOption != null && message.uninterpretedOption.length)
+ for (var i = 0; i < message.uninterpretedOption.length; ++i)
+ $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @static
+ * @param {google.protobuf.IExtensionRangeOptions} message ExtensionRangeOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExtensionRangeOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.ExtensionRangeOptions} ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExtensionRangeOptions.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.protobuf.ExtensionRangeOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 999: {
+ if (!(message.uninterpretedOption && message.uninterpretedOption.length))
+ message.uninterpretedOption = [];
+ message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ if (!(message.declaration && message.declaration.length))
+ message.declaration = [];
+ message.declaration.push($root.google.protobuf.ExtensionRangeOptions.Declaration.decode(reader, reader.uint32()));
+ break;
+ }
+ case 50: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.verification = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.ExtensionRangeOptions} ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExtensionRangeOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExtensionRangeOptions message.
+ * @function verify
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExtensionRangeOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
+ if (!Array.isArray(message.uninterpretedOption))
+ return "uninterpretedOption: array expected";
+ for (var i = 0; i < message.uninterpretedOption.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]);
+ if (error)
+ return "uninterpretedOption." + error;
+ }
+ }
+ if (message.declaration != null && message.hasOwnProperty("declaration")) {
+ if (!Array.isArray(message.declaration))
+ return "declaration: array expected";
+ for (var i = 0; i < message.declaration.length; ++i) {
+ var error = $root.google.protobuf.ExtensionRangeOptions.Declaration.verify(message.declaration[i]);
+ if (error)
+ return "declaration." + error;
+ }
+ }
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ if (message.verification != null && message.hasOwnProperty("verification"))
+ switch (message.verification) {
+ default:
+ return "verification: enum value expected";
+ case 0:
+ case 1:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.ExtensionRangeOptions} ExtensionRangeOptions
+ */
+ ExtensionRangeOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.ExtensionRangeOptions)
+ return object;
+ var message = new $root.google.protobuf.ExtensionRangeOptions();
+ if (object.uninterpretedOption) {
+ if (!Array.isArray(object.uninterpretedOption))
+ throw TypeError(".google.protobuf.ExtensionRangeOptions.uninterpretedOption: array expected");
+ message.uninterpretedOption = [];
+ for (var i = 0; i < object.uninterpretedOption.length; ++i) {
+ if (typeof object.uninterpretedOption[i] !== "object")
+ throw TypeError(".google.protobuf.ExtensionRangeOptions.uninterpretedOption: object expected");
+ message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
+ }
+ }
+ if (object.declaration) {
+ if (!Array.isArray(object.declaration))
+ throw TypeError(".google.protobuf.ExtensionRangeOptions.declaration: array expected");
+ message.declaration = [];
+ for (var i = 0; i < object.declaration.length; ++i) {
+ if (typeof object.declaration[i] !== "object")
+ throw TypeError(".google.protobuf.ExtensionRangeOptions.declaration: object expected");
+ message.declaration[i] = $root.google.protobuf.ExtensionRangeOptions.Declaration.fromObject(object.declaration[i]);
+ }
+ }
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.ExtensionRangeOptions.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ switch (object.verification) {
+ case "DECLARATION":
+ case 0:
+ message.verification = 0;
+ break;
+ default:
+ if (typeof object.verification === "number") {
+ message.verification = object.verification;
+ break;
+ }
+ break;
+ case "UNVERIFIED":
+ case 1:
+ message.verification = 1;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @static
+ * @param {google.protobuf.ExtensionRangeOptions} message ExtensionRangeOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExtensionRangeOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.declaration = [];
+ object.uninterpretedOption = [];
+ }
+ if (options.defaults) {
+ object.verification = options.enums === String ? "UNVERIFIED" : 1;
+ object.features = null;
+ }
+ if (message.declaration && message.declaration.length) {
+ object.declaration = [];
+ for (var j = 0; j < message.declaration.length; ++j)
+ object.declaration[j] = $root.google.protobuf.ExtensionRangeOptions.Declaration.toObject(message.declaration[j], options);
+ }
+ if (message.verification != null && message.hasOwnProperty("verification"))
+ object.verification = options.enums === String ? $root.google.protobuf.ExtensionRangeOptions.VerificationState[message.verification] === undefined ? message.verification : $root.google.protobuf.ExtensionRangeOptions.VerificationState[message.verification] : message.verification;
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.uninterpretedOption && message.uninterpretedOption.length) {
+ object.uninterpretedOption = [];
+ for (var j = 0; j < message.uninterpretedOption.length; ++j)
+ object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ExtensionRangeOptions to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExtensionRangeOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExtensionRangeOptions
+ * @function getTypeUrl
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExtensionRangeOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.ExtensionRangeOptions";
+ };
+
+ ExtensionRangeOptions.Declaration = (function() {
+
+ /**
+ * Properties of a Declaration.
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @interface IDeclaration
+ * @property {number|null} [number] Declaration number
+ * @property {string|null} [fullName] Declaration fullName
+ * @property {string|null} [type] Declaration type
+ * @property {boolean|null} [reserved] Declaration reserved
+ * @property {boolean|null} [repeated] Declaration repeated
+ */
+
+ /**
+ * Constructs a new Declaration.
+ * @memberof google.protobuf.ExtensionRangeOptions
+ * @classdesc Represents a Declaration.
+ * @implements IDeclaration
+ * @constructor
+ * @param {google.protobuf.ExtensionRangeOptions.IDeclaration=} [properties] Properties to set
+ */
+ function Declaration(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]];
+ }
+
+ /**
+ * Declaration number.
+ * @member {number} number
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @instance
+ */
+ Declaration.prototype.number = 0;
+
+ /**
+ * Declaration fullName.
+ * @member {string} fullName
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @instance
+ */
+ Declaration.prototype.fullName = "";
+
+ /**
+ * Declaration type.
+ * @member {string} type
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @instance
+ */
+ Declaration.prototype.type = "";
+
+ /**
+ * Declaration reserved.
+ * @member {boolean} reserved
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @instance
+ */
+ Declaration.prototype.reserved = false;
+
+ /**
+ * Declaration repeated.
+ * @member {boolean} repeated
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @instance
+ */
+ Declaration.prototype.repeated = false;
+
+ /**
+ * Creates a new Declaration instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @static
+ * @param {google.protobuf.ExtensionRangeOptions.IDeclaration=} [properties] Properties to set
+ * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration instance
+ */
+ Declaration.create = function create(properties) {
+ return new Declaration(properties);
+ };
+
+ /**
+ * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @static
+ * @param {google.protobuf.ExtensionRangeOptions.IDeclaration} message Declaration message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Declaration.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.number != null && Object.hasOwnProperty.call(message, "number"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.number);
+ if (message.fullName != null && Object.hasOwnProperty.call(message, "fullName"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.fullName);
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.type);
+ if (message.reserved != null && Object.hasOwnProperty.call(message, "reserved"))
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.reserved);
+ if (message.repeated != null && Object.hasOwnProperty.call(message, "repeated"))
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.repeated);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @static
+ * @param {google.protobuf.ExtensionRangeOptions.IDeclaration} message Declaration message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Declaration.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Declaration message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Declaration.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.protobuf.ExtensionRangeOptions.Declaration();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.number = reader.int32();
+ break;
+ }
+ case 2: {
+ message.fullName = reader.string();
+ break;
+ }
+ case 3: {
+ message.type = reader.string();
+ break;
+ }
+ case 5: {
+ message.reserved = reader.bool();
+ break;
+ }
+ case 6: {
+ message.repeated = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Declaration message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Declaration.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Declaration message.
+ * @function verify
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Declaration.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.number != null && message.hasOwnProperty("number"))
+ if (!$util.isInteger(message.number))
+ return "number: integer expected";
+ if (message.fullName != null && message.hasOwnProperty("fullName"))
+ if (!$util.isString(message.fullName))
+ return "fullName: string expected";
+ if (message.type != null && message.hasOwnProperty("type"))
+ if (!$util.isString(message.type))
+ return "type: string expected";
+ if (message.reserved != null && message.hasOwnProperty("reserved"))
+ if (typeof message.reserved !== "boolean")
+ return "reserved: boolean expected";
+ if (message.repeated != null && message.hasOwnProperty("repeated"))
+ if (typeof message.repeated !== "boolean")
+ return "repeated: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a Declaration message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration
+ */
+ Declaration.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.ExtensionRangeOptions.Declaration)
+ return object;
+ var message = new $root.google.protobuf.ExtensionRangeOptions.Declaration();
+ if (object.number != null)
+ message.number = object.number | 0;
+ if (object.fullName != null)
+ message.fullName = String(object.fullName);
+ if (object.type != null)
+ message.type = String(object.type);
+ if (object.reserved != null)
+ message.reserved = Boolean(object.reserved);
+ if (object.repeated != null)
+ message.repeated = Boolean(object.repeated);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Declaration message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @static
+ * @param {google.protobuf.ExtensionRangeOptions.Declaration} message Declaration
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Declaration.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.number = 0;
+ object.fullName = "";
+ object.type = "";
+ object.reserved = false;
+ object.repeated = false;
+ }
+ if (message.number != null && message.hasOwnProperty("number"))
+ object.number = message.number;
+ if (message.fullName != null && message.hasOwnProperty("fullName"))
+ object.fullName = message.fullName;
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = message.type;
+ if (message.reserved != null && message.hasOwnProperty("reserved"))
+ object.reserved = message.reserved;
+ if (message.repeated != null && message.hasOwnProperty("repeated"))
+ object.repeated = message.repeated;
+ return object;
+ };
+
+ /**
+ * Converts this Declaration to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Declaration.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Declaration
+ * @function getTypeUrl
+ * @memberof google.protobuf.ExtensionRangeOptions.Declaration
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Declaration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.ExtensionRangeOptions.Declaration";
+ };
+
+ return Declaration;
+ })();
+
+ /**
+ * VerificationState enum.
+ * @name google.protobuf.ExtensionRangeOptions.VerificationState
+ * @enum {number}
+ * @property {number} DECLARATION=0 DECLARATION value
+ * @property {number} UNVERIFIED=1 UNVERIFIED value
+ */
+ ExtensionRangeOptions.VerificationState = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "DECLARATION"] = 0;
+ values[valuesById[1] = "UNVERIFIED"] = 1;
+ return values;
+ })();
+
+ return ExtensionRangeOptions;
+ })();
+
+ protobuf.FieldDescriptorProto = (function() {
+
+ /**
+ * Properties of a FieldDescriptorProto.
+ * @memberof google.protobuf
+ * @interface IFieldDescriptorProto
+ * @property {string|null} [name] FieldDescriptorProto name
+ * @property {number|null} [number] FieldDescriptorProto number
+ * @property {google.protobuf.FieldDescriptorProto.Label|null} [label] FieldDescriptorProto label
+ * @property {google.protobuf.FieldDescriptorProto.Type|null} [type] FieldDescriptorProto type
+ * @property {string|null} [typeName] FieldDescriptorProto typeName
+ * @property {string|null} [extendee] FieldDescriptorProto extendee
+ * @property {string|null} [defaultValue] FieldDescriptorProto defaultValue
+ * @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
+ * @property {string|null} [jsonName] FieldDescriptorProto jsonName
+ * @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
+ * @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional
+ */
+
+ /**
+ * Constructs a new FieldDescriptorProto.
+ * @memberof google.protobuf
+ * @classdesc Represents a FieldDescriptorProto.
+ * @implements IFieldDescriptorProto
+ * @constructor
+ * @param {google.protobuf.IFieldDescriptorProto=} [properties] Properties to set
+ */
+ function FieldDescriptorProto(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]];
+ }
+
+ /**
+ * FieldDescriptorProto name.
+ * @member {string} name
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.name = "";
+
+ /**
+ * FieldDescriptorProto number.
+ * @member {number} number
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.number = 0;
+
+ /**
+ * FieldDescriptorProto label.
+ * @member {google.protobuf.FieldDescriptorProto.Label} label
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.label = 1;
+
+ /**
+ * FieldDescriptorProto type.
+ * @member {google.protobuf.FieldDescriptorProto.Type} type
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.type = 1;
+
+ /**
+ * FieldDescriptorProto typeName.
+ * @member {string} typeName
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.typeName = "";
+
+ /**
+ * FieldDescriptorProto extendee.
+ * @member {string} extendee
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.extendee = "";
+
+ /**
+ * FieldDescriptorProto defaultValue.
+ * @member {string} defaultValue
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.defaultValue = "";
+
+ /**
+ * FieldDescriptorProto oneofIndex.
+ * @member {number} oneofIndex
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.oneofIndex = 0;
+
+ /**
+ * FieldDescriptorProto jsonName.
+ * @member {string} jsonName
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.jsonName = "";
+
+ /**
+ * FieldDescriptorProto options.
+ * @member {google.protobuf.IFieldOptions|null|undefined} options
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.options = null;
+
+ /**
+ * FieldDescriptorProto proto3Optional.
+ * @member {boolean} proto3Optional
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ */
+ FieldDescriptorProto.prototype.proto3Optional = false;
+
+ /**
+ * Creates a new FieldDescriptorProto instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @static
+ * @param {google.protobuf.IFieldDescriptorProto=} [properties] Properties to set
+ * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto instance
+ */
+ FieldDescriptorProto.create = function create(properties) {
+ return new FieldDescriptorProto(properties);
+ };
+
+ /**
+ * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @static
+ * @param {google.protobuf.IFieldDescriptorProto} message FieldDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FieldDescriptorProto.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.extendee != null && Object.hasOwnProperty.call(message, "extendee"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.extendee);
+ if (message.number != null && Object.hasOwnProperty.call(message, "number"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.number);
+ if (message.label != null && Object.hasOwnProperty.call(message, "label"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.label);
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.type);
+ if (message.typeName != null && Object.hasOwnProperty.call(message, "typeName"))
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.typeName);
+ if (message.defaultValue != null && Object.hasOwnProperty.call(message, "defaultValue"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.defaultValue);
+ if (message.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.protobuf.FieldOptions.encode(message.options, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.oneofIndex != null && Object.hasOwnProperty.call(message, "oneofIndex"))
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex);
+ if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName"))
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonName);
+ if (message.proto3Optional != null && Object.hasOwnProperty.call(message, "proto3Optional"))
+ writer.uint32(/* id 17, wireType 0 =*/136).bool(message.proto3Optional);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @static
+ * @param {google.protobuf.IFieldDescriptorProto} message FieldDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FieldDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FieldDescriptorProto.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.protobuf.FieldDescriptorProto();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 3: {
+ message.number = reader.int32();
+ break;
+ }
+ case 4: {
+ message.label = reader.int32();
+ break;
+ }
+ case 5: {
+ message.type = reader.int32();
+ break;
+ }
+ case 6: {
+ message.typeName = reader.string();
+ break;
+ }
+ case 2: {
+ message.extendee = reader.string();
+ break;
+ }
+ case 7: {
+ message.defaultValue = reader.string();
+ break;
+ }
+ case 9: {
+ message.oneofIndex = reader.int32();
+ break;
+ }
+ case 10: {
+ message.jsonName = reader.string();
+ break;
+ }
+ case 8: {
+ message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 17: {
+ message.proto3Optional = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FieldDescriptorProto.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FieldDescriptorProto message.
+ * @function verify
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FieldDescriptorProto.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.number != null && message.hasOwnProperty("number"))
+ if (!$util.isInteger(message.number))
+ return "number: integer expected";
+ if (message.label != null && message.hasOwnProperty("label"))
+ switch (message.label) {
+ default:
+ return "label: enum value expected";
+ case 1:
+ case 3:
+ case 2:
+ break;
+ }
+ if (message.type != null && message.hasOwnProperty("type"))
+ switch (message.type) {
+ default:
+ return "type: enum value expected";
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 6:
+ case 7:
+ case 8:
+ case 9:
+ case 10:
+ case 11:
+ case 12:
+ case 13:
+ case 14:
+ case 15:
+ case 16:
+ case 17:
+ case 18:
+ break;
+ }
+ if (message.typeName != null && message.hasOwnProperty("typeName"))
+ if (!$util.isString(message.typeName))
+ return "typeName: string expected";
+ if (message.extendee != null && message.hasOwnProperty("extendee"))
+ if (!$util.isString(message.extendee))
+ return "extendee: string expected";
+ if (message.defaultValue != null && message.hasOwnProperty("defaultValue"))
+ if (!$util.isString(message.defaultValue))
+ return "defaultValue: string expected";
+ if (message.oneofIndex != null && message.hasOwnProperty("oneofIndex"))
+ if (!$util.isInteger(message.oneofIndex))
+ return "oneofIndex: integer expected";
+ if (message.jsonName != null && message.hasOwnProperty("jsonName"))
+ if (!$util.isString(message.jsonName))
+ return "jsonName: string expected";
+ if (message.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.protobuf.FieldOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
+ if (typeof message.proto3Optional !== "boolean")
+ return "proto3Optional: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto
+ */
+ FieldDescriptorProto.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.FieldDescriptorProto)
+ return object;
+ var message = new $root.google.protobuf.FieldDescriptorProto();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.number != null)
+ message.number = object.number | 0;
+ switch (object.label) {
+ default:
+ if (typeof object.label === "number") {
+ message.label = object.label;
+ break;
+ }
+ break;
+ case "LABEL_OPTIONAL":
+ case 1:
+ message.label = 1;
+ break;
+ case "LABEL_REPEATED":
+ case 3:
+ message.label = 3;
+ break;
+ case "LABEL_REQUIRED":
+ case 2:
+ message.label = 2;
+ break;
+ }
+ switch (object.type) {
+ default:
+ if (typeof object.type === "number") {
+ message.type = object.type;
+ break;
+ }
+ break;
+ case "TYPE_DOUBLE":
+ case 1:
+ message.type = 1;
+ break;
+ case "TYPE_FLOAT":
+ case 2:
+ message.type = 2;
+ break;
+ case "TYPE_INT64":
+ case 3:
+ message.type = 3;
+ break;
+ case "TYPE_UINT64":
+ case 4:
+ message.type = 4;
+ break;
+ case "TYPE_INT32":
+ case 5:
+ message.type = 5;
+ break;
+ case "TYPE_FIXED64":
+ case 6:
+ message.type = 6;
+ break;
+ case "TYPE_FIXED32":
+ case 7:
+ message.type = 7;
+ break;
+ case "TYPE_BOOL":
+ case 8:
+ message.type = 8;
+ break;
+ case "TYPE_STRING":
+ case 9:
+ message.type = 9;
+ break;
+ case "TYPE_GROUP":
+ case 10:
+ message.type = 10;
+ break;
+ case "TYPE_MESSAGE":
+ case 11:
+ message.type = 11;
+ break;
+ case "TYPE_BYTES":
+ case 12:
+ message.type = 12;
+ break;
+ case "TYPE_UINT32":
+ case 13:
+ message.type = 13;
+ break;
+ case "TYPE_ENUM":
+ case 14:
+ message.type = 14;
+ break;
+ case "TYPE_SFIXED32":
+ case 15:
+ message.type = 15;
+ break;
+ case "TYPE_SFIXED64":
+ case 16:
+ message.type = 16;
+ break;
+ case "TYPE_SINT32":
+ case 17:
+ message.type = 17;
+ break;
+ case "TYPE_SINT64":
+ case 18:
+ message.type = 18;
+ break;
+ }
+ if (object.typeName != null)
+ message.typeName = String(object.typeName);
+ if (object.extendee != null)
+ message.extendee = String(object.extendee);
+ if (object.defaultValue != null)
+ message.defaultValue = String(object.defaultValue);
+ if (object.oneofIndex != null)
+ message.oneofIndex = object.oneofIndex | 0;
+ if (object.jsonName != null)
+ message.jsonName = String(object.jsonName);
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");
+ message.options = $root.google.protobuf.FieldOptions.fromObject(object.options);
+ }
+ if (object.proto3Optional != null)
+ message.proto3Optional = Boolean(object.proto3Optional);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @static
+ * @param {google.protobuf.FieldDescriptorProto} message FieldDescriptorProto
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FieldDescriptorProto.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.extendee = "";
+ object.number = 0;
+ object.label = options.enums === String ? "LABEL_OPTIONAL" : 1;
+ object.type = options.enums === String ? "TYPE_DOUBLE" : 1;
+ object.typeName = "";
+ object.defaultValue = "";
+ object.options = null;
+ object.oneofIndex = 0;
+ object.jsonName = "";
+ object.proto3Optional = false;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.extendee != null && message.hasOwnProperty("extendee"))
+ object.extendee = message.extendee;
+ if (message.number != null && message.hasOwnProperty("number"))
+ object.number = message.number;
+ if (message.label != null && message.hasOwnProperty("label"))
+ object.label = options.enums === String ? $root.google.protobuf.FieldDescriptorProto.Label[message.label] === undefined ? message.label : $root.google.protobuf.FieldDescriptorProto.Label[message.label] : message.label;
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = options.enums === String ? $root.google.protobuf.FieldDescriptorProto.Type[message.type] === undefined ? message.type : $root.google.protobuf.FieldDescriptorProto.Type[message.type] : message.type;
+ if (message.typeName != null && message.hasOwnProperty("typeName"))
+ object.typeName = message.typeName;
+ if (message.defaultValue != null && message.hasOwnProperty("defaultValue"))
+ object.defaultValue = message.defaultValue;
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.protobuf.FieldOptions.toObject(message.options, options);
+ if (message.oneofIndex != null && message.hasOwnProperty("oneofIndex"))
+ object.oneofIndex = message.oneofIndex;
+ if (message.jsonName != null && message.hasOwnProperty("jsonName"))
+ object.jsonName = message.jsonName;
+ if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
+ object.proto3Optional = message.proto3Optional;
+ return object;
+ };
+
+ /**
+ * Converts this FieldDescriptorProto to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FieldDescriptorProto.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FieldDescriptorProto
+ * @function getTypeUrl
+ * @memberof google.protobuf.FieldDescriptorProto
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FieldDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.FieldDescriptorProto";
+ };
+
+ /**
+ * Type enum.
+ * @name google.protobuf.FieldDescriptorProto.Type
+ * @enum {number}
+ * @property {number} TYPE_DOUBLE=1 TYPE_DOUBLE value
+ * @property {number} TYPE_FLOAT=2 TYPE_FLOAT value
+ * @property {number} TYPE_INT64=3 TYPE_INT64 value
+ * @property {number} TYPE_UINT64=4 TYPE_UINT64 value
+ * @property {number} TYPE_INT32=5 TYPE_INT32 value
+ * @property {number} TYPE_FIXED64=6 TYPE_FIXED64 value
+ * @property {number} TYPE_FIXED32=7 TYPE_FIXED32 value
+ * @property {number} TYPE_BOOL=8 TYPE_BOOL value
+ * @property {number} TYPE_STRING=9 TYPE_STRING value
+ * @property {number} TYPE_GROUP=10 TYPE_GROUP value
+ * @property {number} TYPE_MESSAGE=11 TYPE_MESSAGE value
+ * @property {number} TYPE_BYTES=12 TYPE_BYTES value
+ * @property {number} TYPE_UINT32=13 TYPE_UINT32 value
+ * @property {number} TYPE_ENUM=14 TYPE_ENUM value
+ * @property {number} TYPE_SFIXED32=15 TYPE_SFIXED32 value
+ * @property {number} TYPE_SFIXED64=16 TYPE_SFIXED64 value
+ * @property {number} TYPE_SINT32=17 TYPE_SINT32 value
+ * @property {number} TYPE_SINT64=18 TYPE_SINT64 value
+ */
+ FieldDescriptorProto.Type = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[1] = "TYPE_DOUBLE"] = 1;
+ values[valuesById[2] = "TYPE_FLOAT"] = 2;
+ values[valuesById[3] = "TYPE_INT64"] = 3;
+ values[valuesById[4] = "TYPE_UINT64"] = 4;
+ values[valuesById[5] = "TYPE_INT32"] = 5;
+ values[valuesById[6] = "TYPE_FIXED64"] = 6;
+ values[valuesById[7] = "TYPE_FIXED32"] = 7;
+ values[valuesById[8] = "TYPE_BOOL"] = 8;
+ values[valuesById[9] = "TYPE_STRING"] = 9;
+ values[valuesById[10] = "TYPE_GROUP"] = 10;
+ values[valuesById[11] = "TYPE_MESSAGE"] = 11;
+ values[valuesById[12] = "TYPE_BYTES"] = 12;
+ values[valuesById[13] = "TYPE_UINT32"] = 13;
+ values[valuesById[14] = "TYPE_ENUM"] = 14;
+ values[valuesById[15] = "TYPE_SFIXED32"] = 15;
+ values[valuesById[16] = "TYPE_SFIXED64"] = 16;
+ values[valuesById[17] = "TYPE_SINT32"] = 17;
+ values[valuesById[18] = "TYPE_SINT64"] = 18;
+ return values;
+ })();
+
+ /**
+ * Label enum.
+ * @name google.protobuf.FieldDescriptorProto.Label
+ * @enum {number}
+ * @property {number} LABEL_OPTIONAL=1 LABEL_OPTIONAL value
+ * @property {number} LABEL_REPEATED=3 LABEL_REPEATED value
+ * @property {number} LABEL_REQUIRED=2 LABEL_REQUIRED value
+ */
+ FieldDescriptorProto.Label = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[1] = "LABEL_OPTIONAL"] = 1;
+ values[valuesById[3] = "LABEL_REPEATED"] = 3;
+ values[valuesById[2] = "LABEL_REQUIRED"] = 2;
+ return values;
+ })();
+
+ return FieldDescriptorProto;
+ })();
+
+ protobuf.OneofDescriptorProto = (function() {
+
+ /**
+ * Properties of an OneofDescriptorProto.
+ * @memberof google.protobuf
+ * @interface IOneofDescriptorProto
+ * @property {string|null} [name] OneofDescriptorProto name
+ * @property {google.protobuf.IOneofOptions|null} [options] OneofDescriptorProto options
+ */
+
+ /**
+ * Constructs a new OneofDescriptorProto.
+ * @memberof google.protobuf
+ * @classdesc Represents an OneofDescriptorProto.
+ * @implements IOneofDescriptorProto
+ * @constructor
+ * @param {google.protobuf.IOneofDescriptorProto=} [properties] Properties to set
+ */
+ function OneofDescriptorProto(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]];
+ }
+
+ /**
+ * OneofDescriptorProto name.
+ * @member {string} name
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @instance
+ */
+ OneofDescriptorProto.prototype.name = "";
+
+ /**
+ * OneofDescriptorProto options.
+ * @member {google.protobuf.IOneofOptions|null|undefined} options
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @instance
+ */
+ OneofDescriptorProto.prototype.options = null;
+
+ /**
+ * Creates a new OneofDescriptorProto instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @static
+ * @param {google.protobuf.IOneofDescriptorProto=} [properties] Properties to set
+ * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto instance
+ */
+ OneofDescriptorProto.create = function create(properties) {
+ return new OneofDescriptorProto(properties);
+ };
+
+ /**
+ * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @static
+ * @param {google.protobuf.IOneofDescriptorProto} message OneofDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OneofDescriptorProto.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.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.protobuf.OneofOptions.encode(message.options, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @static
+ * @param {google.protobuf.IOneofDescriptorProto} message OneofDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OneofDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OneofDescriptorProto.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.protobuf.OneofDescriptorProto();
+ 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.options = $root.google.protobuf.OneofOptions.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OneofDescriptorProto.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an OneofDescriptorProto message.
+ * @function verify
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ OneofDescriptorProto.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.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.protobuf.OneofOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto
+ */
+ OneofDescriptorProto.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.OneofDescriptorProto)
+ return object;
+ var message = new $root.google.protobuf.OneofDescriptorProto();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");
+ message.options = $root.google.protobuf.OneofOptions.fromObject(object.options);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @static
+ * @param {google.protobuf.OneofDescriptorProto} message OneofDescriptorProto
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ OneofDescriptorProto.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.options = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.protobuf.OneofOptions.toObject(message.options, options);
+ return object;
+ };
+
+ /**
+ * Converts this OneofDescriptorProto to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ OneofDescriptorProto.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for OneofDescriptorProto
+ * @function getTypeUrl
+ * @memberof google.protobuf.OneofDescriptorProto
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ OneofDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.OneofDescriptorProto";
+ };
+
+ return OneofDescriptorProto;
+ })();
+
+ protobuf.EnumDescriptorProto = (function() {
+
+ /**
+ * Properties of an EnumDescriptorProto.
+ * @memberof google.protobuf
+ * @interface IEnumDescriptorProto
+ * @property {string|null} [name] EnumDescriptorProto name
+ * @property {Array.|null} [value] EnumDescriptorProto value
+ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options
+ * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange
+ * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName
+ */
+
+ /**
+ * Constructs a new EnumDescriptorProto.
+ * @memberof google.protobuf
+ * @classdesc Represents an EnumDescriptorProto.
+ * @implements IEnumDescriptorProto
+ * @constructor
+ * @param {google.protobuf.IEnumDescriptorProto=} [properties] Properties to set
+ */
+ function EnumDescriptorProto(properties) {
+ this.value = [];
+ this.reservedRange = [];
+ this.reservedName = [];
+ 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]];
+ }
+
+ /**
+ * EnumDescriptorProto name.
+ * @member {string} name
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @instance
+ */
+ EnumDescriptorProto.prototype.name = "";
+
+ /**
+ * EnumDescriptorProto value.
+ * @member {Array.} value
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @instance
+ */
+ EnumDescriptorProto.prototype.value = $util.emptyArray;
+
+ /**
+ * EnumDescriptorProto options.
+ * @member {google.protobuf.IEnumOptions|null|undefined} options
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @instance
+ */
+ EnumDescriptorProto.prototype.options = null;
+
+ /**
+ * EnumDescriptorProto reservedRange.
+ * @member {Array.} reservedRange
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @instance
+ */
+ EnumDescriptorProto.prototype.reservedRange = $util.emptyArray;
+
+ /**
+ * EnumDescriptorProto reservedName.
+ * @member {Array.} reservedName
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @instance
+ */
+ EnumDescriptorProto.prototype.reservedName = $util.emptyArray;
+
+ /**
+ * Creates a new EnumDescriptorProto instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @static
+ * @param {google.protobuf.IEnumDescriptorProto=} [properties] Properties to set
+ * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto instance
+ */
+ EnumDescriptorProto.create = function create(properties) {
+ return new EnumDescriptorProto(properties);
+ };
+
+ /**
+ * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @static
+ * @param {google.protobuf.IEnumDescriptorProto} message EnumDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumDescriptorProto.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.value != null && message.value.length)
+ for (var i = 0; i < message.value.length; ++i)
+ $root.google.protobuf.EnumValueDescriptorProto.encode(message.value[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.protobuf.EnumOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.reservedRange != null && message.reservedRange.length)
+ for (var i = 0; i < message.reservedRange.length; ++i)
+ $root.google.protobuf.EnumDescriptorProto.EnumReservedRange.encode(message.reservedRange[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.reservedName != null && message.reservedName.length)
+ for (var i = 0; i < message.reservedName.length; ++i)
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @static
+ * @param {google.protobuf.IEnumDescriptorProto} message EnumDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumDescriptorProto.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.protobuf.EnumDescriptorProto();
+ 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.value && message.value.length))
+ message.value = [];
+ message.value.push($root.google.protobuf.EnumValueDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 3: {
+ message.options = $root.google.protobuf.EnumOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ if (!(message.reservedRange && message.reservedRange.length))
+ message.reservedRange = [];
+ message.reservedRange.push($root.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(reader, reader.uint32()));
+ break;
+ }
+ case 5: {
+ if (!(message.reservedName && message.reservedName.length))
+ message.reservedName = [];
+ message.reservedName.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumDescriptorProto.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an EnumDescriptorProto message.
+ * @function verify
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ EnumDescriptorProto.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.value != null && message.hasOwnProperty("value")) {
+ if (!Array.isArray(message.value))
+ return "value: array expected";
+ for (var i = 0; i < message.value.length; ++i) {
+ var error = $root.google.protobuf.EnumValueDescriptorProto.verify(message.value[i]);
+ if (error)
+ return "value." + error;
+ }
+ }
+ if (message.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.protobuf.EnumOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ if (message.reservedRange != null && message.hasOwnProperty("reservedRange")) {
+ if (!Array.isArray(message.reservedRange))
+ return "reservedRange: array expected";
+ for (var i = 0; i < message.reservedRange.length; ++i) {
+ var error = $root.google.protobuf.EnumDescriptorProto.EnumReservedRange.verify(message.reservedRange[i]);
+ if (error)
+ return "reservedRange." + error;
+ }
+ }
+ if (message.reservedName != null && message.hasOwnProperty("reservedName")) {
+ if (!Array.isArray(message.reservedName))
+ return "reservedName: array expected";
+ for (var i = 0; i < message.reservedName.length; ++i)
+ if (!$util.isString(message.reservedName[i]))
+ return "reservedName: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto
+ */
+ EnumDescriptorProto.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.EnumDescriptorProto)
+ return object;
+ var message = new $root.google.protobuf.EnumDescriptorProto();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.value) {
+ if (!Array.isArray(object.value))
+ throw TypeError(".google.protobuf.EnumDescriptorProto.value: array expected");
+ message.value = [];
+ for (var i = 0; i < object.value.length; ++i) {
+ if (typeof object.value[i] !== "object")
+ throw TypeError(".google.protobuf.EnumDescriptorProto.value: object expected");
+ message.value[i] = $root.google.protobuf.EnumValueDescriptorProto.fromObject(object.value[i]);
+ }
+ }
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.protobuf.EnumDescriptorProto.options: object expected");
+ message.options = $root.google.protobuf.EnumOptions.fromObject(object.options);
+ }
+ if (object.reservedRange) {
+ if (!Array.isArray(object.reservedRange))
+ throw TypeError(".google.protobuf.EnumDescriptorProto.reservedRange: array expected");
+ message.reservedRange = [];
+ for (var i = 0; i < object.reservedRange.length; ++i) {
+ if (typeof object.reservedRange[i] !== "object")
+ throw TypeError(".google.protobuf.EnumDescriptorProto.reservedRange: object expected");
+ message.reservedRange[i] = $root.google.protobuf.EnumDescriptorProto.EnumReservedRange.fromObject(object.reservedRange[i]);
+ }
+ }
+ if (object.reservedName) {
+ if (!Array.isArray(object.reservedName))
+ throw TypeError(".google.protobuf.EnumDescriptorProto.reservedName: array expected");
+ message.reservedName = [];
+ for (var i = 0; i < object.reservedName.length; ++i)
+ message.reservedName[i] = String(object.reservedName[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @static
+ * @param {google.protobuf.EnumDescriptorProto} message EnumDescriptorProto
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ EnumDescriptorProto.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.value = [];
+ object.reservedRange = [];
+ object.reservedName = [];
+ }
+ if (options.defaults) {
+ object.name = "";
+ object.options = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.value && message.value.length) {
+ object.value = [];
+ for (var j = 0; j < message.value.length; ++j)
+ object.value[j] = $root.google.protobuf.EnumValueDescriptorProto.toObject(message.value[j], options);
+ }
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.protobuf.EnumOptions.toObject(message.options, options);
+ if (message.reservedRange && message.reservedRange.length) {
+ object.reservedRange = [];
+ for (var j = 0; j < message.reservedRange.length; ++j)
+ object.reservedRange[j] = $root.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(message.reservedRange[j], options);
+ }
+ if (message.reservedName && message.reservedName.length) {
+ object.reservedName = [];
+ for (var j = 0; j < message.reservedName.length; ++j)
+ object.reservedName[j] = message.reservedName[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this EnumDescriptorProto to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ EnumDescriptorProto.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for EnumDescriptorProto
+ * @function getTypeUrl
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ EnumDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.EnumDescriptorProto";
+ };
+
+ EnumDescriptorProto.EnumReservedRange = (function() {
+
+ /**
+ * Properties of an EnumReservedRange.
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @interface IEnumReservedRange
+ * @property {number|null} [start] EnumReservedRange start
+ * @property {number|null} [end] EnumReservedRange end
+ */
+
+ /**
+ * Constructs a new EnumReservedRange.
+ * @memberof google.protobuf.EnumDescriptorProto
+ * @classdesc Represents an EnumReservedRange.
+ * @implements IEnumReservedRange
+ * @constructor
+ * @param {google.protobuf.EnumDescriptorProto.IEnumReservedRange=} [properties] Properties to set
+ */
+ function EnumReservedRange(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]];
+ }
+
+ /**
+ * EnumReservedRange start.
+ * @member {number} start
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @instance
+ */
+ EnumReservedRange.prototype.start = 0;
+
+ /**
+ * EnumReservedRange end.
+ * @member {number} end
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @instance
+ */
+ EnumReservedRange.prototype.end = 0;
+
+ /**
+ * Creates a new EnumReservedRange instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @static
+ * @param {google.protobuf.EnumDescriptorProto.IEnumReservedRange=} [properties] Properties to set
+ * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange} EnumReservedRange instance
+ */
+ EnumReservedRange.create = function create(properties) {
+ return new EnumReservedRange(properties);
+ };
+
+ /**
+ * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @static
+ * @param {google.protobuf.EnumDescriptorProto.IEnumReservedRange} message EnumReservedRange message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumReservedRange.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.start != null && Object.hasOwnProperty.call(message, "start"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.start);
+ if (message.end != null && Object.hasOwnProperty.call(message, "end"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.end);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @static
+ * @param {google.protobuf.EnumDescriptorProto.IEnumReservedRange} message EnumReservedRange message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumReservedRange.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange} EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumReservedRange.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.protobuf.EnumDescriptorProto.EnumReservedRange();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.start = reader.int32();
+ break;
+ }
+ case 2: {
+ message.end = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange} EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumReservedRange.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an EnumReservedRange message.
+ * @function verify
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ EnumReservedRange.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.start != null && message.hasOwnProperty("start"))
+ if (!$util.isInteger(message.start))
+ return "start: integer expected";
+ if (message.end != null && message.hasOwnProperty("end"))
+ if (!$util.isInteger(message.end))
+ return "end: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange} EnumReservedRange
+ */
+ EnumReservedRange.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.EnumDescriptorProto.EnumReservedRange)
+ return object;
+ var message = new $root.google.protobuf.EnumDescriptorProto.EnumReservedRange();
+ if (object.start != null)
+ message.start = object.start | 0;
+ if (object.end != null)
+ message.end = object.end | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @static
+ * @param {google.protobuf.EnumDescriptorProto.EnumReservedRange} message EnumReservedRange
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ EnumReservedRange.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.start = 0;
+ object.end = 0;
+ }
+ if (message.start != null && message.hasOwnProperty("start"))
+ object.start = message.start;
+ if (message.end != null && message.hasOwnProperty("end"))
+ object.end = message.end;
+ return object;
+ };
+
+ /**
+ * Converts this EnumReservedRange to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ EnumReservedRange.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for EnumReservedRange
+ * @function getTypeUrl
+ * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ EnumReservedRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.EnumDescriptorProto.EnumReservedRange";
+ };
+
+ return EnumReservedRange;
+ })();
+
+ return EnumDescriptorProto;
+ })();
+
+ protobuf.EnumValueDescriptorProto = (function() {
+
+ /**
+ * Properties of an EnumValueDescriptorProto.
+ * @memberof google.protobuf
+ * @interface IEnumValueDescriptorProto
+ * @property {string|null} [name] EnumValueDescriptorProto name
+ * @property {number|null} [number] EnumValueDescriptorProto number
+ * @property {google.protobuf.IEnumValueOptions|null} [options] EnumValueDescriptorProto options
+ */
+
+ /**
+ * Constructs a new EnumValueDescriptorProto.
+ * @memberof google.protobuf
+ * @classdesc Represents an EnumValueDescriptorProto.
+ * @implements IEnumValueDescriptorProto
+ * @constructor
+ * @param {google.protobuf.IEnumValueDescriptorProto=} [properties] Properties to set
+ */
+ function EnumValueDescriptorProto(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]];
+ }
+
+ /**
+ * EnumValueDescriptorProto name.
+ * @member {string} name
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @instance
+ */
+ EnumValueDescriptorProto.prototype.name = "";
+
+ /**
+ * EnumValueDescriptorProto number.
+ * @member {number} number
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @instance
+ */
+ EnumValueDescriptorProto.prototype.number = 0;
+
+ /**
+ * EnumValueDescriptorProto options.
+ * @member {google.protobuf.IEnumValueOptions|null|undefined} options
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @instance
+ */
+ EnumValueDescriptorProto.prototype.options = null;
+
+ /**
+ * Creates a new EnumValueDescriptorProto instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @static
+ * @param {google.protobuf.IEnumValueDescriptorProto=} [properties] Properties to set
+ * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto instance
+ */
+ EnumValueDescriptorProto.create = function create(properties) {
+ return new EnumValueDescriptorProto(properties);
+ };
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @static
+ * @param {google.protobuf.IEnumValueDescriptorProto} message EnumValueDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumValueDescriptorProto.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.number != null && Object.hasOwnProperty.call(message, "number"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.number);
+ if (message.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.protobuf.EnumValueOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @static
+ * @param {google.protobuf.IEnumValueDescriptorProto} message EnumValueDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumValueDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumValueDescriptorProto.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.protobuf.EnumValueDescriptorProto();
+ 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.number = reader.int32();
+ break;
+ }
+ case 3: {
+ message.options = $root.google.protobuf.EnumValueOptions.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumValueDescriptorProto.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an EnumValueDescriptorProto message.
+ * @function verify
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ EnumValueDescriptorProto.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.number != null && message.hasOwnProperty("number"))
+ if (!$util.isInteger(message.number))
+ return "number: integer expected";
+ if (message.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.protobuf.EnumValueOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto
+ */
+ EnumValueDescriptorProto.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.EnumValueDescriptorProto)
+ return object;
+ var message = new $root.google.protobuf.EnumValueDescriptorProto();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.number != null)
+ message.number = object.number | 0;
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");
+ message.options = $root.google.protobuf.EnumValueOptions.fromObject(object.options);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @static
+ * @param {google.protobuf.EnumValueDescriptorProto} message EnumValueDescriptorProto
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ EnumValueDescriptorProto.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.number = 0;
+ object.options = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.number != null && message.hasOwnProperty("number"))
+ object.number = message.number;
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.protobuf.EnumValueOptions.toObject(message.options, options);
+ return object;
+ };
+
+ /**
+ * Converts this EnumValueDescriptorProto to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ EnumValueDescriptorProto.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for EnumValueDescriptorProto
+ * @function getTypeUrl
+ * @memberof google.protobuf.EnumValueDescriptorProto
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ EnumValueDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.EnumValueDescriptorProto";
+ };
+
+ return EnumValueDescriptorProto;
+ })();
+
+ protobuf.ServiceDescriptorProto = (function() {
+
+ /**
+ * Properties of a ServiceDescriptorProto.
+ * @memberof google.protobuf
+ * @interface IServiceDescriptorProto
+ * @property {string|null} [name] ServiceDescriptorProto name
+ * @property {Array.|null} [method] ServiceDescriptorProto method
+ * @property {google.protobuf.IServiceOptions|null} [options] ServiceDescriptorProto options
+ */
+
+ /**
+ * Constructs a new ServiceDescriptorProto.
+ * @memberof google.protobuf
+ * @classdesc Represents a ServiceDescriptorProto.
+ * @implements IServiceDescriptorProto
+ * @constructor
+ * @param {google.protobuf.IServiceDescriptorProto=} [properties] Properties to set
+ */
+ function ServiceDescriptorProto(properties) {
+ this.method = [];
+ 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]];
+ }
+
+ /**
+ * ServiceDescriptorProto name.
+ * @member {string} name
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @instance
+ */
+ ServiceDescriptorProto.prototype.name = "";
+
+ /**
+ * ServiceDescriptorProto method.
+ * @member {Array.} method
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @instance
+ */
+ ServiceDescriptorProto.prototype.method = $util.emptyArray;
+
+ /**
+ * ServiceDescriptorProto options.
+ * @member {google.protobuf.IServiceOptions|null|undefined} options
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @instance
+ */
+ ServiceDescriptorProto.prototype.options = null;
+
+ /**
+ * Creates a new ServiceDescriptorProto instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @static
+ * @param {google.protobuf.IServiceDescriptorProto=} [properties] Properties to set
+ * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto instance
+ */
+ ServiceDescriptorProto.create = function create(properties) {
+ return new ServiceDescriptorProto(properties);
+ };
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @static
+ * @param {google.protobuf.IServiceDescriptorProto} message ServiceDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ServiceDescriptorProto.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.method != null && message.method.length)
+ for (var i = 0; i < message.method.length; ++i)
+ $root.google.protobuf.MethodDescriptorProto.encode(message.method[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.protobuf.ServiceOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @static
+ * @param {google.protobuf.IServiceDescriptorProto} message ServiceDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ServiceDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ServiceDescriptorProto.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.protobuf.ServiceDescriptorProto();
+ 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.method && message.method.length))
+ message.method = [];
+ message.method.push($root.google.protobuf.MethodDescriptorProto.decode(reader, reader.uint32()));
+ break;
+ }
+ case 3: {
+ message.options = $root.google.protobuf.ServiceOptions.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ServiceDescriptorProto.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ServiceDescriptorProto message.
+ * @function verify
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ServiceDescriptorProto.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.method != null && message.hasOwnProperty("method")) {
+ if (!Array.isArray(message.method))
+ return "method: array expected";
+ for (var i = 0; i < message.method.length; ++i) {
+ var error = $root.google.protobuf.MethodDescriptorProto.verify(message.method[i]);
+ if (error)
+ return "method." + error;
+ }
+ }
+ if (message.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.protobuf.ServiceOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto
+ */
+ ServiceDescriptorProto.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.ServiceDescriptorProto)
+ return object;
+ var message = new $root.google.protobuf.ServiceDescriptorProto();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.method) {
+ if (!Array.isArray(object.method))
+ throw TypeError(".google.protobuf.ServiceDescriptorProto.method: array expected");
+ message.method = [];
+ for (var i = 0; i < object.method.length; ++i) {
+ if (typeof object.method[i] !== "object")
+ throw TypeError(".google.protobuf.ServiceDescriptorProto.method: object expected");
+ message.method[i] = $root.google.protobuf.MethodDescriptorProto.fromObject(object.method[i]);
+ }
+ }
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.protobuf.ServiceDescriptorProto.options: object expected");
+ message.options = $root.google.protobuf.ServiceOptions.fromObject(object.options);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @static
+ * @param {google.protobuf.ServiceDescriptorProto} message ServiceDescriptorProto
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ServiceDescriptorProto.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.method = [];
+ if (options.defaults) {
+ object.name = "";
+ object.options = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.method && message.method.length) {
+ object.method = [];
+ for (var j = 0; j < message.method.length; ++j)
+ object.method[j] = $root.google.protobuf.MethodDescriptorProto.toObject(message.method[j], options);
+ }
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.protobuf.ServiceOptions.toObject(message.options, options);
+ return object;
+ };
+
+ /**
+ * Converts this ServiceDescriptorProto to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ServiceDescriptorProto.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ServiceDescriptorProto
+ * @function getTypeUrl
+ * @memberof google.protobuf.ServiceDescriptorProto
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ServiceDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.ServiceDescriptorProto";
+ };
+
+ return ServiceDescriptorProto;
+ })();
+
+ protobuf.MethodDescriptorProto = (function() {
+
+ /**
+ * Properties of a MethodDescriptorProto.
+ * @memberof google.protobuf
+ * @interface IMethodDescriptorProto
+ * @property {string|null} [name] MethodDescriptorProto name
+ * @property {string|null} [inputType] MethodDescriptorProto inputType
+ * @property {string|null} [outputType] MethodDescriptorProto outputType
+ * @property {google.protobuf.IMethodOptions|null} [options] MethodDescriptorProto options
+ * @property {boolean|null} [clientStreaming] MethodDescriptorProto clientStreaming
+ * @property {boolean|null} [serverStreaming] MethodDescriptorProto serverStreaming
+ */
+
+ /**
+ * Constructs a new MethodDescriptorProto.
+ * @memberof google.protobuf
+ * @classdesc Represents a MethodDescriptorProto.
+ * @implements IMethodDescriptorProto
+ * @constructor
+ * @param {google.protobuf.IMethodDescriptorProto=} [properties] Properties to set
+ */
+ function MethodDescriptorProto(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]];
+ }
+
+ /**
+ * MethodDescriptorProto name.
+ * @member {string} name
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @instance
+ */
+ MethodDescriptorProto.prototype.name = "";
+
+ /**
+ * MethodDescriptorProto inputType.
+ * @member {string} inputType
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @instance
+ */
+ MethodDescriptorProto.prototype.inputType = "";
+
+ /**
+ * MethodDescriptorProto outputType.
+ * @member {string} outputType
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @instance
+ */
+ MethodDescriptorProto.prototype.outputType = "";
+
+ /**
+ * MethodDescriptorProto options.
+ * @member {google.protobuf.IMethodOptions|null|undefined} options
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @instance
+ */
+ MethodDescriptorProto.prototype.options = null;
+
+ /**
+ * MethodDescriptorProto clientStreaming.
+ * @member {boolean} clientStreaming
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @instance
+ */
+ MethodDescriptorProto.prototype.clientStreaming = false;
+
+ /**
+ * MethodDescriptorProto serverStreaming.
+ * @member {boolean} serverStreaming
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @instance
+ */
+ MethodDescriptorProto.prototype.serverStreaming = false;
+
+ /**
+ * Creates a new MethodDescriptorProto instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @static
+ * @param {google.protobuf.IMethodDescriptorProto=} [properties] Properties to set
+ * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto instance
+ */
+ MethodDescriptorProto.create = function create(properties) {
+ return new MethodDescriptorProto(properties);
+ };
+
+ /**
+ * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @static
+ * @param {google.protobuf.IMethodDescriptorProto} message MethodDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MethodDescriptorProto.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.inputType != null && Object.hasOwnProperty.call(message, "inputType"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputType);
+ if (message.outputType != null && Object.hasOwnProperty.call(message, "outputType"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputType);
+ if (message.options != null && Object.hasOwnProperty.call(message, "options"))
+ $root.google.protobuf.MethodOptions.encode(message.options, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.clientStreaming != null && Object.hasOwnProperty.call(message, "clientStreaming"))
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.clientStreaming);
+ if (message.serverStreaming != null && Object.hasOwnProperty.call(message, "serverStreaming"))
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.serverStreaming);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @static
+ * @param {google.protobuf.IMethodDescriptorProto} message MethodDescriptorProto message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MethodDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MethodDescriptorProto.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.protobuf.MethodDescriptorProto();
+ 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.inputType = reader.string();
+ break;
+ }
+ case 3: {
+ message.outputType = reader.string();
+ break;
+ }
+ case 4: {
+ message.options = $root.google.protobuf.MethodOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.clientStreaming = reader.bool();
+ break;
+ }
+ case 6: {
+ message.serverStreaming = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MethodDescriptorProto.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a MethodDescriptorProto message.
+ * @function verify
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ MethodDescriptorProto.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.inputType != null && message.hasOwnProperty("inputType"))
+ if (!$util.isString(message.inputType))
+ return "inputType: string expected";
+ if (message.outputType != null && message.hasOwnProperty("outputType"))
+ if (!$util.isString(message.outputType))
+ return "outputType: string expected";
+ if (message.options != null && message.hasOwnProperty("options")) {
+ var error = $root.google.protobuf.MethodOptions.verify(message.options);
+ if (error)
+ return "options." + error;
+ }
+ if (message.clientStreaming != null && message.hasOwnProperty("clientStreaming"))
+ if (typeof message.clientStreaming !== "boolean")
+ return "clientStreaming: boolean expected";
+ if (message.serverStreaming != null && message.hasOwnProperty("serverStreaming"))
+ if (typeof message.serverStreaming !== "boolean")
+ return "serverStreaming: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto
+ */
+ MethodDescriptorProto.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.MethodDescriptorProto)
+ return object;
+ var message = new $root.google.protobuf.MethodDescriptorProto();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.inputType != null)
+ message.inputType = String(object.inputType);
+ if (object.outputType != null)
+ message.outputType = String(object.outputType);
+ if (object.options != null) {
+ if (typeof object.options !== "object")
+ throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");
+ message.options = $root.google.protobuf.MethodOptions.fromObject(object.options);
+ }
+ if (object.clientStreaming != null)
+ message.clientStreaming = Boolean(object.clientStreaming);
+ if (object.serverStreaming != null)
+ message.serverStreaming = Boolean(object.serverStreaming);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @static
+ * @param {google.protobuf.MethodDescriptorProto} message MethodDescriptorProto
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ MethodDescriptorProto.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.inputType = "";
+ object.outputType = "";
+ object.options = null;
+ object.clientStreaming = false;
+ object.serverStreaming = false;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.inputType != null && message.hasOwnProperty("inputType"))
+ object.inputType = message.inputType;
+ if (message.outputType != null && message.hasOwnProperty("outputType"))
+ object.outputType = message.outputType;
+ if (message.options != null && message.hasOwnProperty("options"))
+ object.options = $root.google.protobuf.MethodOptions.toObject(message.options, options);
+ if (message.clientStreaming != null && message.hasOwnProperty("clientStreaming"))
+ object.clientStreaming = message.clientStreaming;
+ if (message.serverStreaming != null && message.hasOwnProperty("serverStreaming"))
+ object.serverStreaming = message.serverStreaming;
+ return object;
+ };
+
+ /**
+ * Converts this MethodDescriptorProto to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ MethodDescriptorProto.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for MethodDescriptorProto
+ * @function getTypeUrl
+ * @memberof google.protobuf.MethodDescriptorProto
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ MethodDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.MethodDescriptorProto";
+ };
+
+ return MethodDescriptorProto;
+ })();
+
+ protobuf.FileOptions = (function() {
+
+ /**
+ * Properties of a FileOptions.
+ * @memberof google.protobuf
+ * @interface IFileOptions
+ * @property {string|null} [javaPackage] FileOptions javaPackage
+ * @property {string|null} [javaOuterClassname] FileOptions javaOuterClassname
+ * @property {boolean|null} [javaMultipleFiles] FileOptions javaMultipleFiles
+ * @property {boolean|null} [javaGenerateEqualsAndHash] FileOptions javaGenerateEqualsAndHash
+ * @property {boolean|null} [javaStringCheckUtf8] FileOptions javaStringCheckUtf8
+ * @property {google.protobuf.FileOptions.OptimizeMode|null} [optimizeFor] FileOptions optimizeFor
+ * @property {string|null} [goPackage] FileOptions goPackage
+ * @property {boolean|null} [ccGenericServices] FileOptions ccGenericServices
+ * @property {boolean|null} [javaGenericServices] FileOptions javaGenericServices
+ * @property {boolean|null} [pyGenericServices] FileOptions pyGenericServices
+ * @property {boolean|null} [deprecated] FileOptions deprecated
+ * @property {boolean|null} [ccEnableArenas] FileOptions ccEnableArenas
+ * @property {string|null} [objcClassPrefix] FileOptions objcClassPrefix
+ * @property {string|null} [csharpNamespace] FileOptions csharpNamespace
+ * @property {string|null} [swiftPrefix] FileOptions swiftPrefix
+ * @property {string|null} [phpClassPrefix] FileOptions phpClassPrefix
+ * @property {string|null} [phpNamespace] FileOptions phpNamespace
+ * @property {string|null} [phpMetadataNamespace] FileOptions phpMetadataNamespace
+ * @property {string|null} [rubyPackage] FileOptions rubyPackage
+ * @property {google.protobuf.IFeatureSet|null} [features] FileOptions features
+ * @property {Array.|null} [uninterpretedOption] FileOptions uninterpretedOption
+ * @property {Array.|null} [".google.api.resourceDefinition"] FileOptions .google.api.resourceDefinition
+ */
+
+ /**
+ * Constructs a new FileOptions.
+ * @memberof google.protobuf
+ * @classdesc Represents a FileOptions.
+ * @implements IFileOptions
+ * @constructor
+ * @param {google.protobuf.IFileOptions=} [properties] Properties to set
+ */
+ function FileOptions(properties) {
+ this.uninterpretedOption = [];
+ this[".google.api.resourceDefinition"] = [];
+ 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]];
+ }
+
+ /**
+ * FileOptions javaPackage.
+ * @member {string} javaPackage
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.javaPackage = "";
+
+ /**
+ * FileOptions javaOuterClassname.
+ * @member {string} javaOuterClassname
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.javaOuterClassname = "";
+
+ /**
+ * FileOptions javaMultipleFiles.
+ * @member {boolean} javaMultipleFiles
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.javaMultipleFiles = false;
+
+ /**
+ * FileOptions javaGenerateEqualsAndHash.
+ * @member {boolean} javaGenerateEqualsAndHash
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.javaGenerateEqualsAndHash = false;
+
+ /**
+ * FileOptions javaStringCheckUtf8.
+ * @member {boolean} javaStringCheckUtf8
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.javaStringCheckUtf8 = false;
+
+ /**
+ * FileOptions optimizeFor.
+ * @member {google.protobuf.FileOptions.OptimizeMode} optimizeFor
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.optimizeFor = 1;
+
+ /**
+ * FileOptions goPackage.
+ * @member {string} goPackage
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.goPackage = "";
+
+ /**
+ * FileOptions ccGenericServices.
+ * @member {boolean} ccGenericServices
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.ccGenericServices = false;
+
+ /**
+ * FileOptions javaGenericServices.
+ * @member {boolean} javaGenericServices
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.javaGenericServices = false;
+
+ /**
+ * FileOptions pyGenericServices.
+ * @member {boolean} pyGenericServices
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.pyGenericServices = false;
+
+ /**
+ * FileOptions deprecated.
+ * @member {boolean} deprecated
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.deprecated = false;
+
+ /**
+ * FileOptions ccEnableArenas.
+ * @member {boolean} ccEnableArenas
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.ccEnableArenas = true;
+
+ /**
+ * FileOptions objcClassPrefix.
+ * @member {string} objcClassPrefix
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.objcClassPrefix = "";
+
+ /**
+ * FileOptions csharpNamespace.
+ * @member {string} csharpNamespace
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.csharpNamespace = "";
+
+ /**
+ * FileOptions swiftPrefix.
+ * @member {string} swiftPrefix
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.swiftPrefix = "";
+
+ /**
+ * FileOptions phpClassPrefix.
+ * @member {string} phpClassPrefix
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.phpClassPrefix = "";
+
+ /**
+ * FileOptions phpNamespace.
+ * @member {string} phpNamespace
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.phpNamespace = "";
+
+ /**
+ * FileOptions phpMetadataNamespace.
+ * @member {string} phpMetadataNamespace
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.phpMetadataNamespace = "";
+
+ /**
+ * FileOptions rubyPackage.
+ * @member {string} rubyPackage
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.rubyPackage = "";
+
+ /**
+ * FileOptions features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.features = null;
+
+ /**
+ * FileOptions uninterpretedOption.
+ * @member {Array.} uninterpretedOption
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype.uninterpretedOption = $util.emptyArray;
+
+ /**
+ * FileOptions .google.api.resourceDefinition.
+ * @member {Array.} .google.api.resourceDefinition
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ */
+ FileOptions.prototype[".google.api.resourceDefinition"] = $util.emptyArray;
+
+ /**
+ * Creates a new FileOptions instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.FileOptions
+ * @static
+ * @param {google.protobuf.IFileOptions=} [properties] Properties to set
+ * @returns {google.protobuf.FileOptions} FileOptions instance
+ */
+ FileOptions.create = function create(properties) {
+ return new FileOptions(properties);
+ };
+
+ /**
+ * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.FileOptions
+ * @static
+ * @param {google.protobuf.IFileOptions} message FileOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FileOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.javaPackage != null && Object.hasOwnProperty.call(message, "javaPackage"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.javaPackage);
+ if (message.javaOuterClassname != null && Object.hasOwnProperty.call(message, "javaOuterClassname"))
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.javaOuterClassname);
+ if (message.optimizeFor != null && Object.hasOwnProperty.call(message, "optimizeFor"))
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.optimizeFor);
+ if (message.javaMultipleFiles != null && Object.hasOwnProperty.call(message, "javaMultipleFiles"))
+ writer.uint32(/* id 10, wireType 0 =*/80).bool(message.javaMultipleFiles);
+ if (message.goPackage != null && Object.hasOwnProperty.call(message, "goPackage"))
+ writer.uint32(/* id 11, wireType 2 =*/90).string(message.goPackage);
+ if (message.ccGenericServices != null && Object.hasOwnProperty.call(message, "ccGenericServices"))
+ writer.uint32(/* id 16, wireType 0 =*/128).bool(message.ccGenericServices);
+ if (message.javaGenericServices != null && Object.hasOwnProperty.call(message, "javaGenericServices"))
+ writer.uint32(/* id 17, wireType 0 =*/136).bool(message.javaGenericServices);
+ if (message.pyGenericServices != null && Object.hasOwnProperty.call(message, "pyGenericServices"))
+ writer.uint32(/* id 18, wireType 0 =*/144).bool(message.pyGenericServices);
+ if (message.javaGenerateEqualsAndHash != null && Object.hasOwnProperty.call(message, "javaGenerateEqualsAndHash"))
+ writer.uint32(/* id 20, wireType 0 =*/160).bool(message.javaGenerateEqualsAndHash);
+ if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
+ writer.uint32(/* id 23, wireType 0 =*/184).bool(message.deprecated);
+ if (message.javaStringCheckUtf8 != null && Object.hasOwnProperty.call(message, "javaStringCheckUtf8"))
+ writer.uint32(/* id 27, wireType 0 =*/216).bool(message.javaStringCheckUtf8);
+ if (message.ccEnableArenas != null && Object.hasOwnProperty.call(message, "ccEnableArenas"))
+ writer.uint32(/* id 31, wireType 0 =*/248).bool(message.ccEnableArenas);
+ if (message.objcClassPrefix != null && Object.hasOwnProperty.call(message, "objcClassPrefix"))
+ writer.uint32(/* id 36, wireType 2 =*/290).string(message.objcClassPrefix);
+ if (message.csharpNamespace != null && Object.hasOwnProperty.call(message, "csharpNamespace"))
+ writer.uint32(/* id 37, wireType 2 =*/298).string(message.csharpNamespace);
+ if (message.swiftPrefix != null && Object.hasOwnProperty.call(message, "swiftPrefix"))
+ writer.uint32(/* id 39, wireType 2 =*/314).string(message.swiftPrefix);
+ if (message.phpClassPrefix != null && Object.hasOwnProperty.call(message, "phpClassPrefix"))
+ writer.uint32(/* id 40, wireType 2 =*/322).string(message.phpClassPrefix);
+ if (message.phpNamespace != null && Object.hasOwnProperty.call(message, "phpNamespace"))
+ writer.uint32(/* id 41, wireType 2 =*/330).string(message.phpNamespace);
+ if (message.phpMetadataNamespace != null && Object.hasOwnProperty.call(message, "phpMetadataNamespace"))
+ writer.uint32(/* id 44, wireType 2 =*/354).string(message.phpMetadataNamespace);
+ if (message.rubyPackage != null && Object.hasOwnProperty.call(message, "rubyPackage"))
+ writer.uint32(/* id 45, wireType 2 =*/362).string(message.rubyPackage);
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
+ if (message.uninterpretedOption != null && message.uninterpretedOption.length)
+ for (var i = 0; i < message.uninterpretedOption.length; ++i)
+ $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
+ if (message[".google.api.resourceDefinition"] != null && message[".google.api.resourceDefinition"].length)
+ for (var i = 0; i < message[".google.api.resourceDefinition"].length; ++i)
+ $root.google.api.ResourceDescriptor.encode(message[".google.api.resourceDefinition"][i], writer.uint32(/* id 1053, wireType 2 =*/8426).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.FileOptions
+ * @static
+ * @param {google.protobuf.IFileOptions} message FileOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FileOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.FileOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.FileOptions} FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FileOptions.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.protobuf.FileOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.javaPackage = reader.string();
+ break;
+ }
+ case 8: {
+ message.javaOuterClassname = reader.string();
+ break;
+ }
+ case 10: {
+ message.javaMultipleFiles = reader.bool();
+ break;
+ }
+ case 20: {
+ message.javaGenerateEqualsAndHash = reader.bool();
+ break;
+ }
+ case 27: {
+ message.javaStringCheckUtf8 = reader.bool();
+ break;
+ }
+ case 9: {
+ message.optimizeFor = reader.int32();
+ break;
+ }
+ case 11: {
+ message.goPackage = reader.string();
+ break;
+ }
+ case 16: {
+ message.ccGenericServices = reader.bool();
+ break;
+ }
+ case 17: {
+ message.javaGenericServices = reader.bool();
+ break;
+ }
+ case 18: {
+ message.pyGenericServices = reader.bool();
+ break;
+ }
+ case 23: {
+ message.deprecated = reader.bool();
+ break;
+ }
+ case 31: {
+ message.ccEnableArenas = reader.bool();
+ break;
+ }
+ case 36: {
+ message.objcClassPrefix = reader.string();
+ break;
+ }
+ case 37: {
+ message.csharpNamespace = reader.string();
+ break;
+ }
+ case 39: {
+ message.swiftPrefix = reader.string();
+ break;
+ }
+ case 40: {
+ message.phpClassPrefix = reader.string();
+ break;
+ }
+ case 41: {
+ message.phpNamespace = reader.string();
+ break;
+ }
+ case 44: {
+ message.phpMetadataNamespace = reader.string();
+ break;
+ }
+ case 45: {
+ message.rubyPackage = reader.string();
+ break;
+ }
+ case 50: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ case 999: {
+ if (!(message.uninterpretedOption && message.uninterpretedOption.length))
+ message.uninterpretedOption = [];
+ message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
+ break;
+ }
+ case 1053: {
+ if (!(message[".google.api.resourceDefinition"] && message[".google.api.resourceDefinition"].length))
+ message[".google.api.resourceDefinition"] = [];
+ message[".google.api.resourceDefinition"].push($root.google.api.ResourceDescriptor.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.FileOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.FileOptions} FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FileOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FileOptions message.
+ * @function verify
+ * @memberof google.protobuf.FileOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FileOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.javaPackage != null && message.hasOwnProperty("javaPackage"))
+ if (!$util.isString(message.javaPackage))
+ return "javaPackage: string expected";
+ if (message.javaOuterClassname != null && message.hasOwnProperty("javaOuterClassname"))
+ if (!$util.isString(message.javaOuterClassname))
+ return "javaOuterClassname: string expected";
+ if (message.javaMultipleFiles != null && message.hasOwnProperty("javaMultipleFiles"))
+ if (typeof message.javaMultipleFiles !== "boolean")
+ return "javaMultipleFiles: boolean expected";
+ if (message.javaGenerateEqualsAndHash != null && message.hasOwnProperty("javaGenerateEqualsAndHash"))
+ if (typeof message.javaGenerateEqualsAndHash !== "boolean")
+ return "javaGenerateEqualsAndHash: boolean expected";
+ if (message.javaStringCheckUtf8 != null && message.hasOwnProperty("javaStringCheckUtf8"))
+ if (typeof message.javaStringCheckUtf8 !== "boolean")
+ return "javaStringCheckUtf8: boolean expected";
+ if (message.optimizeFor != null && message.hasOwnProperty("optimizeFor"))
+ switch (message.optimizeFor) {
+ default:
+ return "optimizeFor: enum value expected";
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.goPackage != null && message.hasOwnProperty("goPackage"))
+ if (!$util.isString(message.goPackage))
+ return "goPackage: string expected";
+ if (message.ccGenericServices != null && message.hasOwnProperty("ccGenericServices"))
+ if (typeof message.ccGenericServices !== "boolean")
+ return "ccGenericServices: boolean expected";
+ if (message.javaGenericServices != null && message.hasOwnProperty("javaGenericServices"))
+ if (typeof message.javaGenericServices !== "boolean")
+ return "javaGenericServices: boolean expected";
+ if (message.pyGenericServices != null && message.hasOwnProperty("pyGenericServices"))
+ if (typeof message.pyGenericServices !== "boolean")
+ return "pyGenericServices: boolean expected";
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ if (typeof message.deprecated !== "boolean")
+ return "deprecated: boolean expected";
+ if (message.ccEnableArenas != null && message.hasOwnProperty("ccEnableArenas"))
+ if (typeof message.ccEnableArenas !== "boolean")
+ return "ccEnableArenas: boolean expected";
+ if (message.objcClassPrefix != null && message.hasOwnProperty("objcClassPrefix"))
+ if (!$util.isString(message.objcClassPrefix))
+ return "objcClassPrefix: string expected";
+ if (message.csharpNamespace != null && message.hasOwnProperty("csharpNamespace"))
+ if (!$util.isString(message.csharpNamespace))
+ return "csharpNamespace: string expected";
+ if (message.swiftPrefix != null && message.hasOwnProperty("swiftPrefix"))
+ if (!$util.isString(message.swiftPrefix))
+ return "swiftPrefix: string expected";
+ if (message.phpClassPrefix != null && message.hasOwnProperty("phpClassPrefix"))
+ if (!$util.isString(message.phpClassPrefix))
+ return "phpClassPrefix: string expected";
+ if (message.phpNamespace != null && message.hasOwnProperty("phpNamespace"))
+ if (!$util.isString(message.phpNamespace))
+ return "phpNamespace: string expected";
+ if (message.phpMetadataNamespace != null && message.hasOwnProperty("phpMetadataNamespace"))
+ if (!$util.isString(message.phpMetadataNamespace))
+ return "phpMetadataNamespace: string expected";
+ if (message.rubyPackage != null && message.hasOwnProperty("rubyPackage"))
+ if (!$util.isString(message.rubyPackage))
+ return "rubyPackage: string expected";
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
+ if (!Array.isArray(message.uninterpretedOption))
+ return "uninterpretedOption: array expected";
+ for (var i = 0; i < message.uninterpretedOption.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]);
+ if (error)
+ return "uninterpretedOption." + error;
+ }
+ }
+ if (message[".google.api.resourceDefinition"] != null && message.hasOwnProperty(".google.api.resourceDefinition")) {
+ if (!Array.isArray(message[".google.api.resourceDefinition"]))
+ return ".google.api.resourceDefinition: array expected";
+ for (var i = 0; i < message[".google.api.resourceDefinition"].length; ++i) {
+ var error = $root.google.api.ResourceDescriptor.verify(message[".google.api.resourceDefinition"][i]);
+ if (error)
+ return ".google.api.resourceDefinition." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.FileOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.FileOptions} FileOptions
+ */
+ FileOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.FileOptions)
+ return object;
+ var message = new $root.google.protobuf.FileOptions();
+ if (object.javaPackage != null)
+ message.javaPackage = String(object.javaPackage);
+ if (object.javaOuterClassname != null)
+ message.javaOuterClassname = String(object.javaOuterClassname);
+ if (object.javaMultipleFiles != null)
+ message.javaMultipleFiles = Boolean(object.javaMultipleFiles);
+ if (object.javaGenerateEqualsAndHash != null)
+ message.javaGenerateEqualsAndHash = Boolean(object.javaGenerateEqualsAndHash);
+ if (object.javaStringCheckUtf8 != null)
+ message.javaStringCheckUtf8 = Boolean(object.javaStringCheckUtf8);
+ switch (object.optimizeFor) {
+ default:
+ if (typeof object.optimizeFor === "number") {
+ message.optimizeFor = object.optimizeFor;
+ break;
+ }
+ break;
+ case "SPEED":
+ case 1:
+ message.optimizeFor = 1;
+ break;
+ case "CODE_SIZE":
+ case 2:
+ message.optimizeFor = 2;
+ break;
+ case "LITE_RUNTIME":
+ case 3:
+ message.optimizeFor = 3;
+ break;
+ }
+ if (object.goPackage != null)
+ message.goPackage = String(object.goPackage);
+ if (object.ccGenericServices != null)
+ message.ccGenericServices = Boolean(object.ccGenericServices);
+ if (object.javaGenericServices != null)
+ message.javaGenericServices = Boolean(object.javaGenericServices);
+ if (object.pyGenericServices != null)
+ message.pyGenericServices = Boolean(object.pyGenericServices);
+ if (object.deprecated != null)
+ message.deprecated = Boolean(object.deprecated);
+ if (object.ccEnableArenas != null)
+ message.ccEnableArenas = Boolean(object.ccEnableArenas);
+ if (object.objcClassPrefix != null)
+ message.objcClassPrefix = String(object.objcClassPrefix);
+ if (object.csharpNamespace != null)
+ message.csharpNamespace = String(object.csharpNamespace);
+ if (object.swiftPrefix != null)
+ message.swiftPrefix = String(object.swiftPrefix);
+ if (object.phpClassPrefix != null)
+ message.phpClassPrefix = String(object.phpClassPrefix);
+ if (object.phpNamespace != null)
+ message.phpNamespace = String(object.phpNamespace);
+ if (object.phpMetadataNamespace != null)
+ message.phpMetadataNamespace = String(object.phpMetadataNamespace);
+ if (object.rubyPackage != null)
+ message.rubyPackage = String(object.rubyPackage);
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.FileOptions.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ if (object.uninterpretedOption) {
+ if (!Array.isArray(object.uninterpretedOption))
+ throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: array expected");
+ message.uninterpretedOption = [];
+ for (var i = 0; i < object.uninterpretedOption.length; ++i) {
+ if (typeof object.uninterpretedOption[i] !== "object")
+ throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: object expected");
+ message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
+ }
+ }
+ if (object[".google.api.resourceDefinition"]) {
+ if (!Array.isArray(object[".google.api.resourceDefinition"]))
+ throw TypeError(".google.protobuf.FileOptions..google.api.resourceDefinition: array expected");
+ message[".google.api.resourceDefinition"] = [];
+ for (var i = 0; i < object[".google.api.resourceDefinition"].length; ++i) {
+ if (typeof object[".google.api.resourceDefinition"][i] !== "object")
+ throw TypeError(".google.protobuf.FileOptions..google.api.resourceDefinition: object expected");
+ message[".google.api.resourceDefinition"][i] = $root.google.api.ResourceDescriptor.fromObject(object[".google.api.resourceDefinition"][i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.FileOptions
+ * @static
+ * @param {google.protobuf.FileOptions} message FileOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FileOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.uninterpretedOption = [];
+ object[".google.api.resourceDefinition"] = [];
+ }
+ if (options.defaults) {
+ object.javaPackage = "";
+ object.javaOuterClassname = "";
+ object.optimizeFor = options.enums === String ? "SPEED" : 1;
+ object.javaMultipleFiles = false;
+ object.goPackage = "";
+ object.ccGenericServices = false;
+ object.javaGenericServices = false;
+ object.pyGenericServices = false;
+ object.javaGenerateEqualsAndHash = false;
+ object.deprecated = false;
+ object.javaStringCheckUtf8 = false;
+ object.ccEnableArenas = true;
+ object.objcClassPrefix = "";
+ object.csharpNamespace = "";
+ object.swiftPrefix = "";
+ object.phpClassPrefix = "";
+ object.phpNamespace = "";
+ object.phpMetadataNamespace = "";
+ object.rubyPackage = "";
+ object.features = null;
+ }
+ if (message.javaPackage != null && message.hasOwnProperty("javaPackage"))
+ object.javaPackage = message.javaPackage;
+ if (message.javaOuterClassname != null && message.hasOwnProperty("javaOuterClassname"))
+ object.javaOuterClassname = message.javaOuterClassname;
+ if (message.optimizeFor != null && message.hasOwnProperty("optimizeFor"))
+ object.optimizeFor = options.enums === String ? $root.google.protobuf.FileOptions.OptimizeMode[message.optimizeFor] === undefined ? message.optimizeFor : $root.google.protobuf.FileOptions.OptimizeMode[message.optimizeFor] : message.optimizeFor;
+ if (message.javaMultipleFiles != null && message.hasOwnProperty("javaMultipleFiles"))
+ object.javaMultipleFiles = message.javaMultipleFiles;
+ if (message.goPackage != null && message.hasOwnProperty("goPackage"))
+ object.goPackage = message.goPackage;
+ if (message.ccGenericServices != null && message.hasOwnProperty("ccGenericServices"))
+ object.ccGenericServices = message.ccGenericServices;
+ if (message.javaGenericServices != null && message.hasOwnProperty("javaGenericServices"))
+ object.javaGenericServices = message.javaGenericServices;
+ if (message.pyGenericServices != null && message.hasOwnProperty("pyGenericServices"))
+ object.pyGenericServices = message.pyGenericServices;
+ if (message.javaGenerateEqualsAndHash != null && message.hasOwnProperty("javaGenerateEqualsAndHash"))
+ object.javaGenerateEqualsAndHash = message.javaGenerateEqualsAndHash;
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ object.deprecated = message.deprecated;
+ if (message.javaStringCheckUtf8 != null && message.hasOwnProperty("javaStringCheckUtf8"))
+ object.javaStringCheckUtf8 = message.javaStringCheckUtf8;
+ if (message.ccEnableArenas != null && message.hasOwnProperty("ccEnableArenas"))
+ object.ccEnableArenas = message.ccEnableArenas;
+ if (message.objcClassPrefix != null && message.hasOwnProperty("objcClassPrefix"))
+ object.objcClassPrefix = message.objcClassPrefix;
+ if (message.csharpNamespace != null && message.hasOwnProperty("csharpNamespace"))
+ object.csharpNamespace = message.csharpNamespace;
+ if (message.swiftPrefix != null && message.hasOwnProperty("swiftPrefix"))
+ object.swiftPrefix = message.swiftPrefix;
+ if (message.phpClassPrefix != null && message.hasOwnProperty("phpClassPrefix"))
+ object.phpClassPrefix = message.phpClassPrefix;
+ if (message.phpNamespace != null && message.hasOwnProperty("phpNamespace"))
+ object.phpNamespace = message.phpNamespace;
+ if (message.phpMetadataNamespace != null && message.hasOwnProperty("phpMetadataNamespace"))
+ object.phpMetadataNamespace = message.phpMetadataNamespace;
+ if (message.rubyPackage != null && message.hasOwnProperty("rubyPackage"))
+ object.rubyPackage = message.rubyPackage;
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.uninterpretedOption && message.uninterpretedOption.length) {
+ object.uninterpretedOption = [];
+ for (var j = 0; j < message.uninterpretedOption.length; ++j)
+ object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options);
+ }
+ if (message[".google.api.resourceDefinition"] && message[".google.api.resourceDefinition"].length) {
+ object[".google.api.resourceDefinition"] = [];
+ for (var j = 0; j < message[".google.api.resourceDefinition"].length; ++j)
+ object[".google.api.resourceDefinition"][j] = $root.google.api.ResourceDescriptor.toObject(message[".google.api.resourceDefinition"][j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this FileOptions to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.FileOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FileOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FileOptions
+ * @function getTypeUrl
+ * @memberof google.protobuf.FileOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FileOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.FileOptions";
+ };
+
+ /**
+ * OptimizeMode enum.
+ * @name google.protobuf.FileOptions.OptimizeMode
+ * @enum {number}
+ * @property {number} SPEED=1 SPEED value
+ * @property {number} CODE_SIZE=2 CODE_SIZE value
+ * @property {number} LITE_RUNTIME=3 LITE_RUNTIME value
+ */
+ FileOptions.OptimizeMode = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[1] = "SPEED"] = 1;
+ values[valuesById[2] = "CODE_SIZE"] = 2;
+ values[valuesById[3] = "LITE_RUNTIME"] = 3;
+ return values;
+ })();
+
+ return FileOptions;
+ })();
+
+ protobuf.MessageOptions = (function() {
+
+ /**
+ * Properties of a MessageOptions.
+ * @memberof google.protobuf
+ * @interface IMessageOptions
+ * @property {boolean|null} [messageSetWireFormat] MessageOptions messageSetWireFormat
+ * @property {boolean|null} [noStandardDescriptorAccessor] MessageOptions noStandardDescriptorAccessor
+ * @property {boolean|null} [deprecated] MessageOptions deprecated
+ * @property {boolean|null} [mapEntry] MessageOptions mapEntry
+ * @property {boolean|null} [deprecatedLegacyJsonFieldConflicts] MessageOptions deprecatedLegacyJsonFieldConflicts
+ * @property {google.protobuf.IFeatureSet|null} [features] MessageOptions features
+ * @property {Array.|null} [uninterpretedOption] MessageOptions uninterpretedOption
+ * @property {google.api.IResourceDescriptor|null} [".google.api.resource"] MessageOptions .google.api.resource
+ */
+
+ /**
+ * Constructs a new MessageOptions.
+ * @memberof google.protobuf
+ * @classdesc Represents a MessageOptions.
+ * @implements IMessageOptions
+ * @constructor
+ * @param {google.protobuf.IMessageOptions=} [properties] Properties to set
+ */
+ function MessageOptions(properties) {
+ this.uninterpretedOption = [];
+ 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]];
+ }
+
+ /**
+ * MessageOptions messageSetWireFormat.
+ * @member {boolean} messageSetWireFormat
+ * @memberof google.protobuf.MessageOptions
+ * @instance
+ */
+ MessageOptions.prototype.messageSetWireFormat = false;
+
+ /**
+ * MessageOptions noStandardDescriptorAccessor.
+ * @member {boolean} noStandardDescriptorAccessor
+ * @memberof google.protobuf.MessageOptions
+ * @instance
+ */
+ MessageOptions.prototype.noStandardDescriptorAccessor = false;
+
+ /**
+ * MessageOptions deprecated.
+ * @member {boolean} deprecated
+ * @memberof google.protobuf.MessageOptions
+ * @instance
+ */
+ MessageOptions.prototype.deprecated = false;
+
+ /**
+ * MessageOptions mapEntry.
+ * @member {boolean} mapEntry
+ * @memberof google.protobuf.MessageOptions
+ * @instance
+ */
+ MessageOptions.prototype.mapEntry = false;
+
+ /**
+ * MessageOptions deprecatedLegacyJsonFieldConflicts.
+ * @member {boolean} deprecatedLegacyJsonFieldConflicts
+ * @memberof google.protobuf.MessageOptions
+ * @instance
+ */
+ MessageOptions.prototype.deprecatedLegacyJsonFieldConflicts = false;
+
+ /**
+ * MessageOptions features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.MessageOptions
+ * @instance
+ */
+ MessageOptions.prototype.features = null;
+
+ /**
+ * MessageOptions uninterpretedOption.
+ * @member {Array.} uninterpretedOption
+ * @memberof google.protobuf.MessageOptions
+ * @instance
+ */
+ MessageOptions.prototype.uninterpretedOption = $util.emptyArray;
+
+ /**
+ * MessageOptions .google.api.resource.
+ * @member {google.api.IResourceDescriptor|null|undefined} .google.api.resource
+ * @memberof google.protobuf.MessageOptions
+ * @instance
+ */
+ MessageOptions.prototype[".google.api.resource"] = null;
+
+ /**
+ * Creates a new MessageOptions instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.MessageOptions
+ * @static
+ * @param {google.protobuf.IMessageOptions=} [properties] Properties to set
+ * @returns {google.protobuf.MessageOptions} MessageOptions instance
+ */
+ MessageOptions.create = function create(properties) {
+ return new MessageOptions(properties);
+ };
+
+ /**
+ * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.MessageOptions
+ * @static
+ * @param {google.protobuf.IMessageOptions} message MessageOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MessageOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.messageSetWireFormat != null && Object.hasOwnProperty.call(message, "messageSetWireFormat"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.messageSetWireFormat);
+ if (message.noStandardDescriptorAccessor != null && Object.hasOwnProperty.call(message, "noStandardDescriptorAccessor"))
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.noStandardDescriptorAccessor);
+ if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.deprecated);
+ if (message.mapEntry != null && Object.hasOwnProperty.call(message, "mapEntry"))
+ writer.uint32(/* id 7, wireType 0 =*/56).bool(message.mapEntry);
+ if (message.deprecatedLegacyJsonFieldConflicts != null && Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts"))
+ writer.uint32(/* id 11, wireType 0 =*/88).bool(message.deprecatedLegacyJsonFieldConflicts);
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
+ if (message.uninterpretedOption != null && message.uninterpretedOption.length)
+ for (var i = 0; i < message.uninterpretedOption.length; ++i)
+ $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
+ if (message[".google.api.resource"] != null && Object.hasOwnProperty.call(message, ".google.api.resource"))
+ $root.google.api.ResourceDescriptor.encode(message[".google.api.resource"], writer.uint32(/* id 1053, wireType 2 =*/8426).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.MessageOptions
+ * @static
+ * @param {google.protobuf.IMessageOptions} message MessageOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MessageOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.MessageOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.MessageOptions} MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MessageOptions.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.protobuf.MessageOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.messageSetWireFormat = reader.bool();
+ break;
+ }
+ case 2: {
+ message.noStandardDescriptorAccessor = reader.bool();
+ break;
+ }
+ case 3: {
+ message.deprecated = reader.bool();
+ break;
+ }
+ case 7: {
+ message.mapEntry = reader.bool();
+ break;
+ }
+ case 11: {
+ message.deprecatedLegacyJsonFieldConflicts = reader.bool();
+ break;
+ }
+ case 12: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ case 999: {
+ if (!(message.uninterpretedOption && message.uninterpretedOption.length))
+ message.uninterpretedOption = [];
+ message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
+ break;
+ }
+ case 1053: {
+ message[".google.api.resource"] = $root.google.api.ResourceDescriptor.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.MessageOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.MessageOptions} MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MessageOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a MessageOptions message.
+ * @function verify
+ * @memberof google.protobuf.MessageOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ MessageOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.messageSetWireFormat != null && message.hasOwnProperty("messageSetWireFormat"))
+ if (typeof message.messageSetWireFormat !== "boolean")
+ return "messageSetWireFormat: boolean expected";
+ if (message.noStandardDescriptorAccessor != null && message.hasOwnProperty("noStandardDescriptorAccessor"))
+ if (typeof message.noStandardDescriptorAccessor !== "boolean")
+ return "noStandardDescriptorAccessor: boolean expected";
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ if (typeof message.deprecated !== "boolean")
+ return "deprecated: boolean expected";
+ if (message.mapEntry != null && message.hasOwnProperty("mapEntry"))
+ if (typeof message.mapEntry !== "boolean")
+ return "mapEntry: boolean expected";
+ if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
+ if (typeof message.deprecatedLegacyJsonFieldConflicts !== "boolean")
+ return "deprecatedLegacyJsonFieldConflicts: boolean expected";
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
+ if (!Array.isArray(message.uninterpretedOption))
+ return "uninterpretedOption: array expected";
+ for (var i = 0; i < message.uninterpretedOption.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]);
+ if (error)
+ return "uninterpretedOption." + error;
+ }
+ }
+ if (message[".google.api.resource"] != null && message.hasOwnProperty(".google.api.resource")) {
+ var error = $root.google.api.ResourceDescriptor.verify(message[".google.api.resource"]);
+ if (error)
+ return ".google.api.resource." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.MessageOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.MessageOptions} MessageOptions
+ */
+ MessageOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.MessageOptions)
+ return object;
+ var message = new $root.google.protobuf.MessageOptions();
+ if (object.messageSetWireFormat != null)
+ message.messageSetWireFormat = Boolean(object.messageSetWireFormat);
+ if (object.noStandardDescriptorAccessor != null)
+ message.noStandardDescriptorAccessor = Boolean(object.noStandardDescriptorAccessor);
+ if (object.deprecated != null)
+ message.deprecated = Boolean(object.deprecated);
+ if (object.mapEntry != null)
+ message.mapEntry = Boolean(object.mapEntry);
+ if (object.deprecatedLegacyJsonFieldConflicts != null)
+ message.deprecatedLegacyJsonFieldConflicts = Boolean(object.deprecatedLegacyJsonFieldConflicts);
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.MessageOptions.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ if (object.uninterpretedOption) {
+ if (!Array.isArray(object.uninterpretedOption))
+ throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: array expected");
+ message.uninterpretedOption = [];
+ for (var i = 0; i < object.uninterpretedOption.length; ++i) {
+ if (typeof object.uninterpretedOption[i] !== "object")
+ throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: object expected");
+ message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
+ }
+ }
+ if (object[".google.api.resource"] != null) {
+ if (typeof object[".google.api.resource"] !== "object")
+ throw TypeError(".google.protobuf.MessageOptions..google.api.resource: object expected");
+ message[".google.api.resource"] = $root.google.api.ResourceDescriptor.fromObject(object[".google.api.resource"]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.MessageOptions
+ * @static
+ * @param {google.protobuf.MessageOptions} message MessageOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ MessageOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.uninterpretedOption = [];
+ if (options.defaults) {
+ object.messageSetWireFormat = false;
+ object.noStandardDescriptorAccessor = false;
+ object.deprecated = false;
+ object.mapEntry = false;
+ object.deprecatedLegacyJsonFieldConflicts = false;
+ object.features = null;
+ object[".google.api.resource"] = null;
+ }
+ if (message.messageSetWireFormat != null && message.hasOwnProperty("messageSetWireFormat"))
+ object.messageSetWireFormat = message.messageSetWireFormat;
+ if (message.noStandardDescriptorAccessor != null && message.hasOwnProperty("noStandardDescriptorAccessor"))
+ object.noStandardDescriptorAccessor = message.noStandardDescriptorAccessor;
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ object.deprecated = message.deprecated;
+ if (message.mapEntry != null && message.hasOwnProperty("mapEntry"))
+ object.mapEntry = message.mapEntry;
+ if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
+ object.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts;
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.uninterpretedOption && message.uninterpretedOption.length) {
+ object.uninterpretedOption = [];
+ for (var j = 0; j < message.uninterpretedOption.length; ++j)
+ object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options);
+ }
+ if (message[".google.api.resource"] != null && message.hasOwnProperty(".google.api.resource"))
+ object[".google.api.resource"] = $root.google.api.ResourceDescriptor.toObject(message[".google.api.resource"], options);
+ return object;
+ };
+
+ /**
+ * Converts this MessageOptions to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.MessageOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ MessageOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for MessageOptions
+ * @function getTypeUrl
+ * @memberof google.protobuf.MessageOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ MessageOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.MessageOptions";
+ };
+
+ return MessageOptions;
+ })();
+
+ protobuf.FieldOptions = (function() {
+
+ /**
+ * Properties of a FieldOptions.
+ * @memberof google.protobuf
+ * @interface IFieldOptions
+ * @property {google.protobuf.FieldOptions.CType|null} [ctype] FieldOptions ctype
+ * @property {boolean|null} [packed] FieldOptions packed
+ * @property {google.protobuf.FieldOptions.JSType|null} [jstype] FieldOptions jstype
+ * @property {boolean|null} [lazy] FieldOptions lazy
+ * @property {boolean|null} [unverifiedLazy] FieldOptions unverifiedLazy
+ * @property {boolean|null} [deprecated] FieldOptions deprecated
+ * @property {boolean|null} [weak] FieldOptions weak
+ * @property {boolean|null} [debugRedact] FieldOptions debugRedact
+ * @property {google.protobuf.FieldOptions.OptionRetention|null} [retention] FieldOptions retention
+ * @property {Array.|null} [targets] FieldOptions targets
+ * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults
+ * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
+ * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption
+ * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
+ * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
+ */
+
+ /**
+ * Constructs a new FieldOptions.
+ * @memberof google.protobuf
+ * @classdesc Represents a FieldOptions.
+ * @implements IFieldOptions
+ * @constructor
+ * @param {google.protobuf.IFieldOptions=} [properties] Properties to set
+ */
+ function FieldOptions(properties) {
+ this.targets = [];
+ this.editionDefaults = [];
+ this.uninterpretedOption = [];
+ this[".google.api.fieldBehavior"] = [];
+ 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]];
+ }
+
+ /**
+ * FieldOptions ctype.
+ * @member {google.protobuf.FieldOptions.CType} ctype
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.ctype = 0;
+
+ /**
+ * FieldOptions packed.
+ * @member {boolean} packed
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.packed = false;
+
+ /**
+ * FieldOptions jstype.
+ * @member {google.protobuf.FieldOptions.JSType} jstype
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.jstype = 0;
+
+ /**
+ * FieldOptions lazy.
+ * @member {boolean} lazy
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.lazy = false;
+
+ /**
+ * FieldOptions unverifiedLazy.
+ * @member {boolean} unverifiedLazy
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.unverifiedLazy = false;
+
+ /**
+ * FieldOptions deprecated.
+ * @member {boolean} deprecated
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.deprecated = false;
+
+ /**
+ * FieldOptions weak.
+ * @member {boolean} weak
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.weak = false;
+
+ /**
+ * FieldOptions debugRedact.
+ * @member {boolean} debugRedact
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.debugRedact = false;
+
+ /**
+ * FieldOptions retention.
+ * @member {google.protobuf.FieldOptions.OptionRetention} retention
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.retention = 0;
+
+ /**
+ * FieldOptions targets.
+ * @member {Array.} targets
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.targets = $util.emptyArray;
+
+ /**
+ * FieldOptions editionDefaults.
+ * @member {Array.} editionDefaults
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.editionDefaults = $util.emptyArray;
+
+ /**
+ * FieldOptions features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.features = null;
+
+ /**
+ * FieldOptions uninterpretedOption.
+ * @member {Array.} uninterpretedOption
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype.uninterpretedOption = $util.emptyArray;
+
+ /**
+ * FieldOptions .google.api.fieldBehavior.
+ * @member {Array.} .google.api.fieldBehavior
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype[".google.api.fieldBehavior"] = $util.emptyArray;
+
+ /**
+ * FieldOptions .google.api.resourceReference.
+ * @member {google.api.IResourceReference|null|undefined} .google.api.resourceReference
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ */
+ FieldOptions.prototype[".google.api.resourceReference"] = null;
+
+ /**
+ * Creates a new FieldOptions instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.FieldOptions
+ * @static
+ * @param {google.protobuf.IFieldOptions=} [properties] Properties to set
+ * @returns {google.protobuf.FieldOptions} FieldOptions instance
+ */
+ FieldOptions.create = function create(properties) {
+ return new FieldOptions(properties);
+ };
+
+ /**
+ * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.FieldOptions
+ * @static
+ * @param {google.protobuf.IFieldOptions} message FieldOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FieldOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.ctype != null && Object.hasOwnProperty.call(message, "ctype"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.ctype);
+ if (message.packed != null && Object.hasOwnProperty.call(message, "packed"))
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.packed);
+ if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.deprecated);
+ if (message.lazy != null && Object.hasOwnProperty.call(message, "lazy"))
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.lazy);
+ if (message.jstype != null && Object.hasOwnProperty.call(message, "jstype"))
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jstype);
+ if (message.weak != null && Object.hasOwnProperty.call(message, "weak"))
+ writer.uint32(/* id 10, wireType 0 =*/80).bool(message.weak);
+ if (message.unverifiedLazy != null && Object.hasOwnProperty.call(message, "unverifiedLazy"))
+ writer.uint32(/* id 15, wireType 0 =*/120).bool(message.unverifiedLazy);
+ if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
+ writer.uint32(/* id 16, wireType 0 =*/128).bool(message.debugRedact);
+ if (message.retention != null && Object.hasOwnProperty.call(message, "retention"))
+ writer.uint32(/* id 17, wireType 0 =*/136).int32(message.retention);
+ if (message.targets != null && message.targets.length)
+ for (var i = 0; i < message.targets.length; ++i)
+ writer.uint32(/* id 19, wireType 0 =*/152).int32(message.targets[i]);
+ if (message.editionDefaults != null && message.editionDefaults.length)
+ for (var i = 0; i < message.editionDefaults.length; ++i)
+ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
+ if (message.uninterpretedOption != null && message.uninterpretedOption.length)
+ for (var i = 0; i < message.uninterpretedOption.length; ++i)
+ $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
+ if (message[".google.api.fieldBehavior"] != null && message[".google.api.fieldBehavior"].length)
+ for (var i = 0; i < message[".google.api.fieldBehavior"].length; ++i)
+ writer.uint32(/* id 1052, wireType 0 =*/8416).int32(message[".google.api.fieldBehavior"][i]);
+ if (message[".google.api.resourceReference"] != null && Object.hasOwnProperty.call(message, ".google.api.resourceReference"))
+ $root.google.api.ResourceReference.encode(message[".google.api.resourceReference"], writer.uint32(/* id 1055, wireType 2 =*/8442).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.FieldOptions
+ * @static
+ * @param {google.protobuf.IFieldOptions} message FieldOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FieldOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.FieldOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.FieldOptions} FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FieldOptions.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.protobuf.FieldOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.ctype = reader.int32();
+ break;
+ }
+ case 2: {
+ message.packed = reader.bool();
+ break;
+ }
+ case 6: {
+ message.jstype = reader.int32();
+ break;
+ }
+ case 5: {
+ message.lazy = reader.bool();
+ break;
+ }
+ case 15: {
+ message.unverifiedLazy = reader.bool();
+ break;
+ }
+ case 3: {
+ message.deprecated = reader.bool();
+ break;
+ }
+ case 10: {
+ message.weak = reader.bool();
+ break;
+ }
+ case 16: {
+ message.debugRedact = reader.bool();
+ break;
+ }
+ case 17: {
+ message.retention = reader.int32();
+ break;
+ }
+ case 19: {
+ if (!(message.targets && message.targets.length))
+ message.targets = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message.targets.push(reader.int32());
+ } else
+ message.targets.push(reader.int32());
+ break;
+ }
+ case 20: {
+ if (!(message.editionDefaults && message.editionDefaults.length))
+ message.editionDefaults = [];
+ message.editionDefaults.push($root.google.protobuf.FieldOptions.EditionDefault.decode(reader, reader.uint32()));
+ break;
+ }
+ case 21: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ case 999: {
+ if (!(message.uninterpretedOption && message.uninterpretedOption.length))
+ message.uninterpretedOption = [];
+ message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
+ break;
+ }
+ case 1052: {
+ if (!(message[".google.api.fieldBehavior"] && message[".google.api.fieldBehavior"].length))
+ message[".google.api.fieldBehavior"] = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message[".google.api.fieldBehavior"].push(reader.int32());
+ } else
+ message[".google.api.fieldBehavior"].push(reader.int32());
+ break;
+ }
+ case 1055: {
+ message[".google.api.resourceReference"] = $root.google.api.ResourceReference.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.FieldOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.FieldOptions} FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FieldOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FieldOptions message.
+ * @function verify
+ * @memberof google.protobuf.FieldOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FieldOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.ctype != null && message.hasOwnProperty("ctype"))
+ switch (message.ctype) {
+ default:
+ return "ctype: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.packed != null && message.hasOwnProperty("packed"))
+ if (typeof message.packed !== "boolean")
+ return "packed: boolean expected";
+ if (message.jstype != null && message.hasOwnProperty("jstype"))
+ switch (message.jstype) {
+ default:
+ return "jstype: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.lazy != null && message.hasOwnProperty("lazy"))
+ if (typeof message.lazy !== "boolean")
+ return "lazy: boolean expected";
+ if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy"))
+ if (typeof message.unverifiedLazy !== "boolean")
+ return "unverifiedLazy: boolean expected";
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ if (typeof message.deprecated !== "boolean")
+ return "deprecated: boolean expected";
+ if (message.weak != null && message.hasOwnProperty("weak"))
+ if (typeof message.weak !== "boolean")
+ return "weak: boolean expected";
+ if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
+ if (typeof message.debugRedact !== "boolean")
+ return "debugRedact: boolean expected";
+ if (message.retention != null && message.hasOwnProperty("retention"))
+ switch (message.retention) {
+ default:
+ return "retention: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.targets != null && message.hasOwnProperty("targets")) {
+ if (!Array.isArray(message.targets))
+ return "targets: array expected";
+ for (var i = 0; i < message.targets.length; ++i)
+ switch (message.targets[i]) {
+ default:
+ return "targets: enum value[] expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 6:
+ case 7:
+ case 8:
+ case 9:
+ break;
+ }
+ }
+ if (message.editionDefaults != null && message.hasOwnProperty("editionDefaults")) {
+ if (!Array.isArray(message.editionDefaults))
+ return "editionDefaults: array expected";
+ for (var i = 0; i < message.editionDefaults.length; ++i) {
+ var error = $root.google.protobuf.FieldOptions.EditionDefault.verify(message.editionDefaults[i]);
+ if (error)
+ return "editionDefaults." + error;
+ }
+ }
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
+ if (!Array.isArray(message.uninterpretedOption))
+ return "uninterpretedOption: array expected";
+ for (var i = 0; i < message.uninterpretedOption.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]);
+ if (error)
+ return "uninterpretedOption." + error;
+ }
+ }
+ if (message[".google.api.fieldBehavior"] != null && message.hasOwnProperty(".google.api.fieldBehavior")) {
+ if (!Array.isArray(message[".google.api.fieldBehavior"]))
+ return ".google.api.fieldBehavior: array expected";
+ for (var i = 0; i < message[".google.api.fieldBehavior"].length; ++i)
+ switch (message[".google.api.fieldBehavior"][i]) {
+ default:
+ return ".google.api.fieldBehavior: enum value[] expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 6:
+ case 7:
+ case 8:
+ break;
+ }
+ }
+ if (message[".google.api.resourceReference"] != null && message.hasOwnProperty(".google.api.resourceReference")) {
+ var error = $root.google.api.ResourceReference.verify(message[".google.api.resourceReference"]);
+ if (error)
+ return ".google.api.resourceReference." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.FieldOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.FieldOptions} FieldOptions
+ */
+ FieldOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.FieldOptions)
+ return object;
+ var message = new $root.google.protobuf.FieldOptions();
+ switch (object.ctype) {
+ default:
+ if (typeof object.ctype === "number") {
+ message.ctype = object.ctype;
+ break;
+ }
+ break;
+ case "STRING":
+ case 0:
+ message.ctype = 0;
+ break;
+ case "CORD":
+ case 1:
+ message.ctype = 1;
+ break;
+ case "STRING_PIECE":
+ case 2:
+ message.ctype = 2;
+ break;
+ }
+ if (object.packed != null)
+ message.packed = Boolean(object.packed);
+ switch (object.jstype) {
+ default:
+ if (typeof object.jstype === "number") {
+ message.jstype = object.jstype;
+ break;
+ }
+ break;
+ case "JS_NORMAL":
+ case 0:
+ message.jstype = 0;
+ break;
+ case "JS_STRING":
+ case 1:
+ message.jstype = 1;
+ break;
+ case "JS_NUMBER":
+ case 2:
+ message.jstype = 2;
+ break;
+ }
+ if (object.lazy != null)
+ message.lazy = Boolean(object.lazy);
+ if (object.unverifiedLazy != null)
+ message.unverifiedLazy = Boolean(object.unverifiedLazy);
+ if (object.deprecated != null)
+ message.deprecated = Boolean(object.deprecated);
+ if (object.weak != null)
+ message.weak = Boolean(object.weak);
+ if (object.debugRedact != null)
+ message.debugRedact = Boolean(object.debugRedact);
+ switch (object.retention) {
+ default:
+ if (typeof object.retention === "number") {
+ message.retention = object.retention;
+ break;
+ }
+ break;
+ case "RETENTION_UNKNOWN":
+ case 0:
+ message.retention = 0;
+ break;
+ case "RETENTION_RUNTIME":
+ case 1:
+ message.retention = 1;
+ break;
+ case "RETENTION_SOURCE":
+ case 2:
+ message.retention = 2;
+ break;
+ }
+ if (object.targets) {
+ if (!Array.isArray(object.targets))
+ throw TypeError(".google.protobuf.FieldOptions.targets: array expected");
+ message.targets = [];
+ for (var i = 0; i < object.targets.length; ++i)
+ switch (object.targets[i]) {
+ default:
+ if (typeof object.targets[i] === "number") {
+ message.targets[i] = object.targets[i];
+ break;
+ }
+ case "TARGET_TYPE_UNKNOWN":
+ case 0:
+ message.targets[i] = 0;
+ break;
+ case "TARGET_TYPE_FILE":
+ case 1:
+ message.targets[i] = 1;
+ break;
+ case "TARGET_TYPE_EXTENSION_RANGE":
+ case 2:
+ message.targets[i] = 2;
+ break;
+ case "TARGET_TYPE_MESSAGE":
+ case 3:
+ message.targets[i] = 3;
+ break;
+ case "TARGET_TYPE_FIELD":
+ case 4:
+ message.targets[i] = 4;
+ break;
+ case "TARGET_TYPE_ONEOF":
+ case 5:
+ message.targets[i] = 5;
+ break;
+ case "TARGET_TYPE_ENUM":
+ case 6:
+ message.targets[i] = 6;
+ break;
+ case "TARGET_TYPE_ENUM_ENTRY":
+ case 7:
+ message.targets[i] = 7;
+ break;
+ case "TARGET_TYPE_SERVICE":
+ case 8:
+ message.targets[i] = 8;
+ break;
+ case "TARGET_TYPE_METHOD":
+ case 9:
+ message.targets[i] = 9;
+ break;
+ }
+ }
+ if (object.editionDefaults) {
+ if (!Array.isArray(object.editionDefaults))
+ throw TypeError(".google.protobuf.FieldOptions.editionDefaults: array expected");
+ message.editionDefaults = [];
+ for (var i = 0; i < object.editionDefaults.length; ++i) {
+ if (typeof object.editionDefaults[i] !== "object")
+ throw TypeError(".google.protobuf.FieldOptions.editionDefaults: object expected");
+ message.editionDefaults[i] = $root.google.protobuf.FieldOptions.EditionDefault.fromObject(object.editionDefaults[i]);
+ }
+ }
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.FieldOptions.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ if (object.uninterpretedOption) {
+ if (!Array.isArray(object.uninterpretedOption))
+ throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");
+ message.uninterpretedOption = [];
+ for (var i = 0; i < object.uninterpretedOption.length; ++i) {
+ if (typeof object.uninterpretedOption[i] !== "object")
+ throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: object expected");
+ message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
+ }
+ }
+ if (object[".google.api.fieldBehavior"]) {
+ if (!Array.isArray(object[".google.api.fieldBehavior"]))
+ throw TypeError(".google.protobuf.FieldOptions..google.api.fieldBehavior: array expected");
+ message[".google.api.fieldBehavior"] = [];
+ for (var i = 0; i < object[".google.api.fieldBehavior"].length; ++i)
+ switch (object[".google.api.fieldBehavior"][i]) {
+ default:
+ if (typeof object[".google.api.fieldBehavior"][i] === "number") {
+ message[".google.api.fieldBehavior"][i] = object[".google.api.fieldBehavior"][i];
+ break;
+ }
+ case "FIELD_BEHAVIOR_UNSPECIFIED":
+ case 0:
+ message[".google.api.fieldBehavior"][i] = 0;
+ break;
+ case "OPTIONAL":
+ case 1:
+ message[".google.api.fieldBehavior"][i] = 1;
+ break;
+ case "REQUIRED":
+ case 2:
+ message[".google.api.fieldBehavior"][i] = 2;
+ break;
+ case "OUTPUT_ONLY":
+ case 3:
+ message[".google.api.fieldBehavior"][i] = 3;
+ break;
+ case "INPUT_ONLY":
+ case 4:
+ message[".google.api.fieldBehavior"][i] = 4;
+ break;
+ case "IMMUTABLE":
+ case 5:
+ message[".google.api.fieldBehavior"][i] = 5;
+ break;
+ case "UNORDERED_LIST":
+ case 6:
+ message[".google.api.fieldBehavior"][i] = 6;
+ break;
+ case "NON_EMPTY_DEFAULT":
+ case 7:
+ message[".google.api.fieldBehavior"][i] = 7;
+ break;
+ case "IDENTIFIER":
+ case 8:
+ message[".google.api.fieldBehavior"][i] = 8;
+ break;
+ }
+ }
+ if (object[".google.api.resourceReference"] != null) {
+ if (typeof object[".google.api.resourceReference"] !== "object")
+ throw TypeError(".google.protobuf.FieldOptions..google.api.resourceReference: object expected");
+ message[".google.api.resourceReference"] = $root.google.api.ResourceReference.fromObject(object[".google.api.resourceReference"]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.FieldOptions
+ * @static
+ * @param {google.protobuf.FieldOptions} message FieldOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FieldOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.targets = [];
+ object.editionDefaults = [];
+ object.uninterpretedOption = [];
+ object[".google.api.fieldBehavior"] = [];
+ }
+ if (options.defaults) {
+ object.ctype = options.enums === String ? "STRING" : 0;
+ object.packed = false;
+ object.deprecated = false;
+ object.lazy = false;
+ object.jstype = options.enums === String ? "JS_NORMAL" : 0;
+ object.weak = false;
+ object.unverifiedLazy = false;
+ object.debugRedact = false;
+ object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
+ object.features = null;
+ object[".google.api.resourceReference"] = null;
+ }
+ if (message.ctype != null && message.hasOwnProperty("ctype"))
+ object.ctype = options.enums === String ? $root.google.protobuf.FieldOptions.CType[message.ctype] === undefined ? message.ctype : $root.google.protobuf.FieldOptions.CType[message.ctype] : message.ctype;
+ if (message.packed != null && message.hasOwnProperty("packed"))
+ object.packed = message.packed;
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ object.deprecated = message.deprecated;
+ if (message.lazy != null && message.hasOwnProperty("lazy"))
+ object.lazy = message.lazy;
+ if (message.jstype != null && message.hasOwnProperty("jstype"))
+ object.jstype = options.enums === String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] === undefined ? message.jstype : $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype;
+ if (message.weak != null && message.hasOwnProperty("weak"))
+ object.weak = message.weak;
+ if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy"))
+ object.unverifiedLazy = message.unverifiedLazy;
+ if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
+ object.debugRedact = message.debugRedact;
+ if (message.retention != null && message.hasOwnProperty("retention"))
+ object.retention = options.enums === String ? $root.google.protobuf.FieldOptions.OptionRetention[message.retention] === undefined ? message.retention : $root.google.protobuf.FieldOptions.OptionRetention[message.retention] : message.retention;
+ if (message.targets && message.targets.length) {
+ object.targets = [];
+ for (var j = 0; j < message.targets.length; ++j)
+ object.targets[j] = options.enums === String ? $root.google.protobuf.FieldOptions.OptionTargetType[message.targets[j]] === undefined ? message.targets[j] : $root.google.protobuf.FieldOptions.OptionTargetType[message.targets[j]] : message.targets[j];
+ }
+ if (message.editionDefaults && message.editionDefaults.length) {
+ object.editionDefaults = [];
+ for (var j = 0; j < message.editionDefaults.length; ++j)
+ object.editionDefaults[j] = $root.google.protobuf.FieldOptions.EditionDefault.toObject(message.editionDefaults[j], options);
+ }
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.uninterpretedOption && message.uninterpretedOption.length) {
+ object.uninterpretedOption = [];
+ for (var j = 0; j < message.uninterpretedOption.length; ++j)
+ object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options);
+ }
+ if (message[".google.api.fieldBehavior"] && message[".google.api.fieldBehavior"].length) {
+ object[".google.api.fieldBehavior"] = [];
+ for (var j = 0; j < message[".google.api.fieldBehavior"].length; ++j)
+ object[".google.api.fieldBehavior"][j] = options.enums === String ? $root.google.api.FieldBehavior[message[".google.api.fieldBehavior"][j]] === undefined ? message[".google.api.fieldBehavior"][j] : $root.google.api.FieldBehavior[message[".google.api.fieldBehavior"][j]] : message[".google.api.fieldBehavior"][j];
+ }
+ if (message[".google.api.resourceReference"] != null && message.hasOwnProperty(".google.api.resourceReference"))
+ object[".google.api.resourceReference"] = $root.google.api.ResourceReference.toObject(message[".google.api.resourceReference"], options);
+ return object;
+ };
+
+ /**
+ * Converts this FieldOptions to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.FieldOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FieldOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FieldOptions
+ * @function getTypeUrl
+ * @memberof google.protobuf.FieldOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FieldOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.FieldOptions";
+ };
+
+ /**
+ * CType enum.
+ * @name google.protobuf.FieldOptions.CType
+ * @enum {number}
+ * @property {number} STRING=0 STRING value
+ * @property {number} CORD=1 CORD value
+ * @property {number} STRING_PIECE=2 STRING_PIECE value
+ */
+ FieldOptions.CType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "STRING"] = 0;
+ values[valuesById[1] = "CORD"] = 1;
+ values[valuesById[2] = "STRING_PIECE"] = 2;
+ return values;
+ })();
+
+ /**
+ * JSType enum.
+ * @name google.protobuf.FieldOptions.JSType
+ * @enum {number}
+ * @property {number} JS_NORMAL=0 JS_NORMAL value
+ * @property {number} JS_STRING=1 JS_STRING value
+ * @property {number} JS_NUMBER=2 JS_NUMBER value
+ */
+ FieldOptions.JSType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "JS_NORMAL"] = 0;
+ values[valuesById[1] = "JS_STRING"] = 1;
+ values[valuesById[2] = "JS_NUMBER"] = 2;
+ return values;
+ })();
+
+ /**
+ * OptionRetention enum.
+ * @name google.protobuf.FieldOptions.OptionRetention
+ * @enum {number}
+ * @property {number} RETENTION_UNKNOWN=0 RETENTION_UNKNOWN value
+ * @property {number} RETENTION_RUNTIME=1 RETENTION_RUNTIME value
+ * @property {number} RETENTION_SOURCE=2 RETENTION_SOURCE value
+ */
+ FieldOptions.OptionRetention = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "RETENTION_UNKNOWN"] = 0;
+ values[valuesById[1] = "RETENTION_RUNTIME"] = 1;
+ values[valuesById[2] = "RETENTION_SOURCE"] = 2;
+ return values;
+ })();
+
+ /**
+ * OptionTargetType enum.
+ * @name google.protobuf.FieldOptions.OptionTargetType
+ * @enum {number}
+ * @property {number} TARGET_TYPE_UNKNOWN=0 TARGET_TYPE_UNKNOWN value
+ * @property {number} TARGET_TYPE_FILE=1 TARGET_TYPE_FILE value
+ * @property {number} TARGET_TYPE_EXTENSION_RANGE=2 TARGET_TYPE_EXTENSION_RANGE value
+ * @property {number} TARGET_TYPE_MESSAGE=3 TARGET_TYPE_MESSAGE value
+ * @property {number} TARGET_TYPE_FIELD=4 TARGET_TYPE_FIELD value
+ * @property {number} TARGET_TYPE_ONEOF=5 TARGET_TYPE_ONEOF value
+ * @property {number} TARGET_TYPE_ENUM=6 TARGET_TYPE_ENUM value
+ * @property {number} TARGET_TYPE_ENUM_ENTRY=7 TARGET_TYPE_ENUM_ENTRY value
+ * @property {number} TARGET_TYPE_SERVICE=8 TARGET_TYPE_SERVICE value
+ * @property {number} TARGET_TYPE_METHOD=9 TARGET_TYPE_METHOD value
+ */
+ FieldOptions.OptionTargetType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "TARGET_TYPE_UNKNOWN"] = 0;
+ values[valuesById[1] = "TARGET_TYPE_FILE"] = 1;
+ values[valuesById[2] = "TARGET_TYPE_EXTENSION_RANGE"] = 2;
+ values[valuesById[3] = "TARGET_TYPE_MESSAGE"] = 3;
+ values[valuesById[4] = "TARGET_TYPE_FIELD"] = 4;
+ values[valuesById[5] = "TARGET_TYPE_ONEOF"] = 5;
+ values[valuesById[6] = "TARGET_TYPE_ENUM"] = 6;
+ values[valuesById[7] = "TARGET_TYPE_ENUM_ENTRY"] = 7;
+ values[valuesById[8] = "TARGET_TYPE_SERVICE"] = 8;
+ values[valuesById[9] = "TARGET_TYPE_METHOD"] = 9;
+ return values;
+ })();
+
+ FieldOptions.EditionDefault = (function() {
+
+ /**
+ * Properties of an EditionDefault.
+ * @memberof google.protobuf.FieldOptions
+ * @interface IEditionDefault
+ * @property {google.protobuf.Edition|null} [edition] EditionDefault edition
+ * @property {string|null} [value] EditionDefault value
+ */
+
+ /**
+ * Constructs a new EditionDefault.
+ * @memberof google.protobuf.FieldOptions
+ * @classdesc Represents an EditionDefault.
+ * @implements IEditionDefault
+ * @constructor
+ * @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set
+ */
+ function EditionDefault(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]];
+ }
+
+ /**
+ * EditionDefault edition.
+ * @member {google.protobuf.Edition} edition
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @instance
+ */
+ EditionDefault.prototype.edition = 0;
+
+ /**
+ * EditionDefault value.
+ * @member {string} value
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @instance
+ */
+ EditionDefault.prototype.value = "";
+
+ /**
+ * Creates a new EditionDefault instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @static
+ * @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set
+ * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault instance
+ */
+ EditionDefault.create = function create(properties) {
+ return new EditionDefault(properties);
+ };
+
+ /**
+ * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @static
+ * @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EditionDefault.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.value);
+ if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @static
+ * @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EditionDefault.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an EditionDefault message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EditionDefault.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.protobuf.FieldOptions.EditionDefault();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 3: {
+ message.edition = reader.int32();
+ break;
+ }
+ case 2: {
+ message.value = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an EditionDefault message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EditionDefault.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an EditionDefault message.
+ * @function verify
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ EditionDefault.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.edition != null && message.hasOwnProperty("edition"))
+ switch (message.edition) {
+ default:
+ return "edition: enum value expected";
+ case 0:
+ case 998:
+ case 999:
+ case 1000:
+ case 1001:
+ case 1:
+ case 2:
+ case 99997:
+ case 99998:
+ case 99999:
+ case 2147483647:
+ break;
+ }
+ if (message.value != null && message.hasOwnProperty("value"))
+ if (!$util.isString(message.value))
+ return "value: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault
+ */
+ EditionDefault.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.FieldOptions.EditionDefault)
+ return object;
+ var message = new $root.google.protobuf.FieldOptions.EditionDefault();
+ switch (object.edition) {
+ default:
+ if (typeof object.edition === "number") {
+ message.edition = object.edition;
+ break;
+ }
+ break;
+ case "EDITION_UNKNOWN":
+ case 0:
+ message.edition = 0;
+ break;
+ case "EDITION_PROTO2":
+ case 998:
+ message.edition = 998;
+ break;
+ case "EDITION_PROTO3":
+ case 999:
+ message.edition = 999;
+ break;
+ case "EDITION_2023":
+ case 1000:
+ message.edition = 1000;
+ break;
+ case "EDITION_2024":
+ case 1001:
+ message.edition = 1001;
+ break;
+ case "EDITION_1_TEST_ONLY":
+ case 1:
+ message.edition = 1;
+ break;
+ case "EDITION_2_TEST_ONLY":
+ case 2:
+ message.edition = 2;
+ break;
+ case "EDITION_99997_TEST_ONLY":
+ case 99997:
+ message.edition = 99997;
+ break;
+ case "EDITION_99998_TEST_ONLY":
+ case 99998:
+ message.edition = 99998;
+ break;
+ case "EDITION_99999_TEST_ONLY":
+ case 99999:
+ message.edition = 99999;
+ break;
+ case "EDITION_MAX":
+ case 2147483647:
+ message.edition = 2147483647;
+ break;
+ }
+ if (object.value != null)
+ message.value = String(object.value);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @static
+ * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ EditionDefault.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.value = "";
+ object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
+ }
+ if (message.value != null && message.hasOwnProperty("value"))
+ object.value = message.value;
+ if (message.edition != null && message.hasOwnProperty("edition"))
+ object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
+ return object;
+ };
+
+ /**
+ * Converts this EditionDefault to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ EditionDefault.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for EditionDefault
+ * @function getTypeUrl
+ * @memberof google.protobuf.FieldOptions.EditionDefault
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
+ };
+
+ return EditionDefault;
+ })();
+
+ return FieldOptions;
+ })();
+
+ protobuf.OneofOptions = (function() {
+
+ /**
+ * Properties of an OneofOptions.
+ * @memberof google.protobuf
+ * @interface IOneofOptions
+ * @property {google.protobuf.IFeatureSet|null} [features] OneofOptions features
+ * @property {Array.|null} [uninterpretedOption] OneofOptions uninterpretedOption
+ */
+
+ /**
+ * Constructs a new OneofOptions.
+ * @memberof google.protobuf
+ * @classdesc Represents an OneofOptions.
+ * @implements IOneofOptions
+ * @constructor
+ * @param {google.protobuf.IOneofOptions=} [properties] Properties to set
+ */
+ function OneofOptions(properties) {
+ this.uninterpretedOption = [];
+ 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]];
+ }
+
+ /**
+ * OneofOptions features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.OneofOptions
+ * @instance
+ */
+ OneofOptions.prototype.features = null;
+
+ /**
+ * OneofOptions uninterpretedOption.
+ * @member {Array.} uninterpretedOption
+ * @memberof google.protobuf.OneofOptions
+ * @instance
+ */
+ OneofOptions.prototype.uninterpretedOption = $util.emptyArray;
+
+ /**
+ * Creates a new OneofOptions instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.OneofOptions
+ * @static
+ * @param {google.protobuf.IOneofOptions=} [properties] Properties to set
+ * @returns {google.protobuf.OneofOptions} OneofOptions instance
+ */
+ OneofOptions.create = function create(properties) {
+ return new OneofOptions(properties);
+ };
+
+ /**
+ * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.OneofOptions
+ * @static
+ * @param {google.protobuf.IOneofOptions} message OneofOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OneofOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.uninterpretedOption != null && message.uninterpretedOption.length)
+ for (var i = 0; i < message.uninterpretedOption.length; ++i)
+ $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.OneofOptions
+ * @static
+ * @param {google.protobuf.IOneofOptions} message OneofOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OneofOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.OneofOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.OneofOptions} OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OneofOptions.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.protobuf.OneofOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ case 999: {
+ if (!(message.uninterpretedOption && message.uninterpretedOption.length))
+ message.uninterpretedOption = [];
+ message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.OneofOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.OneofOptions} OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OneofOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an OneofOptions message.
+ * @function verify
+ * @memberof google.protobuf.OneofOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ OneofOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
+ if (!Array.isArray(message.uninterpretedOption))
+ return "uninterpretedOption: array expected";
+ for (var i = 0; i < message.uninterpretedOption.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]);
+ if (error)
+ return "uninterpretedOption." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.OneofOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.OneofOptions} OneofOptions
+ */
+ OneofOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.OneofOptions)
+ return object;
+ var message = new $root.google.protobuf.OneofOptions();
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.OneofOptions.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ if (object.uninterpretedOption) {
+ if (!Array.isArray(object.uninterpretedOption))
+ throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: array expected");
+ message.uninterpretedOption = [];
+ for (var i = 0; i < object.uninterpretedOption.length; ++i) {
+ if (typeof object.uninterpretedOption[i] !== "object")
+ throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: object expected");
+ message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.OneofOptions
+ * @static
+ * @param {google.protobuf.OneofOptions} message OneofOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ OneofOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.uninterpretedOption = [];
+ if (options.defaults)
+ object.features = null;
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.uninterpretedOption && message.uninterpretedOption.length) {
+ object.uninterpretedOption = [];
+ for (var j = 0; j < message.uninterpretedOption.length; ++j)
+ object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this OneofOptions to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.OneofOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ OneofOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for OneofOptions
+ * @function getTypeUrl
+ * @memberof google.protobuf.OneofOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ OneofOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.OneofOptions";
+ };
+
+ return OneofOptions;
+ })();
+
+ protobuf.EnumOptions = (function() {
+
+ /**
+ * Properties of an EnumOptions.
+ * @memberof google.protobuf
+ * @interface IEnumOptions
+ * @property {boolean|null} [allowAlias] EnumOptions allowAlias
+ * @property {boolean|null} [deprecated] EnumOptions deprecated
+ * @property {boolean|null} [deprecatedLegacyJsonFieldConflicts] EnumOptions deprecatedLegacyJsonFieldConflicts
+ * @property {google.protobuf.IFeatureSet|null} [features] EnumOptions features
+ * @property {Array.|null} [uninterpretedOption] EnumOptions uninterpretedOption
+ */
+
+ /**
+ * Constructs a new EnumOptions.
+ * @memberof google.protobuf
+ * @classdesc Represents an EnumOptions.
+ * @implements IEnumOptions
+ * @constructor
+ * @param {google.protobuf.IEnumOptions=} [properties] Properties to set
+ */
+ function EnumOptions(properties) {
+ this.uninterpretedOption = [];
+ 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]];
+ }
+
+ /**
+ * EnumOptions allowAlias.
+ * @member {boolean} allowAlias
+ * @memberof google.protobuf.EnumOptions
+ * @instance
+ */
+ EnumOptions.prototype.allowAlias = false;
+
+ /**
+ * EnumOptions deprecated.
+ * @member {boolean} deprecated
+ * @memberof google.protobuf.EnumOptions
+ * @instance
+ */
+ EnumOptions.prototype.deprecated = false;
+
+ /**
+ * EnumOptions deprecatedLegacyJsonFieldConflicts.
+ * @member {boolean} deprecatedLegacyJsonFieldConflicts
+ * @memberof google.protobuf.EnumOptions
+ * @instance
+ */
+ EnumOptions.prototype.deprecatedLegacyJsonFieldConflicts = false;
+
+ /**
+ * EnumOptions features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.EnumOptions
+ * @instance
+ */
+ EnumOptions.prototype.features = null;
+
+ /**
+ * EnumOptions uninterpretedOption.
+ * @member {Array.} uninterpretedOption
+ * @memberof google.protobuf.EnumOptions
+ * @instance
+ */
+ EnumOptions.prototype.uninterpretedOption = $util.emptyArray;
+
+ /**
+ * Creates a new EnumOptions instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.EnumOptions
+ * @static
+ * @param {google.protobuf.IEnumOptions=} [properties] Properties to set
+ * @returns {google.protobuf.EnumOptions} EnumOptions instance
+ */
+ EnumOptions.create = function create(properties) {
+ return new EnumOptions(properties);
+ };
+
+ /**
+ * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.EnumOptions
+ * @static
+ * @param {google.protobuf.IEnumOptions} message EnumOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.allowAlias != null && Object.hasOwnProperty.call(message, "allowAlias"))
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.allowAlias);
+ if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.deprecated);
+ if (message.deprecatedLegacyJsonFieldConflicts != null && Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts"))
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.deprecatedLegacyJsonFieldConflicts);
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.uninterpretedOption != null && message.uninterpretedOption.length)
+ for (var i = 0; i < message.uninterpretedOption.length; ++i)
+ $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.EnumOptions
+ * @static
+ * @param {google.protobuf.IEnumOptions} message EnumOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.EnumOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.EnumOptions} EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumOptions.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.protobuf.EnumOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 2: {
+ message.allowAlias = reader.bool();
+ break;
+ }
+ case 3: {
+ message.deprecated = reader.bool();
+ break;
+ }
+ case 6: {
+ message.deprecatedLegacyJsonFieldConflicts = reader.bool();
+ break;
+ }
+ case 7: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ case 999: {
+ if (!(message.uninterpretedOption && message.uninterpretedOption.length))
+ message.uninterpretedOption = [];
+ message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.EnumOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.EnumOptions} EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an EnumOptions message.
+ * @function verify
+ * @memberof google.protobuf.EnumOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ EnumOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.allowAlias != null && message.hasOwnProperty("allowAlias"))
+ if (typeof message.allowAlias !== "boolean")
+ return "allowAlias: boolean expected";
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ if (typeof message.deprecated !== "boolean")
+ return "deprecated: boolean expected";
+ if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
+ if (typeof message.deprecatedLegacyJsonFieldConflicts !== "boolean")
+ return "deprecatedLegacyJsonFieldConflicts: boolean expected";
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
+ if (!Array.isArray(message.uninterpretedOption))
+ return "uninterpretedOption: array expected";
+ for (var i = 0; i < message.uninterpretedOption.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]);
+ if (error)
+ return "uninterpretedOption." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.EnumOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.EnumOptions} EnumOptions
+ */
+ EnumOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.EnumOptions)
+ return object;
+ var message = new $root.google.protobuf.EnumOptions();
+ if (object.allowAlias != null)
+ message.allowAlias = Boolean(object.allowAlias);
+ if (object.deprecated != null)
+ message.deprecated = Boolean(object.deprecated);
+ if (object.deprecatedLegacyJsonFieldConflicts != null)
+ message.deprecatedLegacyJsonFieldConflicts = Boolean(object.deprecatedLegacyJsonFieldConflicts);
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.EnumOptions.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ if (object.uninterpretedOption) {
+ if (!Array.isArray(object.uninterpretedOption))
+ throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: array expected");
+ message.uninterpretedOption = [];
+ for (var i = 0; i < object.uninterpretedOption.length; ++i) {
+ if (typeof object.uninterpretedOption[i] !== "object")
+ throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: object expected");
+ message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.EnumOptions
+ * @static
+ * @param {google.protobuf.EnumOptions} message EnumOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ EnumOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.uninterpretedOption = [];
+ if (options.defaults) {
+ object.allowAlias = false;
+ object.deprecated = false;
+ object.deprecatedLegacyJsonFieldConflicts = false;
+ object.features = null;
+ }
+ if (message.allowAlias != null && message.hasOwnProperty("allowAlias"))
+ object.allowAlias = message.allowAlias;
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ object.deprecated = message.deprecated;
+ if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
+ object.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts;
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.uninterpretedOption && message.uninterpretedOption.length) {
+ object.uninterpretedOption = [];
+ for (var j = 0; j < message.uninterpretedOption.length; ++j)
+ object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this EnumOptions to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.EnumOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ EnumOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for EnumOptions
+ * @function getTypeUrl
+ * @memberof google.protobuf.EnumOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ EnumOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.EnumOptions";
+ };
+
+ return EnumOptions;
+ })();
+
+ protobuf.EnumValueOptions = (function() {
+
+ /**
+ * Properties of an EnumValueOptions.
+ * @memberof google.protobuf
+ * @interface IEnumValueOptions
+ * @property {boolean|null} [deprecated] EnumValueOptions deprecated
+ * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
+ * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
+ * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
+ */
+
+ /**
+ * Constructs a new EnumValueOptions.
+ * @memberof google.protobuf
+ * @classdesc Represents an EnumValueOptions.
+ * @implements IEnumValueOptions
+ * @constructor
+ * @param {google.protobuf.IEnumValueOptions=} [properties] Properties to set
+ */
+ function EnumValueOptions(properties) {
+ this.uninterpretedOption = [];
+ 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]];
+ }
+
+ /**
+ * EnumValueOptions deprecated.
+ * @member {boolean} deprecated
+ * @memberof google.protobuf.EnumValueOptions
+ * @instance
+ */
+ EnumValueOptions.prototype.deprecated = false;
+
+ /**
+ * EnumValueOptions features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.EnumValueOptions
+ * @instance
+ */
+ EnumValueOptions.prototype.features = null;
+
+ /**
+ * EnumValueOptions debugRedact.
+ * @member {boolean} debugRedact
+ * @memberof google.protobuf.EnumValueOptions
+ * @instance
+ */
+ EnumValueOptions.prototype.debugRedact = false;
+
+ /**
+ * EnumValueOptions uninterpretedOption.
+ * @member {Array.} uninterpretedOption
+ * @memberof google.protobuf.EnumValueOptions
+ * @instance
+ */
+ EnumValueOptions.prototype.uninterpretedOption = $util.emptyArray;
+
+ /**
+ * Creates a new EnumValueOptions instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.EnumValueOptions
+ * @static
+ * @param {google.protobuf.IEnumValueOptions=} [properties] Properties to set
+ * @returns {google.protobuf.EnumValueOptions} EnumValueOptions instance
+ */
+ EnumValueOptions.create = function create(properties) {
+ return new EnumValueOptions(properties);
+ };
+
+ /**
+ * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.EnumValueOptions
+ * @static
+ * @param {google.protobuf.IEnumValueOptions} message EnumValueOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumValueOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.deprecated);
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
+ if (message.uninterpretedOption != null && message.uninterpretedOption.length)
+ for (var i = 0; i < message.uninterpretedOption.length; ++i)
+ $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.EnumValueOptions
+ * @static
+ * @param {google.protobuf.IEnumValueOptions} message EnumValueOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ EnumValueOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.EnumValueOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.EnumValueOptions} EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumValueOptions.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.protobuf.EnumValueOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.deprecated = reader.bool();
+ break;
+ }
+ case 2: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.debugRedact = reader.bool();
+ break;
+ }
+ case 999: {
+ if (!(message.uninterpretedOption && message.uninterpretedOption.length))
+ message.uninterpretedOption = [];
+ message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.EnumValueOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.EnumValueOptions} EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ EnumValueOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an EnumValueOptions message.
+ * @function verify
+ * @memberof google.protobuf.EnumValueOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ EnumValueOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ if (typeof message.deprecated !== "boolean")
+ return "deprecated: boolean expected";
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
+ if (typeof message.debugRedact !== "boolean")
+ return "debugRedact: boolean expected";
+ if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
+ if (!Array.isArray(message.uninterpretedOption))
+ return "uninterpretedOption: array expected";
+ for (var i = 0; i < message.uninterpretedOption.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]);
+ if (error)
+ return "uninterpretedOption." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.EnumValueOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.EnumValueOptions} EnumValueOptions
+ */
+ EnumValueOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.EnumValueOptions)
+ return object;
+ var message = new $root.google.protobuf.EnumValueOptions();
+ if (object.deprecated != null)
+ message.deprecated = Boolean(object.deprecated);
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.EnumValueOptions.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ if (object.debugRedact != null)
+ message.debugRedact = Boolean(object.debugRedact);
+ if (object.uninterpretedOption) {
+ if (!Array.isArray(object.uninterpretedOption))
+ throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
+ message.uninterpretedOption = [];
+ for (var i = 0; i < object.uninterpretedOption.length; ++i) {
+ if (typeof object.uninterpretedOption[i] !== "object")
+ throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: object expected");
+ message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.EnumValueOptions
+ * @static
+ * @param {google.protobuf.EnumValueOptions} message EnumValueOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ EnumValueOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.uninterpretedOption = [];
+ if (options.defaults) {
+ object.deprecated = false;
+ object.features = null;
+ object.debugRedact = false;
+ }
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ object.deprecated = message.deprecated;
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
+ object.debugRedact = message.debugRedact;
+ if (message.uninterpretedOption && message.uninterpretedOption.length) {
+ object.uninterpretedOption = [];
+ for (var j = 0; j < message.uninterpretedOption.length; ++j)
+ object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this EnumValueOptions to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.EnumValueOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ EnumValueOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for EnumValueOptions
+ * @function getTypeUrl
+ * @memberof google.protobuf.EnumValueOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ EnumValueOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.EnumValueOptions";
+ };
+
+ return EnumValueOptions;
+ })();
+
+ protobuf.ServiceOptions = (function() {
+
+ /**
+ * Properties of a ServiceOptions.
+ * @memberof google.protobuf
+ * @interface IServiceOptions
+ * @property {google.protobuf.IFeatureSet|null} [features] ServiceOptions features
+ * @property {boolean|null} [deprecated] ServiceOptions deprecated
+ * @property {Array.|null} [uninterpretedOption] ServiceOptions uninterpretedOption
+ * @property {string|null} [".google.api.defaultHost"] ServiceOptions .google.api.defaultHost
+ * @property {string|null} [".google.api.oauthScopes"] ServiceOptions .google.api.oauthScopes
+ * @property {string|null} [".google.api.apiVersion"] ServiceOptions .google.api.apiVersion
+ */
+
+ /**
+ * Constructs a new ServiceOptions.
+ * @memberof google.protobuf
+ * @classdesc Represents a ServiceOptions.
+ * @implements IServiceOptions
+ * @constructor
+ * @param {google.protobuf.IServiceOptions=} [properties] Properties to set
+ */
+ function ServiceOptions(properties) {
+ this.uninterpretedOption = [];
+ 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]];
+ }
+
+ /**
+ * ServiceOptions features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.ServiceOptions
+ * @instance
+ */
+ ServiceOptions.prototype.features = null;
+
+ /**
+ * ServiceOptions deprecated.
+ * @member {boolean} deprecated
+ * @memberof google.protobuf.ServiceOptions
+ * @instance
+ */
+ ServiceOptions.prototype.deprecated = false;
+
+ /**
+ * ServiceOptions uninterpretedOption.
+ * @member {Array.} uninterpretedOption
+ * @memberof google.protobuf.ServiceOptions
+ * @instance
+ */
+ ServiceOptions.prototype.uninterpretedOption = $util.emptyArray;
+
+ /**
+ * ServiceOptions .google.api.defaultHost.
+ * @member {string} .google.api.defaultHost
+ * @memberof google.protobuf.ServiceOptions
+ * @instance
+ */
+ ServiceOptions.prototype[".google.api.defaultHost"] = "";
+
+ /**
+ * ServiceOptions .google.api.oauthScopes.
+ * @member {string} .google.api.oauthScopes
+ * @memberof google.protobuf.ServiceOptions
+ * @instance
+ */
+ ServiceOptions.prototype[".google.api.oauthScopes"] = "";
+
+ /**
+ * ServiceOptions .google.api.apiVersion.
+ * @member {string} .google.api.apiVersion
+ * @memberof google.protobuf.ServiceOptions
+ * @instance
+ */
+ ServiceOptions.prototype[".google.api.apiVersion"] = "";
+
+ /**
+ * Creates a new ServiceOptions instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.ServiceOptions
+ * @static
+ * @param {google.protobuf.IServiceOptions=} [properties] Properties to set
+ * @returns {google.protobuf.ServiceOptions} ServiceOptions instance
+ */
+ ServiceOptions.create = function create(properties) {
+ return new ServiceOptions(properties);
+ };
+
+ /**
+ * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.ServiceOptions
+ * @static
+ * @param {google.protobuf.IServiceOptions} message ServiceOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ServiceOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
+ writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated);
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 34, wireType 2 =*/274).fork()).ldelim();
+ if (message.uninterpretedOption != null && message.uninterpretedOption.length)
+ for (var i = 0; i < message.uninterpretedOption.length; ++i)
+ $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
+ if (message[".google.api.defaultHost"] != null && Object.hasOwnProperty.call(message, ".google.api.defaultHost"))
+ writer.uint32(/* id 1049, wireType 2 =*/8394).string(message[".google.api.defaultHost"]);
+ if (message[".google.api.oauthScopes"] != null && Object.hasOwnProperty.call(message, ".google.api.oauthScopes"))
+ writer.uint32(/* id 1050, wireType 2 =*/8402).string(message[".google.api.oauthScopes"]);
+ if (message[".google.api.apiVersion"] != null && Object.hasOwnProperty.call(message, ".google.api.apiVersion"))
+ writer.uint32(/* id 525000001, wireType 2 =*/4200000010).string(message[".google.api.apiVersion"]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.ServiceOptions
+ * @static
+ * @param {google.protobuf.IServiceOptions} message ServiceOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ServiceOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.ServiceOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.ServiceOptions} ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ServiceOptions.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.protobuf.ServiceOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 34: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ case 33: {
+ message.deprecated = reader.bool();
+ break;
+ }
+ case 999: {
+ if (!(message.uninterpretedOption && message.uninterpretedOption.length))
+ message.uninterpretedOption = [];
+ message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
+ break;
+ }
+ case 1049: {
+ message[".google.api.defaultHost"] = reader.string();
+ break;
+ }
+ case 1050: {
+ message[".google.api.oauthScopes"] = reader.string();
+ break;
+ }
+ case 525000001: {
+ message[".google.api.apiVersion"] = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.ServiceOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.ServiceOptions} ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ServiceOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ServiceOptions message.
+ * @function verify
+ * @memberof google.protobuf.ServiceOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ServiceOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ if (typeof message.deprecated !== "boolean")
+ return "deprecated: boolean expected";
+ if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
+ if (!Array.isArray(message.uninterpretedOption))
+ return "uninterpretedOption: array expected";
+ for (var i = 0; i < message.uninterpretedOption.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]);
+ if (error)
+ return "uninterpretedOption." + error;
+ }
+ }
+ if (message[".google.api.defaultHost"] != null && message.hasOwnProperty(".google.api.defaultHost"))
+ if (!$util.isString(message[".google.api.defaultHost"]))
+ return ".google.api.defaultHost: string expected";
+ if (message[".google.api.oauthScopes"] != null && message.hasOwnProperty(".google.api.oauthScopes"))
+ if (!$util.isString(message[".google.api.oauthScopes"]))
+ return ".google.api.oauthScopes: string expected";
+ if (message[".google.api.apiVersion"] != null && message.hasOwnProperty(".google.api.apiVersion"))
+ if (!$util.isString(message[".google.api.apiVersion"]))
+ return ".google.api.apiVersion: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.ServiceOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.ServiceOptions} ServiceOptions
+ */
+ ServiceOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.ServiceOptions)
+ return object;
+ var message = new $root.google.protobuf.ServiceOptions();
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.ServiceOptions.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ if (object.deprecated != null)
+ message.deprecated = Boolean(object.deprecated);
+ if (object.uninterpretedOption) {
+ if (!Array.isArray(object.uninterpretedOption))
+ throw TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: array expected");
+ message.uninterpretedOption = [];
+ for (var i = 0; i < object.uninterpretedOption.length; ++i) {
+ if (typeof object.uninterpretedOption[i] !== "object")
+ throw TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: object expected");
+ message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
+ }
+ }
+ if (object[".google.api.defaultHost"] != null)
+ message[".google.api.defaultHost"] = String(object[".google.api.defaultHost"]);
+ if (object[".google.api.oauthScopes"] != null)
+ message[".google.api.oauthScopes"] = String(object[".google.api.oauthScopes"]);
+ if (object[".google.api.apiVersion"] != null)
+ message[".google.api.apiVersion"] = String(object[".google.api.apiVersion"]);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.ServiceOptions
+ * @static
+ * @param {google.protobuf.ServiceOptions} message ServiceOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ServiceOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.uninterpretedOption = [];
+ if (options.defaults) {
+ object.deprecated = false;
+ object.features = null;
+ object[".google.api.defaultHost"] = "";
+ object[".google.api.oauthScopes"] = "";
+ object[".google.api.apiVersion"] = "";
+ }
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ object.deprecated = message.deprecated;
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.uninterpretedOption && message.uninterpretedOption.length) {
+ object.uninterpretedOption = [];
+ for (var j = 0; j < message.uninterpretedOption.length; ++j)
+ object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options);
+ }
+ if (message[".google.api.defaultHost"] != null && message.hasOwnProperty(".google.api.defaultHost"))
+ object[".google.api.defaultHost"] = message[".google.api.defaultHost"];
+ if (message[".google.api.oauthScopes"] != null && message.hasOwnProperty(".google.api.oauthScopes"))
+ object[".google.api.oauthScopes"] = message[".google.api.oauthScopes"];
+ if (message[".google.api.apiVersion"] != null && message.hasOwnProperty(".google.api.apiVersion"))
+ object[".google.api.apiVersion"] = message[".google.api.apiVersion"];
+ return object;
+ };
+
+ /**
+ * Converts this ServiceOptions to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.ServiceOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ServiceOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ServiceOptions
+ * @function getTypeUrl
+ * @memberof google.protobuf.ServiceOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ServiceOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.ServiceOptions";
+ };
+
+ return ServiceOptions;
+ })();
+
+ protobuf.MethodOptions = (function() {
+
+ /**
+ * Properties of a MethodOptions.
+ * @memberof google.protobuf
+ * @interface IMethodOptions
+ * @property {boolean|null} [deprecated] MethodOptions deprecated
+ * @property {google.protobuf.MethodOptions.IdempotencyLevel|null} [idempotencyLevel] MethodOptions idempotencyLevel
+ * @property {google.protobuf.IFeatureSet|null} [features] MethodOptions features
+ * @property {Array.|null} [uninterpretedOption] MethodOptions uninterpretedOption
+ * @property {google.api.IHttpRule|null} [".google.api.http"] MethodOptions .google.api.http
+ * @property {Array.|null} [".google.api.methodSignature"] MethodOptions .google.api.methodSignature
+ * @property {google.longrunning.IOperationInfo|null} [".google.longrunning.operationInfo"] MethodOptions .google.longrunning.operationInfo
+ */
+
+ /**
+ * Constructs a new MethodOptions.
+ * @memberof google.protobuf
+ * @classdesc Represents a MethodOptions.
+ * @implements IMethodOptions
+ * @constructor
+ * @param {google.protobuf.IMethodOptions=} [properties] Properties to set
+ */
+ function MethodOptions(properties) {
+ this.uninterpretedOption = [];
+ this[".google.api.methodSignature"] = [];
+ 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]];
+ }
+
+ /**
+ * MethodOptions deprecated.
+ * @member {boolean} deprecated
+ * @memberof google.protobuf.MethodOptions
+ * @instance
+ */
+ MethodOptions.prototype.deprecated = false;
+
+ /**
+ * MethodOptions idempotencyLevel.
+ * @member {google.protobuf.MethodOptions.IdempotencyLevel} idempotencyLevel
+ * @memberof google.protobuf.MethodOptions
+ * @instance
+ */
+ MethodOptions.prototype.idempotencyLevel = 0;
+
+ /**
+ * MethodOptions features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.MethodOptions
+ * @instance
+ */
+ MethodOptions.prototype.features = null;
+
+ /**
+ * MethodOptions uninterpretedOption.
+ * @member {Array.} uninterpretedOption
+ * @memberof google.protobuf.MethodOptions
+ * @instance
+ */
+ MethodOptions.prototype.uninterpretedOption = $util.emptyArray;
+
+ /**
+ * MethodOptions .google.api.http.
+ * @member {google.api.IHttpRule|null|undefined} .google.api.http
+ * @memberof google.protobuf.MethodOptions
+ * @instance
+ */
+ MethodOptions.prototype[".google.api.http"] = null;
+
+ /**
+ * MethodOptions .google.api.methodSignature.
+ * @member {Array.} .google.api.methodSignature
+ * @memberof google.protobuf.MethodOptions
+ * @instance
+ */
+ MethodOptions.prototype[".google.api.methodSignature"] = $util.emptyArray;
+
+ /**
+ * MethodOptions .google.longrunning.operationInfo.
+ * @member {google.longrunning.IOperationInfo|null|undefined} .google.longrunning.operationInfo
+ * @memberof google.protobuf.MethodOptions
+ * @instance
+ */
+ MethodOptions.prototype[".google.longrunning.operationInfo"] = null;
+
+ /**
+ * Creates a new MethodOptions instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.MethodOptions
+ * @static
+ * @param {google.protobuf.IMethodOptions=} [properties] Properties to set
+ * @returns {google.protobuf.MethodOptions} MethodOptions instance
+ */
+ MethodOptions.create = function create(properties) {
+ return new MethodOptions(properties);
+ };
+
+ /**
+ * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.MethodOptions
+ * @static
+ * @param {google.protobuf.IMethodOptions} message MethodOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MethodOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
+ writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated);
+ if (message.idempotencyLevel != null && Object.hasOwnProperty.call(message, "idempotencyLevel"))
+ writer.uint32(/* id 34, wireType 0 =*/272).int32(message.idempotencyLevel);
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 35, wireType 2 =*/282).fork()).ldelim();
+ if (message.uninterpretedOption != null && message.uninterpretedOption.length)
+ for (var i = 0; i < message.uninterpretedOption.length; ++i)
+ $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
+ if (message[".google.longrunning.operationInfo"] != null && Object.hasOwnProperty.call(message, ".google.longrunning.operationInfo"))
+ $root.google.longrunning.OperationInfo.encode(message[".google.longrunning.operationInfo"], writer.uint32(/* id 1049, wireType 2 =*/8394).fork()).ldelim();
+ if (message[".google.api.methodSignature"] != null && message[".google.api.methodSignature"].length)
+ for (var i = 0; i < message[".google.api.methodSignature"].length; ++i)
+ writer.uint32(/* id 1051, wireType 2 =*/8410).string(message[".google.api.methodSignature"][i]);
+ if (message[".google.api.http"] != null && Object.hasOwnProperty.call(message, ".google.api.http"))
+ $root.google.api.HttpRule.encode(message[".google.api.http"], writer.uint32(/* id 72295728, wireType 2 =*/578365826).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.MethodOptions
+ * @static
+ * @param {google.protobuf.IMethodOptions} message MethodOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MethodOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.MethodOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.MethodOptions} MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MethodOptions.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.protobuf.MethodOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 33: {
+ message.deprecated = reader.bool();
+ break;
+ }
+ case 34: {
+ message.idempotencyLevel = reader.int32();
+ break;
+ }
+ case 35: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ case 999: {
+ if (!(message.uninterpretedOption && message.uninterpretedOption.length))
+ message.uninterpretedOption = [];
+ message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
+ break;
+ }
+ case 72295728: {
+ message[".google.api.http"] = $root.google.api.HttpRule.decode(reader, reader.uint32());
+ break;
+ }
+ case 1051: {
+ if (!(message[".google.api.methodSignature"] && message[".google.api.methodSignature"].length))
+ message[".google.api.methodSignature"] = [];
+ message[".google.api.methodSignature"].push(reader.string());
+ break;
+ }
+ case 1049: {
+ message[".google.longrunning.operationInfo"] = $root.google.longrunning.OperationInfo.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.MethodOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.MethodOptions} MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MethodOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a MethodOptions message.
+ * @function verify
+ * @memberof google.protobuf.MethodOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ MethodOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ if (typeof message.deprecated !== "boolean")
+ return "deprecated: boolean expected";
+ if (message.idempotencyLevel != null && message.hasOwnProperty("idempotencyLevel"))
+ switch (message.idempotencyLevel) {
+ default:
+ return "idempotencyLevel: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
+ if (!Array.isArray(message.uninterpretedOption))
+ return "uninterpretedOption: array expected";
+ for (var i = 0; i < message.uninterpretedOption.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]);
+ if (error)
+ return "uninterpretedOption." + error;
+ }
+ }
+ if (message[".google.api.http"] != null && message.hasOwnProperty(".google.api.http")) {
+ var error = $root.google.api.HttpRule.verify(message[".google.api.http"]);
+ if (error)
+ return ".google.api.http." + error;
+ }
+ if (message[".google.api.methodSignature"] != null && message.hasOwnProperty(".google.api.methodSignature")) {
+ if (!Array.isArray(message[".google.api.methodSignature"]))
+ return ".google.api.methodSignature: array expected";
+ for (var i = 0; i < message[".google.api.methodSignature"].length; ++i)
+ if (!$util.isString(message[".google.api.methodSignature"][i]))
+ return ".google.api.methodSignature: string[] expected";
+ }
+ if (message[".google.longrunning.operationInfo"] != null && message.hasOwnProperty(".google.longrunning.operationInfo")) {
+ var error = $root.google.longrunning.OperationInfo.verify(message[".google.longrunning.operationInfo"]);
+ if (error)
+ return ".google.longrunning.operationInfo." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.MethodOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.MethodOptions} MethodOptions
+ */
+ MethodOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.MethodOptions)
+ return object;
+ var message = new $root.google.protobuf.MethodOptions();
+ if (object.deprecated != null)
+ message.deprecated = Boolean(object.deprecated);
+ switch (object.idempotencyLevel) {
+ default:
+ if (typeof object.idempotencyLevel === "number") {
+ message.idempotencyLevel = object.idempotencyLevel;
+ break;
+ }
+ break;
+ case "IDEMPOTENCY_UNKNOWN":
+ case 0:
+ message.idempotencyLevel = 0;
+ break;
+ case "NO_SIDE_EFFECTS":
+ case 1:
+ message.idempotencyLevel = 1;
+ break;
+ case "IDEMPOTENT":
+ case 2:
+ message.idempotencyLevel = 2;
+ break;
+ }
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.MethodOptions.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ if (object.uninterpretedOption) {
+ if (!Array.isArray(object.uninterpretedOption))
+ throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: array expected");
+ message.uninterpretedOption = [];
+ for (var i = 0; i < object.uninterpretedOption.length; ++i) {
+ if (typeof object.uninterpretedOption[i] !== "object")
+ throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: object expected");
+ message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
+ }
+ }
+ if (object[".google.api.http"] != null) {
+ if (typeof object[".google.api.http"] !== "object")
+ throw TypeError(".google.protobuf.MethodOptions..google.api.http: object expected");
+ message[".google.api.http"] = $root.google.api.HttpRule.fromObject(object[".google.api.http"]);
+ }
+ if (object[".google.api.methodSignature"]) {
+ if (!Array.isArray(object[".google.api.methodSignature"]))
+ throw TypeError(".google.protobuf.MethodOptions..google.api.methodSignature: array expected");
+ message[".google.api.methodSignature"] = [];
+ for (var i = 0; i < object[".google.api.methodSignature"].length; ++i)
+ message[".google.api.methodSignature"][i] = String(object[".google.api.methodSignature"][i]);
+ }
+ if (object[".google.longrunning.operationInfo"] != null) {
+ if (typeof object[".google.longrunning.operationInfo"] !== "object")
+ throw TypeError(".google.protobuf.MethodOptions..google.longrunning.operationInfo: object expected");
+ message[".google.longrunning.operationInfo"] = $root.google.longrunning.OperationInfo.fromObject(object[".google.longrunning.operationInfo"]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.MethodOptions
+ * @static
+ * @param {google.protobuf.MethodOptions} message MethodOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ MethodOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.uninterpretedOption = [];
+ object[".google.api.methodSignature"] = [];
+ }
+ if (options.defaults) {
+ object.deprecated = false;
+ object.idempotencyLevel = options.enums === String ? "IDEMPOTENCY_UNKNOWN" : 0;
+ object.features = null;
+ object[".google.longrunning.operationInfo"] = null;
+ object[".google.api.http"] = null;
+ }
+ if (message.deprecated != null && message.hasOwnProperty("deprecated"))
+ object.deprecated = message.deprecated;
+ if (message.idempotencyLevel != null && message.hasOwnProperty("idempotencyLevel"))
+ object.idempotencyLevel = options.enums === String ? $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] === undefined ? message.idempotencyLevel : $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] : message.idempotencyLevel;
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.uninterpretedOption && message.uninterpretedOption.length) {
+ object.uninterpretedOption = [];
+ for (var j = 0; j < message.uninterpretedOption.length; ++j)
+ object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options);
+ }
+ if (message[".google.longrunning.operationInfo"] != null && message.hasOwnProperty(".google.longrunning.operationInfo"))
+ object[".google.longrunning.operationInfo"] = $root.google.longrunning.OperationInfo.toObject(message[".google.longrunning.operationInfo"], options);
+ if (message[".google.api.methodSignature"] && message[".google.api.methodSignature"].length) {
+ object[".google.api.methodSignature"] = [];
+ for (var j = 0; j < message[".google.api.methodSignature"].length; ++j)
+ object[".google.api.methodSignature"][j] = message[".google.api.methodSignature"][j];
+ }
+ if (message[".google.api.http"] != null && message.hasOwnProperty(".google.api.http"))
+ object[".google.api.http"] = $root.google.api.HttpRule.toObject(message[".google.api.http"], options);
+ return object;
+ };
+
+ /**
+ * Converts this MethodOptions to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.MethodOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ MethodOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for MethodOptions
+ * @function getTypeUrl
+ * @memberof google.protobuf.MethodOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ MethodOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.MethodOptions";
+ };
+
+ /**
+ * IdempotencyLevel enum.
+ * @name google.protobuf.MethodOptions.IdempotencyLevel
+ * @enum {number}
+ * @property {number} IDEMPOTENCY_UNKNOWN=0 IDEMPOTENCY_UNKNOWN value
+ * @property {number} NO_SIDE_EFFECTS=1 NO_SIDE_EFFECTS value
+ * @property {number} IDEMPOTENT=2 IDEMPOTENT value
+ */
+ MethodOptions.IdempotencyLevel = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "IDEMPOTENCY_UNKNOWN"] = 0;
+ values[valuesById[1] = "NO_SIDE_EFFECTS"] = 1;
+ values[valuesById[2] = "IDEMPOTENT"] = 2;
+ return values;
+ })();
+
+ return MethodOptions;
+ })();
+
+ protobuf.UninterpretedOption = (function() {
+
+ /**
+ * Properties of an UninterpretedOption.
+ * @memberof google.protobuf
+ * @interface IUninterpretedOption
+ * @property {Array.|null} [name] UninterpretedOption name
+ * @property {string|null} [identifierValue] UninterpretedOption identifierValue
+ * @property {number|Long|null} [positiveIntValue] UninterpretedOption positiveIntValue
+ * @property {number|Long|null} [negativeIntValue] UninterpretedOption negativeIntValue
+ * @property {number|null} [doubleValue] UninterpretedOption doubleValue
+ * @property {Uint8Array|null} [stringValue] UninterpretedOption stringValue
+ * @property {string|null} [aggregateValue] UninterpretedOption aggregateValue
+ */
+
+ /**
+ * Constructs a new UninterpretedOption.
+ * @memberof google.protobuf
+ * @classdesc Represents an UninterpretedOption.
+ * @implements IUninterpretedOption
+ * @constructor
+ * @param {google.protobuf.IUninterpretedOption=} [properties] Properties to set
+ */
+ function UninterpretedOption(properties) {
+ this.name = [];
+ 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]];
+ }
+
+ /**
+ * UninterpretedOption name.
+ * @member {Array.} name
+ * @memberof google.protobuf.UninterpretedOption
+ * @instance
+ */
+ UninterpretedOption.prototype.name = $util.emptyArray;
+
+ /**
+ * UninterpretedOption identifierValue.
+ * @member {string} identifierValue
+ * @memberof google.protobuf.UninterpretedOption
+ * @instance
+ */
+ UninterpretedOption.prototype.identifierValue = "";
+
+ /**
+ * UninterpretedOption positiveIntValue.
+ * @member {number|Long} positiveIntValue
+ * @memberof google.protobuf.UninterpretedOption
+ * @instance
+ */
+ UninterpretedOption.prototype.positiveIntValue = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
+
+ /**
+ * UninterpretedOption negativeIntValue.
+ * @member {number|Long} negativeIntValue
+ * @memberof google.protobuf.UninterpretedOption
+ * @instance
+ */
+ UninterpretedOption.prototype.negativeIntValue = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * UninterpretedOption doubleValue.
+ * @member {number} doubleValue
+ * @memberof google.protobuf.UninterpretedOption
+ * @instance
+ */
+ UninterpretedOption.prototype.doubleValue = 0;
+
+ /**
+ * UninterpretedOption stringValue.
+ * @member {Uint8Array} stringValue
+ * @memberof google.protobuf.UninterpretedOption
+ * @instance
+ */
+ UninterpretedOption.prototype.stringValue = $util.newBuffer([]);
+
+ /**
+ * UninterpretedOption aggregateValue.
+ * @member {string} aggregateValue
+ * @memberof google.protobuf.UninterpretedOption
+ * @instance
+ */
+ UninterpretedOption.prototype.aggregateValue = "";
+
+ /**
+ * Creates a new UninterpretedOption instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.UninterpretedOption
+ * @static
+ * @param {google.protobuf.IUninterpretedOption=} [properties] Properties to set
+ * @returns {google.protobuf.UninterpretedOption} UninterpretedOption instance
+ */
+ UninterpretedOption.create = function create(properties) {
+ return new UninterpretedOption(properties);
+ };
+
+ /**
+ * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.UninterpretedOption
+ * @static
+ * @param {google.protobuf.IUninterpretedOption} message UninterpretedOption message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UninterpretedOption.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && message.name.length)
+ for (var i = 0; i < message.name.length; ++i)
+ $root.google.protobuf.UninterpretedOption.NamePart.encode(message.name[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.identifierValue != null && Object.hasOwnProperty.call(message, "identifierValue"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.identifierValue);
+ if (message.positiveIntValue != null && Object.hasOwnProperty.call(message, "positiveIntValue"))
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.positiveIntValue);
+ if (message.negativeIntValue != null && Object.hasOwnProperty.call(message, "negativeIntValue"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int64(message.negativeIntValue);
+ if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue"))
+ writer.uint32(/* id 6, wireType 1 =*/49).double(message.doubleValue);
+ if (message.stringValue != null && Object.hasOwnProperty.call(message, "stringValue"))
+ writer.uint32(/* id 7, wireType 2 =*/58).bytes(message.stringValue);
+ if (message.aggregateValue != null && Object.hasOwnProperty.call(message, "aggregateValue"))
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.aggregateValue);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.UninterpretedOption
+ * @static
+ * @param {google.protobuf.IUninterpretedOption} message UninterpretedOption message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UninterpretedOption.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.UninterpretedOption
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.UninterpretedOption} UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UninterpretedOption.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.protobuf.UninterpretedOption();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 2: {
+ if (!(message.name && message.name.length))
+ message.name = [];
+ message.name.push($root.google.protobuf.UninterpretedOption.NamePart.decode(reader, reader.uint32()));
+ break;
+ }
+ case 3: {
+ message.identifierValue = reader.string();
+ break;
+ }
+ case 4: {
+ message.positiveIntValue = reader.uint64();
+ break;
+ }
+ case 5: {
+ message.negativeIntValue = reader.int64();
+ break;
+ }
+ case 6: {
+ message.doubleValue = reader.double();
+ break;
+ }
+ case 7: {
+ message.stringValue = reader.bytes();
+ break;
+ }
+ case 8: {
+ message.aggregateValue = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.UninterpretedOption
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.UninterpretedOption} UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UninterpretedOption.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UninterpretedOption message.
+ * @function verify
+ * @memberof google.protobuf.UninterpretedOption
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UninterpretedOption.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name")) {
+ if (!Array.isArray(message.name))
+ return "name: array expected";
+ for (var i = 0; i < message.name.length; ++i) {
+ var error = $root.google.protobuf.UninterpretedOption.NamePart.verify(message.name[i]);
+ if (error)
+ return "name." + error;
+ }
+ }
+ if (message.identifierValue != null && message.hasOwnProperty("identifierValue"))
+ if (!$util.isString(message.identifierValue))
+ return "identifierValue: string expected";
+ if (message.positiveIntValue != null && message.hasOwnProperty("positiveIntValue"))
+ if (!$util.isInteger(message.positiveIntValue) && !(message.positiveIntValue && $util.isInteger(message.positiveIntValue.low) && $util.isInteger(message.positiveIntValue.high)))
+ return "positiveIntValue: integer|Long expected";
+ if (message.negativeIntValue != null && message.hasOwnProperty("negativeIntValue"))
+ if (!$util.isInteger(message.negativeIntValue) && !(message.negativeIntValue && $util.isInteger(message.negativeIntValue.low) && $util.isInteger(message.negativeIntValue.high)))
+ return "negativeIntValue: integer|Long expected";
+ if (message.doubleValue != null && message.hasOwnProperty("doubleValue"))
+ if (typeof message.doubleValue !== "number")
+ return "doubleValue: number expected";
+ if (message.stringValue != null && message.hasOwnProperty("stringValue"))
+ if (!(message.stringValue && typeof message.stringValue.length === "number" || $util.isString(message.stringValue)))
+ return "stringValue: buffer expected";
+ if (message.aggregateValue != null && message.hasOwnProperty("aggregateValue"))
+ if (!$util.isString(message.aggregateValue))
+ return "aggregateValue: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.UninterpretedOption
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.UninterpretedOption} UninterpretedOption
+ */
+ UninterpretedOption.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.UninterpretedOption)
+ return object;
+ var message = new $root.google.protobuf.UninterpretedOption();
+ if (object.name) {
+ if (!Array.isArray(object.name))
+ throw TypeError(".google.protobuf.UninterpretedOption.name: array expected");
+ message.name = [];
+ for (var i = 0; i < object.name.length; ++i) {
+ if (typeof object.name[i] !== "object")
+ throw TypeError(".google.protobuf.UninterpretedOption.name: object expected");
+ message.name[i] = $root.google.protobuf.UninterpretedOption.NamePart.fromObject(object.name[i]);
+ }
+ }
+ if (object.identifierValue != null)
+ message.identifierValue = String(object.identifierValue);
+ if (object.positiveIntValue != null)
+ if ($util.Long)
+ (message.positiveIntValue = $util.Long.fromValue(object.positiveIntValue)).unsigned = true;
+ else if (typeof object.positiveIntValue === "string")
+ message.positiveIntValue = parseInt(object.positiveIntValue, 10);
+ else if (typeof object.positiveIntValue === "number")
+ message.positiveIntValue = object.positiveIntValue;
+ else if (typeof object.positiveIntValue === "object")
+ message.positiveIntValue = new $util.LongBits(object.positiveIntValue.low >>> 0, object.positiveIntValue.high >>> 0).toNumber(true);
+ if (object.negativeIntValue != null)
+ if ($util.Long)
+ (message.negativeIntValue = $util.Long.fromValue(object.negativeIntValue)).unsigned = false;
+ else if (typeof object.negativeIntValue === "string")
+ message.negativeIntValue = parseInt(object.negativeIntValue, 10);
+ else if (typeof object.negativeIntValue === "number")
+ message.negativeIntValue = object.negativeIntValue;
+ else if (typeof object.negativeIntValue === "object")
+ message.negativeIntValue = new $util.LongBits(object.negativeIntValue.low >>> 0, object.negativeIntValue.high >>> 0).toNumber();
+ if (object.doubleValue != null)
+ message.doubleValue = Number(object.doubleValue);
+ if (object.stringValue != null)
+ if (typeof object.stringValue === "string")
+ $util.base64.decode(object.stringValue, message.stringValue = $util.newBuffer($util.base64.length(object.stringValue)), 0);
+ else if (object.stringValue.length >= 0)
+ message.stringValue = object.stringValue;
+ if (object.aggregateValue != null)
+ message.aggregateValue = String(object.aggregateValue);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.UninterpretedOption
+ * @static
+ * @param {google.protobuf.UninterpretedOption} message UninterpretedOption
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UninterpretedOption.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.name = [];
+ if (options.defaults) {
+ object.identifierValue = "";
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, true);
+ object.positiveIntValue = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.positiveIntValue = options.longs === String ? "0" : 0;
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.negativeIntValue = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.negativeIntValue = options.longs === String ? "0" : 0;
+ object.doubleValue = 0;
+ if (options.bytes === String)
+ object.stringValue = "";
+ else {
+ object.stringValue = [];
+ if (options.bytes !== Array)
+ object.stringValue = $util.newBuffer(object.stringValue);
+ }
+ object.aggregateValue = "";
+ }
+ if (message.name && message.name.length) {
+ object.name = [];
+ for (var j = 0; j < message.name.length; ++j)
+ object.name[j] = $root.google.protobuf.UninterpretedOption.NamePart.toObject(message.name[j], options);
+ }
+ if (message.identifierValue != null && message.hasOwnProperty("identifierValue"))
+ object.identifierValue = message.identifierValue;
+ if (message.positiveIntValue != null && message.hasOwnProperty("positiveIntValue"))
+ if (typeof message.positiveIntValue === "number")
+ object.positiveIntValue = options.longs === String ? String(message.positiveIntValue) : message.positiveIntValue;
+ else
+ object.positiveIntValue = options.longs === String ? $util.Long.prototype.toString.call(message.positiveIntValue) : options.longs === Number ? new $util.LongBits(message.positiveIntValue.low >>> 0, message.positiveIntValue.high >>> 0).toNumber(true) : message.positiveIntValue;
+ if (message.negativeIntValue != null && message.hasOwnProperty("negativeIntValue"))
+ if (typeof message.negativeIntValue === "number")
+ object.negativeIntValue = options.longs === String ? String(message.negativeIntValue) : message.negativeIntValue;
+ else
+ object.negativeIntValue = options.longs === String ? $util.Long.prototype.toString.call(message.negativeIntValue) : options.longs === Number ? new $util.LongBits(message.negativeIntValue.low >>> 0, message.negativeIntValue.high >>> 0).toNumber() : message.negativeIntValue;
+ if (message.doubleValue != null && message.hasOwnProperty("doubleValue"))
+ object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue;
+ if (message.stringValue != null && message.hasOwnProperty("stringValue"))
+ object.stringValue = options.bytes === String ? $util.base64.encode(message.stringValue, 0, message.stringValue.length) : options.bytes === Array ? Array.prototype.slice.call(message.stringValue) : message.stringValue;
+ if (message.aggregateValue != null && message.hasOwnProperty("aggregateValue"))
+ object.aggregateValue = message.aggregateValue;
+ return object;
+ };
+
+ /**
+ * Converts this UninterpretedOption to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.UninterpretedOption
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UninterpretedOption.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UninterpretedOption
+ * @function getTypeUrl
+ * @memberof google.protobuf.UninterpretedOption
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UninterpretedOption.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.UninterpretedOption";
+ };
+
+ UninterpretedOption.NamePart = (function() {
+
+ /**
+ * Properties of a NamePart.
+ * @memberof google.protobuf.UninterpretedOption
+ * @interface INamePart
+ * @property {string} namePart NamePart namePart
+ * @property {boolean} isExtension NamePart isExtension
+ */
+
+ /**
+ * Constructs a new NamePart.
+ * @memberof google.protobuf.UninterpretedOption
+ * @classdesc Represents a NamePart.
+ * @implements INamePart
+ * @constructor
+ * @param {google.protobuf.UninterpretedOption.INamePart=} [properties] Properties to set
+ */
+ function NamePart(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]];
+ }
+
+ /**
+ * NamePart namePart.
+ * @member {string} namePart
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @instance
+ */
+ NamePart.prototype.namePart = "";
+
+ /**
+ * NamePart isExtension.
+ * @member {boolean} isExtension
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @instance
+ */
+ NamePart.prototype.isExtension = false;
+
+ /**
+ * Creates a new NamePart instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @static
+ * @param {google.protobuf.UninterpretedOption.INamePart=} [properties] Properties to set
+ * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart instance
+ */
+ NamePart.create = function create(properties) {
+ return new NamePart(properties);
+ };
+
+ /**
+ * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @static
+ * @param {google.protobuf.UninterpretedOption.INamePart} message NamePart message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ NamePart.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.namePart);
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isExtension);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @static
+ * @param {google.protobuf.UninterpretedOption.INamePart} message NamePart message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ NamePart.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ NamePart.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.protobuf.UninterpretedOption.NamePart();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.namePart = reader.string();
+ break;
+ }
+ case 2: {
+ message.isExtension = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ if (!message.hasOwnProperty("namePart"))
+ throw $util.ProtocolError("missing required 'namePart'", { instance: message });
+ if (!message.hasOwnProperty("isExtension"))
+ throw $util.ProtocolError("missing required 'isExtension'", { instance: message });
+ return message;
+ };
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ NamePart.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a NamePart message.
+ * @function verify
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ NamePart.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (!$util.isString(message.namePart))
+ return "namePart: string expected";
+ if (typeof message.isExtension !== "boolean")
+ return "isExtension: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart
+ */
+ NamePart.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.UninterpretedOption.NamePart)
+ return object;
+ var message = new $root.google.protobuf.UninterpretedOption.NamePart();
+ if (object.namePart != null)
+ message.namePart = String(object.namePart);
+ if (object.isExtension != null)
+ message.isExtension = Boolean(object.isExtension);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a NamePart message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @static
+ * @param {google.protobuf.UninterpretedOption.NamePart} message NamePart
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ NamePart.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.namePart = "";
+ object.isExtension = false;
+ }
+ if (message.namePart != null && message.hasOwnProperty("namePart"))
+ object.namePart = message.namePart;
+ if (message.isExtension != null && message.hasOwnProperty("isExtension"))
+ object.isExtension = message.isExtension;
+ return object;
+ };
+
+ /**
+ * Converts this NamePart to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ NamePart.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for NamePart
+ * @function getTypeUrl
+ * @memberof google.protobuf.UninterpretedOption.NamePart
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ NamePart.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.UninterpretedOption.NamePart";
+ };
+
+ return NamePart;
+ })();
+
+ return UninterpretedOption;
+ })();
+
+ protobuf.FeatureSet = (function() {
+
+ /**
+ * Properties of a FeatureSet.
+ * @memberof google.protobuf
+ * @interface IFeatureSet
+ * @property {google.protobuf.FeatureSet.FieldPresence|null} [fieldPresence] FeatureSet fieldPresence
+ * @property {google.protobuf.FeatureSet.EnumType|null} [enumType] FeatureSet enumType
+ * @property {google.protobuf.FeatureSet.RepeatedFieldEncoding|null} [repeatedFieldEncoding] FeatureSet repeatedFieldEncoding
+ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
+ * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
+ * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
+ */
+
+ /**
+ * Constructs a new FeatureSet.
+ * @memberof google.protobuf
+ * @classdesc Represents a FeatureSet.
+ * @implements IFeatureSet
+ * @constructor
+ * @param {google.protobuf.IFeatureSet=} [properties] Properties to set
+ */
+ function FeatureSet(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]];
+ }
+
+ /**
+ * FeatureSet fieldPresence.
+ * @member {google.protobuf.FeatureSet.FieldPresence} fieldPresence
+ * @memberof google.protobuf.FeatureSet
+ * @instance
+ */
+ FeatureSet.prototype.fieldPresence = 0;
+
+ /**
+ * FeatureSet enumType.
+ * @member {google.protobuf.FeatureSet.EnumType} enumType
+ * @memberof google.protobuf.FeatureSet
+ * @instance
+ */
+ FeatureSet.prototype.enumType = 0;
+
+ /**
+ * FeatureSet repeatedFieldEncoding.
+ * @member {google.protobuf.FeatureSet.RepeatedFieldEncoding} repeatedFieldEncoding
+ * @memberof google.protobuf.FeatureSet
+ * @instance
+ */
+ FeatureSet.prototype.repeatedFieldEncoding = 0;
+
+ /**
+ * FeatureSet utf8Validation.
+ * @member {google.protobuf.FeatureSet.Utf8Validation} utf8Validation
+ * @memberof google.protobuf.FeatureSet
+ * @instance
+ */
+ FeatureSet.prototype.utf8Validation = 0;
+
+ /**
+ * FeatureSet messageEncoding.
+ * @member {google.protobuf.FeatureSet.MessageEncoding} messageEncoding
+ * @memberof google.protobuf.FeatureSet
+ * @instance
+ */
+ FeatureSet.prototype.messageEncoding = 0;
+
+ /**
+ * FeatureSet jsonFormat.
+ * @member {google.protobuf.FeatureSet.JsonFormat} jsonFormat
+ * @memberof google.protobuf.FeatureSet
+ * @instance
+ */
+ FeatureSet.prototype.jsonFormat = 0;
+
+ /**
+ * Creates a new FeatureSet instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.FeatureSet
+ * @static
+ * @param {google.protobuf.IFeatureSet=} [properties] Properties to set
+ * @returns {google.protobuf.FeatureSet} FeatureSet instance
+ */
+ FeatureSet.create = function create(properties) {
+ return new FeatureSet(properties);
+ };
+
+ /**
+ * Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.FeatureSet
+ * @static
+ * @param {google.protobuf.IFeatureSet} message FeatureSet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FeatureSet.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.fieldPresence != null && Object.hasOwnProperty.call(message, "fieldPresence"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.fieldPresence);
+ if (message.enumType != null && Object.hasOwnProperty.call(message, "enumType"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.enumType);
+ if (message.repeatedFieldEncoding != null && Object.hasOwnProperty.call(message, "repeatedFieldEncoding"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.repeatedFieldEncoding);
+ if (message.utf8Validation != null && Object.hasOwnProperty.call(message, "utf8Validation"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.utf8Validation);
+ if (message.messageEncoding != null && Object.hasOwnProperty.call(message, "messageEncoding"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
+ if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.FeatureSet
+ * @static
+ * @param {google.protobuf.IFeatureSet} message FeatureSet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FeatureSet.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FeatureSet message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.FeatureSet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.FeatureSet} FeatureSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FeatureSet.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.protobuf.FeatureSet();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.fieldPresence = reader.int32();
+ break;
+ }
+ case 2: {
+ message.enumType = reader.int32();
+ break;
+ }
+ case 3: {
+ message.repeatedFieldEncoding = reader.int32();
+ break;
+ }
+ case 4: {
+ message.utf8Validation = reader.int32();
+ break;
+ }
+ case 5: {
+ message.messageEncoding = reader.int32();
+ break;
+ }
+ case 6: {
+ message.jsonFormat = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FeatureSet message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.FeatureSet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.FeatureSet} FeatureSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FeatureSet.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FeatureSet message.
+ * @function verify
+ * @memberof google.protobuf.FeatureSet
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FeatureSet.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
+ switch (message.fieldPresence) {
+ default:
+ return "fieldPresence: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.enumType != null && message.hasOwnProperty("enumType"))
+ switch (message.enumType) {
+ default:
+ return "enumType: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.repeatedFieldEncoding != null && message.hasOwnProperty("repeatedFieldEncoding"))
+ switch (message.repeatedFieldEncoding) {
+ default:
+ return "repeatedFieldEncoding: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.utf8Validation != null && message.hasOwnProperty("utf8Validation"))
+ switch (message.utf8Validation) {
+ default:
+ return "utf8Validation: enum value expected";
+ case 0:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.messageEncoding != null && message.hasOwnProperty("messageEncoding"))
+ switch (message.messageEncoding) {
+ default:
+ return "messageEncoding: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
+ switch (message.jsonFormat) {
+ default:
+ return "jsonFormat: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.FeatureSet
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.FeatureSet} FeatureSet
+ */
+ FeatureSet.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.FeatureSet)
+ return object;
+ var message = new $root.google.protobuf.FeatureSet();
+ switch (object.fieldPresence) {
+ default:
+ if (typeof object.fieldPresence === "number") {
+ message.fieldPresence = object.fieldPresence;
+ break;
+ }
+ break;
+ case "FIELD_PRESENCE_UNKNOWN":
+ case 0:
+ message.fieldPresence = 0;
+ break;
+ case "EXPLICIT":
+ case 1:
+ message.fieldPresence = 1;
+ break;
+ case "IMPLICIT":
+ case 2:
+ message.fieldPresence = 2;
+ break;
+ case "LEGACY_REQUIRED":
+ case 3:
+ message.fieldPresence = 3;
+ break;
+ }
+ switch (object.enumType) {
+ default:
+ if (typeof object.enumType === "number") {
+ message.enumType = object.enumType;
+ break;
+ }
+ break;
+ case "ENUM_TYPE_UNKNOWN":
+ case 0:
+ message.enumType = 0;
+ break;
+ case "OPEN":
+ case 1:
+ message.enumType = 1;
+ break;
+ case "CLOSED":
+ case 2:
+ message.enumType = 2;
+ break;
+ }
+ switch (object.repeatedFieldEncoding) {
+ default:
+ if (typeof object.repeatedFieldEncoding === "number") {
+ message.repeatedFieldEncoding = object.repeatedFieldEncoding;
+ break;
+ }
+ break;
+ case "REPEATED_FIELD_ENCODING_UNKNOWN":
+ case 0:
+ message.repeatedFieldEncoding = 0;
+ break;
+ case "PACKED":
+ case 1:
+ message.repeatedFieldEncoding = 1;
+ break;
+ case "EXPANDED":
+ case 2:
+ message.repeatedFieldEncoding = 2;
+ break;
+ }
+ switch (object.utf8Validation) {
+ default:
+ if (typeof object.utf8Validation === "number") {
+ message.utf8Validation = object.utf8Validation;
+ break;
+ }
+ break;
+ case "UTF8_VALIDATION_UNKNOWN":
+ case 0:
+ message.utf8Validation = 0;
+ break;
+ case "VERIFY":
+ case 2:
+ message.utf8Validation = 2;
+ break;
+ case "NONE":
+ case 3:
+ message.utf8Validation = 3;
+ break;
+ }
+ switch (object.messageEncoding) {
+ default:
+ if (typeof object.messageEncoding === "number") {
+ message.messageEncoding = object.messageEncoding;
+ break;
+ }
+ break;
+ case "MESSAGE_ENCODING_UNKNOWN":
+ case 0:
+ message.messageEncoding = 0;
+ break;
+ case "LENGTH_PREFIXED":
+ case 1:
+ message.messageEncoding = 1;
+ break;
+ case "DELIMITED":
+ case 2:
+ message.messageEncoding = 2;
+ break;
+ }
+ switch (object.jsonFormat) {
+ default:
+ if (typeof object.jsonFormat === "number") {
+ message.jsonFormat = object.jsonFormat;
+ break;
+ }
+ break;
+ case "JSON_FORMAT_UNKNOWN":
+ case 0:
+ message.jsonFormat = 0;
+ break;
+ case "ALLOW":
+ case 1:
+ message.jsonFormat = 1;
+ break;
+ case "LEGACY_BEST_EFFORT":
+ case 2:
+ message.jsonFormat = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.FeatureSet
+ * @static
+ * @param {google.protobuf.FeatureSet} message FeatureSet
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FeatureSet.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.fieldPresence = options.enums === String ? "FIELD_PRESENCE_UNKNOWN" : 0;
+ object.enumType = options.enums === String ? "ENUM_TYPE_UNKNOWN" : 0;
+ object.repeatedFieldEncoding = options.enums === String ? "REPEATED_FIELD_ENCODING_UNKNOWN" : 0;
+ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
+ object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
+ object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
+ }
+ if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
+ object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
+ if (message.enumType != null && message.hasOwnProperty("enumType"))
+ object.enumType = options.enums === String ? $root.google.protobuf.FeatureSet.EnumType[message.enumType] === undefined ? message.enumType : $root.google.protobuf.FeatureSet.EnumType[message.enumType] : message.enumType;
+ if (message.repeatedFieldEncoding != null && message.hasOwnProperty("repeatedFieldEncoding"))
+ object.repeatedFieldEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] === undefined ? message.repeatedFieldEncoding : $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] : message.repeatedFieldEncoding;
+ if (message.utf8Validation != null && message.hasOwnProperty("utf8Validation"))
+ object.utf8Validation = options.enums === String ? $root.google.protobuf.FeatureSet.Utf8Validation[message.utf8Validation] === undefined ? message.utf8Validation : $root.google.protobuf.FeatureSet.Utf8Validation[message.utf8Validation] : message.utf8Validation;
+ if (message.messageEncoding != null && message.hasOwnProperty("messageEncoding"))
+ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
+ if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
+ object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
+ return object;
+ };
+
+ /**
+ * Converts this FeatureSet to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.FeatureSet
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FeatureSet.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FeatureSet
+ * @function getTypeUrl
+ * @memberof google.protobuf.FeatureSet
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FeatureSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.FeatureSet";
+ };
+
+ /**
+ * FieldPresence enum.
+ * @name google.protobuf.FeatureSet.FieldPresence
+ * @enum {number}
+ * @property {number} FIELD_PRESENCE_UNKNOWN=0 FIELD_PRESENCE_UNKNOWN value
+ * @property {number} EXPLICIT=1 EXPLICIT value
+ * @property {number} IMPLICIT=2 IMPLICIT value
+ * @property {number} LEGACY_REQUIRED=3 LEGACY_REQUIRED value
+ */
+ FeatureSet.FieldPresence = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "FIELD_PRESENCE_UNKNOWN"] = 0;
+ values[valuesById[1] = "EXPLICIT"] = 1;
+ values[valuesById[2] = "IMPLICIT"] = 2;
+ values[valuesById[3] = "LEGACY_REQUIRED"] = 3;
+ return values;
+ })();
+
+ /**
+ * EnumType enum.
+ * @name google.protobuf.FeatureSet.EnumType
+ * @enum {number}
+ * @property {number} ENUM_TYPE_UNKNOWN=0 ENUM_TYPE_UNKNOWN value
+ * @property {number} OPEN=1 OPEN value
+ * @property {number} CLOSED=2 CLOSED value
+ */
+ FeatureSet.EnumType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "ENUM_TYPE_UNKNOWN"] = 0;
+ values[valuesById[1] = "OPEN"] = 1;
+ values[valuesById[2] = "CLOSED"] = 2;
+ return values;
+ })();
+
+ /**
+ * RepeatedFieldEncoding enum.
+ * @name google.protobuf.FeatureSet.RepeatedFieldEncoding
+ * @enum {number}
+ * @property {number} REPEATED_FIELD_ENCODING_UNKNOWN=0 REPEATED_FIELD_ENCODING_UNKNOWN value
+ * @property {number} PACKED=1 PACKED value
+ * @property {number} EXPANDED=2 EXPANDED value
+ */
+ FeatureSet.RepeatedFieldEncoding = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "REPEATED_FIELD_ENCODING_UNKNOWN"] = 0;
+ values[valuesById[1] = "PACKED"] = 1;
+ values[valuesById[2] = "EXPANDED"] = 2;
+ return values;
+ })();
+
+ /**
+ * Utf8Validation enum.
+ * @name google.protobuf.FeatureSet.Utf8Validation
+ * @enum {number}
+ * @property {number} UTF8_VALIDATION_UNKNOWN=0 UTF8_VALIDATION_UNKNOWN value
+ * @property {number} VERIFY=2 VERIFY value
+ * @property {number} NONE=3 NONE value
+ */
+ FeatureSet.Utf8Validation = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "UTF8_VALIDATION_UNKNOWN"] = 0;
+ values[valuesById[2] = "VERIFY"] = 2;
+ values[valuesById[3] = "NONE"] = 3;
+ return values;
+ })();
+
+ /**
+ * MessageEncoding enum.
+ * @name google.protobuf.FeatureSet.MessageEncoding
+ * @enum {number}
+ * @property {number} MESSAGE_ENCODING_UNKNOWN=0 MESSAGE_ENCODING_UNKNOWN value
+ * @property {number} LENGTH_PREFIXED=1 LENGTH_PREFIXED value
+ * @property {number} DELIMITED=2 DELIMITED value
+ */
+ FeatureSet.MessageEncoding = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "MESSAGE_ENCODING_UNKNOWN"] = 0;
+ values[valuesById[1] = "LENGTH_PREFIXED"] = 1;
+ values[valuesById[2] = "DELIMITED"] = 2;
+ return values;
+ })();
+
+ /**
+ * JsonFormat enum.
+ * @name google.protobuf.FeatureSet.JsonFormat
+ * @enum {number}
+ * @property {number} JSON_FORMAT_UNKNOWN=0 JSON_FORMAT_UNKNOWN value
+ * @property {number} ALLOW=1 ALLOW value
+ * @property {number} LEGACY_BEST_EFFORT=2 LEGACY_BEST_EFFORT value
+ */
+ FeatureSet.JsonFormat = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "JSON_FORMAT_UNKNOWN"] = 0;
+ values[valuesById[1] = "ALLOW"] = 1;
+ values[valuesById[2] = "LEGACY_BEST_EFFORT"] = 2;
+ return values;
+ })();
+
+ return FeatureSet;
+ })();
+
+ protobuf.FeatureSetDefaults = (function() {
+
+ /**
+ * Properties of a FeatureSetDefaults.
+ * @memberof google.protobuf
+ * @interface IFeatureSetDefaults
+ * @property {Array.|null} [defaults] FeatureSetDefaults defaults
+ * @property {google.protobuf.Edition|null} [minimumEdition] FeatureSetDefaults minimumEdition
+ * @property {google.protobuf.Edition|null} [maximumEdition] FeatureSetDefaults maximumEdition
+ */
+
+ /**
+ * Constructs a new FeatureSetDefaults.
+ * @memberof google.protobuf
+ * @classdesc Represents a FeatureSetDefaults.
+ * @implements IFeatureSetDefaults
+ * @constructor
+ * @param {google.protobuf.IFeatureSetDefaults=} [properties] Properties to set
+ */
+ function FeatureSetDefaults(properties) {
+ this.defaults = [];
+ 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]];
+ }
+
+ /**
+ * FeatureSetDefaults defaults.
+ * @member {Array.} defaults
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @instance
+ */
+ FeatureSetDefaults.prototype.defaults = $util.emptyArray;
+
+ /**
+ * FeatureSetDefaults minimumEdition.
+ * @member {google.protobuf.Edition} minimumEdition
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @instance
+ */
+ FeatureSetDefaults.prototype.minimumEdition = 0;
+
+ /**
+ * FeatureSetDefaults maximumEdition.
+ * @member {google.protobuf.Edition} maximumEdition
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @instance
+ */
+ FeatureSetDefaults.prototype.maximumEdition = 0;
+
+ /**
+ * Creates a new FeatureSetDefaults instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @static
+ * @param {google.protobuf.IFeatureSetDefaults=} [properties] Properties to set
+ * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults instance
+ */
+ FeatureSetDefaults.create = function create(properties) {
+ return new FeatureSetDefaults(properties);
+ };
+
+ /**
+ * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @static
+ * @param {google.protobuf.IFeatureSetDefaults} message FeatureSetDefaults message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FeatureSetDefaults.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.defaults != null && message.defaults.length)
+ for (var i = 0; i < message.defaults.length; ++i)
+ $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.encode(message.defaults[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.minimumEdition != null && Object.hasOwnProperty.call(message, "minimumEdition"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.minimumEdition);
+ if (message.maximumEdition != null && Object.hasOwnProperty.call(message, "maximumEdition"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.maximumEdition);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @static
+ * @param {google.protobuf.IFeatureSetDefaults} message FeatureSetDefaults message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FeatureSetDefaults.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FeatureSetDefaults.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.protobuf.FeatureSetDefaults();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.defaults && message.defaults.length))
+ message.defaults = [];
+ message.defaults.push($root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.decode(reader, reader.uint32()));
+ break;
+ }
+ case 4: {
+ message.minimumEdition = reader.int32();
+ break;
+ }
+ case 5: {
+ message.maximumEdition = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FeatureSetDefaults.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FeatureSetDefaults message.
+ * @function verify
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FeatureSetDefaults.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.defaults != null && message.hasOwnProperty("defaults")) {
+ if (!Array.isArray(message.defaults))
+ return "defaults: array expected";
+ for (var i = 0; i < message.defaults.length; ++i) {
+ var error = $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify(message.defaults[i]);
+ if (error)
+ return "defaults." + error;
+ }
+ }
+ if (message.minimumEdition != null && message.hasOwnProperty("minimumEdition"))
+ switch (message.minimumEdition) {
+ default:
+ return "minimumEdition: enum value expected";
+ case 0:
+ case 998:
+ case 999:
+ case 1000:
+ case 1001:
+ case 1:
+ case 2:
+ case 99997:
+ case 99998:
+ case 99999:
+ case 2147483647:
+ break;
+ }
+ if (message.maximumEdition != null && message.hasOwnProperty("maximumEdition"))
+ switch (message.maximumEdition) {
+ default:
+ return "maximumEdition: enum value expected";
+ case 0:
+ case 998:
+ case 999:
+ case 1000:
+ case 1001:
+ case 1:
+ case 2:
+ case 99997:
+ case 99998:
+ case 99999:
+ case 2147483647:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults
+ */
+ FeatureSetDefaults.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.FeatureSetDefaults)
+ return object;
+ var message = new $root.google.protobuf.FeatureSetDefaults();
+ if (object.defaults) {
+ if (!Array.isArray(object.defaults))
+ throw TypeError(".google.protobuf.FeatureSetDefaults.defaults: array expected");
+ message.defaults = [];
+ for (var i = 0; i < object.defaults.length; ++i) {
+ if (typeof object.defaults[i] !== "object")
+ throw TypeError(".google.protobuf.FeatureSetDefaults.defaults: object expected");
+ message.defaults[i] = $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fromObject(object.defaults[i]);
+ }
+ }
+ switch (object.minimumEdition) {
+ default:
+ if (typeof object.minimumEdition === "number") {
+ message.minimumEdition = object.minimumEdition;
+ break;
+ }
+ break;
+ case "EDITION_UNKNOWN":
+ case 0:
+ message.minimumEdition = 0;
+ break;
+ case "EDITION_PROTO2":
+ case 998:
+ message.minimumEdition = 998;
+ break;
+ case "EDITION_PROTO3":
+ case 999:
+ message.minimumEdition = 999;
+ break;
+ case "EDITION_2023":
+ case 1000:
+ message.minimumEdition = 1000;
+ break;
+ case "EDITION_2024":
+ case 1001:
+ message.minimumEdition = 1001;
+ break;
+ case "EDITION_1_TEST_ONLY":
+ case 1:
+ message.minimumEdition = 1;
+ break;
+ case "EDITION_2_TEST_ONLY":
+ case 2:
+ message.minimumEdition = 2;
+ break;
+ case "EDITION_99997_TEST_ONLY":
+ case 99997:
+ message.minimumEdition = 99997;
+ break;
+ case "EDITION_99998_TEST_ONLY":
+ case 99998:
+ message.minimumEdition = 99998;
+ break;
+ case "EDITION_99999_TEST_ONLY":
+ case 99999:
+ message.minimumEdition = 99999;
+ break;
+ case "EDITION_MAX":
+ case 2147483647:
+ message.minimumEdition = 2147483647;
+ break;
+ }
+ switch (object.maximumEdition) {
+ default:
+ if (typeof object.maximumEdition === "number") {
+ message.maximumEdition = object.maximumEdition;
+ break;
+ }
+ break;
+ case "EDITION_UNKNOWN":
+ case 0:
+ message.maximumEdition = 0;
+ break;
+ case "EDITION_PROTO2":
+ case 998:
+ message.maximumEdition = 998;
+ break;
+ case "EDITION_PROTO3":
+ case 999:
+ message.maximumEdition = 999;
+ break;
+ case "EDITION_2023":
+ case 1000:
+ message.maximumEdition = 1000;
+ break;
+ case "EDITION_2024":
+ case 1001:
+ message.maximumEdition = 1001;
+ break;
+ case "EDITION_1_TEST_ONLY":
+ case 1:
+ message.maximumEdition = 1;
+ break;
+ case "EDITION_2_TEST_ONLY":
+ case 2:
+ message.maximumEdition = 2;
+ break;
+ case "EDITION_99997_TEST_ONLY":
+ case 99997:
+ message.maximumEdition = 99997;
+ break;
+ case "EDITION_99998_TEST_ONLY":
+ case 99998:
+ message.maximumEdition = 99998;
+ break;
+ case "EDITION_99999_TEST_ONLY":
+ case 99999:
+ message.maximumEdition = 99999;
+ break;
+ case "EDITION_MAX":
+ case 2147483647:
+ message.maximumEdition = 2147483647;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @static
+ * @param {google.protobuf.FeatureSetDefaults} message FeatureSetDefaults
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FeatureSetDefaults.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.defaults = [];
+ if (options.defaults) {
+ object.minimumEdition = options.enums === String ? "EDITION_UNKNOWN" : 0;
+ object.maximumEdition = options.enums === String ? "EDITION_UNKNOWN" : 0;
+ }
+ if (message.defaults && message.defaults.length) {
+ object.defaults = [];
+ for (var j = 0; j < message.defaults.length; ++j)
+ object.defaults[j] = $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.toObject(message.defaults[j], options);
+ }
+ if (message.minimumEdition != null && message.hasOwnProperty("minimumEdition"))
+ object.minimumEdition = options.enums === String ? $root.google.protobuf.Edition[message.minimumEdition] === undefined ? message.minimumEdition : $root.google.protobuf.Edition[message.minimumEdition] : message.minimumEdition;
+ if (message.maximumEdition != null && message.hasOwnProperty("maximumEdition"))
+ object.maximumEdition = options.enums === String ? $root.google.protobuf.Edition[message.maximumEdition] === undefined ? message.maximumEdition : $root.google.protobuf.Edition[message.maximumEdition] : message.maximumEdition;
+ return object;
+ };
+
+ /**
+ * Converts this FeatureSetDefaults to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FeatureSetDefaults.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FeatureSetDefaults
+ * @function getTypeUrl
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FeatureSetDefaults.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.FeatureSetDefaults";
+ };
+
+ FeatureSetDefaults.FeatureSetEditionDefault = (function() {
+
+ /**
+ * Properties of a FeatureSetEditionDefault.
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @interface IFeatureSetEditionDefault
+ * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
+ * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
+ */
+
+ /**
+ * Constructs a new FeatureSetEditionDefault.
+ * @memberof google.protobuf.FeatureSetDefaults
+ * @classdesc Represents a FeatureSetEditionDefault.
+ * @implements IFeatureSetEditionDefault
+ * @constructor
+ * @param {google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault=} [properties] Properties to set
+ */
+ function FeatureSetEditionDefault(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]];
+ }
+
+ /**
+ * FeatureSetEditionDefault edition.
+ * @member {google.protobuf.Edition} edition
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @instance
+ */
+ FeatureSetEditionDefault.prototype.edition = 0;
+
+ /**
+ * FeatureSetEditionDefault features.
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @instance
+ */
+ FeatureSetEditionDefault.prototype.features = null;
+
+ /**
+ * Creates a new FeatureSetEditionDefault instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @static
+ * @param {google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault=} [properties] Properties to set
+ * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault instance
+ */
+ FeatureSetEditionDefault.create = function create(properties) {
+ return new FeatureSetEditionDefault(properties);
+ };
+
+ /**
+ * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @static
+ * @param {google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault} message FeatureSetEditionDefault message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FeatureSetEditionDefault.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @static
+ * @param {google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault} message FeatureSetEditionDefault message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FeatureSetEditionDefault.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FeatureSetEditionDefault.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.protobuf.FeatureSetDefaults.FeatureSetEditionDefault();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 3: {
+ message.edition = reader.int32();
+ break;
+ }
+ case 2: {
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FeatureSetEditionDefault.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FeatureSetEditionDefault message.
+ * @function verify
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FeatureSetEditionDefault.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.edition != null && message.hasOwnProperty("edition"))
+ switch (message.edition) {
+ default:
+ return "edition: enum value expected";
+ case 0:
+ case 998:
+ case 999:
+ case 1000:
+ case 1001:
+ case 1:
+ case 2:
+ case 99997:
+ case 99998:
+ case 99999:
+ case 2147483647:
+ break;
+ }
+ if (message.features != null && message.hasOwnProperty("features")) {
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
+ if (error)
+ return "features." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault
+ */
+ FeatureSetEditionDefault.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
+ return object;
+ var message = new $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault();
+ switch (object.edition) {
+ default:
+ if (typeof object.edition === "number") {
+ message.edition = object.edition;
+ break;
+ }
+ break;
+ case "EDITION_UNKNOWN":
+ case 0:
+ message.edition = 0;
+ break;
+ case "EDITION_PROTO2":
+ case 998:
+ message.edition = 998;
+ break;
+ case "EDITION_PROTO3":
+ case 999:
+ message.edition = 999;
+ break;
+ case "EDITION_2023":
+ case 1000:
+ message.edition = 1000;
+ break;
+ case "EDITION_2024":
+ case 1001:
+ message.edition = 1001;
+ break;
+ case "EDITION_1_TEST_ONLY":
+ case 1:
+ message.edition = 1;
+ break;
+ case "EDITION_2_TEST_ONLY":
+ case 2:
+ message.edition = 2;
+ break;
+ case "EDITION_99997_TEST_ONLY":
+ case 99997:
+ message.edition = 99997;
+ break;
+ case "EDITION_99998_TEST_ONLY":
+ case 99998:
+ message.edition = 99998;
+ break;
+ case "EDITION_99999_TEST_ONLY":
+ case 99999:
+ message.edition = 99999;
+ break;
+ case "EDITION_MAX":
+ case 2147483647:
+ message.edition = 2147483647;
+ break;
+ }
+ if (object.features != null) {
+ if (typeof object.features !== "object")
+ throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @static
+ * @param {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} message FeatureSetEditionDefault
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FeatureSetEditionDefault.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.features = null;
+ object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
+ }
+ if (message.features != null && message.hasOwnProperty("features"))
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
+ if (message.edition != null && message.hasOwnProperty("edition"))
+ object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
+ return object;
+ };
+
+ /**
+ * Converts this FeatureSetEditionDefault to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FeatureSetEditionDefault.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FeatureSetEditionDefault
+ * @function getTypeUrl
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FeatureSetEditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault";
+ };
+
+ return FeatureSetEditionDefault;
+ })();
+
+ return FeatureSetDefaults;
+ })();
+
+ protobuf.SourceCodeInfo = (function() {
+
+ /**
+ * Properties of a SourceCodeInfo.
+ * @memberof google.protobuf
+ * @interface ISourceCodeInfo
+ * @property {Array.|null} [location] SourceCodeInfo location
+ */
+
+ /**
+ * Constructs a new SourceCodeInfo.
+ * @memberof google.protobuf
+ * @classdesc Represents a SourceCodeInfo.
+ * @implements ISourceCodeInfo
+ * @constructor
+ * @param {google.protobuf.ISourceCodeInfo=} [properties] Properties to set
+ */
+ function SourceCodeInfo(properties) {
+ this.location = [];
+ 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]];
+ }
+
+ /**
+ * SourceCodeInfo location.
+ * @member {Array.} location
+ * @memberof google.protobuf.SourceCodeInfo
+ * @instance
+ */
+ SourceCodeInfo.prototype.location = $util.emptyArray;
+
+ /**
+ * Creates a new SourceCodeInfo instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.SourceCodeInfo
+ * @static
+ * @param {google.protobuf.ISourceCodeInfo=} [properties] Properties to set
+ * @returns {google.protobuf.SourceCodeInfo} SourceCodeInfo instance
+ */
+ SourceCodeInfo.create = function create(properties) {
+ return new SourceCodeInfo(properties);
+ };
+
+ /**
+ * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.SourceCodeInfo
+ * @static
+ * @param {google.protobuf.ISourceCodeInfo} message SourceCodeInfo message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SourceCodeInfo.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.location != null && message.location.length)
+ for (var i = 0; i < message.location.length; ++i)
+ $root.google.protobuf.SourceCodeInfo.Location.encode(message.location[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.SourceCodeInfo
+ * @static
+ * @param {google.protobuf.ISourceCodeInfo} message SourceCodeInfo message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SourceCodeInfo.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.SourceCodeInfo
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.SourceCodeInfo} SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SourceCodeInfo.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.protobuf.SourceCodeInfo();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.location && message.location.length))
+ message.location = [];
+ message.location.push($root.google.protobuf.SourceCodeInfo.Location.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.SourceCodeInfo
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.SourceCodeInfo} SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SourceCodeInfo.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SourceCodeInfo message.
+ * @function verify
+ * @memberof google.protobuf.SourceCodeInfo
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SourceCodeInfo.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.location != null && message.hasOwnProperty("location")) {
+ if (!Array.isArray(message.location))
+ return "location: array expected";
+ for (var i = 0; i < message.location.length; ++i) {
+ var error = $root.google.protobuf.SourceCodeInfo.Location.verify(message.location[i]);
+ if (error)
+ return "location." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.SourceCodeInfo
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.SourceCodeInfo} SourceCodeInfo
+ */
+ SourceCodeInfo.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.SourceCodeInfo)
+ return object;
+ var message = new $root.google.protobuf.SourceCodeInfo();
+ if (object.location) {
+ if (!Array.isArray(object.location))
+ throw TypeError(".google.protobuf.SourceCodeInfo.location: array expected");
+ message.location = [];
+ for (var i = 0; i < object.location.length; ++i) {
+ if (typeof object.location[i] !== "object")
+ throw TypeError(".google.protobuf.SourceCodeInfo.location: object expected");
+ message.location[i] = $root.google.protobuf.SourceCodeInfo.Location.fromObject(object.location[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.SourceCodeInfo
+ * @static
+ * @param {google.protobuf.SourceCodeInfo} message SourceCodeInfo
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SourceCodeInfo.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.location = [];
+ if (message.location && message.location.length) {
+ object.location = [];
+ for (var j = 0; j < message.location.length; ++j)
+ object.location[j] = $root.google.protobuf.SourceCodeInfo.Location.toObject(message.location[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this SourceCodeInfo to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.SourceCodeInfo
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SourceCodeInfo.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SourceCodeInfo
+ * @function getTypeUrl
+ * @memberof google.protobuf.SourceCodeInfo
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SourceCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.SourceCodeInfo";
+ };
+
+ SourceCodeInfo.Location = (function() {
+
+ /**
+ * Properties of a Location.
+ * @memberof google.protobuf.SourceCodeInfo
+ * @interface ILocation
+ * @property {Array.|null} [path] Location path
+ * @property {Array.|null} [span] Location span
+ * @property {string|null} [leadingComments] Location leadingComments
+ * @property {string|null} [trailingComments] Location trailingComments
+ * @property {Array.|null} [leadingDetachedComments] Location leadingDetachedComments
+ */
+
+ /**
+ * Constructs a new Location.
+ * @memberof google.protobuf.SourceCodeInfo
+ * @classdesc Represents a Location.
+ * @implements ILocation
+ * @constructor
+ * @param {google.protobuf.SourceCodeInfo.ILocation=} [properties] Properties to set
+ */
+ function Location(properties) {
+ this.path = [];
+ this.span = [];
+ this.leadingDetachedComments = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Location path.
+ * @member {Array.} path
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @instance
+ */
+ Location.prototype.path = $util.emptyArray;
+
+ /**
+ * Location span.
+ * @member {Array.} span
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @instance
+ */
+ Location.prototype.span = $util.emptyArray;
+
+ /**
+ * Location leadingComments.
+ * @member {string} leadingComments
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @instance
+ */
+ Location.prototype.leadingComments = "";
+
+ /**
+ * Location trailingComments.
+ * @member {string} trailingComments
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @instance
+ */
+ Location.prototype.trailingComments = "";
+
+ /**
+ * Location leadingDetachedComments.
+ * @member {Array.} leadingDetachedComments
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @instance
+ */
+ Location.prototype.leadingDetachedComments = $util.emptyArray;
+
+ /**
+ * Creates a new Location instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @static
+ * @param {google.protobuf.SourceCodeInfo.ILocation=} [properties] Properties to set
+ * @returns {google.protobuf.SourceCodeInfo.Location} Location instance
+ */
+ Location.create = function create(properties) {
+ return new Location(properties);
+ };
+
+ /**
+ * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @static
+ * @param {google.protobuf.SourceCodeInfo.ILocation} message Location message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Location.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.path != null && message.path.length) {
+ writer.uint32(/* id 1, wireType 2 =*/10).fork();
+ for (var i = 0; i < message.path.length; ++i)
+ writer.int32(message.path[i]);
+ writer.ldelim();
+ }
+ if (message.span != null && message.span.length) {
+ writer.uint32(/* id 2, wireType 2 =*/18).fork();
+ for (var i = 0; i < message.span.length; ++i)
+ writer.int32(message.span[i]);
+ writer.ldelim();
+ }
+ if (message.leadingComments != null && Object.hasOwnProperty.call(message, "leadingComments"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.leadingComments);
+ if (message.trailingComments != null && Object.hasOwnProperty.call(message, "trailingComments"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.trailingComments);
+ if (message.leadingDetachedComments != null && message.leadingDetachedComments.length)
+ for (var i = 0; i < message.leadingDetachedComments.length; ++i)
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.leadingDetachedComments[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @static
+ * @param {google.protobuf.SourceCodeInfo.ILocation} message Location message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Location.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Location message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.SourceCodeInfo.Location} Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Location.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.SourceCodeInfo.Location();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.path && message.path.length))
+ message.path = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message.path.push(reader.int32());
+ } else
+ message.path.push(reader.int32());
+ break;
+ }
+ case 2: {
+ if (!(message.span && message.span.length))
+ message.span = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message.span.push(reader.int32());
+ } else
+ message.span.push(reader.int32());
+ break;
+ }
+ case 3: {
+ message.leadingComments = reader.string();
+ break;
+ }
+ case 4: {
+ message.trailingComments = reader.string();
+ break;
+ }
+ case 6: {
+ if (!(message.leadingDetachedComments && message.leadingDetachedComments.length))
+ message.leadingDetachedComments = [];
+ message.leadingDetachedComments.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Location message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.SourceCodeInfo.Location} Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Location.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Location message.
+ * @function verify
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Location.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.path != null && message.hasOwnProperty("path")) {
+ if (!Array.isArray(message.path))
+ return "path: array expected";
+ for (var i = 0; i < message.path.length; ++i)
+ if (!$util.isInteger(message.path[i]))
+ return "path: integer[] expected";
+ }
+ if (message.span != null && message.hasOwnProperty("span")) {
+ if (!Array.isArray(message.span))
+ return "span: array expected";
+ for (var i = 0; i < message.span.length; ++i)
+ if (!$util.isInteger(message.span[i]))
+ return "span: integer[] expected";
+ }
+ if (message.leadingComments != null && message.hasOwnProperty("leadingComments"))
+ if (!$util.isString(message.leadingComments))
+ return "leadingComments: string expected";
+ if (message.trailingComments != null && message.hasOwnProperty("trailingComments"))
+ if (!$util.isString(message.trailingComments))
+ return "trailingComments: string expected";
+ if (message.leadingDetachedComments != null && message.hasOwnProperty("leadingDetachedComments")) {
+ if (!Array.isArray(message.leadingDetachedComments))
+ return "leadingDetachedComments: array expected";
+ for (var i = 0; i < message.leadingDetachedComments.length; ++i)
+ if (!$util.isString(message.leadingDetachedComments[i]))
+ return "leadingDetachedComments: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.SourceCodeInfo.Location} Location
+ */
+ Location.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.SourceCodeInfo.Location)
+ return object;
+ var message = new $root.google.protobuf.SourceCodeInfo.Location();
+ if (object.path) {
+ if (!Array.isArray(object.path))
+ throw TypeError(".google.protobuf.SourceCodeInfo.Location.path: array expected");
+ message.path = [];
+ for (var i = 0; i < object.path.length; ++i)
+ message.path[i] = object.path[i] | 0;
+ }
+ if (object.span) {
+ if (!Array.isArray(object.span))
+ throw TypeError(".google.protobuf.SourceCodeInfo.Location.span: array expected");
+ message.span = [];
+ for (var i = 0; i < object.span.length; ++i)
+ message.span[i] = object.span[i] | 0;
+ }
+ if (object.leadingComments != null)
+ message.leadingComments = String(object.leadingComments);
+ if (object.trailingComments != null)
+ message.trailingComments = String(object.trailingComments);
+ if (object.leadingDetachedComments) {
+ if (!Array.isArray(object.leadingDetachedComments))
+ throw TypeError(".google.protobuf.SourceCodeInfo.Location.leadingDetachedComments: array expected");
+ message.leadingDetachedComments = [];
+ for (var i = 0; i < object.leadingDetachedComments.length; ++i)
+ message.leadingDetachedComments[i] = String(object.leadingDetachedComments[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @static
+ * @param {google.protobuf.SourceCodeInfo.Location} message Location
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Location.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.path = [];
+ object.span = [];
+ object.leadingDetachedComments = [];
+ }
+ if (options.defaults) {
+ object.leadingComments = "";
+ object.trailingComments = "";
+ }
+ if (message.path && message.path.length) {
+ object.path = [];
+ for (var j = 0; j < message.path.length; ++j)
+ object.path[j] = message.path[j];
+ }
+ if (message.span && message.span.length) {
+ object.span = [];
+ for (var j = 0; j < message.span.length; ++j)
+ object.span[j] = message.span[j];
+ }
+ if (message.leadingComments != null && message.hasOwnProperty("leadingComments"))
+ object.leadingComments = message.leadingComments;
+ if (message.trailingComments != null && message.hasOwnProperty("trailingComments"))
+ object.trailingComments = message.trailingComments;
+ if (message.leadingDetachedComments && message.leadingDetachedComments.length) {
+ object.leadingDetachedComments = [];
+ for (var j = 0; j < message.leadingDetachedComments.length; ++j)
+ object.leadingDetachedComments[j] = message.leadingDetachedComments[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Location to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Location.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Location
+ * @function getTypeUrl
+ * @memberof google.protobuf.SourceCodeInfo.Location
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.SourceCodeInfo.Location";
+ };
+
+ return Location;
+ })();
+
+ return SourceCodeInfo;
+ })();
+
+ protobuf.GeneratedCodeInfo = (function() {
+
+ /**
+ * Properties of a GeneratedCodeInfo.
+ * @memberof google.protobuf
+ * @interface IGeneratedCodeInfo
+ * @property {Array.|null} [annotation] GeneratedCodeInfo annotation
+ */
+
+ /**
+ * Constructs a new GeneratedCodeInfo.
+ * @memberof google.protobuf
+ * @classdesc Represents a GeneratedCodeInfo.
+ * @implements IGeneratedCodeInfo
+ * @constructor
+ * @param {google.protobuf.IGeneratedCodeInfo=} [properties] Properties to set
+ */
+ function GeneratedCodeInfo(properties) {
+ this.annotation = [];
+ 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]];
+ }
+
+ /**
+ * GeneratedCodeInfo annotation.
+ * @member {Array.} annotation
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @instance
+ */
+ GeneratedCodeInfo.prototype.annotation = $util.emptyArray;
+
+ /**
+ * Creates a new GeneratedCodeInfo instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @static
+ * @param {google.protobuf.IGeneratedCodeInfo=} [properties] Properties to set
+ * @returns {google.protobuf.GeneratedCodeInfo} GeneratedCodeInfo instance
+ */
+ GeneratedCodeInfo.create = function create(properties) {
+ return new GeneratedCodeInfo(properties);
+ };
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @static
+ * @param {google.protobuf.IGeneratedCodeInfo} message GeneratedCodeInfo message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GeneratedCodeInfo.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.annotation != null && message.annotation.length)
+ for (var i = 0; i < message.annotation.length; ++i)
+ $root.google.protobuf.GeneratedCodeInfo.Annotation.encode(message.annotation[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @static
+ * @param {google.protobuf.IGeneratedCodeInfo} message GeneratedCodeInfo message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GeneratedCodeInfo.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.GeneratedCodeInfo} GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GeneratedCodeInfo.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.protobuf.GeneratedCodeInfo();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.annotation && message.annotation.length))
+ message.annotation = [];
+ message.annotation.push($root.google.protobuf.GeneratedCodeInfo.Annotation.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.GeneratedCodeInfo} GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GeneratedCodeInfo.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GeneratedCodeInfo message.
+ * @function verify
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GeneratedCodeInfo.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.annotation != null && message.hasOwnProperty("annotation")) {
+ if (!Array.isArray(message.annotation))
+ return "annotation: array expected";
+ for (var i = 0; i < message.annotation.length; ++i) {
+ var error = $root.google.protobuf.GeneratedCodeInfo.Annotation.verify(message.annotation[i]);
+ if (error)
+ return "annotation." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.GeneratedCodeInfo} GeneratedCodeInfo
+ */
+ GeneratedCodeInfo.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.GeneratedCodeInfo)
+ return object;
+ var message = new $root.google.protobuf.GeneratedCodeInfo();
+ if (object.annotation) {
+ if (!Array.isArray(object.annotation))
+ throw TypeError(".google.protobuf.GeneratedCodeInfo.annotation: array expected");
+ message.annotation = [];
+ for (var i = 0; i < object.annotation.length; ++i) {
+ if (typeof object.annotation[i] !== "object")
+ throw TypeError(".google.protobuf.GeneratedCodeInfo.annotation: object expected");
+ message.annotation[i] = $root.google.protobuf.GeneratedCodeInfo.Annotation.fromObject(object.annotation[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @static
+ * @param {google.protobuf.GeneratedCodeInfo} message GeneratedCodeInfo
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GeneratedCodeInfo.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.annotation = [];
+ if (message.annotation && message.annotation.length) {
+ object.annotation = [];
+ for (var j = 0; j < message.annotation.length; ++j)
+ object.annotation[j] = $root.google.protobuf.GeneratedCodeInfo.Annotation.toObject(message.annotation[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this GeneratedCodeInfo to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GeneratedCodeInfo.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GeneratedCodeInfo
+ * @function getTypeUrl
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GeneratedCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo";
+ };
+
+ GeneratedCodeInfo.Annotation = (function() {
+
+ /**
+ * Properties of an Annotation.
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @interface IAnnotation
+ * @property {Array.|null} [path] Annotation path
+ * @property {string|null} [sourceFile] Annotation sourceFile
+ * @property {number|null} [begin] Annotation begin
+ * @property {number|null} [end] Annotation end
+ * @property {google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null} [semantic] Annotation semantic
+ */
+
+ /**
+ * Constructs a new Annotation.
+ * @memberof google.protobuf.GeneratedCodeInfo
+ * @classdesc Represents an Annotation.
+ * @implements IAnnotation
+ * @constructor
+ * @param {google.protobuf.GeneratedCodeInfo.IAnnotation=} [properties] Properties to set
+ */
+ function Annotation(properties) {
+ this.path = [];
+ 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]];
+ }
+
+ /**
+ * Annotation path.
+ * @member {Array.} path
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @instance
+ */
+ Annotation.prototype.path = $util.emptyArray;
+
+ /**
+ * Annotation sourceFile.
+ * @member {string} sourceFile
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @instance
+ */
+ Annotation.prototype.sourceFile = "";
+
+ /**
+ * Annotation begin.
+ * @member {number} begin
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @instance
+ */
+ Annotation.prototype.begin = 0;
+
+ /**
+ * Annotation end.
+ * @member {number} end
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @instance
+ */
+ Annotation.prototype.end = 0;
+
+ /**
+ * Annotation semantic.
+ * @member {google.protobuf.GeneratedCodeInfo.Annotation.Semantic} semantic
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @instance
+ */
+ Annotation.prototype.semantic = 0;
+
+ /**
+ * Creates a new Annotation instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @static
+ * @param {google.protobuf.GeneratedCodeInfo.IAnnotation=} [properties] Properties to set
+ * @returns {google.protobuf.GeneratedCodeInfo.Annotation} Annotation instance
+ */
+ Annotation.create = function create(properties) {
+ return new Annotation(properties);
+ };
+
+ /**
+ * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @static
+ * @param {google.protobuf.GeneratedCodeInfo.IAnnotation} message Annotation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Annotation.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.path != null && message.path.length) {
+ writer.uint32(/* id 1, wireType 2 =*/10).fork();
+ for (var i = 0; i < message.path.length; ++i)
+ writer.int32(message.path[i]);
+ writer.ldelim();
+ }
+ if (message.sourceFile != null && Object.hasOwnProperty.call(message, "sourceFile"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.sourceFile);
+ if (message.begin != null && Object.hasOwnProperty.call(message, "begin"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.begin);
+ if (message.end != null && Object.hasOwnProperty.call(message, "end"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.end);
+ if (message.semantic != null && Object.hasOwnProperty.call(message, "semantic"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.semantic);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @static
+ * @param {google.protobuf.GeneratedCodeInfo.IAnnotation} message Annotation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Annotation.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.GeneratedCodeInfo.Annotation} Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Annotation.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.protobuf.GeneratedCodeInfo.Annotation();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.path && message.path.length))
+ message.path = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message.path.push(reader.int32());
+ } else
+ message.path.push(reader.int32());
+ break;
+ }
+ case 2: {
+ message.sourceFile = reader.string();
+ break;
+ }
+ case 3: {
+ message.begin = reader.int32();
+ break;
+ }
+ case 4: {
+ message.end = reader.int32();
+ break;
+ }
+ case 5: {
+ message.semantic = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.GeneratedCodeInfo.Annotation} Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Annotation.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Annotation message.
+ * @function verify
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Annotation.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.path != null && message.hasOwnProperty("path")) {
+ if (!Array.isArray(message.path))
+ return "path: array expected";
+ for (var i = 0; i < message.path.length; ++i)
+ if (!$util.isInteger(message.path[i]))
+ return "path: integer[] expected";
+ }
+ if (message.sourceFile != null && message.hasOwnProperty("sourceFile"))
+ if (!$util.isString(message.sourceFile))
+ return "sourceFile: string expected";
+ if (message.begin != null && message.hasOwnProperty("begin"))
+ if (!$util.isInteger(message.begin))
+ return "begin: integer expected";
+ if (message.end != null && message.hasOwnProperty("end"))
+ if (!$util.isInteger(message.end))
+ return "end: integer expected";
+ if (message.semantic != null && message.hasOwnProperty("semantic"))
+ switch (message.semantic) {
+ default:
+ return "semantic: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.GeneratedCodeInfo.Annotation} Annotation
+ */
+ Annotation.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.GeneratedCodeInfo.Annotation)
+ return object;
+ var message = new $root.google.protobuf.GeneratedCodeInfo.Annotation();
+ if (object.path) {
+ if (!Array.isArray(object.path))
+ throw TypeError(".google.protobuf.GeneratedCodeInfo.Annotation.path: array expected");
+ message.path = [];
+ for (var i = 0; i < object.path.length; ++i)
+ message.path[i] = object.path[i] | 0;
+ }
+ if (object.sourceFile != null)
+ message.sourceFile = String(object.sourceFile);
+ if (object.begin != null)
+ message.begin = object.begin | 0;
+ if (object.end != null)
+ message.end = object.end | 0;
+ switch (object.semantic) {
+ default:
+ if (typeof object.semantic === "number") {
+ message.semantic = object.semantic;
+ break;
+ }
+ break;
+ case "NONE":
+ case 0:
+ message.semantic = 0;
+ break;
+ case "SET":
+ case 1:
+ message.semantic = 1;
+ break;
+ case "ALIAS":
+ case 2:
+ message.semantic = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an Annotation message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @static
+ * @param {google.protobuf.GeneratedCodeInfo.Annotation} message Annotation
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Annotation.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.path = [];
+ if (options.defaults) {
+ object.sourceFile = "";
+ object.begin = 0;
+ object.end = 0;
+ object.semantic = options.enums === String ? "NONE" : 0;
+ }
+ if (message.path && message.path.length) {
+ object.path = [];
+ for (var j = 0; j < message.path.length; ++j)
+ object.path[j] = message.path[j];
+ }
+ if (message.sourceFile != null && message.hasOwnProperty("sourceFile"))
+ object.sourceFile = message.sourceFile;
+ if (message.begin != null && message.hasOwnProperty("begin"))
+ object.begin = message.begin;
+ if (message.end != null && message.hasOwnProperty("end"))
+ object.end = message.end;
+ if (message.semantic != null && message.hasOwnProperty("semantic"))
+ object.semantic = options.enums === String ? $root.google.protobuf.GeneratedCodeInfo.Annotation.Semantic[message.semantic] === undefined ? message.semantic : $root.google.protobuf.GeneratedCodeInfo.Annotation.Semantic[message.semantic] : message.semantic;
+ return object;
+ };
+
+ /**
+ * Converts this Annotation to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Annotation.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Annotation
+ * @function getTypeUrl
+ * @memberof google.protobuf.GeneratedCodeInfo.Annotation
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Annotation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo.Annotation";
+ };
+
+ /**
+ * Semantic enum.
+ * @name google.protobuf.GeneratedCodeInfo.Annotation.Semantic
+ * @enum {number}
+ * @property {number} NONE=0 NONE value
+ * @property {number} SET=1 SET value
+ * @property {number} ALIAS=2 ALIAS value
+ */
+ Annotation.Semantic = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "NONE"] = 0;
+ values[valuesById[1] = "SET"] = 1;
+ values[valuesById[2] = "ALIAS"] = 2;
+ return values;
+ })();
+
+ return Annotation;
+ })();
+
+ return GeneratedCodeInfo;
+ })();
+
+ protobuf.Any = (function() {
+
+ /**
+ * Properties of an Any.
+ * @memberof google.protobuf
+ * @interface IAny
+ * @property {string|null} [type_url] Any type_url
+ * @property {Uint8Array|null} [value] Any value
+ */
+
+ /**
+ * Constructs a new Any.
+ * @memberof google.protobuf
+ * @classdesc Represents an Any.
+ * @implements IAny
+ * @constructor
+ * @param {google.protobuf.IAny=} [properties] Properties to set
+ */
+ function Any(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]];
+ }
+
+ /**
+ * Any type_url.
+ * @member {string} type_url
+ * @memberof google.protobuf.Any
+ * @instance
+ */
+ Any.prototype.type_url = "";
+
+ /**
+ * Any value.
+ * @member {Uint8Array} value
+ * @memberof google.protobuf.Any
+ * @instance
+ */
+ Any.prototype.value = $util.newBuffer([]);
+
+ /**
+ * Creates a new Any instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.Any
+ * @static
+ * @param {google.protobuf.IAny=} [properties] Properties to set
+ * @returns {google.protobuf.Any} Any instance
+ */
+ Any.create = function create(properties) {
+ return new Any(properties);
+ };
+
+ /**
+ * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.Any
+ * @static
+ * @param {google.protobuf.IAny} message Any message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Any.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.type_url != null && Object.hasOwnProperty.call(message, "type_url"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.type_url);
+ if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+ writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.value);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.Any
+ * @static
+ * @param {google.protobuf.IAny} message Any message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Any.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Any message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.Any
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.Any} Any
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Any.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.protobuf.Any();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.type_url = reader.string();
+ break;
+ }
+ case 2: {
+ message.value = reader.bytes();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Any message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.Any
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.Any} Any
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Any.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Any message.
+ * @function verify
+ * @memberof google.protobuf.Any
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Any.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.type_url != null && message.hasOwnProperty("type_url"))
+ if (!$util.isString(message.type_url))
+ return "type_url: string expected";
+ if (message.value != null && message.hasOwnProperty("value"))
+ if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value)))
+ return "value: buffer expected";
+ return null;
+ };
+
+ /**
+ * Creates an Any message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.Any
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.Any} Any
+ */
+ Any.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.Any)
+ return object;
+ var message = new $root.google.protobuf.Any();
+ if (object.type_url != null)
+ message.type_url = String(object.type_url);
+ if (object.value != null)
+ if (typeof object.value === "string")
+ $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0);
+ else if (object.value.length >= 0)
+ message.value = object.value;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.Any
+ * @static
+ * @param {google.protobuf.Any} message Any
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Any.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.type_url = "";
+ if (options.bytes === String)
+ object.value = "";
+ else {
+ object.value = [];
+ if (options.bytes !== Array)
+ object.value = $util.newBuffer(object.value);
+ }
+ }
+ if (message.type_url != null && message.hasOwnProperty("type_url"))
+ object.type_url = message.type_url;
+ if (message.value != null && message.hasOwnProperty("value"))
+ object.value = options.bytes === String ? $util.base64.encode(message.value, 0, message.value.length) : options.bytes === Array ? Array.prototype.slice.call(message.value) : message.value;
+ return object;
+ };
+
+ /**
+ * Converts this Any to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.Any
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Any.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Any
+ * @function getTypeUrl
+ * @memberof google.protobuf.Any
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Any.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.Any";
+ };
+
+ return Any;
+ })();
+
+ protobuf.Empty = (function() {
+
+ /**
+ * Properties of an Empty.
+ * @memberof google.protobuf
+ * @interface IEmpty
+ */
+
+ /**
+ * Constructs a new Empty.
+ * @memberof google.protobuf
+ * @classdesc Represents an Empty.
+ * @implements IEmpty
+ * @constructor
+ * @param {google.protobuf.IEmpty=} [properties] Properties to set
+ */
+ function Empty(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 Empty instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.Empty
+ * @static
+ * @param {google.protobuf.IEmpty=} [properties] Properties to set
+ * @returns {google.protobuf.Empty} Empty instance
+ */
+ Empty.create = function create(properties) {
+ return new Empty(properties);
+ };
+
+ /**
+ * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.Empty
+ * @static
+ * @param {google.protobuf.IEmpty} message Empty message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Empty.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.Empty
+ * @static
+ * @param {google.protobuf.IEmpty} message Empty message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Empty.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.Empty
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.Empty} Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Empty.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.protobuf.Empty();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.Empty
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.Empty} Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Empty.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Empty message.
+ * @function verify
+ * @memberof google.protobuf.Empty
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Empty.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates an Empty message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.Empty
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.Empty} Empty
+ */
+ Empty.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.Empty)
+ return object;
+ return new $root.google.protobuf.Empty();
+ };
+
+ /**
+ * Creates a plain object from an Empty message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.Empty
+ * @static
+ * @param {google.protobuf.Empty} message Empty
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Empty.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this Empty to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.Empty
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Empty.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Empty
+ * @function getTypeUrl
+ * @memberof google.protobuf.Empty
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Empty.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.Empty";
+ };
+
+ return Empty;
+ })();
+
+ protobuf.Timestamp = (function() {
+
+ /**
+ * Properties of a Timestamp.
+ * @memberof google.protobuf
+ * @interface ITimestamp
+ * @property {number|Long|null} [seconds] Timestamp seconds
+ * @property {number|null} [nanos] Timestamp nanos
+ */
+
+ /**
+ * Constructs a new Timestamp.
+ * @memberof google.protobuf
+ * @classdesc Represents a Timestamp.
+ * @implements ITimestamp
+ * @constructor
+ * @param {google.protobuf.ITimestamp=} [properties] Properties to set
+ */
+ function Timestamp(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]];
+ }
+
+ /**
+ * Timestamp seconds.
+ * @member {number|Long} seconds
+ * @memberof google.protobuf.Timestamp
+ * @instance
+ */
+ Timestamp.prototype.seconds = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Timestamp nanos.
+ * @member {number} nanos
+ * @memberof google.protobuf.Timestamp
+ * @instance
+ */
+ Timestamp.prototype.nanos = 0;
+
+ /**
+ * Creates a new Timestamp instance using the specified properties.
+ * @function create
+ * @memberof google.protobuf.Timestamp
+ * @static
+ * @param {google.protobuf.ITimestamp=} [properties] Properties to set
+ * @returns {google.protobuf.Timestamp} Timestamp instance
+ */
+ Timestamp.create = function create(properties) {
+ return new Timestamp(properties);
+ };
+
+ /**
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @function encode
+ * @memberof google.protobuf.Timestamp
+ * @static
+ * @param {google.protobuf.ITimestamp} message Timestamp message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Timestamp.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.seconds != null && Object.hasOwnProperty.call(message, "seconds"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.seconds);
+ if (message.nanos != null && Object.hasOwnProperty.call(message, "nanos"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.nanos);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.protobuf.Timestamp
+ * @static
+ * @param {google.protobuf.ITimestamp} message Timestamp message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Timestamp.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.protobuf.Timestamp
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.protobuf.Timestamp} Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Timestamp.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.protobuf.Timestamp();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.seconds = reader.int64();
+ break;
+ }
+ case 2: {
+ message.nanos = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.protobuf.Timestamp
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.protobuf.Timestamp} Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Timestamp.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Timestamp message.
+ * @function verify
+ * @memberof google.protobuf.Timestamp
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Timestamp.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.seconds != null && message.hasOwnProperty("seconds"))
+ if (!$util.isInteger(message.seconds) && !(message.seconds && $util.isInteger(message.seconds.low) && $util.isInteger(message.seconds.high)))
+ return "seconds: integer|Long expected";
+ if (message.nanos != null && message.hasOwnProperty("nanos"))
+ if (!$util.isInteger(message.nanos))
+ return "nanos: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.protobuf.Timestamp
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.protobuf.Timestamp} Timestamp
+ */
+ Timestamp.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.protobuf.Timestamp)
+ return object;
+ var message = new $root.google.protobuf.Timestamp();
+ if (object.seconds != null)
+ if ($util.Long)
+ (message.seconds = $util.Long.fromValue(object.seconds)).unsigned = false;
+ else if (typeof object.seconds === "string")
+ message.seconds = parseInt(object.seconds, 10);
+ else if (typeof object.seconds === "number")
+ message.seconds = object.seconds;
+ else if (typeof object.seconds === "object")
+ message.seconds = new $util.LongBits(object.seconds.low >>> 0, object.seconds.high >>> 0).toNumber();
+ if (object.nanos != null)
+ message.nanos = object.nanos | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.protobuf.Timestamp
+ * @static
+ * @param {google.protobuf.Timestamp} message Timestamp
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Timestamp.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.seconds = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.seconds = options.longs === String ? "0" : 0;
+ object.nanos = 0;
+ }
+ if (message.seconds != null && message.hasOwnProperty("seconds"))
+ if (typeof message.seconds === "number")
+ object.seconds = options.longs === String ? String(message.seconds) : message.seconds;
+ else
+ object.seconds = options.longs === String ? $util.Long.prototype.toString.call(message.seconds) : options.longs === Number ? new $util.LongBits(message.seconds.low >>> 0, message.seconds.high >>> 0).toNumber() : message.seconds;
+ if (message.nanos != null && message.hasOwnProperty("nanos"))
+ object.nanos = message.nanos;
+ return object;
+ };
+
+ /**
+ * Converts this Timestamp to JSON.
+ * @function toJSON
+ * @memberof google.protobuf.Timestamp
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Timestamp.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Timestamp
+ * @function getTypeUrl
+ * @memberof google.protobuf.Timestamp
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Timestamp.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.protobuf.Timestamp";
+ };
+
+ return Timestamp;
+ })();
+
+ return protobuf;
+ })();
+
+ google.analytics = (function() {
+
+ /**
+ * Namespace analytics.
+ * @memberof google
+ * @namespace
+ */
+ var analytics = {};
+
+ analytics.data = (function() {
+
+ /**
+ * Namespace data.
+ * @memberof google.analytics
+ * @namespace
+ */
+ var data = {};
+
+ data.v1alpha = (function() {
+
+ /**
+ * Namespace v1alpha.
+ * @memberof google.analytics.data
+ * @namespace
+ */
+ var v1alpha = {};
+
+ v1alpha.AlphaAnalyticsData = (function() {
+
+ /**
+ * Constructs a new AlphaAnalyticsData service.
+ * @memberof google.analytics.data.v1alpha
+ * @classdesc Represents an AlphaAnalyticsData
+ * @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 AlphaAnalyticsData(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (AlphaAnalyticsData.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AlphaAnalyticsData;
+
+ /**
+ * Creates new AlphaAnalyticsData service using the specified rpc implementation.
+ * @function create
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @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 {AlphaAnalyticsData} RPC service. Useful where requests and/or responses are streamed.
+ */
+ AlphaAnalyticsData.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|runFunnelReport}.
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @typedef RunFunnelReportCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.analytics.data.v1alpha.RunFunnelReportResponse} [response] RunFunnelReportResponse
+ */
+
+ /**
+ * Calls RunFunnelReport.
+ * @function runFunnelReport
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.IRunFunnelReportRequest} request RunFunnelReportRequest message or plain object
+ * @param {google.analytics.data.v1alpha.AlphaAnalyticsData.RunFunnelReportCallback} callback Node-style callback called with the error, if any, and RunFunnelReportResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AlphaAnalyticsData.prototype.runFunnelReport = function runFunnelReport(request, callback) {
+ return this.rpcCall(runFunnelReport, $root.google.analytics.data.v1alpha.RunFunnelReportRequest, $root.google.analytics.data.v1alpha.RunFunnelReportResponse, request, callback);
+ }, "name", { value: "RunFunnelReport" });
+
+ /**
+ * Calls RunFunnelReport.
+ * @function runFunnelReport
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.IRunFunnelReportRequest} request RunFunnelReportRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|createAudienceList}.
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @typedef CreateAudienceListCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls CreateAudienceList.
+ * @function createAudienceList
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.ICreateAudienceListRequest} request CreateAudienceListRequest message or plain object
+ * @param {google.analytics.data.v1alpha.AlphaAnalyticsData.CreateAudienceListCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AlphaAnalyticsData.prototype.createAudienceList = function createAudienceList(request, callback) {
+ return this.rpcCall(createAudienceList, $root.google.analytics.data.v1alpha.CreateAudienceListRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "CreateAudienceList" });
+
+ /**
+ * Calls CreateAudienceList.
+ * @function createAudienceList
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.ICreateAudienceListRequest} request CreateAudienceListRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|queryAudienceList}.
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @typedef QueryAudienceListCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.analytics.data.v1alpha.QueryAudienceListResponse} [response] QueryAudienceListResponse
+ */
+
+ /**
+ * Calls QueryAudienceList.
+ * @function queryAudienceList
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.IQueryAudienceListRequest} request QueryAudienceListRequest message or plain object
+ * @param {google.analytics.data.v1alpha.AlphaAnalyticsData.QueryAudienceListCallback} callback Node-style callback called with the error, if any, and QueryAudienceListResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AlphaAnalyticsData.prototype.queryAudienceList = function queryAudienceList(request, callback) {
+ return this.rpcCall(queryAudienceList, $root.google.analytics.data.v1alpha.QueryAudienceListRequest, $root.google.analytics.data.v1alpha.QueryAudienceListResponse, request, callback);
+ }, "name", { value: "QueryAudienceList" });
+
+ /**
+ * Calls QueryAudienceList.
+ * @function queryAudienceList
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.IQueryAudienceListRequest} request QueryAudienceListRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|sheetExportAudienceList}.
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @typedef SheetExportAudienceListCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.analytics.data.v1alpha.SheetExportAudienceListResponse} [response] SheetExportAudienceListResponse
+ */
+
+ /**
+ * Calls SheetExportAudienceList.
+ * @function sheetExportAudienceList
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.ISheetExportAudienceListRequest} request SheetExportAudienceListRequest message or plain object
+ * @param {google.analytics.data.v1alpha.AlphaAnalyticsData.SheetExportAudienceListCallback} callback Node-style callback called with the error, if any, and SheetExportAudienceListResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AlphaAnalyticsData.prototype.sheetExportAudienceList = function sheetExportAudienceList(request, callback) {
+ return this.rpcCall(sheetExportAudienceList, $root.google.analytics.data.v1alpha.SheetExportAudienceListRequest, $root.google.analytics.data.v1alpha.SheetExportAudienceListResponse, request, callback);
+ }, "name", { value: "SheetExportAudienceList" });
+
+ /**
+ * Calls SheetExportAudienceList.
+ * @function sheetExportAudienceList
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.ISheetExportAudienceListRequest} request SheetExportAudienceListRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|getAudienceList}.
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @typedef GetAudienceListCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.analytics.data.v1alpha.AudienceList} [response] AudienceList
+ */
+
+ /**
+ * Calls GetAudienceList.
+ * @function getAudienceList
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.IGetAudienceListRequest} request GetAudienceListRequest message or plain object
+ * @param {google.analytics.data.v1alpha.AlphaAnalyticsData.GetAudienceListCallback} callback Node-style callback called with the error, if any, and AudienceList
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AlphaAnalyticsData.prototype.getAudienceList = function getAudienceList(request, callback) {
+ return this.rpcCall(getAudienceList, $root.google.analytics.data.v1alpha.GetAudienceListRequest, $root.google.analytics.data.v1alpha.AudienceList, request, callback);
+ }, "name", { value: "GetAudienceList" });
+
+ /**
+ * Calls GetAudienceList.
+ * @function getAudienceList
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.IGetAudienceListRequest} request GetAudienceListRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|listAudienceLists}.
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @typedef ListAudienceListsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.analytics.data.v1alpha.ListAudienceListsResponse} [response] ListAudienceListsResponse
+ */
+
+ /**
+ * Calls ListAudienceLists.
+ * @function listAudienceLists
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.IListAudienceListsRequest} request ListAudienceListsRequest message or plain object
+ * @param {google.analytics.data.v1alpha.AlphaAnalyticsData.ListAudienceListsCallback} callback Node-style callback called with the error, if any, and ListAudienceListsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AlphaAnalyticsData.prototype.listAudienceLists = function listAudienceLists(request, callback) {
+ return this.rpcCall(listAudienceLists, $root.google.analytics.data.v1alpha.ListAudienceListsRequest, $root.google.analytics.data.v1alpha.ListAudienceListsResponse, request, callback);
+ }, "name", { value: "ListAudienceLists" });
+
+ /**
+ * Calls ListAudienceLists.
+ * @function listAudienceLists
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
+ * @instance
+ * @param {google.analytics.data.v1alpha.IListAudienceListsRequest} request ListAudienceListsRequest message or plain object
+ * @returns {Promise