From 2819183755a7d09de779f3bc50901cee80619ad3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2020 22:52:09 +0000 Subject: [PATCH 01/43] chore: release 1.0.1-SNAPSHOT (#104) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- google-cloud-dialogflow-bom/pom.xml | 12 ++++++------ google-cloud-dialogflow/pom.xml | 4 ++-- grpc-google-cloud-dialogflow-v2/pom.xml | 4 ++-- grpc-google-cloud-dialogflow-v2beta1/pom.xml | 4 ++-- pom.xml | 12 ++++++------ proto-google-cloud-dialogflow-v2/pom.xml | 4 ++-- proto-google-cloud-dialogflow-v2beta1/pom.xml | 4 ++-- versions.txt | 10 +++++----- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/google-cloud-dialogflow-bom/pom.xml b/google-cloud-dialogflow-bom/pom.xml index 1a347845e..da89b2f2b 100644 --- a/google-cloud-dialogflow-bom/pom.xml +++ b/google-cloud-dialogflow-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-dialogflow-bom - 1.0.0 + 1.0.1-SNAPSHOT pom com.google.cloud @@ -64,27 +64,27 @@ com.google.api.grpc proto-google-cloud-dialogflow-v2 - 1.0.0 + 1.0.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.86.0 + 0.86.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 1.0.0 + 1.0.1-SNAPSHOT com.google.cloud google-cloud-dialogflow - 1.0.0 + 1.0.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.86.0 + 0.86.1-SNAPSHOT diff --git a/google-cloud-dialogflow/pom.xml b/google-cloud-dialogflow/pom.xml index f50ad348c..b19a785b2 100644 --- a/google-cloud-dialogflow/pom.xml +++ b/google-cloud-dialogflow/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-dialogflow - 1.0.0 + 1.0.1-SNAPSHOT jar Google Cloud Dialog Flow API https://github.com/googleapis/java-dialogflow @@ -11,7 +11,7 @@ com.google.cloud google-cloud-dialogflow-parent - 1.0.0 + 1.0.1-SNAPSHOT google-cloud-dialogflow diff --git a/grpc-google-cloud-dialogflow-v2/pom.xml b/grpc-google-cloud-dialogflow-v2/pom.xml index 2e22374dc..18356b576 100644 --- a/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/grpc-google-cloud-dialogflow-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 1.0.0 + 1.0.1-SNAPSHOT grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.cloud google-cloud-dialogflow-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/grpc-google-cloud-dialogflow-v2beta1/pom.xml index 79f7b5714..8b2d80347 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.86.0 + 0.86.1-SNAPSHOT grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.cloud google-cloud-dialogflow-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 5d7a01899..6ee99cba7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dialogflow-parent pom - 1.0.0 + 1.0.1-SNAPSHOT Google Cloud Dialog Flow API Parent https://github.com/googleapis/java-dialogflow @@ -81,27 +81,27 @@ com.google.api.grpc proto-google-cloud-dialogflow-v2 - 1.0.0 + 1.0.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.86.0 + 0.86.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.86.0 + 0.86.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 1.0.0 + 1.0.1-SNAPSHOT com.google.cloud google-cloud-dialogflow - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/proto-google-cloud-dialogflow-v2/pom.xml b/proto-google-cloud-dialogflow-v2/pom.xml index 4446582b7..3ebf26492 100644 --- a/proto-google-cloud-dialogflow-v2/pom.xml +++ b/proto-google-cloud-dialogflow-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 1.0.0 + 1.0.1-SNAPSHOT proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.cloud google-cloud-dialogflow-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/proto-google-cloud-dialogflow-v2beta1/pom.xml b/proto-google-cloud-dialogflow-v2beta1/pom.xml index 6e7487d82..04fb6d95d 100644 --- a/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.86.0 + 0.86.1-SNAPSHOT proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.cloud google-cloud-dialogflow-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 58e0a75bf..737d44197 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -proto-google-cloud-dialogflow-v2:1.0.0:1.0.0 -proto-google-cloud-dialogflow-v2beta1:0.86.0:0.86.0 -grpc-google-cloud-dialogflow-v2beta1:0.86.0:0.86.0 -grpc-google-cloud-dialogflow-v2:1.0.0:1.0.0 -google-cloud-dialogflow:1.0.0:1.0.0 +proto-google-cloud-dialogflow-v2:1.0.0:1.0.1-SNAPSHOT +proto-google-cloud-dialogflow-v2beta1:0.86.0:0.86.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2beta1:0.86.0:0.86.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2:1.0.0:1.0.1-SNAPSHOT +google-cloud-dialogflow:1.0.0:1.0.1-SNAPSHOT From 7171ea97d918a665f478a5c884fcd8880d01a3af Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 2 Mar 2020 15:00:08 -0800 Subject: [PATCH 02/43] chore: update libraries-bom to 4.2.0 (#105) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/4dab4959-5dfd-4ed4-82be-4395c5168c51/targets --- README.md | 2 +- synth.metadata | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 25c75f414..f4f9d1023 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.1.1 + 4.2.0 pom import diff --git a/synth.metadata b/synth.metadata index ac9acab70..f7b9800ca 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,20 @@ { - "updateTime": "2020-02-27T22:49:15.913140Z", + "updateTime": "2020-03-02T22:51:57.852768Z", "sources": [ { "generator": { "name": "artman", - "version": "0.46.0", - "dockerImage": "googleapis/artman@sha256:6248a21fba8f0d618c3b032669cec2618e684b66922bb70391fe08c41b05f6ee" + "version": "0.47.0", + "dockerImage": "googleapis/artman@sha256:b3e50d6b8de03920b9f065bbc3d210e2ca93a043446f1fa16cdf567393c09678" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e9e90a787703ec5d388902e2cb796aaed3a385b4", - "internalRef": "297671458", - "log": "e9e90a787703ec5d388902e2cb796aaed3a385b4\nDialogflow weekly v2/v2beta1 library update:\n - adding get validation result\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297671458\n\n1a2b05cc3541a5f7714529c665aecc3ea042c646\nAdding .yaml and .json config files.\n\nPiperOrigin-RevId: 297570622\n\ndfe1cf7be44dee31d78f78e485d8c95430981d6e\nPublish `QueryOptions` proto.\n\nIntroduced a `query_options` input in `ExecuteSqlRequest`.\n\nPiperOrigin-RevId: 297497710\n\ndafc905f71e5d46f500b41ed715aad585be062c3\npubsub: revert pull init_rpc_timeout & max_rpc_timeout back to 25 seconds and reset multiplier to 1.0\n\nPiperOrigin-RevId: 297486523\n\nf077632ba7fee588922d9e8717ee272039be126d\nfirestore: add update_transform\n\nPiperOrigin-RevId: 297405063\n\n" + "sha": "83c6f84035ee0f80eaa44d8b688a010461cc4080", + "internalRef": "297918498", + "log": "83c6f84035ee0f80eaa44d8b688a010461cc4080\nUpdate google/api/auth.proto to make AuthProvider to have JwtLocation\n\nPiperOrigin-RevId: 297918498\n\n" } }, { From 6c1ffac64ac9cd9d7cbb96389f38f78a66081c45 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 3 Mar 2020 23:44:24 +0100 Subject: [PATCH 03/43] deps: update dependency com.google.cloud:google-cloud-core to v1.93.1 (#106) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | patch | `1.93.0` -> `1.93.1` | --- ### Release Notes
googleapis/java-core ### [`v1.93.1`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1931httpswwwgithubcomgoogleapisjava-corecomparev1930v1931-2020-02-28) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.93.0...v1.93.1)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6ee99cba7..3da832969 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ UTF-8 github google-cloud-dialogflow-parent - 1.93.0 + 1.93.1 1.8.1 1.17.0 1.54.0 From 149c7536dcd23bfe1a5edf72f36db26f4c0c8ed9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 13 Mar 2020 22:16:04 -0700 Subject: [PATCH 04/43] chore: update PR template (#109) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-03-13 14:52:03,723 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. 2020-03-13 14:52:03,784 synthtool > Ensuring dependencies. 2020-03-13 14:52:03,790 synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:f54b7644a1d2e7a37b23f5c0dfe9bba473e41c675002a507a244389e27487ca9 Status: Image is up to date for googleapis/artman:latest 2020-03-13 14:52:04,727 synthtool > Cloning googleapis. 2020-03-13 14:52:05,048 synthtool > Running generator for google/cloud/dialogflow/v2/artman_dialogflow_v2.yaml. 2020-03-13 14:52:21,105 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-13 14:52:21,108 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java. 2020-03-13 14:52:21,108 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java. 2020-03-13 14:52:21,109 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatchOrBuilder.java. 2020-03-13 14:52:21,109 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequestOrBuilder.java. 2020-03-13 14:52:21,109 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfigOrBuilder.java. 2020-03-13 14:52:21,110 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java. 2020-03-13 14:52:21,110 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java. 2020-03-13 14:52:21,110 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfig.java. 2020-03-13 14:52:21,111 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:21,111 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeOrBuilder.java. 2020-03-13 14:52:21,111 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java. 2020-03-13 14:52:21,111 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequestOrBuilder.java. 2020-03-13 14:52:21,111 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-13 14:52:21,112 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequest.java. 2020-03-13 14:52:21,112 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInputOrBuilder.java. 2020-03-13 14:52:21,112 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResult.java. 2020-03-13 14:52:21,112 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java. 2020-03-13 14:52:21,113 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechModelVariant.java. 2020-03-13 14:52:21,113 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequestOrBuilder.java. 2020-03-13 14:52:21,113 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequestOrBuilder.java. 2020-03-13 14:52:21,113 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java. 2020-03-13 14:52:21,114 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java. 2020-03-13 14:52:21,114 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfo.java. 2020-03-13 14:52:21,114 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java. 2020-03-13 14:52:21,114 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java. 2020-03-13 14:52:21,115 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java. 2020-03-13 14:52:21,115 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java. 2020-03-13 14:52:21,115 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java. 2020-03-13 14:52:21,115 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java. 2020-03-13 14:52:21,116 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-13 14:52:21,116 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SsmlVoiceGender.java. 2020-03-13 14:52:21,116 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:21,116 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java. 2020-03-13 14:52:21,116 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioEncoding.java. 2020-03-13 14:52:21,117 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequestOrBuilder.java. 2020-03-13 14:52:21,117 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java. 2020-03-13 14:52:21,117 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponse.java. 2020-03-13 14:52:21,117 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java. 2020-03-13 14:52:21,118 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java. 2020-03-13 14:52:21,118 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java. 2020-03-13 14:52:21,118 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java. 2020-03-13 14:52:21,119 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java. 2020-03-13 14:52:21,119 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponseOrBuilder.java. 2020-03-13 14:52:21,119 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java. 2020-03-13 14:52:21,119 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-13 14:52:21,120 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-13 14:52:21,120 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParametersOrBuilder.java. 2020-03-13 14:52:21,120 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechContext.java. 2020-03-13 14:52:21,120 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfoOrBuilder.java. 2020-03-13 14:52:21,120 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentOrBuilder.java. 2020-03-13 14:52:21,121 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java. 2020-03-13 14:52:21,121 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponse.java. 2020-03-13 14:52:21,121 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java. 2020-03-13 14:52:21,121 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java. 2020-03-13 14:52:21,122 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java. 2020-03-13 14:52:21,122 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java. 2020-03-13 14:52:21,122 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParams.java. 2020-03-13 14:52:21,123 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java. 2020-03-13 14:52:21,123 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResultOrBuilder.java. 2020-03-13 14:52:21,123 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponse.java. 2020-03-13 14:52:21,123 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultProto.java. 2020-03-13 14:52:21,124 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java. 2020-03-13 14:52:21,124 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java. 2020-03-13 14:52:21,124 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java. 2020-03-13 14:52:21,124 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequestOrBuilder.java. 2020-03-13 14:52:21,124 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentView.java. 2020-03-13 14:52:21,125 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequestOrBuilder.java. 2020-03-13 14:52:21,125 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:21,125 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-13 14:52:21,125 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java. 2020-03-13 14:52:21,125 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java. 2020-03-13 14:52:21,126 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java. 2020-03-13 14:52:21,126 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java. 2020-03-13 14:52:21,126 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java. 2020-03-13 14:52:21,127 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfig.java. 2020-03-13 14:52:21,127 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java. 2020-03-13 14:52:21,127 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResult.java. 2020-03-13 14:52:21,127 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequest.java. 2020-03-13 14:52:21,127 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfigOrBuilder.java. 2020-03-13 14:52:21,128 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequestOrBuilder.java. 2020-03-13 14:52:21,128 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequestOrBuilder.java. 2020-03-13 14:52:21,128 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponseOrBuilder.java. 2020-03-13 14:52:21,128 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java. 2020-03-13 14:52:21,128 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-13 14:52:21,128 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookProto.java. 2020-03-13 14:52:21,129 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequest.java. 2020-03-13 14:52:21,129 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java. 2020-03-13 14:52:21,129 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-13 14:52:21,129 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:21,129 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java. 2020-03-13 14:52:21,130 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInputOrBuilder.java. 2020-03-13 14:52:21,130 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioEncoding.java. 2020-03-13 14:52:21,130 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java. 2020-03-13 14:52:21,130 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java. 2020-03-13 14:52:21,130 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequestOrBuilder.java. 2020-03-13 14:52:21,131 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java. 2020-03-13 14:52:21,131 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java. 2020-03-13 14:52:21,131 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java. 2020-03-13 14:52:21,132 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java. 2020-03-13 14:52:21,132 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java. 2020-03-13 14:52:21,132 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponse.java. 2020-03-13 14:52:21,132 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequest.java. 2020-03-13 14:52:21,132 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationErrorOrBuilder.java. 2020-03-13 14:52:21,133 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java. 2020-03-13 14:52:21,133 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-13 14:52:21,133 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequestOrBuilder.java. 2020-03-13 14:52:21,133 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java. 2020-03-13 14:52:21,133 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfig.java. 2020-03-13 14:52:21,143 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java. 2020-03-13 14:52:21,143 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequestOrBuilder.java. 2020-03-13 14:52:21,143 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequestOrBuilder.java. 2020-03-13 14:52:21,144 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentOrBuilder.java. 2020-03-13 14:52:21,144 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java. 2020-03-13 14:52:21,144 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeOrBuilder.java. 2020-03-13 14:52:21,145 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java. 2020-03-13 14:52:21,145 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Sentiment.java. 2020-03-13 14:52:21,145 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInput.java. 2020-03-13 14:52:21,145 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java. 2020-03-13 14:52:21,145 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatchOrBuilder.java. 2020-03-13 14:52:21,146 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java. 2020-03-13 14:52:21,146 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequest.java. 2020-03-13 14:52:21,146 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-13 14:52:21,146 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:21,146 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponseOrBuilder.java. 2020-03-13 14:52:21,147 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationError.java. 2020-03-13 14:52:21,147 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultOrBuilder.java. 2020-03-13 14:52:21,147 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechContextOrBuilder.java. 2020-03-13 14:52:21,147 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java. 2020-03-13 14:52:21,147 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java. 2020-03-13 14:52:21,148 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java. 2020-03-13 14:52:21,148 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java. 2020-03-13 14:52:21,148 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java. 2020-03-13 14:52:21,148 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java. 2020-03-13 14:52:21,148 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatch.java. 2020-03-13 14:52:21,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java. 2020-03-13 14:52:21,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponseOrBuilder.java. 2020-03-13 14:52:21,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java. 2020-03-13 14:52:21,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java. 2020-03-13 14:52:21,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequestOrBuilder.java. 2020-03-13 14:52:21,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-13 14:52:21,150 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java. 2020-03-13 14:52:21,150 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:21,150 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-13 14:52:21,150 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java. 2020-03-13 14:52:21,151 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:21,151 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInput.java. 2020-03-13 14:52:21,151 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java. 2020-03-13 14:52:21,151 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java. 2020-03-13 14:52:21,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java. 2020-03-13 14:52:21,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResultOrBuilder.java. 2020-03-13 14:52:21,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:21,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java. 2020-03-13 14:52:21,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResultOrBuilder.java. 2020-03-13 14:52:21,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponseOrBuilder.java. 2020-03-13 14:52:21,153 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java. 2020-03-13 14:52:21,153 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponseOrBuilder.java. 2020-03-13 14:52:21,153 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java. 2020-03-13 14:52:21,153 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponse.java. 2020-03-13 14:52:21,153 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequestOrBuilder.java. 2020-03-13 14:52:21,154 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-13 14:52:21,154 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequest.java. 2020-03-13 14:52:21,154 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponse.java. 2020-03-13 14:52:21,154 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequestOrBuilder.java. 2020-03-13 14:52:21,154 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequest.java. 2020-03-13 14:52:21,155 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java. 2020-03-13 14:52:21,155 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParamsOrBuilder.java. 2020-03-13 14:52:21,159 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java. 2020-03-13 14:52:21,160 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeName.java. 2020-03-13 14:52:21,160 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentName.java. 2020-03-13 14:52:21,160 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ProjectAgentName.java. 2020-03-13 14:52:21,160 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeName.java. 2020-03-13 14:52:21,160 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ProjectName.java. 2020-03-13 14:52:21,161 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java. 2020-03-13 14:52:21,161 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionName.java. 2020-03-13 14:52:21,164 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextsGrpc.java. 2020-03-13 14:52:21,164 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentsGrpc.java. 2020-03-13 14:52:21,165 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentsGrpc.java. 2020-03-13 14:52:21,166 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesGrpc.java. 2020-03-13 14:52:21,167 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionsGrpc.java. 2020-03-13 14:52:21,167 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesGrpc.java. 2020-03-13 14:52:21,244 synthtool > Running generator for google/cloud/dialogflow/v2beta1/artman_dialogflow_v2beta1_java.yaml. 2020-03-13 14:52:38,775 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-13 14:52:38,777 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java. 2020-03-13 14:52:38,777 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java. 2020-03-13 14:52:38,777 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatchOrBuilder.java. 2020-03-13 14:52:38,777 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequestOrBuilder.java. 2020-03-13 14:52:38,778 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfigOrBuilder.java. 2020-03-13 14:52:38,778 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java. 2020-03-13 14:52:38,778 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java. 2020-03-13 14:52:38,778 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfig.java. 2020-03-13 14:52:38,779 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:38,779 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeOrBuilder.java. 2020-03-13 14:52:38,779 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java. 2020-03-13 14:52:38,779 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequestOrBuilder.java. 2020-03-13 14:52:38,779 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-13 14:52:38,780 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java. 2020-03-13 14:52:38,780 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInputOrBuilder.java. 2020-03-13 14:52:38,780 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResult.java. 2020-03-13 14:52:38,780 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java. 2020-03-13 14:52:38,780 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseProto.java. 2020-03-13 14:52:38,781 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechModelVariant.java. 2020-03-13 14:52:38,781 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswersOrBuilder.java. 2020-03-13 14:52:38,781 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java. 2020-03-13 14:52:38,781 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponseOrBuilder.java. 2020-03-13 14:52:38,781 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequestOrBuilder.java. 2020-03-13 14:52:38,782 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequestOrBuilder.java. 2020-03-13 14:52:38,782 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java. 2020-03-13 14:52:38,782 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java. 2020-03-13 14:52:38,782 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java. 2020-03-13 14:52:38,783 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfo.java. 2020-03-13 14:52:38,783 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java. 2020-03-13 14:52:38,783 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java. 2020-03-13 14:52:38,783 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java. 2020-03-13 14:52:38,784 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java. 2020-03-13 14:52:38,784 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequestOrBuilder.java. 2020-03-13 14:52:38,784 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponse.java. 2020-03-13 14:52:38,784 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java. 2020-03-13 14:52:38,784 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSourceOrBuilder.java. 2020-03-13 14:52:38,784 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-13 14:52:38,785 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SsmlVoiceGender.java. 2020-03-13 14:52:38,785 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:38,785 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java. 2020-03-13 14:52:38,785 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioEncoding.java. 2020-03-13 14:52:38,785 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequestOrBuilder.java. 2020-03-13 14:52:38,786 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgent.java. 2020-03-13 14:52:38,786 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java. 2020-03-13 14:52:38,786 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponse.java. 2020-03-13 14:52:38,786 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java. 2020-03-13 14:52:38,786 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequestOrBuilder.java. 2020-03-13 14:52:38,787 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java. 2020-03-13 14:52:38,787 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java. 2020-03-13 14:52:38,787 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequest.java. 2020-03-13 14:52:38,787 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java. 2020-03-13 14:52:38,788 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequestOrBuilder.java. 2020-03-13 14:52:38,788 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponseOrBuilder.java. 2020-03-13 14:52:38,788 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequestOrBuilder.java. 2020-03-13 14:52:38,788 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-13 14:52:38,788 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-13 14:52:38,788 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParametersOrBuilder.java. 2020-03-13 14:52:38,789 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContext.java. 2020-03-13 14:52:38,789 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfoOrBuilder.java. 2020-03-13 14:52:38,789 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentOrBuilder.java. 2020-03-13 14:52:38,789 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java. 2020-03-13 14:52:38,789 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequest.java. 2020-03-13 14:52:38,790 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java. 2020-03-13 14:52:38,790 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequestOrBuilder.java. 2020-03-13 14:52:38,790 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java. 2020-03-13 14:52:38,791 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java. 2020-03-13 14:52:38,791 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java. 2020-03-13 14:52:38,791 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequestOrBuilder.java. 2020-03-13 14:52:38,791 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java. 2020-03-13 14:52:38,792 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParams.java. 2020-03-13 14:52:38,792 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java. 2020-03-13 14:52:38,792 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResultOrBuilder.java. 2020-03-13 14:52:38,792 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java. 2020-03-13 14:52:38,792 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultProto.java. 2020-03-13 14:52:38,793 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java. 2020-03-13 14:52:38,793 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java. 2020-03-13 14:52:38,793 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponseOrBuilder.java. 2020-03-13 14:52:38,793 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequestOrBuilder.java. 2020-03-13 14:52:38,793 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentView.java. 2020-03-13 14:52:38,794 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequestOrBuilder.java. 2020-03-13 14:52:38,794 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:38,794 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-13 14:52:38,794 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequestOrBuilder.java. 2020-03-13 14:52:38,794 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java. 2020-03-13 14:52:38,794 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java. 2020-03-13 14:52:38,795 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequestOrBuilder.java. 2020-03-13 14:52:38,795 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBase.java. 2020-03-13 14:52:38,795 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java. 2020-03-13 14:52:38,795 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfig.java. 2020-03-13 14:52:38,795 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java. 2020-03-13 14:52:38,796 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResult.java. 2020-03-13 14:52:38,796 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequest.java. 2020-03-13 14:52:38,796 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfigOrBuilder.java. 2020-03-13 14:52:38,796 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequestOrBuilder.java. 2020-03-13 14:52:38,796 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequest.java. 2020-03-13 14:52:38,796 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequestOrBuilder.java. 2020-03-13 14:52:38,797 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponseOrBuilder.java. 2020-03-13 14:52:38,797 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java. 2020-03-13 14:52:38,797 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-13 14:52:38,797 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadataOrBuilder.java. 2020-03-13 14:52:38,797 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java. 2020-03-13 14:52:38,797 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java. 2020-03-13 14:52:38,798 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequest.java. 2020-03-13 14:52:38,798 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java. 2020-03-13 14:52:38,798 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-13 14:52:38,798 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:38,798 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java. 2020-03-13 14:52:38,799 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequest.java. 2020-03-13 14:52:38,799 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInputOrBuilder.java. 2020-03-13 14:52:38,799 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequestOrBuilder.java. 2020-03-13 14:52:38,799 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequest.java. 2020-03-13 14:52:38,799 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioEncoding.java. 2020-03-13 14:52:38,799 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java. 2020-03-13 14:52:38,800 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java. 2020-03-13 14:52:38,800 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequestOrBuilder.java. 2020-03-13 14:52:38,800 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequestOrBuilder.java. 2020-03-13 14:52:38,800 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java. 2020-03-13 14:52:38,801 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java. 2020-03-13 14:52:38,801 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java. 2020-03-13 14:52:38,801 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java. 2020-03-13 14:52:38,801 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java. 2020-03-13 14:52:38,802 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequest.java. 2020-03-13 14:52:38,802 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationErrorOrBuilder.java. 2020-03-13 14:52:38,802 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequestOrBuilder.java. 2020-03-13 14:52:38,802 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequestOrBuilder.java. 2020-03-13 14:52:38,802 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-13 14:52:38,803 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequestOrBuilder.java. 2020-03-13 14:52:38,803 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java. 2020-03-13 14:52:38,803 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfig.java. 2020-03-13 14:52:38,815 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java. 2020-03-13 14:52:38,816 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequestOrBuilder.java. 2020-03-13 14:52:38,816 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequestOrBuilder.java. 2020-03-13 14:52:38,816 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentOrBuilder.java. 2020-03-13 14:52:38,817 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequestOrBuilder.java. 2020-03-13 14:52:38,817 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsProto.java. 2020-03-13 14:52:38,817 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java. 2020-03-13 14:52:38,817 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeOrBuilder.java. 2020-03-13 14:52:38,818 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java. 2020-03-13 14:52:38,818 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Sentiment.java. 2020-03-13 14:52:38,818 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInput.java. 2020-03-13 14:52:38,818 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java. 2020-03-13 14:52:38,819 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatchOrBuilder.java. 2020-03-13 14:52:38,819 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java. 2020-03-13 14:52:38,819 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java. 2020-03-13 14:52:38,819 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-13 14:52:38,820 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:38,820 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponseOrBuilder.java. 2020-03-13 14:52:38,820 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentOrBuilder.java. 2020-03-13 14:52:38,820 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequest.java. 2020-03-13 14:52:38,820 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Document.java. 2020-03-13 14:52:38,821 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponseOrBuilder.java. 2020-03-13 14:52:38,821 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationError.java. 2020-03-13 14:52:38,821 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultOrBuilder.java. 2020-03-13 14:52:38,821 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequest.java. 2020-03-13 14:52:38,822 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContextOrBuilder.java. 2020-03-13 14:52:38,822 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java. 2020-03-13 14:52:38,822 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java. 2020-03-13 14:52:38,823 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java. 2020-03-13 14:52:38,823 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java. 2020-03-13 14:52:38,823 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java. 2020-03-13 14:52:38,823 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java. 2020-03-13 14:52:38,824 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatch.java. 2020-03-13 14:52:38,824 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java. 2020-03-13 14:52:38,824 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponseOrBuilder.java. 2020-03-13 14:52:38,824 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java. 2020-03-13 14:52:38,824 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java. 2020-03-13 14:52:38,825 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequestOrBuilder.java. 2020-03-13 14:52:38,825 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-13 14:52:38,825 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java. 2020-03-13 14:52:38,825 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:38,825 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgentOrBuilder.java. 2020-03-13 14:52:38,826 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseOrBuilder.java. 2020-03-13 14:52:38,826 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-13 14:52:38,826 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatch.java. 2020-03-13 14:52:38,826 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequestOrBuilder.java. 2020-03-13 14:52:38,827 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:38,827 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSource.java. 2020-03-13 14:52:38,827 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInput.java. 2020-03-13 14:52:38,827 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequestOrBuilder.java. 2020-03-13 14:52:38,827 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequestOrBuilder.java. 2020-03-13 14:52:38,828 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java. 2020-03-13 14:52:38,828 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextOrBuilder.java. 2020-03-13 14:52:38,828 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResultOrBuilder.java. 2020-03-13 14:52:38,828 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadata.java. 2020-03-13 14:52:38,829 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequestOrBuilder.java. 2020-03-13 14:52:38,829 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-13 14:52:38,829 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java. 2020-03-13 14:52:38,829 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResultOrBuilder.java. 2020-03-13 14:52:38,829 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponseOrBuilder.java. 2020-03-13 14:52:38,830 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequestOrBuilder.java. 2020-03-13 14:52:38,830 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponseOrBuilder.java. 2020-03-13 14:52:38,830 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponse.java. 2020-03-13 14:52:38,830 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java. 2020-03-13 14:52:38,831 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java. 2020-03-13 14:52:38,831 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequestOrBuilder.java. 2020-03-13 14:52:38,831 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-13 14:52:38,831 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequestOrBuilder.java. 2020-03-13 14:52:38,832 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java. 2020-03-13 14:52:38,832 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequest.java. 2020-03-13 14:52:38,832 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java. 2020-03-13 14:52:38,832 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequest.java. 2020-03-13 14:52:38,833 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequestOrBuilder.java. 2020-03-13 14:52:38,833 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequestOrBuilder.java. 2020-03-13 14:52:38,833 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequest.java. 2020-03-13 14:52:38,833 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequest.java. 2020-03-13 14:52:38,834 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java. 2020-03-13 14:52:38,834 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParamsOrBuilder.java. 2020-03-13 14:52:38,836 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionName.java. 2020-03-13 14:52:38,836 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionEntityTypeName.java. 2020-03-13 14:52:38,836 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeName.java. 2020-03-13 14:52:38,836 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentName.java. 2020-03-13 14:52:38,837 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentName.java. 2020-03-13 14:52:38,837 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseName.java. 2020-03-13 14:52:38,837 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectAgentName.java. 2020-03-13 14:52:38,837 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeName.java. 2020-03-13 14:52:38,837 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectName.java. 2020-03-13 14:52:38,838 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextName.java. 2020-03-13 14:52:38,838 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentContextName.java. 2020-03-13 14:52:38,838 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionName.java. 2020-03-13 14:52:38,841 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsGrpc.java. 2020-03-13 14:52:38,841 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java. 2020-03-13 14:52:38,842 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java. 2020-03-13 14:52:38,843 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java. 2020-03-13 14:52:38,844 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java. 2020-03-13 14:52:38,844 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsGrpc.java. 2020-03-13 14:52:38,845 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java. 2020-03-13 14:52:38,845 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java. 2020-03-13 14:52:38,941 synthtool > Running java formatter on 130 files 2020-03-13 14:52:46,833 synthtool > Running java formatter on 6 files 2020-03-13 14:52:50,424 synthtool > Running java formatter on 174 files 2020-03-13 14:53:09,233 synthtool > Running java formatter on 130 files 2020-03-13 14:53:17,479 synthtool > Running java formatter on 8 files 2020-03-13 14:53:21,388 synthtool > Running java formatter on 219 files .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .github/trusted-contribution.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json 2020-03-13 14:53:47,528 synthtool > Wrote metadata to synth.metadata. ```
--- .github/PULL_REQUEST_TEMPLATE.md | 8 +++++++- synth.metadata | 12 ++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 0bd0ee062..8ace03c99 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1 +1,7 @@ -Fixes # (it's a good idea to open an issue first for context and/or discussion) \ No newline at end of file +Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: +- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-dialogflow/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea +- [ ] Ensure the tests and linter pass +- [ ] Code coverage does not decrease (if any source code was changed) +- [ ] Appropriate docs were updated (if necessary) + +Fixes # ☕️ diff --git a/synth.metadata b/synth.metadata index f7b9800ca..3a693ea34 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,20 @@ { - "updateTime": "2020-03-02T22:51:57.852768Z", + "updateTime": "2020-03-13T21:53:47.526960Z", "sources": [ { "generator": { "name": "artman", - "version": "0.47.0", - "dockerImage": "googleapis/artman@sha256:b3e50d6b8de03920b9f065bbc3d210e2ca93a043446f1fa16cdf567393c09678" + "version": "1.1.0", + "dockerImage": "googleapis/artman@sha256:f54b7644a1d2e7a37b23f5c0dfe9bba473e41c675002a507a244389e27487ca9" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "83c6f84035ee0f80eaa44d8b688a010461cc4080", - "internalRef": "297918498", - "log": "83c6f84035ee0f80eaa44d8b688a010461cc4080\nUpdate google/api/auth.proto to make AuthProvider to have JwtLocation\n\nPiperOrigin-RevId: 297918498\n\n" + "sha": "b2e2bc62fab90e6829e62d3d189906d9b79899e4", + "internalRef": "300817706", + "log": "b2e2bc62fab90e6829e62d3d189906d9b79899e4\nUpdates to GCS gRPC API spec:\n\n1. Changed GetIamPolicy and TestBucketIamPermissions to use wrapper messages around google.iam.v1 IAM requests messages, and added CommonRequestParams. This lets us support RequesterPays buckets.\n2. Added a metadata field to GetObjectMediaResponse, to support resuming an object media read safely (by extracting the generation of the object being read, and using it in the resumed read request).\n\nPiperOrigin-RevId: 300817706\n\n7fd916ce12335cc9e784bb9452a8602d00b2516c\nAdd deprecated_collections field for backward-compatiblity in PHP and monolith-generated Python and Ruby clients.\n\nGenerate TopicName class in Java which covers the functionality of both ProjectTopicName and DeletedTopicName. Introduce breaking changes to be fixed by synth.py.\n\nDelete default retry parameters.\n\nRetry codes defs can be deleted once # https://github.com/googleapis/gapic-generator/issues/3137 is fixed.\n\nPiperOrigin-RevId: 300813135\n\n047d3a8ac7f75383855df0166144f891d7af08d9\nfix!: google/rpc refactor ErrorInfo.type to ErrorInfo.reason and comment updates.\n\nPiperOrigin-RevId: 300773211\n\nfae4bb6d5aac52aabe5f0bb4396466c2304ea6f6\nAdding RetryPolicy to pubsub.proto\n\nPiperOrigin-RevId: 300769420\n\n7d569be2928dbd72b4e261bf9e468f23afd2b950\nAdding additional protocol buffer annotations to v3.\n\nPiperOrigin-RevId: 300718800\n\n13942d1a85a337515040a03c5108993087dc0e4f\nAdd logging protos for Recommender v1.\n\nPiperOrigin-RevId: 300689896\n\na1a573c3eecfe2c404892bfa61a32dd0c9fb22b6\nfix: change go package to use cloud.google.com/go/maps\n\nPiperOrigin-RevId: 300661825\n\nc6fbac11afa0c7ab2972d9df181493875c566f77\nfeat: publish documentai/v1beta2 protos\n\nPiperOrigin-RevId: 300656808\n\n5202a9e0d9903f49e900f20fe5c7f4e42dd6588f\nProtos for v1beta1 release of Cloud Security Center Settings API\n\nPiperOrigin-RevId: 300580858\n\n83518e18655d9d4ac044acbda063cc6ecdb63ef8\nAdds gapic.yaml file and BUILD.bazel file.\n\nPiperOrigin-RevId: 300554200\n\n836c196dc8ef8354bbfb5f30696bd3477e8db5e2\nRegenerate recommender v1beta1 gRPC ServiceConfig file for Insights methods.\n\nPiperOrigin-RevId: 300549302\n\n34a5450c591b6be3d6566f25ac31caa5211b2f3f\nIncreases the default timeout from 20s to 30s for MetricService\n\nPiperOrigin-RevId: 300474272\n\n5d8bffe87cd01ba390c32f1714230e5a95d5991d\nfeat: use the latest gapic-generator in WORKSPACE for bazel build.\n\nPiperOrigin-RevId: 300461878\n\nd631c651e3bcfac5d371e8560c27648f7b3e2364\nUpdated the GAPIC configs to include parameters for Backups APIs.\n\nPiperOrigin-RevId: 300443402\n\n678afc7055c1adea9b7b54519f3bdb228013f918\nAdding Game Servers v1beta API.\n\nPiperOrigin-RevId: 300433218\n\n80d2bd2c652a5e213302041b0620aff423132589\nEnable proto annotation and gapic v2 for talent API.\n\nPiperOrigin-RevId: 300393997\n\n85e454be7a353f7fe1bf2b0affb753305785b872\ndocs(google/maps/roads): remove mention of nonexported api\n\nPiperOrigin-RevId: 300367734\n\nbf839ae632e0f263a729569e44be4b38b1c85f9c\nAdding protocol buffer annotations and updated config info for v1 and v2.\n\nPiperOrigin-RevId: 300276913\n\n309b899ca18a4c604bce63882a161d44854da549\nPublish `Backup` APIs and protos.\n\nPiperOrigin-RevId: 300246038\n\neced64c3f122421350b4aca68a28e89121d20db8\nadd PHP client libraries\n\nPiperOrigin-RevId: 300193634\n\n7727af0e39df1ae9ad715895c8576d7b65cf6c6d\nfeat: use the latest gapic-generator and protoc-java-resource-name-plugin in googleapis/WORKSPACE.\n\nPiperOrigin-RevId: 300188410\n\n2a25aa351dd5b5fe14895266aff5824d90ce757b\nBreaking change: remove the ProjectOrTenant resource and its references.\n\nPiperOrigin-RevId: 300182152\n\na499dbb28546379415f51803505cfb6123477e71\nUpdate web risk v1 gapic config and BUILD file.\n\nPiperOrigin-RevId: 300152177\n\n52701da10fec2a5f9796e8d12518c0fe574488fe\nFix: apply appropriate namespace/package options for C#, PHP and Ruby.\n\nPiperOrigin-RevId: 300123508\n\n365c029b8cdb63f7751b92ab490f1976e616105c\nAdd CC targets to the kms protos.\n\nThese are needed by go/tink.\n\nPiperOrigin-RevId: 300038469\n\n4ba9aa8a4a1413b88dca5a8fa931824ee9c284e6\nExpose logo recognition API proto for GA.\n\nPiperOrigin-RevId: 299971671\n\n1c9fc2c9e03dadf15f16b1c4f570955bdcebe00e\nAdding ruby_package option to accessapproval.proto for the Ruby client libraries generation.\n\nPiperOrigin-RevId: 299955924\n\n1cc6f0a7bfb147e6f2ede911d9b01e7a9923b719\nbuild(google/maps/routes): generate api clients\n\nPiperOrigin-RevId: 299955905\n\n29a47c965aac79e3fe8e3314482ca0b5967680f0\nIncrease timeout to 1hr for method `dropRange` in bigtable/admin/v2, which is\nsynced with the timeout setting in gapic_yaml.\n\nPiperOrigin-RevId: 299917154\n\n8f631c4c70a60a9c7da3749511ee4ad432b62898\nbuild(google/maps/roads/v1op): move go to monorepo pattern\n\nPiperOrigin-RevId: 299885195\n\nd66816518844ebbf63504c9e8dfc7133921dd2cd\nbuild(google/maps/roads/v1op): Add bazel build files to generate clients.\n\nPiperOrigin-RevId: 299851148\n\naf7dff701fabe029672168649c62356cf1bb43d0\nAdd LogPlayerReports and LogImpressions to Playable Locations service\n\nPiperOrigin-RevId: 299724050\n\nb6927fca808f38df32a642c560082f5bf6538ced\nUpdate BigQuery Connection API v1beta1 proto: added credential to CloudSqlProperties.\n\nPiperOrigin-RevId: 299503150\n\n91e1fb5ef9829c0c7a64bfa5bde330e6ed594378\nchore: update protobuf (protoc) version to 3.11.2\n\nPiperOrigin-RevId: 299404145\n\n30e36b4bee6749c4799f4fc1a51cc8f058ba167d\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 299399890\n\nffbb493674099f265693872ae250711b2238090c\nfeat: cloudbuild/v1 add new fields and annotate OUTPUT_OUT fields.\n\nPiperOrigin-RevId: 299397780\n\nbc973a15818e00c19e121959832676e9b7607456\nbazel: Fix broken common dependency\n\nPiperOrigin-RevId: 299397431\n\n71094a343e3b962e744aa49eb9338219537474e4\nchore: bigtable/admin/v2 publish retry config\n\nPiperOrigin-RevId: 299391875\n\n8f488efd7bda33885cb674ddd023b3678c40bd82\nfeat: Migrate logging to GAPIC v2; release new features.\n\nIMPORTANT: This is a breaking change for client libraries\nin all languages.\n\nCommitter: @lukesneeringer, @jskeet\nPiperOrigin-RevId: 299370279\n\n007605bf9ad3a1fd775014ebefbf7f1e6b31ee71\nUpdate API for bigqueryreservation v1beta1.\n- Adds flex capacity commitment plan to CapacityCommitment.\n- Adds methods for getting and updating BiReservations.\n- Adds methods for updating/splitting/merging CapacityCommitments.\n\nPiperOrigin-RevId: 299368059\n\nf0b581b5bdf803e45201ecdb3688b60e381628a8\nfix: recommendationengine/v1beta1 update some comments\n\nPiperOrigin-RevId: 299181282\n\n10e9a0a833dc85ff8f05b2c67ebe5ac785fe04ff\nbuild: add generated BUILD file for Routes Preferred API\n\nPiperOrigin-RevId: 299164808\n\n86738c956a8238d7c77f729be78b0ed887a6c913\npublish v1p1beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299152383\n\n73d9f2ad4591de45c2e1f352bc99d70cbd2a6d95\npublish v1: update with absolute address in comments\n\nPiperOrigin-RevId: 299147194\n\nd2158f24cb77b0b0ccfe68af784c6a628705e3c6\npublish v1beta2: update with absolute address in comments\n\nPiperOrigin-RevId: 299147086\n\n7fca61292c11b4cd5b352cee1a50bf88819dd63b\npublish v1p2beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146903\n\n583b7321624736e2c490e328f4b1957335779295\npublish v1p3beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146674\n\n638253bf86d1ce1c314108a089b7351440c2f0bf\nfix: add java_multiple_files option for automl text_sentiment.proto\n\nPiperOrigin-RevId: 298971070\n\n373d655703bf914fb8b0b1cc4071d772bac0e0d1\nUpdate Recs AI Beta public bazel file\n\nPiperOrigin-RevId: 298961623\n\ndcc5d00fc8a8d8b56f16194d7c682027b2c66a3b\nfix: add java_multiple_files option for automl classification.proto\n\nPiperOrigin-RevId: 298953301\n\na3f791827266f3496a6a5201d58adc4bb265c2a3\nchore: automl/v1 publish annotations and retry config\n\nPiperOrigin-RevId: 298942178\n\n01c681586d8d6dbd60155289b587aee678530bd9\nMark return_immediately in PullRequest deprecated.\n\nPiperOrigin-RevId: 298893281\n\nc9f5e9c4bfed54bbd09227e990e7bded5f90f31c\nRemove out of date documentation for predicate support on the Storage API\n\nPiperOrigin-RevId: 298883309\n\nfd5b3b8238d783b04692a113ffe07c0363f5de0f\ngenerate webrisk v1 proto\n\nPiperOrigin-RevId: 298847934\n\n541b1ded4abadcc38e8178680b0677f65594ea6f\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 298686266\n\nc0d171acecb4f5b0bfd2c4ca34fc54716574e300\n Updated to include the Notification v1 API.\n\nPiperOrigin-RevId: 298652775\n\n2346a9186c0bff2c9cc439f2459d558068637e05\nAdd Service Directory v1beta1 protos and configs\n\nPiperOrigin-RevId: 298625638\n\na78ed801b82a5c6d9c5368e24b1412212e541bb7\nPublishing v3 protos and configs.\n\nPiperOrigin-RevId: 298607357\n\n4a180bfff8a21645b3a935c2756e8d6ab18a74e0\nautoml/v1beta1 publish proto updates\n\nPiperOrigin-RevId: 298484782\n\n6de6e938b7df1cd62396563a067334abeedb9676\nchore: use the latest gapic-generator and protoc-java-resource-name-plugin in Bazel workspace.\n\nPiperOrigin-RevId: 298474513\n\n244ab2b83a82076a1fa7be63b7e0671af73f5c02\nAdds service config definition for bigqueryreservation v1\n\nPiperOrigin-RevId: 298455048\n\n" } }, { From 44a99f01d5ffbb0ce1442dc60d7af80544ae3864 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 16 Mar 2020 16:10:36 +0100 Subject: [PATCH 05/43] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.2.0 (#110) This PR contains the following updates: | Package | Update | Change | |---|---|---| | org.apache.maven.plugins:maven-javadoc-plugin | minor | `3.1.1` -> `3.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3da832969..2ef61644a 100644 --- a/pom.xml +++ b/pom.xml @@ -233,7 +233,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.1.1 + 3.2.0 html From ce81ac5ff57709563bdcb75f3b21e9511a5c5c02 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 17 Mar 2020 16:10:26 -0700 Subject: [PATCH 06/43] samples: scaffold pom.xml files (#112) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-03-17 11:33:24,747 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. 2020-03-17 11:33:24,802 synthtool > Ensuring dependencies. 2020-03-17 11:33:24,807 synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b Status: Image is up to date for googleapis/artman:latest 2020-03-17 11:33:25,768 synthtool > Cloning googleapis. 2020-03-17 11:33:26,380 synthtool > Running generator for google/cloud/dialogflow/v2/artman_dialogflow_v2.yaml. 2020-03-17 11:33:41,369 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-17 11:33:41,372 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java. 2020-03-17 11:33:41,372 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatchOrBuilder.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequestOrBuilder.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfigOrBuilder.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java. 2020-03-17 11:33:41,374 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfig.java. 2020-03-17 11:33:41,374 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,374 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeOrBuilder.java. 2020-03-17 11:33:41,374 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequestOrBuilder.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequest.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInputOrBuilder.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResult.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java. 2020-03-17 11:33:41,376 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechModelVariant.java. 2020-03-17 11:33:41,376 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequestOrBuilder.java. 2020-03-17 11:33:41,376 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequestOrBuilder.java. 2020-03-17 11:33:41,376 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfo.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SsmlVoiceGender.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioEncoding.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequestOrBuilder.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java. 2020-03-17 11:33:41,380 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponse.java. 2020-03-17 11:33:41,380 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java. 2020-03-17 11:33:41,380 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java. 2020-03-17 11:33:41,380 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponseOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParametersOrBuilder.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechContext.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfoOrBuilder.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentOrBuilder.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponse.java. 2020-03-17 11:33:41,383 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java. 2020-03-17 11:33:41,383 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java. 2020-03-17 11:33:41,383 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParams.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResultOrBuilder.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponse.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultProto.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequestOrBuilder.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentView.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequestOrBuilder.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfig.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResult.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequest.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfigOrBuilder.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequestOrBuilder.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequestOrBuilder.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponseOrBuilder.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookProto.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequest.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInputOrBuilder.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioEncoding.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java. 2020-03-17 11:33:41,391 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequestOrBuilder.java. 2020-03-17 11:33:41,391 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java. 2020-03-17 11:33:41,391 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java. 2020-03-17 11:33:41,391 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java. 2020-03-17 11:33:41,392 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java. 2020-03-17 11:33:41,392 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java. 2020-03-17 11:33:41,392 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponse.java. 2020-03-17 11:33:41,392 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequest.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationErrorOrBuilder.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequestOrBuilder.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfig.java. 2020-03-17 11:33:41,401 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java. 2020-03-17 11:33:41,402 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequestOrBuilder.java. 2020-03-17 11:33:41,402 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequestOrBuilder.java. 2020-03-17 11:33:41,402 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentOrBuilder.java. 2020-03-17 11:33:41,402 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java. 2020-03-17 11:33:41,403 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeOrBuilder.java. 2020-03-17 11:33:41,403 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java. 2020-03-17 11:33:41,403 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Sentiment.java. 2020-03-17 11:33:41,403 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInput.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatchOrBuilder.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequest.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationError.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultOrBuilder.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechContextOrBuilder.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatch.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponseOrBuilder.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequestOrBuilder.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInput.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResultOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResultOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponseOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponseOrBuilder.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponse.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequestOrBuilder.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-17 11:33:41,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequest.java. 2020-03-17 11:33:41,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponse.java. 2020-03-17 11:33:41,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:41,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequest.java. 2020-03-17 11:33:41,413 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java. 2020-03-17 11:33:41,413 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParamsOrBuilder.java. 2020-03-17 11:33:41,417 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java. 2020-03-17 11:33:41,417 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeName.java. 2020-03-17 11:33:41,417 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentName.java. 2020-03-17 11:33:41,417 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ProjectAgentName.java. 2020-03-17 11:33:41,418 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeName.java. 2020-03-17 11:33:41,418 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ProjectName.java. 2020-03-17 11:33:41,418 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java. 2020-03-17 11:33:41,418 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionName.java. 2020-03-17 11:33:41,421 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextsGrpc.java. 2020-03-17 11:33:41,422 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentsGrpc.java. 2020-03-17 11:33:41,423 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentsGrpc.java. 2020-03-17 11:33:41,423 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesGrpc.java. 2020-03-17 11:33:41,424 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionsGrpc.java. 2020-03-17 11:33:41,424 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesGrpc.java. 2020-03-17 11:33:41,494 synthtool > Running generator for google/cloud/dialogflow/v2beta1/artman_dialogflow_v2beta1_java.yaml. 2020-03-17 11:33:58,421 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-17 11:33:58,423 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java. 2020-03-17 11:33:58,423 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java. 2020-03-17 11:33:58,423 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatchOrBuilder.java. 2020-03-17 11:33:58,423 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequestOrBuilder.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfigOrBuilder.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfig.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeOrBuilder.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequestOrBuilder.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInputOrBuilder.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResult.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseProto.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechModelVariant.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswersOrBuilder.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponseOrBuilder.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequestOrBuilder.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequestOrBuilder.java. 2020-03-17 11:33:58,428 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java. 2020-03-17 11:33:58,428 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java. 2020-03-17 11:33:58,428 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java. 2020-03-17 11:33:58,428 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfo.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequestOrBuilder.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponse.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSourceOrBuilder.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SsmlVoiceGender.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioEncoding.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequestOrBuilder.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgent.java. 2020-03-17 11:33:58,432 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java. 2020-03-17 11:33:58,432 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponse.java. 2020-03-17 11:33:58,432 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java. 2020-03-17 11:33:58,432 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequestOrBuilder.java. 2020-03-17 11:33:58,433 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java. 2020-03-17 11:33:58,433 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java. 2020-03-17 11:33:58,433 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequest.java. 2020-03-17 11:33:58,434 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java. 2020-03-17 11:33:58,434 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequestOrBuilder.java. 2020-03-17 11:33:58,434 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponseOrBuilder.java. 2020-03-17 11:33:58,434 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequestOrBuilder.java. 2020-03-17 11:33:58,435 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:58,435 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-17 11:33:58,435 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParametersOrBuilder.java. 2020-03-17 11:33:58,435 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContext.java. 2020-03-17 11:33:58,436 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfoOrBuilder.java. 2020-03-17 11:33:58,436 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentOrBuilder.java. 2020-03-17 11:33:58,436 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java. 2020-03-17 11:33:58,436 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequest.java. 2020-03-17 11:33:58,437 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java. 2020-03-17 11:33:58,437 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,437 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java. 2020-03-17 11:33:58,437 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java. 2020-03-17 11:33:58,438 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java. 2020-03-17 11:33:58,438 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,438 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java. 2020-03-17 11:33:58,438 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParams.java. 2020-03-17 11:33:58,439 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java. 2020-03-17 11:33:58,439 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResultOrBuilder.java. 2020-03-17 11:33:58,439 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java. 2020-03-17 11:33:58,439 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultProto.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponseOrBuilder.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequestOrBuilder.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentView.java. 2020-03-17 11:33:58,441 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequestOrBuilder.java. 2020-03-17 11:33:58,441 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,441 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:58,441 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequestOrBuilder.java. 2020-03-17 11:33:58,442 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java. 2020-03-17 11:33:58,442 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java. 2020-03-17 11:33:58,442 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequestOrBuilder.java. 2020-03-17 11:33:58,442 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBase.java. 2020-03-17 11:33:58,443 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java. 2020-03-17 11:33:58,443 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfig.java. 2020-03-17 11:33:58,443 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java. 2020-03-17 11:33:58,443 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResult.java. 2020-03-17 11:33:58,444 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequest.java. 2020-03-17 11:33:58,444 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfigOrBuilder.java. 2020-03-17 11:33:58,444 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequestOrBuilder.java. 2020-03-17 11:33:58,444 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequest.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequestOrBuilder.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponseOrBuilder.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadataOrBuilder.java. 2020-03-17 11:33:58,446 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java. 2020-03-17 11:33:58,446 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java. 2020-03-17 11:33:58,446 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequest.java. 2020-03-17 11:33:58,446 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequest.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInputOrBuilder.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequest.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioEncoding.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java. 2020-03-17 11:33:58,449 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequestOrBuilder.java. 2020-03-17 11:33:58,449 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequestOrBuilder.java. 2020-03-17 11:33:58,449 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java. 2020-03-17 11:33:58,449 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java. 2020-03-17 11:33:58,450 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java. 2020-03-17 11:33:58,450 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java. 2020-03-17 11:33:58,450 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java. 2020-03-17 11:33:58,451 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequest.java. 2020-03-17 11:33:58,451 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationErrorOrBuilder.java. 2020-03-17 11:33:58,451 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequestOrBuilder.java. 2020-03-17 11:33:58,451 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequestOrBuilder.java. 2020-03-17 11:33:58,452 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-17 11:33:58,452 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequestOrBuilder.java. 2020-03-17 11:33:58,452 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java. 2020-03-17 11:33:58,452 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfig.java. 2020-03-17 11:33:58,464 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java. 2020-03-17 11:33:58,464 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequestOrBuilder.java. 2020-03-17 11:33:58,464 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequestOrBuilder.java. 2020-03-17 11:33:58,464 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentOrBuilder.java. 2020-03-17 11:33:58,465 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,465 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsProto.java. 2020-03-17 11:33:58,465 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java. 2020-03-17 11:33:58,466 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeOrBuilder.java. 2020-03-17 11:33:58,466 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java. 2020-03-17 11:33:58,466 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Sentiment.java. 2020-03-17 11:33:58,466 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInput.java. 2020-03-17 11:33:58,467 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java. 2020-03-17 11:33:58,467 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatchOrBuilder.java. 2020-03-17 11:33:58,467 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java. 2020-03-17 11:33:58,467 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponseOrBuilder.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentOrBuilder.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequest.java. 2020-03-17 11:33:58,469 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Document.java. 2020-03-17 11:33:58,469 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:58,469 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationError.java. 2020-03-17 11:33:58,469 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultOrBuilder.java. 2020-03-17 11:33:58,470 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequest.java. 2020-03-17 11:33:58,470 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContextOrBuilder.java. 2020-03-17 11:33:58,470 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java. 2020-03-17 11:33:58,471 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java. 2020-03-17 11:33:58,471 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java. 2020-03-17 11:33:58,471 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java. 2020-03-17 11:33:58,471 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatch.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponseOrBuilder.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequestOrBuilder.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,474 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgentOrBuilder.java. 2020-03-17 11:33:58,474 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseOrBuilder.java. 2020-03-17 11:33:58,474 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-17 11:33:58,474 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatch.java. 2020-03-17 11:33:58,475 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequestOrBuilder.java. 2020-03-17 11:33:58,475 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,475 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSource.java. 2020-03-17 11:33:58,475 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInput.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequestOrBuilder.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequestOrBuilder.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextOrBuilder.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResultOrBuilder.java. 2020-03-17 11:33:58,477 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadata.java. 2020-03-17 11:33:58,477 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequestOrBuilder.java. 2020-03-17 11:33:58,477 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,477 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java. 2020-03-17 11:33:58,478 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResultOrBuilder.java. 2020-03-17 11:33:58,478 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponseOrBuilder.java. 2020-03-17 11:33:58,478 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequestOrBuilder.java. 2020-03-17 11:33:58,478 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponseOrBuilder.java. 2020-03-17 11:33:58,479 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponse.java. 2020-03-17 11:33:58,479 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java. 2020-03-17 11:33:58,479 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java. 2020-03-17 11:33:58,479 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequestOrBuilder.java. 2020-03-17 11:33:58,480 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-17 11:33:58,480 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequestOrBuilder.java. 2020-03-17 11:33:58,480 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java. 2020-03-17 11:33:58,480 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequest.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequest.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequest.java. 2020-03-17 11:33:58,482 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequest.java. 2020-03-17 11:33:58,482 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java. 2020-03-17 11:33:58,483 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParamsOrBuilder.java. 2020-03-17 11:33:58,484 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionName.java. 2020-03-17 11:33:58,484 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionEntityTypeName.java. 2020-03-17 11:33:58,484 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeName.java. 2020-03-17 11:33:58,485 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentName.java. 2020-03-17 11:33:58,485 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentName.java. 2020-03-17 11:33:58,485 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseName.java. 2020-03-17 11:33:58,485 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectAgentName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentContextName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionName.java. 2020-03-17 11:33:58,489 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsGrpc.java. 2020-03-17 11:33:58,489 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java. 2020-03-17 11:33:58,490 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java. 2020-03-17 11:33:58,491 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java. 2020-03-17 11:33:58,492 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java. 2020-03-17 11:33:58,492 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsGrpc.java. 2020-03-17 11:33:58,493 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java. 2020-03-17 11:33:58,493 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java. 2020-03-17 11:33:58,584 synthtool > Running java formatter on 130 files 2020-03-17 11:34:06,338 synthtool > Running java formatter on 6 files 2020-03-17 11:34:09,666 synthtool > Running java formatter on 174 files 2020-03-17 11:34:28,213 synthtool > Running java formatter on 130 files 2020-03-17 11:34:35,907 synthtool > Running java formatter on 8 files 2020-03-17 11:34:39,685 synthtool > Running java formatter on 219 files .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .github/trusted-contribution.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json samples/install-without-bom/pom.xml samples/pom.xml samples/snapshot/pom.xml samples/snippets/pom.xml 2020-03-17 11:35:02,546 synthtool > merge: CODE_OF_CONDUCT.md 2020-03-17 11:35:02,546 synthtool > merge: java.header 2020-03-17 11:35:02,546 synthtool > merge: license-checks.xml 2020-03-17 11:35:02,547 synthtool > merge: LICENSE 2020-03-17 11:35:02,547 synthtool > merge: README.md 2020-03-17 11:35:02,547 synthtool > merge: CONTRIBUTING.md 2020-03-17 11:35:02,547 synthtool > merge: renovate.json 2020-03-17 11:35:02,548 synthtool > merge: codecov.yaml 2020-03-17 11:35:02,549 synthtool > merge: .kokoro/build.sh 2020-03-17 11:35:02,549 synthtool > merge: .kokoro/coerce_logs.sh 2020-03-17 11:35:02,549 synthtool > merge: .kokoro/dependencies.sh 2020-03-17 11:35:02,549 synthtool > merge: .kokoro/linkage-monitor.sh 2020-03-17 11:35:02,550 synthtool > merge: .kokoro/trampoline.sh 2020-03-17 11:35:02,550 synthtool > merge: .kokoro/common.cfg 2020-03-17 11:35:02,550 synthtool > merge: .kokoro/build.bat 2020-03-17 11:35:02,550 synthtool > merge: .kokoro/release/promote.sh 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/snapshot.sh 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/stage.sh 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/bump_snapshot.cfg 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/drop.cfg 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/snapshot.cfg 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/promote.cfg 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/publish_javadoc.sh 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/common.cfg 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/drop.sh 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/publish_javadoc.cfg 2020-03-17 11:35:02,553 synthtool > merge: .kokoro/release/stage.cfg 2020-03-17 11:35:02,553 synthtool > merge: .kokoro/release/common.sh 2020-03-17 11:35:02,553 synthtool > merge: .kokoro/nightly/lint.cfg 2020-03-17 11:35:02,553 synthtool > merge: .kokoro/nightly/java11.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/samples.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/java8.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/java7.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/common.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/dependencies.cfg 2020-03-17 11:35:02,555 synthtool > merge: .kokoro/nightly/java8-osx.cfg 2020-03-17 11:35:02,555 synthtool > merge: .kokoro/nightly/java8-win.cfg 2020-03-17 11:35:02,555 synthtool > merge: .kokoro/nightly/integration.cfg 2020-03-17 11:35:02,555 synthtool > merge: .kokoro/presubmit/lint.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/clirr.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/java11.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/samples.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/linkage-monitor.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/java8.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/java7.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/common.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/dependencies.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/java8-osx.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/java8-win.cfg 2020-03-17 11:35:02,558 synthtool > merge: .kokoro/presubmit/integration.cfg 2020-03-17 11:35:02,558 synthtool > merge: .kokoro/continuous/lint.cfg 2020-03-17 11:35:02,558 synthtool > merge: .kokoro/continuous/java11.cfg 2020-03-17 11:35:02,558 synthtool > merge: .kokoro/continuous/samples.cfg 2020-03-17 11:35:02,559 synthtool > merge: .kokoro/continuous/java8.cfg 2020-03-17 11:35:02,559 synthtool > merge: .kokoro/continuous/java7.cfg 2020-03-17 11:35:02,559 synthtool > merge: .kokoro/continuous/propose_release.cfg 2020-03-17 11:35:02,559 synthtool > merge: .kokoro/continuous/common.cfg 2020-03-17 11:35:02,560 synthtool > merge: .kokoro/continuous/dependencies.cfg 2020-03-17 11:35:02,560 synthtool > merge: .kokoro/continuous/java8-osx.cfg 2020-03-17 11:35:02,560 synthtool > merge: .kokoro/continuous/java8-win.cfg 2020-03-17 11:35:02,560 synthtool > merge: .kokoro/continuous/integration.cfg 2020-03-17 11:35:02,560 synthtool > merge: .github/trusted-contribution.yml 2020-03-17 11:35:02,561 synthtool > merge: .github/release-please.yml 2020-03-17 11:35:02,561 synthtool > merge: .github/PULL_REQUEST_TEMPLATE.md 2020-03-17 11:35:02,561 synthtool > merge: .github/ISSUE_TEMPLATE/feature_request.md 2020-03-17 11:35:02,561 synthtool > merge: .github/ISSUE_TEMPLATE/bug_report.md 2020-03-17 11:35:02,561 synthtool > merge: .github/ISSUE_TEMPLATE/support_request.md 2020-03-17 11:35:02,567 synthtool > Wrote metadata to synth.metadata. ```
--- samples/install-without-bom/pom.xml | 84 +++++++++++++++++++++++++++++ samples/pom.xml | 56 +++++++++++++++++++ samples/snapshot/pom.xml | 83 ++++++++++++++++++++++++++++ samples/snippets/pom.xml | 60 +++++++++++++++++++++ synth.metadata | 12 ++--- 5 files changed, 289 insertions(+), 6 deletions(-) create mode 100644 samples/install-without-bom/pom.xml create mode 100644 samples/pom.xml create mode 100644 samples/snapshot/pom.xml create mode 100644 samples/snippets/pom.xml diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml new file mode 100644 index 000000000..30e877750 --- /dev/null +++ b/samples/install-without-bom/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + com.google.cloud + dialogflow-install-without-bom + jar + Google Dialogflow API Install Without Bom + https://github.com/googleapis/java-dialogflow + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + com.google.cloud + google-cloud-dialogflow + 1.0.0 + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/samples/pom.xml b/samples/pom.xml new file mode 100644 index 000000000..968700d1a --- /dev/null +++ b/samples/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + com.google.cloud + google-cloud-dialogflow-samples + 0.0.1-SNAPSHOT + pom + Google Dialogflow API Samples Parent + https://github.com/googleapis/java-dialogflow + + Java idiomatic client for Google Cloud Platform services. + + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + install-without-bom + snapshot + snippets + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + + true + + + + + diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml new file mode 100644 index 000000000..3ec03d695 --- /dev/null +++ b/samples/snapshot/pom.xml @@ -0,0 +1,83 @@ + + + 4.0.0 + com.google.cloud + dialogflow-snapshot + jar + Google Dialogflow API Snapshot Samples + https://github.com/googleapis/java-dialogflow + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-dialogflow + 1.0.0 + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + \ No newline at end of file diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml new file mode 100644 index 000000000..a07954837 --- /dev/null +++ b/samples/snippets/pom.xml @@ -0,0 +1,60 @@ + + + 4.0.0 + com.google.cloud + dialogflow-snippets + jar + Google Dialogflow API Snippets + https://github.com/googleapis/java-dialogflow + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + + com.google.cloud + libraries-bom + 4.2.0 + pom + import + + + + + + + com.google.cloud + google-cloud-dialogflow + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + diff --git a/synth.metadata b/synth.metadata index 3a693ea34..8f05a2555 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,20 @@ { - "updateTime": "2020-03-13T21:53:47.526960Z", + "updateTime": "2020-03-17T18:35:02.566243Z", "sources": [ { "generator": { "name": "artman", - "version": "1.1.0", - "dockerImage": "googleapis/artman@sha256:f54b7644a1d2e7a37b23f5c0dfe9bba473e41c675002a507a244389e27487ca9" + "version": "1.1.1", + "dockerImage": "googleapis/artman@sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b2e2bc62fab90e6829e62d3d189906d9b79899e4", - "internalRef": "300817706", - "log": "b2e2bc62fab90e6829e62d3d189906d9b79899e4\nUpdates to GCS gRPC API spec:\n\n1. Changed GetIamPolicy and TestBucketIamPermissions to use wrapper messages around google.iam.v1 IAM requests messages, and added CommonRequestParams. This lets us support RequesterPays buckets.\n2. Added a metadata field to GetObjectMediaResponse, to support resuming an object media read safely (by extracting the generation of the object being read, and using it in the resumed read request).\n\nPiperOrigin-RevId: 300817706\n\n7fd916ce12335cc9e784bb9452a8602d00b2516c\nAdd deprecated_collections field for backward-compatiblity in PHP and monolith-generated Python and Ruby clients.\n\nGenerate TopicName class in Java which covers the functionality of both ProjectTopicName and DeletedTopicName. Introduce breaking changes to be fixed by synth.py.\n\nDelete default retry parameters.\n\nRetry codes defs can be deleted once # https://github.com/googleapis/gapic-generator/issues/3137 is fixed.\n\nPiperOrigin-RevId: 300813135\n\n047d3a8ac7f75383855df0166144f891d7af08d9\nfix!: google/rpc refactor ErrorInfo.type to ErrorInfo.reason and comment updates.\n\nPiperOrigin-RevId: 300773211\n\nfae4bb6d5aac52aabe5f0bb4396466c2304ea6f6\nAdding RetryPolicy to pubsub.proto\n\nPiperOrigin-RevId: 300769420\n\n7d569be2928dbd72b4e261bf9e468f23afd2b950\nAdding additional protocol buffer annotations to v3.\n\nPiperOrigin-RevId: 300718800\n\n13942d1a85a337515040a03c5108993087dc0e4f\nAdd logging protos for Recommender v1.\n\nPiperOrigin-RevId: 300689896\n\na1a573c3eecfe2c404892bfa61a32dd0c9fb22b6\nfix: change go package to use cloud.google.com/go/maps\n\nPiperOrigin-RevId: 300661825\n\nc6fbac11afa0c7ab2972d9df181493875c566f77\nfeat: publish documentai/v1beta2 protos\n\nPiperOrigin-RevId: 300656808\n\n5202a9e0d9903f49e900f20fe5c7f4e42dd6588f\nProtos for v1beta1 release of Cloud Security Center Settings API\n\nPiperOrigin-RevId: 300580858\n\n83518e18655d9d4ac044acbda063cc6ecdb63ef8\nAdds gapic.yaml file and BUILD.bazel file.\n\nPiperOrigin-RevId: 300554200\n\n836c196dc8ef8354bbfb5f30696bd3477e8db5e2\nRegenerate recommender v1beta1 gRPC ServiceConfig file for Insights methods.\n\nPiperOrigin-RevId: 300549302\n\n34a5450c591b6be3d6566f25ac31caa5211b2f3f\nIncreases the default timeout from 20s to 30s for MetricService\n\nPiperOrigin-RevId: 300474272\n\n5d8bffe87cd01ba390c32f1714230e5a95d5991d\nfeat: use the latest gapic-generator in WORKSPACE for bazel build.\n\nPiperOrigin-RevId: 300461878\n\nd631c651e3bcfac5d371e8560c27648f7b3e2364\nUpdated the GAPIC configs to include parameters for Backups APIs.\n\nPiperOrigin-RevId: 300443402\n\n678afc7055c1adea9b7b54519f3bdb228013f918\nAdding Game Servers v1beta API.\n\nPiperOrigin-RevId: 300433218\n\n80d2bd2c652a5e213302041b0620aff423132589\nEnable proto annotation and gapic v2 for talent API.\n\nPiperOrigin-RevId: 300393997\n\n85e454be7a353f7fe1bf2b0affb753305785b872\ndocs(google/maps/roads): remove mention of nonexported api\n\nPiperOrigin-RevId: 300367734\n\nbf839ae632e0f263a729569e44be4b38b1c85f9c\nAdding protocol buffer annotations and updated config info for v1 and v2.\n\nPiperOrigin-RevId: 300276913\n\n309b899ca18a4c604bce63882a161d44854da549\nPublish `Backup` APIs and protos.\n\nPiperOrigin-RevId: 300246038\n\neced64c3f122421350b4aca68a28e89121d20db8\nadd PHP client libraries\n\nPiperOrigin-RevId: 300193634\n\n7727af0e39df1ae9ad715895c8576d7b65cf6c6d\nfeat: use the latest gapic-generator and protoc-java-resource-name-plugin in googleapis/WORKSPACE.\n\nPiperOrigin-RevId: 300188410\n\n2a25aa351dd5b5fe14895266aff5824d90ce757b\nBreaking change: remove the ProjectOrTenant resource and its references.\n\nPiperOrigin-RevId: 300182152\n\na499dbb28546379415f51803505cfb6123477e71\nUpdate web risk v1 gapic config and BUILD file.\n\nPiperOrigin-RevId: 300152177\n\n52701da10fec2a5f9796e8d12518c0fe574488fe\nFix: apply appropriate namespace/package options for C#, PHP and Ruby.\n\nPiperOrigin-RevId: 300123508\n\n365c029b8cdb63f7751b92ab490f1976e616105c\nAdd CC targets to the kms protos.\n\nThese are needed by go/tink.\n\nPiperOrigin-RevId: 300038469\n\n4ba9aa8a4a1413b88dca5a8fa931824ee9c284e6\nExpose logo recognition API proto for GA.\n\nPiperOrigin-RevId: 299971671\n\n1c9fc2c9e03dadf15f16b1c4f570955bdcebe00e\nAdding ruby_package option to accessapproval.proto for the Ruby client libraries generation.\n\nPiperOrigin-RevId: 299955924\n\n1cc6f0a7bfb147e6f2ede911d9b01e7a9923b719\nbuild(google/maps/routes): generate api clients\n\nPiperOrigin-RevId: 299955905\n\n29a47c965aac79e3fe8e3314482ca0b5967680f0\nIncrease timeout to 1hr for method `dropRange` in bigtable/admin/v2, which is\nsynced with the timeout setting in gapic_yaml.\n\nPiperOrigin-RevId: 299917154\n\n8f631c4c70a60a9c7da3749511ee4ad432b62898\nbuild(google/maps/roads/v1op): move go to monorepo pattern\n\nPiperOrigin-RevId: 299885195\n\nd66816518844ebbf63504c9e8dfc7133921dd2cd\nbuild(google/maps/roads/v1op): Add bazel build files to generate clients.\n\nPiperOrigin-RevId: 299851148\n\naf7dff701fabe029672168649c62356cf1bb43d0\nAdd LogPlayerReports and LogImpressions to Playable Locations service\n\nPiperOrigin-RevId: 299724050\n\nb6927fca808f38df32a642c560082f5bf6538ced\nUpdate BigQuery Connection API v1beta1 proto: added credential to CloudSqlProperties.\n\nPiperOrigin-RevId: 299503150\n\n91e1fb5ef9829c0c7a64bfa5bde330e6ed594378\nchore: update protobuf (protoc) version to 3.11.2\n\nPiperOrigin-RevId: 299404145\n\n30e36b4bee6749c4799f4fc1a51cc8f058ba167d\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 299399890\n\nffbb493674099f265693872ae250711b2238090c\nfeat: cloudbuild/v1 add new fields and annotate OUTPUT_OUT fields.\n\nPiperOrigin-RevId: 299397780\n\nbc973a15818e00c19e121959832676e9b7607456\nbazel: Fix broken common dependency\n\nPiperOrigin-RevId: 299397431\n\n71094a343e3b962e744aa49eb9338219537474e4\nchore: bigtable/admin/v2 publish retry config\n\nPiperOrigin-RevId: 299391875\n\n8f488efd7bda33885cb674ddd023b3678c40bd82\nfeat: Migrate logging to GAPIC v2; release new features.\n\nIMPORTANT: This is a breaking change for client libraries\nin all languages.\n\nCommitter: @lukesneeringer, @jskeet\nPiperOrigin-RevId: 299370279\n\n007605bf9ad3a1fd775014ebefbf7f1e6b31ee71\nUpdate API for bigqueryreservation v1beta1.\n- Adds flex capacity commitment plan to CapacityCommitment.\n- Adds methods for getting and updating BiReservations.\n- Adds methods for updating/splitting/merging CapacityCommitments.\n\nPiperOrigin-RevId: 299368059\n\nf0b581b5bdf803e45201ecdb3688b60e381628a8\nfix: recommendationengine/v1beta1 update some comments\n\nPiperOrigin-RevId: 299181282\n\n10e9a0a833dc85ff8f05b2c67ebe5ac785fe04ff\nbuild: add generated BUILD file for Routes Preferred API\n\nPiperOrigin-RevId: 299164808\n\n86738c956a8238d7c77f729be78b0ed887a6c913\npublish v1p1beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299152383\n\n73d9f2ad4591de45c2e1f352bc99d70cbd2a6d95\npublish v1: update with absolute address in comments\n\nPiperOrigin-RevId: 299147194\n\nd2158f24cb77b0b0ccfe68af784c6a628705e3c6\npublish v1beta2: update with absolute address in comments\n\nPiperOrigin-RevId: 299147086\n\n7fca61292c11b4cd5b352cee1a50bf88819dd63b\npublish v1p2beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146903\n\n583b7321624736e2c490e328f4b1957335779295\npublish v1p3beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146674\n\n638253bf86d1ce1c314108a089b7351440c2f0bf\nfix: add java_multiple_files option for automl text_sentiment.proto\n\nPiperOrigin-RevId: 298971070\n\n373d655703bf914fb8b0b1cc4071d772bac0e0d1\nUpdate Recs AI Beta public bazel file\n\nPiperOrigin-RevId: 298961623\n\ndcc5d00fc8a8d8b56f16194d7c682027b2c66a3b\nfix: add java_multiple_files option for automl classification.proto\n\nPiperOrigin-RevId: 298953301\n\na3f791827266f3496a6a5201d58adc4bb265c2a3\nchore: automl/v1 publish annotations and retry config\n\nPiperOrigin-RevId: 298942178\n\n01c681586d8d6dbd60155289b587aee678530bd9\nMark return_immediately in PullRequest deprecated.\n\nPiperOrigin-RevId: 298893281\n\nc9f5e9c4bfed54bbd09227e990e7bded5f90f31c\nRemove out of date documentation for predicate support on the Storage API\n\nPiperOrigin-RevId: 298883309\n\nfd5b3b8238d783b04692a113ffe07c0363f5de0f\ngenerate webrisk v1 proto\n\nPiperOrigin-RevId: 298847934\n\n541b1ded4abadcc38e8178680b0677f65594ea6f\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 298686266\n\nc0d171acecb4f5b0bfd2c4ca34fc54716574e300\n Updated to include the Notification v1 API.\n\nPiperOrigin-RevId: 298652775\n\n2346a9186c0bff2c9cc439f2459d558068637e05\nAdd Service Directory v1beta1 protos and configs\n\nPiperOrigin-RevId: 298625638\n\na78ed801b82a5c6d9c5368e24b1412212e541bb7\nPublishing v3 protos and configs.\n\nPiperOrigin-RevId: 298607357\n\n4a180bfff8a21645b3a935c2756e8d6ab18a74e0\nautoml/v1beta1 publish proto updates\n\nPiperOrigin-RevId: 298484782\n\n6de6e938b7df1cd62396563a067334abeedb9676\nchore: use the latest gapic-generator and protoc-java-resource-name-plugin in Bazel workspace.\n\nPiperOrigin-RevId: 298474513\n\n244ab2b83a82076a1fa7be63b7e0671af73f5c02\nAdds service config definition for bigqueryreservation v1\n\nPiperOrigin-RevId: 298455048\n\n" + "sha": "64ab9744073de81fec1b3a6a931befc8a90edf90", + "internalRef": "301373760", + "log": "64ab9744073de81fec1b3a6a931befc8a90edf90\nFix: Introduce location-based organization/folder/billing-account resources\nChore: Update copyright years\n\nPiperOrigin-RevId: 301373760\n\n23d5f09e670ebb0c1b36214acf78704e2ecfc2ac\nUpdate field_behavior annotations in V1 and V2.\n\nPiperOrigin-RevId: 301337970\n\nb2cf37e7fd62383a811aa4d54d013ecae638851d\nData Catalog V1 API\n\nPiperOrigin-RevId: 301282503\n\n1976b9981e2900c8172b7d34b4220bdb18c5db42\nCloud DLP api update. Adds missing fields to Finding and adds support for hybrid jobs.\n\nPiperOrigin-RevId: 301205325\n\nae78682c05e864d71223ce22532219813b0245ac\nfix: several sample code blocks in comments are now properly indented for markdown\n\nPiperOrigin-RevId: 301185150\n\ndcd171d04bda5b67db13049320f97eca3ace3731\nPublish Media Translation API V1Beta1\n\nPiperOrigin-RevId: 301180096\n\nff1713453b0fbc5a7544a1ef6828c26ad21a370e\nAdd protos and BUILD rules for v1 API.\n\nPiperOrigin-RevId: 301179394\n\n8386761d09819b665b6a6e1e6d6ff884bc8ff781\nfeat: chromeos/modlab publish protos and config for Chrome OS Moblab API.\n\nPiperOrigin-RevId: 300843960\n\n" } }, { From 99e296838d0296a868f27c1e9600470ae9130076 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 18 Mar 2020 08:48:24 -0700 Subject: [PATCH 07/43] samples: fix snippet closing tag (#114) --- samples/install-without-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 30e877750..4175d8ca8 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -31,7 +31,7 @@ google-cloud-dialogflow 1.0.0
- + junit From a0562789e82228e69ddd3898823e74521e257ef5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 19 Mar 2020 07:55:35 -0700 Subject: [PATCH 08/43] chore: regenerate README (#117) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-03-19 02:11:24,748 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. 2020-03-19 02:11:24,805 synthtool > Ensuring dependencies. 2020-03-19 02:11:24,811 synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b Status: Image is up to date for googleapis/artman:latest 2020-03-19 02:11:25,784 synthtool > Cloning googleapis. 2020-03-19 02:11:26,419 synthtool > Running generator for google/cloud/dialogflow/v2/artman_dialogflow_v2.yaml. 2020-03-19 02:11:41,689 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-19 02:11:41,694 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java. 2020-03-19 02:11:41,694 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java. 2020-03-19 02:11:41,694 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatchOrBuilder.java. 2020-03-19 02:11:41,694 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequestOrBuilder.java. 2020-03-19 02:11:41,695 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfigOrBuilder.java. 2020-03-19 02:11:41,695 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java. 2020-03-19 02:11:41,695 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java. 2020-03-19 02:11:41,695 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfig.java. 2020-03-19 02:11:41,696 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:41,696 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeOrBuilder.java. 2020-03-19 02:11:41,696 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java. 2020-03-19 02:11:41,696 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequestOrBuilder.java. 2020-03-19 02:11:41,696 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-19 02:11:41,697 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequest.java. 2020-03-19 02:11:41,697 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInputOrBuilder.java. 2020-03-19 02:11:41,697 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResult.java. 2020-03-19 02:11:41,697 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java. 2020-03-19 02:11:41,698 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechModelVariant.java. 2020-03-19 02:11:41,698 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequestOrBuilder.java. 2020-03-19 02:11:41,698 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequestOrBuilder.java. 2020-03-19 02:11:41,698 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java. 2020-03-19 02:11:41,699 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java. 2020-03-19 02:11:41,699 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfo.java. 2020-03-19 02:11:41,699 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java. 2020-03-19 02:11:41,700 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java. 2020-03-19 02:11:41,700 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java. 2020-03-19 02:11:41,700 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java. 2020-03-19 02:11:41,700 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java. 2020-03-19 02:11:41,701 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java. 2020-03-19 02:11:41,701 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-19 02:11:41,701 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SsmlVoiceGender.java. 2020-03-19 02:11:41,701 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:41,702 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java. 2020-03-19 02:11:41,702 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioEncoding.java. 2020-03-19 02:11:41,702 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequestOrBuilder.java. 2020-03-19 02:11:41,702 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java. 2020-03-19 02:11:41,703 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponse.java. 2020-03-19 02:11:41,703 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java. 2020-03-19 02:11:41,703 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java. 2020-03-19 02:11:41,703 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java. 2020-03-19 02:11:41,704 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java. 2020-03-19 02:11:41,704 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java. 2020-03-19 02:11:41,704 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponseOrBuilder.java. 2020-03-19 02:11:41,704 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java. 2020-03-19 02:11:41,704 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-19 02:11:41,705 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-19 02:11:41,705 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParametersOrBuilder.java. 2020-03-19 02:11:41,705 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechContext.java. 2020-03-19 02:11:41,705 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfoOrBuilder.java. 2020-03-19 02:11:41,706 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentOrBuilder.java. 2020-03-19 02:11:41,706 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java. 2020-03-19 02:11:41,706 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponse.java. 2020-03-19 02:11:41,706 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java. 2020-03-19 02:11:41,707 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java. 2020-03-19 02:11:41,707 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java. 2020-03-19 02:11:41,707 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java. 2020-03-19 02:11:41,708 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParams.java. 2020-03-19 02:11:41,708 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java. 2020-03-19 02:11:41,708 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResultOrBuilder.java. 2020-03-19 02:11:41,708 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponse.java. 2020-03-19 02:11:41,709 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultProto.java. 2020-03-19 02:11:41,709 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java. 2020-03-19 02:11:41,709 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java. 2020-03-19 02:11:41,709 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java. 2020-03-19 02:11:41,709 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequestOrBuilder.java. 2020-03-19 02:11:41,710 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentView.java. 2020-03-19 02:11:41,710 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequestOrBuilder.java. 2020-03-19 02:11:41,710 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:41,710 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-19 02:11:41,711 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java. 2020-03-19 02:11:41,711 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java. 2020-03-19 02:11:41,711 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java. 2020-03-19 02:11:41,711 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java. 2020-03-19 02:11:41,711 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java. 2020-03-19 02:11:41,712 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfig.java. 2020-03-19 02:11:41,712 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java. 2020-03-19 02:11:41,712 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResult.java. 2020-03-19 02:11:41,712 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequest.java. 2020-03-19 02:11:41,713 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfigOrBuilder.java. 2020-03-19 02:11:41,713 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequestOrBuilder.java. 2020-03-19 02:11:41,713 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequestOrBuilder.java. 2020-03-19 02:11:41,713 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponseOrBuilder.java. 2020-03-19 02:11:41,713 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java. 2020-03-19 02:11:41,714 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-19 02:11:41,714 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookProto.java. 2020-03-19 02:11:41,714 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequest.java. 2020-03-19 02:11:41,714 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java. 2020-03-19 02:11:41,715 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-19 02:11:41,715 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:41,715 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java. 2020-03-19 02:11:41,715 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInputOrBuilder.java. 2020-03-19 02:11:41,715 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioEncoding.java. 2020-03-19 02:11:41,716 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java. 2020-03-19 02:11:41,716 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java. 2020-03-19 02:11:41,716 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequestOrBuilder.java. 2020-03-19 02:11:41,716 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java. 2020-03-19 02:11:41,717 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java. 2020-03-19 02:11:41,717 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java. 2020-03-19 02:11:41,717 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java. 2020-03-19 02:11:41,718 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java. 2020-03-19 02:11:41,718 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponse.java. 2020-03-19 02:11:41,718 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequest.java. 2020-03-19 02:11:41,719 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationErrorOrBuilder.java. 2020-03-19 02:11:41,719 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java. 2020-03-19 02:11:41,719 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-19 02:11:41,719 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequestOrBuilder.java. 2020-03-19 02:11:41,719 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java. 2020-03-19 02:11:41,720 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfig.java. 2020-03-19 02:11:41,728 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java. 2020-03-19 02:11:41,728 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequestOrBuilder.java. 2020-03-19 02:11:41,728 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequestOrBuilder.java. 2020-03-19 02:11:41,729 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentOrBuilder.java. 2020-03-19 02:11:41,729 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java. 2020-03-19 02:11:41,729 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeOrBuilder.java. 2020-03-19 02:11:41,730 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java. 2020-03-19 02:11:41,730 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Sentiment.java. 2020-03-19 02:11:41,730 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInput.java. 2020-03-19 02:11:41,730 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java. 2020-03-19 02:11:41,731 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatchOrBuilder.java. 2020-03-19 02:11:41,731 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java. 2020-03-19 02:11:41,731 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequest.java. 2020-03-19 02:11:41,731 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-19 02:11:41,731 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:41,732 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponseOrBuilder.java. 2020-03-19 02:11:41,732 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationError.java. 2020-03-19 02:11:41,732 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultOrBuilder.java. 2020-03-19 02:11:41,732 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechContextOrBuilder.java. 2020-03-19 02:11:41,733 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java. 2020-03-19 02:11:41,733 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java. 2020-03-19 02:11:41,733 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java. 2020-03-19 02:11:41,733 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java. 2020-03-19 02:11:41,734 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java. 2020-03-19 02:11:41,734 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java. 2020-03-19 02:11:41,734 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatch.java. 2020-03-19 02:11:41,734 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java. 2020-03-19 02:11:41,734 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponseOrBuilder.java. 2020-03-19 02:11:41,735 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java. 2020-03-19 02:11:41,735 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java. 2020-03-19 02:11:41,735 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequestOrBuilder.java. 2020-03-19 02:11:41,735 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-19 02:11:41,736 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java. 2020-03-19 02:11:41,736 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:41,736 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-19 02:11:41,736 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java. 2020-03-19 02:11:41,737 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:41,737 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInput.java. 2020-03-19 02:11:41,737 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java. 2020-03-19 02:11:41,738 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java. 2020-03-19 02:11:41,738 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java. 2020-03-19 02:11:41,738 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResultOrBuilder.java. 2020-03-19 02:11:41,738 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:41,739 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java. 2020-03-19 02:11:41,739 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResultOrBuilder.java. 2020-03-19 02:11:41,739 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponseOrBuilder.java. 2020-03-19 02:11:41,739 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java. 2020-03-19 02:11:41,739 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponseOrBuilder.java. 2020-03-19 02:11:41,740 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java. 2020-03-19 02:11:41,740 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponse.java. 2020-03-19 02:11:41,740 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequestOrBuilder.java. 2020-03-19 02:11:41,740 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-19 02:11:41,741 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequest.java. 2020-03-19 02:11:41,741 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponse.java. 2020-03-19 02:11:41,741 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequestOrBuilder.java. 2020-03-19 02:11:41,741 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequest.java. 2020-03-19 02:11:41,742 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java. 2020-03-19 02:11:41,742 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParamsOrBuilder.java. 2020-03-19 02:11:41,746 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java. 2020-03-19 02:11:41,746 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeName.java. 2020-03-19 02:11:41,747 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentName.java. 2020-03-19 02:11:41,747 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ProjectAgentName.java. 2020-03-19 02:11:41,747 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeName.java. 2020-03-19 02:11:41,747 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ProjectName.java. 2020-03-19 02:11:41,747 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java. 2020-03-19 02:11:41,748 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionName.java. 2020-03-19 02:11:41,751 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextsGrpc.java. 2020-03-19 02:11:41,751 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentsGrpc.java. 2020-03-19 02:11:41,752 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentsGrpc.java. 2020-03-19 02:11:41,753 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesGrpc.java. 2020-03-19 02:11:41,753 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionsGrpc.java. 2020-03-19 02:11:41,754 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesGrpc.java. 2020-03-19 02:11:41,827 synthtool > Running generator for google/cloud/dialogflow/v2beta1/artman_dialogflow_v2beta1_java.yaml. 2020-03-19 02:11:58,146 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-19 02:11:58,147 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java. 2020-03-19 02:11:58,148 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java. 2020-03-19 02:11:58,148 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatchOrBuilder.java. 2020-03-19 02:11:58,148 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequestOrBuilder.java. 2020-03-19 02:11:58,148 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfigOrBuilder.java. 2020-03-19 02:11:58,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java. 2020-03-19 02:11:58,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java. 2020-03-19 02:11:58,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfig.java. 2020-03-19 02:11:58,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:58,149 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeOrBuilder.java. 2020-03-19 02:11:58,150 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java. 2020-03-19 02:11:58,150 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequestOrBuilder.java. 2020-03-19 02:11:58,150 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-19 02:11:58,150 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java. 2020-03-19 02:11:58,151 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInputOrBuilder.java. 2020-03-19 02:11:58,151 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResult.java. 2020-03-19 02:11:58,151 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java. 2020-03-19 02:11:58,151 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseProto.java. 2020-03-19 02:11:58,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechModelVariant.java. 2020-03-19 02:11:58,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswersOrBuilder.java. 2020-03-19 02:11:58,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java. 2020-03-19 02:11:58,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponseOrBuilder.java. 2020-03-19 02:11:58,152 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequestOrBuilder.java. 2020-03-19 02:11:58,153 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequestOrBuilder.java. 2020-03-19 02:11:58,153 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java. 2020-03-19 02:11:58,153 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java. 2020-03-19 02:11:58,154 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java. 2020-03-19 02:11:58,154 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfo.java. 2020-03-19 02:11:58,154 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java. 2020-03-19 02:11:58,154 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java. 2020-03-19 02:11:58,155 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java. 2020-03-19 02:11:58,155 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java. 2020-03-19 02:11:58,155 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequestOrBuilder.java. 2020-03-19 02:11:58,156 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponse.java. 2020-03-19 02:11:58,156 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java. 2020-03-19 02:11:58,156 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSourceOrBuilder.java. 2020-03-19 02:11:58,156 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-19 02:11:58,157 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SsmlVoiceGender.java. 2020-03-19 02:11:58,157 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:58,157 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java. 2020-03-19 02:11:58,157 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioEncoding.java. 2020-03-19 02:11:58,157 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequestOrBuilder.java. 2020-03-19 02:11:58,158 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgent.java. 2020-03-19 02:11:58,158 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java. 2020-03-19 02:11:58,158 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponse.java. 2020-03-19 02:11:58,158 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java. 2020-03-19 02:11:58,159 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequestOrBuilder.java. 2020-03-19 02:11:58,159 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java. 2020-03-19 02:11:58,159 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java. 2020-03-19 02:11:58,159 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequest.java. 2020-03-19 02:11:58,160 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java. 2020-03-19 02:11:58,160 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequestOrBuilder.java. 2020-03-19 02:11:58,160 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponseOrBuilder.java. 2020-03-19 02:11:58,161 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequestOrBuilder.java. 2020-03-19 02:11:58,161 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-19 02:11:58,161 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-19 02:11:58,161 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParametersOrBuilder.java. 2020-03-19 02:11:58,162 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContext.java. 2020-03-19 02:11:58,162 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfoOrBuilder.java. 2020-03-19 02:11:58,162 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentOrBuilder.java. 2020-03-19 02:11:58,162 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java. 2020-03-19 02:11:58,163 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequest.java. 2020-03-19 02:11:58,163 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java. 2020-03-19 02:11:58,163 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequestOrBuilder.java. 2020-03-19 02:11:58,164 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java. 2020-03-19 02:11:58,164 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java. 2020-03-19 02:11:58,164 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java. 2020-03-19 02:11:58,164 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequestOrBuilder.java. 2020-03-19 02:11:58,165 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java. 2020-03-19 02:11:58,165 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParams.java. 2020-03-19 02:11:58,165 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java. 2020-03-19 02:11:58,165 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResultOrBuilder.java. 2020-03-19 02:11:58,166 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java. 2020-03-19 02:11:58,166 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultProto.java. 2020-03-19 02:11:58,166 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java. 2020-03-19 02:11:58,166 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java. 2020-03-19 02:11:58,167 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponseOrBuilder.java. 2020-03-19 02:11:58,167 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequestOrBuilder.java. 2020-03-19 02:11:58,167 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentView.java. 2020-03-19 02:11:58,167 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequestOrBuilder.java. 2020-03-19 02:11:58,167 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:58,168 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-19 02:11:58,168 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequestOrBuilder.java. 2020-03-19 02:11:58,168 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java. 2020-03-19 02:11:58,168 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java. 2020-03-19 02:11:58,169 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequestOrBuilder.java. 2020-03-19 02:11:58,169 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBase.java. 2020-03-19 02:11:58,169 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java. 2020-03-19 02:11:58,169 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfig.java. 2020-03-19 02:11:58,170 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java. 2020-03-19 02:11:58,170 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResult.java. 2020-03-19 02:11:58,170 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequest.java. 2020-03-19 02:11:58,170 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfigOrBuilder.java. 2020-03-19 02:11:58,170 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequestOrBuilder.java. 2020-03-19 02:11:58,171 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequest.java. 2020-03-19 02:11:58,171 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequestOrBuilder.java. 2020-03-19 02:11:58,171 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponseOrBuilder.java. 2020-03-19 02:11:58,171 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java. 2020-03-19 02:11:58,171 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-19 02:11:58,172 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadataOrBuilder.java. 2020-03-19 02:11:58,172 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java. 2020-03-19 02:11:58,172 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java. 2020-03-19 02:11:58,172 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequest.java. 2020-03-19 02:11:58,172 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java. 2020-03-19 02:11:58,173 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-19 02:11:58,173 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:58,173 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java. 2020-03-19 02:11:58,173 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequest.java. 2020-03-19 02:11:58,174 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInputOrBuilder.java. 2020-03-19 02:11:58,174 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequestOrBuilder.java. 2020-03-19 02:11:58,174 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequest.java. 2020-03-19 02:11:58,174 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioEncoding.java. 2020-03-19 02:11:58,174 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java. 2020-03-19 02:11:58,175 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java. 2020-03-19 02:11:58,175 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequestOrBuilder.java. 2020-03-19 02:11:58,175 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequestOrBuilder.java. 2020-03-19 02:11:58,175 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java. 2020-03-19 02:11:58,176 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java. 2020-03-19 02:11:58,176 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java. 2020-03-19 02:11:58,176 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java. 2020-03-19 02:11:58,177 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java. 2020-03-19 02:11:58,177 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequest.java. 2020-03-19 02:11:58,177 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationErrorOrBuilder.java. 2020-03-19 02:11:58,177 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequestOrBuilder.java. 2020-03-19 02:11:58,177 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequestOrBuilder.java. 2020-03-19 02:11:58,178 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-19 02:11:58,178 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequestOrBuilder.java. 2020-03-19 02:11:58,178 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java. 2020-03-19 02:11:58,178 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfig.java. 2020-03-19 02:11:58,190 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java. 2020-03-19 02:11:58,190 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequestOrBuilder.java. 2020-03-19 02:11:58,190 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequestOrBuilder.java. 2020-03-19 02:11:58,190 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentOrBuilder.java. 2020-03-19 02:11:58,191 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequestOrBuilder.java. 2020-03-19 02:11:58,191 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsProto.java. 2020-03-19 02:11:58,191 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java. 2020-03-19 02:11:58,191 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeOrBuilder.java. 2020-03-19 02:11:58,192 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java. 2020-03-19 02:11:58,192 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Sentiment.java. 2020-03-19 02:11:58,192 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInput.java. 2020-03-19 02:11:58,192 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java. 2020-03-19 02:11:58,193 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatchOrBuilder.java. 2020-03-19 02:11:58,193 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java. 2020-03-19 02:11:58,193 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java. 2020-03-19 02:11:58,193 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-19 02:11:58,193 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:58,194 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponseOrBuilder.java. 2020-03-19 02:11:58,194 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentOrBuilder.java. 2020-03-19 02:11:58,194 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequest.java. 2020-03-19 02:11:58,194 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Document.java. 2020-03-19 02:11:58,195 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponseOrBuilder.java. 2020-03-19 02:11:58,195 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationError.java. 2020-03-19 02:11:58,195 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultOrBuilder.java. 2020-03-19 02:11:58,195 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequest.java. 2020-03-19 02:11:58,196 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContextOrBuilder.java. 2020-03-19 02:11:58,196 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java. 2020-03-19 02:11:58,196 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java. 2020-03-19 02:11:58,196 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java. 2020-03-19 02:11:58,197 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java. 2020-03-19 02:11:58,197 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java. 2020-03-19 02:11:58,197 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java. 2020-03-19 02:11:58,197 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatch.java. 2020-03-19 02:11:58,198 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java. 2020-03-19 02:11:58,198 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponseOrBuilder.java. 2020-03-19 02:11:58,198 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java. 2020-03-19 02:11:58,198 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java. 2020-03-19 02:11:58,198 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequestOrBuilder.java. 2020-03-19 02:11:58,199 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-19 02:11:58,199 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java. 2020-03-19 02:11:58,199 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:58,199 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgentOrBuilder.java. 2020-03-19 02:11:58,199 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseOrBuilder.java. 2020-03-19 02:11:58,200 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-19 02:11:58,200 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatch.java. 2020-03-19 02:11:58,200 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequestOrBuilder.java. 2020-03-19 02:11:58,200 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:58,200 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSource.java. 2020-03-19 02:11:58,201 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInput.java. 2020-03-19 02:11:58,201 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequestOrBuilder.java. 2020-03-19 02:11:58,201 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequestOrBuilder.java. 2020-03-19 02:11:58,201 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java. 2020-03-19 02:11:58,202 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextOrBuilder.java. 2020-03-19 02:11:58,202 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResultOrBuilder.java. 2020-03-19 02:11:58,202 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadata.java. 2020-03-19 02:11:58,202 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequestOrBuilder.java. 2020-03-19 02:11:58,202 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-19 02:11:58,203 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java. 2020-03-19 02:11:58,203 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResultOrBuilder.java. 2020-03-19 02:11:58,203 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponseOrBuilder.java. 2020-03-19 02:11:58,203 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequestOrBuilder.java. 2020-03-19 02:11:58,203 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponseOrBuilder.java. 2020-03-19 02:11:58,204 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponse.java. 2020-03-19 02:11:58,204 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java. 2020-03-19 02:11:58,204 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java. 2020-03-19 02:11:58,204 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequestOrBuilder.java. 2020-03-19 02:11:58,205 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-19 02:11:58,205 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequestOrBuilder.java. 2020-03-19 02:11:58,205 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java. 2020-03-19 02:11:58,205 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequest.java. 2020-03-19 02:11:58,206 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java. 2020-03-19 02:11:58,206 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequest.java. 2020-03-19 02:11:58,206 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequestOrBuilder.java. 2020-03-19 02:11:58,206 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequestOrBuilder.java. 2020-03-19 02:11:58,207 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequest.java. 2020-03-19 02:11:58,207 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequest.java. 2020-03-19 02:11:58,207 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java. 2020-03-19 02:11:58,208 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParamsOrBuilder.java. 2020-03-19 02:11:58,209 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionName.java. 2020-03-19 02:11:58,209 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionEntityTypeName.java. 2020-03-19 02:11:58,210 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeName.java. 2020-03-19 02:11:58,210 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentName.java. 2020-03-19 02:11:58,210 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentName.java. 2020-03-19 02:11:58,210 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseName.java. 2020-03-19 02:11:58,210 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectAgentName.java. 2020-03-19 02:11:58,211 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeName.java. 2020-03-19 02:11:58,211 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectName.java. 2020-03-19 02:11:58,211 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextName.java. 2020-03-19 02:11:58,211 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentContextName.java. 2020-03-19 02:11:58,211 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionName.java. 2020-03-19 02:11:58,214 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsGrpc.java. 2020-03-19 02:11:58,214 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java. 2020-03-19 02:11:58,215 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java. 2020-03-19 02:11:58,216 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java. 2020-03-19 02:11:58,217 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java. 2020-03-19 02:11:58,217 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsGrpc.java. 2020-03-19 02:11:58,218 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java. 2020-03-19 02:11:58,218 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java. 2020-03-19 02:11:58,312 synthtool > Running java formatter on 130 files 2020-03-19 02:12:06,193 synthtool > Running java formatter on 6 files 2020-03-19 02:12:09,555 synthtool > Running java formatter on 174 files 2020-03-19 02:12:30,243 synthtool > Running java formatter on 130 files 2020-03-19 02:12:37,883 synthtool > Running java formatter on 8 files 2020-03-19 02:12:41,714 synthtool > Running java formatter on 219 files .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .github/trusted-contribution.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json samples/install-without-bom/pom.xml samples/pom.xml samples/snapshot/pom.xml samples/snippets/pom.xml 2020-03-19 02:13:06,754 synthtool > merge: codecov.yaml 2020-03-19 02:13:06,755 synthtool > merge: CODE_OF_CONDUCT.md 2020-03-19 02:13:06,755 synthtool > merge: java.header 2020-03-19 02:13:06,755 synthtool > merge: CONTRIBUTING.md 2020-03-19 02:13:06,756 synthtool > merge: LICENSE 2020-03-19 02:13:06,756 synthtool > merge: README.md 2020-03-19 02:13:06,756 synthtool > merge: license-checks.xml 2020-03-19 02:13:06,756 synthtool > merge: renovate.json 2020-03-19 02:13:06,757 synthtool > merge: .kokoro/build.bat 2020-03-19 02:13:06,757 synthtool > merge: .kokoro/dependencies.sh 2020-03-19 02:13:06,757 synthtool > merge: .kokoro/trampoline.sh 2020-03-19 02:13:06,757 synthtool > merge: .kokoro/coerce_logs.sh 2020-03-19 02:13:06,758 synthtool > merge: .kokoro/common.cfg 2020-03-19 02:13:06,758 synthtool > merge: .kokoro/linkage-monitor.sh 2020-03-19 02:13:06,758 synthtool > merge: .kokoro/build.sh 2020-03-19 02:13:06,758 synthtool > merge: .kokoro/presubmit/samples.cfg 2020-03-19 02:13:06,759 synthtool > merge: .kokoro/presubmit/integration.cfg 2020-03-19 02:13:06,759 synthtool > merge: .kokoro/presubmit/java11.cfg 2020-03-19 02:13:06,759 synthtool > merge: .kokoro/presubmit/java8-win.cfg 2020-03-19 02:13:06,759 synthtool > merge: .kokoro/presubmit/dependencies.cfg 2020-03-19 02:13:06,760 synthtool > merge: .kokoro/presubmit/java8.cfg 2020-03-19 02:13:06,760 synthtool > merge: .kokoro/presubmit/clirr.cfg 2020-03-19 02:13:06,760 synthtool > merge: .kokoro/presubmit/java7.cfg 2020-03-19 02:13:06,760 synthtool > merge: .kokoro/presubmit/common.cfg 2020-03-19 02:13:06,760 synthtool > merge: .kokoro/presubmit/lint.cfg 2020-03-19 02:13:06,761 synthtool > merge: .kokoro/presubmit/java8-osx.cfg 2020-03-19 02:13:06,761 synthtool > merge: .kokoro/presubmit/linkage-monitor.cfg 2020-03-19 02:13:06,761 synthtool > merge: .kokoro/continuous/samples.cfg 2020-03-19 02:13:06,761 synthtool > merge: .kokoro/continuous/integration.cfg 2020-03-19 02:13:06,762 synthtool > merge: .kokoro/continuous/java11.cfg 2020-03-19 02:13:06,762 synthtool > merge: .kokoro/continuous/java8-win.cfg 2020-03-19 02:13:06,762 synthtool > merge: .kokoro/continuous/dependencies.cfg 2020-03-19 02:13:06,762 synthtool > merge: .kokoro/continuous/java8.cfg 2020-03-19 02:13:06,762 synthtool > merge: .kokoro/continuous/java7.cfg 2020-03-19 02:13:06,763 synthtool > merge: .kokoro/continuous/common.cfg 2020-03-19 02:13:06,763 synthtool > merge: .kokoro/continuous/propose_release.cfg 2020-03-19 02:13:06,763 synthtool > merge: .kokoro/continuous/lint.cfg 2020-03-19 02:13:06,763 synthtool > merge: .kokoro/continuous/java8-osx.cfg 2020-03-19 02:13:06,764 synthtool > merge: .kokoro/nightly/samples.cfg 2020-03-19 02:13:06,764 synthtool > merge: .kokoro/nightly/integration.cfg 2020-03-19 02:13:06,764 synthtool > merge: .kokoro/nightly/java11.cfg 2020-03-19 02:13:06,764 synthtool > merge: .kokoro/nightly/java8-win.cfg 2020-03-19 02:13:06,764 synthtool > merge: .kokoro/nightly/dependencies.cfg 2020-03-19 02:13:06,765 synthtool > merge: .kokoro/nightly/java8.cfg 2020-03-19 02:13:06,765 synthtool > merge: .kokoro/nightly/java7.cfg 2020-03-19 02:13:06,765 synthtool > merge: .kokoro/nightly/common.cfg 2020-03-19 02:13:06,765 synthtool > merge: .kokoro/nightly/lint.cfg 2020-03-19 02:13:06,766 synthtool > merge: .kokoro/nightly/java8-osx.cfg 2020-03-19 02:13:06,766 synthtool > merge: .kokoro/release/common.sh 2020-03-19 02:13:06,766 synthtool > merge: .kokoro/release/drop.sh 2020-03-19 02:13:06,766 synthtool > merge: .kokoro/release/publish_javadoc.cfg 2020-03-19 02:13:06,767 synthtool > merge: .kokoro/release/bump_snapshot.cfg 2020-03-19 02:13:06,767 synthtool > merge: .kokoro/release/publish_javadoc.sh 2020-03-19 02:13:06,767 synthtool > merge: .kokoro/release/stage.sh 2020-03-19 02:13:06,767 synthtool > merge: .kokoro/release/common.cfg 2020-03-19 02:13:06,768 synthtool > merge: .kokoro/release/drop.cfg 2020-03-19 02:13:06,768 synthtool > merge: .kokoro/release/snapshot.sh 2020-03-19 02:13:06,768 synthtool > merge: .kokoro/release/stage.cfg 2020-03-19 02:13:06,768 synthtool > merge: .kokoro/release/promote.cfg 2020-03-19 02:13:06,768 synthtool > merge: .kokoro/release/promote.sh 2020-03-19 02:13:06,769 synthtool > merge: .kokoro/release/snapshot.cfg 2020-03-19 02:13:06,769 synthtool > merge: .github/PULL_REQUEST_TEMPLATE.md 2020-03-19 02:13:06,769 synthtool > merge: .github/trusted-contribution.yml 2020-03-19 02:13:06,769 synthtool > merge: .github/release-please.yml 2020-03-19 02:13:06,770 synthtool > merge: .github/ISSUE_TEMPLATE/feature_request.md 2020-03-19 02:13:06,770 synthtool > merge: .github/ISSUE_TEMPLATE/support_request.md 2020-03-19 02:13:06,770 synthtool > merge: .github/ISSUE_TEMPLATE/bug_report.md 2020-03-19 02:13:06,770 synthtool > merge: samples/pom.xml 2020-03-19 02:13:06,770 synthtool > existing pom file found (samples/pom.xml) - keeping the existing 2020-03-19 02:13:06,771 synthtool > merge: samples/snapshot/pom.xml 2020-03-19 02:13:06,771 synthtool > existing pom file found (samples/snapshot/pom.xml) - keeping the existing 2020-03-19 02:13:06,771 synthtool > merge: samples/snippets/pom.xml 2020-03-19 02:13:06,771 synthtool > existing pom file found (samples/snippets/pom.xml) - keeping the existing 2020-03-19 02:13:06,771 synthtool > merge: samples/install-without-bom/pom.xml 2020-03-19 02:13:06,771 synthtool > existing pom file found (samples/install-without-bom/pom.xml) - keeping the existing 2020-03-19 02:13:06,777 synthtool > Wrote metadata to synth.metadata. ```
--- README.md | 4 +++- synth.metadata | 16 ++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f4f9d1023..6a4a07512 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,13 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
+ com.google.cloud google-cloud-dialogflow - + ``` [//]: # ({x-version-update-start:google-cloud-dialogflow:released}) @@ -41,6 +42,7 @@ If you are using Maven without BOM, add this to your dependencies: google-cloud-dialogflow 1.0.0
+ ``` If you are using Gradle, add this to your dependencies diff --git a/synth.metadata b/synth.metadata index 8f05a2555..e49b34554 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-03-17T18:35:02.566243Z", + "updateTime": "2020-03-19T09:13:06.776960Z", "sources": [ { "generator": { @@ -12,16 +12,16 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "64ab9744073de81fec1b3a6a931befc8a90edf90", - "internalRef": "301373760", - "log": "64ab9744073de81fec1b3a6a931befc8a90edf90\nFix: Introduce location-based organization/folder/billing-account resources\nChore: Update copyright years\n\nPiperOrigin-RevId: 301373760\n\n23d5f09e670ebb0c1b36214acf78704e2ecfc2ac\nUpdate field_behavior annotations in V1 and V2.\n\nPiperOrigin-RevId: 301337970\n\nb2cf37e7fd62383a811aa4d54d013ecae638851d\nData Catalog V1 API\n\nPiperOrigin-RevId: 301282503\n\n1976b9981e2900c8172b7d34b4220bdb18c5db42\nCloud DLP api update. Adds missing fields to Finding and adds support for hybrid jobs.\n\nPiperOrigin-RevId: 301205325\n\nae78682c05e864d71223ce22532219813b0245ac\nfix: several sample code blocks in comments are now properly indented for markdown\n\nPiperOrigin-RevId: 301185150\n\ndcd171d04bda5b67db13049320f97eca3ace3731\nPublish Media Translation API V1Beta1\n\nPiperOrigin-RevId: 301180096\n\nff1713453b0fbc5a7544a1ef6828c26ad21a370e\nAdd protos and BUILD rules for v1 API.\n\nPiperOrigin-RevId: 301179394\n\n8386761d09819b665b6a6e1e6d6ff884bc8ff781\nfeat: chromeos/modlab publish protos and config for Chrome OS Moblab API.\n\nPiperOrigin-RevId: 300843960\n\n" + "sha": "275fbcce2c900278d487c33293a3c7e1fbcd3a34", + "internalRef": "301661567", + "log": "275fbcce2c900278d487c33293a3c7e1fbcd3a34\nfeat: pubsub/v1 add an experimental filter field to Subscription\n\nPiperOrigin-RevId: 301661567\n\nf2b18cec51d27c999ad30011dba17f3965677e9c\nFix: UpdateBackupRequest.backup is a resource, not a resource reference - remove annotation.\n\nPiperOrigin-RevId: 301636171\n\n800384063ac93a0cac3a510d41726fa4b2cd4a83\nCloud Billing Budget API v1beta1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301634389\n\n0cc6c146b660db21f04056c3d58a4b752ee445e3\nCloud Billing Budget API v1alpha1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301630018\n\nff2ea00f69065585c3ac0993c8b582af3b6fc215\nFix: Add resource definition for a parent of InspectTemplate which was otherwise missing.\n\nPiperOrigin-RevId: 301623052\n\n55fa441c9daf03173910760191646399338f2b7c\nAdd proto definition for AccessLevel, AccessPolicy, and ServicePerimeter.\n\nPiperOrigin-RevId: 301620844\n\ne7b10591c5408a67cf14ffafa267556f3290e262\nCloud Bigtable Managed Backup service and message proto files.\n\nPiperOrigin-RevId: 301585144\n\nd8e226f702f8ddf92915128c9f4693b63fb8685d\nfeat: Add time-to-live in a queue for builds\n\nPiperOrigin-RevId: 301579876\n\n430375af011f8c7a5174884f0d0e539c6ffa7675\ndocs: add missing closing backtick\n\nPiperOrigin-RevId: 301538851\n\n0e9f1f60ded9ad1c2e725e37719112f5b487ab65\nbazel: Use latest release of gax_java\n\nPiperOrigin-RevId: 301480457\n\n5058c1c96d0ece7f5301a154cf5a07b2ad03a571\nUpdate GAPIC v2 with batching parameters for Logging API\n\nPiperOrigin-RevId: 301443847\n\n" } }, { - "template": { - "name": "java_library", - "origin": "synthtool.gcp", - "version": "2020.2.4" + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "bcad3e01b69851ad682a87f8202003a1683ad73a" } } ], From 757cbc8d20697c4b60a3fd8fb69a0ad7ef574b52 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Thu, 19 Mar 2020 22:29:38 -0700 Subject: [PATCH 09/43] chore: Migrate dialogflow synth.py to bazel (#118) The changes in grpc stubs are caused by the gRPC upgrade from 1.10 (more than a year old) to 1.27 (same version which is used as runtime dependency) --- .../clirr-ignored-differences.xml | 10 + .../cloud/dialogflow/v2/AgentsGrpc.java | 370 ++++++---------- .../cloud/dialogflow/v2/ContextsGrpc.java | 266 +++++------- .../cloud/dialogflow/v2/EntityTypesGrpc.java | 405 +++++++---------- .../cloud/dialogflow/v2/IntentsGrpc.java | 300 +++++-------- .../dialogflow/v2/SessionEntityTypesGrpc.java | 231 ++++------ .../cloud/dialogflow/v2/SessionsGrpc.java | 118 +++-- .../clirr-ignored-differences.xml | 10 + .../cloud/dialogflow/v2beta1/AgentsGrpc.java | 377 ++++++---------- .../dialogflow/v2beta1/ContextsGrpc.java | 268 +++++------- .../dialogflow/v2beta1/DocumentsGrpc.java | 271 +++++------- .../dialogflow/v2beta1/EntityTypesGrpc.java | 407 +++++++----------- .../cloud/dialogflow/v2beta1/IntentsGrpc.java | 307 +++++-------- .../v2beta1/KnowledgeBasesGrpc.java | 229 ++++------ .../v2beta1/SessionEntityTypesGrpc.java | 233 ++++------ .../dialogflow/v2beta1/SessionsGrpc.java | 118 +++-- synth.py | 43 +- 17 files changed, 1519 insertions(+), 2444 deletions(-) create mode 100644 grpc-google-cloud-dialogflow-v2/clirr-ignored-differences.xml create mode 100644 grpc-google-cloud-dialogflow-v2beta1/clirr-ignored-differences.xml diff --git a/grpc-google-cloud-dialogflow-v2/clirr-ignored-differences.xml b/grpc-google-cloud-dialogflow-v2/clirr-ignored-differences.xml new file mode 100644 index 000000000..c9ef0764a --- /dev/null +++ b/grpc-google-cloud-dialogflow-v2/clirr-ignored-differences.xml @@ -0,0 +1,10 @@ + + + + + + 6001 + com/google/cloud/dialogflow/v2/*Grpc + METHOD_* + + diff --git a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentsGrpc.java b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentsGrpc.java index 5ba7f12b5..d7be1d8aa 100644 --- a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentsGrpc.java @@ -52,7 +52,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2/agent.proto") public final class AgentsGrpc { @@ -61,26 +61,18 @@ private AgentsGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2.Agents"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetAgentRequest, com.google.cloud.dialogflow.v2.Agent> - METHOD_GET_AGENT = getGetAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetAgentRequest, com.google.cloud.dialogflow.v2.Agent> getGetAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAgent", + requestType = com.google.cloud.dialogflow.v2.GetAgentRequest.class, + responseType = com.google.cloud.dialogflow.v2.Agent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetAgentRequest, com.google.cloud.dialogflow.v2.Agent> getGetAgentMethod() { - return getGetAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetAgentRequest, com.google.cloud.dialogflow.v2.Agent> - getGetAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetAgentRequest, com.google.cloud.dialogflow.v2.Agent> getGetAgentMethod; @@ -94,8 +86,7 @@ private AgentsGrpc() {} com.google.cloud.dialogflow.v2.Agent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName("google.cloud.dialogflow.v2.Agents", "GetAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -111,26 +102,18 @@ private AgentsGrpc() {} return getGetAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getSetAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.SetAgentRequest, com.google.cloud.dialogflow.v2.Agent> - METHOD_SET_AGENT = getSetAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SetAgentRequest, com.google.cloud.dialogflow.v2.Agent> getSetAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetAgent", + requestType = com.google.cloud.dialogflow.v2.SetAgentRequest.class, + responseType = com.google.cloud.dialogflow.v2.Agent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SetAgentRequest, com.google.cloud.dialogflow.v2.Agent> getSetAgentMethod() { - return getSetAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.SetAgentRequest, com.google.cloud.dialogflow.v2.Agent> - getSetAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SetAgentRequest, com.google.cloud.dialogflow.v2.Agent> getSetAgentMethod; @@ -144,8 +127,7 @@ private AgentsGrpc() {} com.google.cloud.dialogflow.v2.Agent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName("google.cloud.dialogflow.v2.Agents", "SetAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -161,26 +143,18 @@ private AgentsGrpc() {} return getSetAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteAgentRequest, com.google.protobuf.Empty> - METHOD_DELETE_AGENT = getDeleteAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteAgentRequest, com.google.protobuf.Empty> getDeleteAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAgent", + requestType = com.google.cloud.dialogflow.v2.DeleteAgentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteAgentRequest, com.google.protobuf.Empty> getDeleteAgentMethod() { - return getDeleteAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteAgentRequest, com.google.protobuf.Empty> - getDeleteAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteAgentRequest, com.google.protobuf.Empty> getDeleteAgentMethod; @@ -194,9 +168,7 @@ private AgentsGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Agents", "DeleteAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -213,30 +185,20 @@ private AgentsGrpc() {} return getDeleteAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getSearchAgentsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.SearchAgentsRequest, - com.google.cloud.dialogflow.v2.SearchAgentsResponse> - METHOD_SEARCH_AGENTS = getSearchAgentsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SearchAgentsRequest, com.google.cloud.dialogflow.v2.SearchAgentsResponse> getSearchAgentsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchAgents", + requestType = com.google.cloud.dialogflow.v2.SearchAgentsRequest.class, + responseType = com.google.cloud.dialogflow.v2.SearchAgentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SearchAgentsRequest, com.google.cloud.dialogflow.v2.SearchAgentsResponse> getSearchAgentsMethod() { - return getSearchAgentsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.SearchAgentsRequest, - com.google.cloud.dialogflow.v2.SearchAgentsResponse> - getSearchAgentsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SearchAgentsRequest, com.google.cloud.dialogflow.v2.SearchAgentsResponse> @@ -251,9 +213,7 @@ private AgentsGrpc() {} com.google.cloud.dialogflow.v2.SearchAgentsResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Agents", "SearchAgents")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAgents")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -271,26 +231,18 @@ private AgentsGrpc() {} return getSearchAgentsMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getTrainAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.TrainAgentRequest, com.google.longrunning.Operation> - METHOD_TRAIN_AGENT = getTrainAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.TrainAgentRequest, com.google.longrunning.Operation> getTrainAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TrainAgent", + requestType = com.google.cloud.dialogflow.v2.TrainAgentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.TrainAgentRequest, com.google.longrunning.Operation> getTrainAgentMethod() { - return getTrainAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.TrainAgentRequest, com.google.longrunning.Operation> - getTrainAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.TrainAgentRequest, com.google.longrunning.Operation> getTrainAgentMethod; @@ -304,8 +256,7 @@ private AgentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName("google.cloud.dialogflow.v2.Agents", "TrainAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TrainAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -322,26 +273,18 @@ private AgentsGrpc() {} return getTrainAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getExportAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ExportAgentRequest, com.google.longrunning.Operation> - METHOD_EXPORT_AGENT = getExportAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ExportAgentRequest, com.google.longrunning.Operation> getExportAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportAgent", + requestType = com.google.cloud.dialogflow.v2.ExportAgentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ExportAgentRequest, com.google.longrunning.Operation> getExportAgentMethod() { - return getExportAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ExportAgentRequest, com.google.longrunning.Operation> - getExportAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ExportAgentRequest, com.google.longrunning.Operation> getExportAgentMethod; @@ -355,9 +298,7 @@ private AgentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Agents", "ExportAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -374,26 +315,18 @@ private AgentsGrpc() {} return getExportAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getImportAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ImportAgentRequest, com.google.longrunning.Operation> - METHOD_IMPORT_AGENT = getImportAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ImportAgentRequest, com.google.longrunning.Operation> getImportAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAgent", + requestType = com.google.cloud.dialogflow.v2.ImportAgentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ImportAgentRequest, com.google.longrunning.Operation> getImportAgentMethod() { - return getImportAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ImportAgentRequest, com.google.longrunning.Operation> - getImportAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ImportAgentRequest, com.google.longrunning.Operation> getImportAgentMethod; @@ -407,9 +340,7 @@ private AgentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Agents", "ImportAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -426,26 +357,18 @@ private AgentsGrpc() {} return getImportAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getRestoreAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.RestoreAgentRequest, com.google.longrunning.Operation> - METHOD_RESTORE_AGENT = getRestoreAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.RestoreAgentRequest, com.google.longrunning.Operation> getRestoreAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestoreAgent", + requestType = com.google.cloud.dialogflow.v2.RestoreAgentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.RestoreAgentRequest, com.google.longrunning.Operation> getRestoreAgentMethod() { - return getRestoreAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.RestoreAgentRequest, com.google.longrunning.Operation> - getRestoreAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.RestoreAgentRequest, com.google.longrunning.Operation> getRestoreAgentMethod; @@ -459,9 +382,7 @@ private AgentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Agents", "RestoreAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -478,30 +399,20 @@ private AgentsGrpc() {} return getRestoreAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetValidationResultMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetValidationResultRequest, - com.google.cloud.dialogflow.v2.ValidationResult> - METHOD_GET_VALIDATION_RESULT = getGetValidationResultMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetValidationResultRequest, com.google.cloud.dialogflow.v2.ValidationResult> getGetValidationResultMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetValidationResult", + requestType = com.google.cloud.dialogflow.v2.GetValidationResultRequest.class, + responseType = com.google.cloud.dialogflow.v2.ValidationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetValidationResultRequest, com.google.cloud.dialogflow.v2.ValidationResult> getGetValidationResultMethod() { - return getGetValidationResultMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetValidationResultRequest, - com.google.cloud.dialogflow.v2.ValidationResult> - getGetValidationResultMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetValidationResultRequest, com.google.cloud.dialogflow.v2.ValidationResult> @@ -517,8 +428,7 @@ private AgentsGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Agents", "GetValidationResult")) + generateFullMethodName(SERVICE_NAME, "GetValidationResult")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -538,19 +448,42 @@ private AgentsGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static AgentsStub newStub(io.grpc.Channel channel) { - return new AgentsStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AgentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AgentsStub(channel, callOptions); + } + }; + return AgentsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static AgentsBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new AgentsBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AgentsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AgentsBlockingStub(channel, callOptions); + } + }; + return AgentsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static AgentsFutureStub newFutureStub(io.grpc.Channel channel) { - return new AgentsFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AgentsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AgentsFutureStub(channel, callOptions); + } + }; + return AgentsFutureStub.newStub(factory, channel); } /** @@ -594,7 +527,7 @@ public abstract static class AgentsImplBase implements io.grpc.BindableService { public void getAgent( com.google.cloud.dialogflow.v2.GetAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetAgentMethod(), responseObserver); } /** @@ -607,7 +540,7 @@ public void getAgent( public void setAgent( com.google.cloud.dialogflow.v2.SetAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSetAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getSetAgentMethod(), responseObserver); } /** @@ -620,7 +553,7 @@ public void setAgent( public void deleteAgent( com.google.cloud.dialogflow.v2.DeleteAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteAgentMethod(), responseObserver); } /** @@ -639,7 +572,7 @@ public void searchAgents( com.google.cloud.dialogflow.v2.SearchAgentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSearchAgentsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getSearchAgentsMethod(), responseObserver); } /** @@ -653,7 +586,7 @@ public void searchAgents( public void trainAgent( com.google.cloud.dialogflow.v2.TrainAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getTrainAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getTrainAgentMethod(), responseObserver); } /** @@ -667,7 +600,7 @@ public void trainAgent( public void exportAgent( com.google.cloud.dialogflow.v2.ExportAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getExportAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getExportAgentMethod(), responseObserver); } /** @@ -684,7 +617,7 @@ public void exportAgent( public void importAgent( com.google.cloud.dialogflow.v2.ImportAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getImportAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getImportAgentMethod(), responseObserver); } /** @@ -700,7 +633,7 @@ public void importAgent( public void restoreAgent( com.google.cloud.dialogflow.v2.RestoreAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getRestoreAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getRestoreAgentMethod(), responseObserver); } /** @@ -715,63 +648,63 @@ public void getValidationResult( com.google.cloud.dialogflow.v2.GetValidationResultRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetValidationResultMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetValidationResultMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getGetAgentMethodHelper(), + getGetAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.GetAgentRequest, com.google.cloud.dialogflow.v2.Agent>(this, METHODID_GET_AGENT))) .addMethod( - getSetAgentMethodHelper(), + getSetAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.SetAgentRequest, com.google.cloud.dialogflow.v2.Agent>(this, METHODID_SET_AGENT))) .addMethod( - getDeleteAgentMethodHelper(), + getDeleteAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.DeleteAgentRequest, com.google.protobuf.Empty>( this, METHODID_DELETE_AGENT))) .addMethod( - getSearchAgentsMethodHelper(), + getSearchAgentsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.SearchAgentsRequest, com.google.cloud.dialogflow.v2.SearchAgentsResponse>( this, METHODID_SEARCH_AGENTS))) .addMethod( - getTrainAgentMethodHelper(), + getTrainAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.TrainAgentRequest, com.google.longrunning.Operation>(this, METHODID_TRAIN_AGENT))) .addMethod( - getExportAgentMethodHelper(), + getExportAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.ExportAgentRequest, com.google.longrunning.Operation>(this, METHODID_EXPORT_AGENT))) .addMethod( - getImportAgentMethodHelper(), + getImportAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.ImportAgentRequest, com.google.longrunning.Operation>(this, METHODID_IMPORT_AGENT))) .addMethod( - getRestoreAgentMethodHelper(), + getRestoreAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.RestoreAgentRequest, com.google.longrunning.Operation>(this, METHODID_RESTORE_AGENT))) .addMethod( - getGetValidationResultMethodHelper(), + getGetValidationResultMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.GetValidationResultRequest, @@ -810,11 +743,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * documentation](https://cloud.google.com/dialogflow/docs/agents-overview). * */ - public static final class AgentsStub extends io.grpc.stub.AbstractStub { - private AgentsStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class AgentsStub extends io.grpc.stub.AbstractAsyncStub { private AgentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -835,9 +764,7 @@ public void getAgent( com.google.cloud.dialogflow.v2.GetAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetAgentMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetAgentMethod(), getCallOptions()), request, responseObserver); } /** @@ -851,9 +778,7 @@ public void setAgent( com.google.cloud.dialogflow.v2.SetAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getSetAgentMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSetAgentMethod(), getCallOptions()), request, responseObserver); } /** @@ -867,7 +792,7 @@ public void deleteAgent( com.google.cloud.dialogflow.v2.DeleteAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteAgentMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteAgentMethod(), getCallOptions()), request, responseObserver); } @@ -889,7 +814,7 @@ public void searchAgents( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getSearchAgentsMethodHelper(), getCallOptions()), + getChannel().newCall(getSearchAgentsMethod(), getCallOptions()), request, responseObserver); } @@ -906,9 +831,7 @@ public void trainAgent( com.google.cloud.dialogflow.v2.TrainAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getTrainAgentMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTrainAgentMethod(), getCallOptions()), request, responseObserver); } /** @@ -923,7 +846,7 @@ public void exportAgent( com.google.cloud.dialogflow.v2.ExportAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getExportAgentMethodHelper(), getCallOptions()), + getChannel().newCall(getExportAgentMethod(), getCallOptions()), request, responseObserver); } @@ -943,7 +866,7 @@ public void importAgent( com.google.cloud.dialogflow.v2.ImportAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getImportAgentMethodHelper(), getCallOptions()), + getChannel().newCall(getImportAgentMethod(), getCallOptions()), request, responseObserver); } @@ -962,7 +885,7 @@ public void restoreAgent( com.google.cloud.dialogflow.v2.RestoreAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getRestoreAgentMethodHelper(), getCallOptions()), + getChannel().newCall(getRestoreAgentMethod(), getCallOptions()), request, responseObserver); } @@ -980,7 +903,7 @@ public void getValidationResult( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetValidationResultMethodHelper(), getCallOptions()), + getChannel().newCall(getGetValidationResultMethod(), getCallOptions()), request, responseObserver); } @@ -1016,11 +939,7 @@ public void getValidationResult( * */ public static final class AgentsBlockingStub - extends io.grpc.stub.AbstractStub { - private AgentsBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private AgentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1039,7 +958,7 @@ protected AgentsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions */ public com.google.cloud.dialogflow.v2.Agent getAgent( com.google.cloud.dialogflow.v2.GetAgentRequest request) { - return blockingUnaryCall(getChannel(), getGetAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getGetAgentMethod(), getCallOptions(), request); } /** @@ -1051,7 +970,7 @@ public com.google.cloud.dialogflow.v2.Agent getAgent( */ public com.google.cloud.dialogflow.v2.Agent setAgent( com.google.cloud.dialogflow.v2.SetAgentRequest request) { - return blockingUnaryCall(getChannel(), getSetAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getSetAgentMethod(), getCallOptions(), request); } /** @@ -1063,8 +982,7 @@ public com.google.cloud.dialogflow.v2.Agent setAgent( */ public com.google.protobuf.Empty deleteAgent( com.google.cloud.dialogflow.v2.DeleteAgentRequest request) { - return blockingUnaryCall( - getChannel(), getDeleteAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getDeleteAgentMethod(), getCallOptions(), request); } /** @@ -1081,8 +999,7 @@ public com.google.protobuf.Empty deleteAgent( */ public com.google.cloud.dialogflow.v2.SearchAgentsResponse searchAgents( com.google.cloud.dialogflow.v2.SearchAgentsRequest request) { - return blockingUnaryCall( - getChannel(), getSearchAgentsMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getSearchAgentsMethod(), getCallOptions(), request); } /** @@ -1095,8 +1012,7 @@ public com.google.cloud.dialogflow.v2.SearchAgentsResponse searchAgents( */ public com.google.longrunning.Operation trainAgent( com.google.cloud.dialogflow.v2.TrainAgentRequest request) { - return blockingUnaryCall( - getChannel(), getTrainAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getTrainAgentMethod(), getCallOptions(), request); } /** @@ -1109,8 +1025,7 @@ public com.google.longrunning.Operation trainAgent( */ public com.google.longrunning.Operation exportAgent( com.google.cloud.dialogflow.v2.ExportAgentRequest request) { - return blockingUnaryCall( - getChannel(), getExportAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getExportAgentMethod(), getCallOptions(), request); } /** @@ -1126,8 +1041,7 @@ public com.google.longrunning.Operation exportAgent( */ public com.google.longrunning.Operation importAgent( com.google.cloud.dialogflow.v2.ImportAgentRequest request) { - return blockingUnaryCall( - getChannel(), getImportAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getImportAgentMethod(), getCallOptions(), request); } /** @@ -1142,8 +1056,7 @@ public com.google.longrunning.Operation importAgent( */ public com.google.longrunning.Operation restoreAgent( com.google.cloud.dialogflow.v2.RestoreAgentRequest request) { - return blockingUnaryCall( - getChannel(), getRestoreAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getRestoreAgentMethod(), getCallOptions(), request); } /** @@ -1157,7 +1070,7 @@ public com.google.longrunning.Operation restoreAgent( public com.google.cloud.dialogflow.v2.ValidationResult getValidationResult( com.google.cloud.dialogflow.v2.GetValidationResultRequest request) { return blockingUnaryCall( - getChannel(), getGetValidationResultMethodHelper(), getCallOptions(), request); + getChannel(), getGetValidationResultMethod(), getCallOptions(), request); } } @@ -1190,11 +1103,8 @@ public com.google.cloud.dialogflow.v2.ValidationResult getValidationResult( * documentation](https://cloud.google.com/dialogflow/docs/agents-overview). * */ - public static final class AgentsFutureStub extends io.grpc.stub.AbstractStub { - private AgentsFutureStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class AgentsFutureStub + extends io.grpc.stub.AbstractFutureStub { private AgentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1213,8 +1123,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca */ public com.google.common.util.concurrent.ListenableFuture getAgent(com.google.cloud.dialogflow.v2.GetAgentRequest request) { - return futureUnaryCall( - getChannel().newCall(getGetAgentMethodHelper(), getCallOptions()), request); + return futureUnaryCall(getChannel().newCall(getGetAgentMethod(), getCallOptions()), request); } /** @@ -1226,8 +1135,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca */ public com.google.common.util.concurrent.ListenableFuture setAgent(com.google.cloud.dialogflow.v2.SetAgentRequest request) { - return futureUnaryCall( - getChannel().newCall(getSetAgentMethodHelper(), getCallOptions()), request); + return futureUnaryCall(getChannel().newCall(getSetAgentMethod(), getCallOptions()), request); } /** @@ -1240,7 +1148,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture deleteAgent(com.google.cloud.dialogflow.v2.DeleteAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteAgentMethod(), getCallOptions()), request); } /** @@ -1259,7 +1167,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca com.google.cloud.dialogflow.v2.SearchAgentsResponse> searchAgents(com.google.cloud.dialogflow.v2.SearchAgentsRequest request) { return futureUnaryCall( - getChannel().newCall(getSearchAgentsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getSearchAgentsMethod(), getCallOptions()), request); } /** @@ -1273,7 +1181,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture trainAgent(com.google.cloud.dialogflow.v2.TrainAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getTrainAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getTrainAgentMethod(), getCallOptions()), request); } /** @@ -1287,7 +1195,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture exportAgent(com.google.cloud.dialogflow.v2.ExportAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getExportAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getExportAgentMethod(), getCallOptions()), request); } /** @@ -1304,7 +1212,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture importAgent(com.google.cloud.dialogflow.v2.ImportAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getImportAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getImportAgentMethod(), getCallOptions()), request); } /** @@ -1320,7 +1228,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture restoreAgent(com.google.cloud.dialogflow.v2.RestoreAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getRestoreAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getRestoreAgentMethod(), getCallOptions()), request); } /** @@ -1335,7 +1243,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca com.google.cloud.dialogflow.v2.ValidationResult> getValidationResult(com.google.cloud.dialogflow.v2.GetValidationResultRequest request) { return futureUnaryCall( - getChannel().newCall(getGetValidationResultMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetValidationResultMethod(), getCallOptions()), request); } } @@ -1475,15 +1383,15 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new AgentsFileDescriptorSupplier()) - .addMethod(getGetAgentMethodHelper()) - .addMethod(getSetAgentMethodHelper()) - .addMethod(getDeleteAgentMethodHelper()) - .addMethod(getSearchAgentsMethodHelper()) - .addMethod(getTrainAgentMethodHelper()) - .addMethod(getExportAgentMethodHelper()) - .addMethod(getImportAgentMethodHelper()) - .addMethod(getRestoreAgentMethodHelper()) - .addMethod(getGetValidationResultMethodHelper()) + .addMethod(getGetAgentMethod()) + .addMethod(getSetAgentMethod()) + .addMethod(getDeleteAgentMethod()) + .addMethod(getSearchAgentsMethod()) + .addMethod(getTrainAgentMethod()) + .addMethod(getExportAgentMethod()) + .addMethod(getImportAgentMethod()) + .addMethod(getRestoreAgentMethod()) + .addMethod(getGetValidationResultMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextsGrpc.java b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextsGrpc.java index 7547b64c1..d19a717d8 100644 --- a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextsGrpc.java @@ -45,7 +45,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2/context.proto") public final class ContextsGrpc { @@ -54,30 +54,20 @@ private ContextsGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2.Contexts"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListContextsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ListContextsRequest, - com.google.cloud.dialogflow.v2.ListContextsResponse> - METHOD_LIST_CONTEXTS = getListContextsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListContextsRequest, com.google.cloud.dialogflow.v2.ListContextsResponse> getListContextsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListContexts", + requestType = com.google.cloud.dialogflow.v2.ListContextsRequest.class, + responseType = com.google.cloud.dialogflow.v2.ListContextsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListContextsRequest, com.google.cloud.dialogflow.v2.ListContextsResponse> getListContextsMethod() { - return getListContextsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ListContextsRequest, - com.google.cloud.dialogflow.v2.ListContextsResponse> - getListContextsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListContextsRequest, com.google.cloud.dialogflow.v2.ListContextsResponse> @@ -92,9 +82,7 @@ private ContextsGrpc() {} com.google.cloud.dialogflow.v2.ListContextsResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Contexts", "ListContexts")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContexts")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -112,26 +100,18 @@ private ContextsGrpc() {} return getListContextsMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetContextMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetContextRequest, com.google.cloud.dialogflow.v2.Context> - METHOD_GET_CONTEXT = getGetContextMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetContextRequest, com.google.cloud.dialogflow.v2.Context> getGetContextMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetContext", + requestType = com.google.cloud.dialogflow.v2.GetContextRequest.class, + responseType = com.google.cloud.dialogflow.v2.Context.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetContextRequest, com.google.cloud.dialogflow.v2.Context> getGetContextMethod() { - return getGetContextMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetContextRequest, com.google.cloud.dialogflow.v2.Context> - getGetContextMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetContextRequest, com.google.cloud.dialogflow.v2.Context> @@ -146,9 +126,7 @@ private ContextsGrpc() {} com.google.cloud.dialogflow.v2.Context> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Contexts", "GetContext")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContext")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -165,30 +143,20 @@ private ContextsGrpc() {} return getGetContextMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateContextMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.CreateContextRequest, - com.google.cloud.dialogflow.v2.Context> - METHOD_CREATE_CONTEXT = getCreateContextMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateContextRequest, com.google.cloud.dialogflow.v2.Context> getCreateContextMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateContext", + requestType = com.google.cloud.dialogflow.v2.CreateContextRequest.class, + responseType = com.google.cloud.dialogflow.v2.Context.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateContextRequest, com.google.cloud.dialogflow.v2.Context> getCreateContextMethod() { - return getCreateContextMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.CreateContextRequest, - com.google.cloud.dialogflow.v2.Context> - getCreateContextMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateContextRequest, com.google.cloud.dialogflow.v2.Context> @@ -203,9 +171,7 @@ private ContextsGrpc() {} com.google.cloud.dialogflow.v2.Context> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Contexts", "CreateContext")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateContext")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -222,30 +188,20 @@ private ContextsGrpc() {} return getCreateContextMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateContextMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.UpdateContextRequest, - com.google.cloud.dialogflow.v2.Context> - METHOD_UPDATE_CONTEXT = getUpdateContextMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateContextRequest, com.google.cloud.dialogflow.v2.Context> getUpdateContextMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateContext", + requestType = com.google.cloud.dialogflow.v2.UpdateContextRequest.class, + responseType = com.google.cloud.dialogflow.v2.Context.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateContextRequest, com.google.cloud.dialogflow.v2.Context> getUpdateContextMethod() { - return getUpdateContextMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.UpdateContextRequest, - com.google.cloud.dialogflow.v2.Context> - getUpdateContextMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateContextRequest, com.google.cloud.dialogflow.v2.Context> @@ -260,9 +216,7 @@ private ContextsGrpc() {} com.google.cloud.dialogflow.v2.Context> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Contexts", "UpdateContext")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateContext")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -279,26 +233,18 @@ private ContextsGrpc() {} return getUpdateContextMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteContextMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteContextRequest, com.google.protobuf.Empty> - METHOD_DELETE_CONTEXT = getDeleteContextMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteContextRequest, com.google.protobuf.Empty> getDeleteContextMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteContext", + requestType = com.google.cloud.dialogflow.v2.DeleteContextRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteContextRequest, com.google.protobuf.Empty> getDeleteContextMethod() { - return getDeleteContextMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteContextRequest, com.google.protobuf.Empty> - getDeleteContextMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteContextRequest, com.google.protobuf.Empty> getDeleteContextMethod; @@ -312,9 +258,7 @@ private ContextsGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Contexts", "DeleteContext")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteContext")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -331,26 +275,18 @@ private ContextsGrpc() {} return getDeleteContextMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteAllContextsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteAllContextsRequest, com.google.protobuf.Empty> - METHOD_DELETE_ALL_CONTEXTS = getDeleteAllContextsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteAllContextsRequest, com.google.protobuf.Empty> getDeleteAllContextsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAllContexts", + requestType = com.google.cloud.dialogflow.v2.DeleteAllContextsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteAllContextsRequest, com.google.protobuf.Empty> getDeleteAllContextsMethod() { - return getDeleteAllContextsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteAllContextsRequest, com.google.protobuf.Empty> - getDeleteAllContextsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteAllContextsRequest, com.google.protobuf.Empty> getDeleteAllContextsMethod; @@ -364,9 +300,7 @@ private ContextsGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Contexts", "DeleteAllContexts")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAllContexts")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -386,19 +320,42 @@ private ContextsGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static ContextsStub newStub(io.grpc.Channel channel) { - return new ContextsStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContextsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContextsStub(channel, callOptions); + } + }; + return ContextsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static ContextsBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new ContextsBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContextsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContextsBlockingStub(channel, callOptions); + } + }; + return ContextsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static ContextsFutureStub newFutureStub(io.grpc.Channel channel) { - return new ContextsFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContextsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContextsFutureStub(channel, callOptions); + } + }; + return ContextsFutureStub.newStub(factory, channel); } /** @@ -436,7 +393,7 @@ public void listContexts( com.google.cloud.dialogflow.v2.ListContextsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListContextsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListContextsMethod(), responseObserver); } /** @@ -449,7 +406,7 @@ public void listContexts( public void getContext( com.google.cloud.dialogflow.v2.GetContextRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetContextMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetContextMethod(), responseObserver); } /** @@ -463,7 +420,7 @@ public void getContext( public void createContext( com.google.cloud.dialogflow.v2.CreateContextRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateContextMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateContextMethod(), responseObserver); } /** @@ -476,7 +433,7 @@ public void createContext( public void updateContext( com.google.cloud.dialogflow.v2.UpdateContextRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateContextMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateContextMethod(), responseObserver); } /** @@ -489,7 +446,7 @@ public void updateContext( public void deleteContext( com.google.cloud.dialogflow.v2.DeleteContextRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteContextMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteContextMethod(), responseObserver); } /** @@ -502,45 +459,45 @@ public void deleteContext( public void deleteAllContexts( com.google.cloud.dialogflow.v2.DeleteAllContextsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteAllContextsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteAllContextsMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListContextsMethodHelper(), + getListContextsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.ListContextsRequest, com.google.cloud.dialogflow.v2.ListContextsResponse>( this, METHODID_LIST_CONTEXTS))) .addMethod( - getGetContextMethodHelper(), + getGetContextMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.GetContextRequest, com.google.cloud.dialogflow.v2.Context>(this, METHODID_GET_CONTEXT))) .addMethod( - getCreateContextMethodHelper(), + getCreateContextMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.CreateContextRequest, com.google.cloud.dialogflow.v2.Context>(this, METHODID_CREATE_CONTEXT))) .addMethod( - getUpdateContextMethodHelper(), + getUpdateContextMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.UpdateContextRequest, com.google.cloud.dialogflow.v2.Context>(this, METHODID_UPDATE_CONTEXT))) .addMethod( - getDeleteContextMethodHelper(), + getDeleteContextMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.DeleteContextRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_CONTEXT))) .addMethod( - getDeleteAllContextsMethodHelper(), + getDeleteAllContextsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.DeleteAllContextsRequest, @@ -571,11 +528,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * documentation](https://cloud.google.com/dialogflow/docs/contexts-overview). * */ - public static final class ContextsStub extends io.grpc.stub.AbstractStub { - private ContextsStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class ContextsStub extends io.grpc.stub.AbstractAsyncStub { private ContextsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -597,7 +550,7 @@ public void listContexts( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getListContextsMethodHelper(), getCallOptions()), + getChannel().newCall(getListContextsMethod(), getCallOptions()), request, responseObserver); } @@ -613,9 +566,7 @@ public void getContext( com.google.cloud.dialogflow.v2.GetContextRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetContextMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetContextMethod(), getCallOptions()), request, responseObserver); } /** @@ -630,7 +581,7 @@ public void createContext( com.google.cloud.dialogflow.v2.CreateContextRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateContextMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateContextMethod(), getCallOptions()), request, responseObserver); } @@ -646,7 +597,7 @@ public void updateContext( com.google.cloud.dialogflow.v2.UpdateContextRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateContextMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateContextMethod(), getCallOptions()), request, responseObserver); } @@ -662,7 +613,7 @@ public void deleteContext( com.google.cloud.dialogflow.v2.DeleteContextRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteContextMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteContextMethod(), getCallOptions()), request, responseObserver); } @@ -678,7 +629,7 @@ public void deleteAllContexts( com.google.cloud.dialogflow.v2.DeleteAllContextsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteAllContextsMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteAllContextsMethod(), getCallOptions()), request, responseObserver); } @@ -707,11 +658,7 @@ public void deleteAllContexts( * */ public static final class ContextsBlockingStub - extends io.grpc.stub.AbstractStub { - private ContextsBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private ContextsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -730,8 +677,7 @@ protected ContextsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOption */ public com.google.cloud.dialogflow.v2.ListContextsResponse listContexts( com.google.cloud.dialogflow.v2.ListContextsRequest request) { - return blockingUnaryCall( - getChannel(), getListContextsMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getListContextsMethod(), getCallOptions(), request); } /** @@ -743,8 +689,7 @@ public com.google.cloud.dialogflow.v2.ListContextsResponse listContexts( */ public com.google.cloud.dialogflow.v2.Context getContext( com.google.cloud.dialogflow.v2.GetContextRequest request) { - return blockingUnaryCall( - getChannel(), getGetContextMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getGetContextMethod(), getCallOptions(), request); } /** @@ -757,8 +702,7 @@ public com.google.cloud.dialogflow.v2.Context getContext( */ public com.google.cloud.dialogflow.v2.Context createContext( com.google.cloud.dialogflow.v2.CreateContextRequest request) { - return blockingUnaryCall( - getChannel(), getCreateContextMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getCreateContextMethod(), getCallOptions(), request); } /** @@ -770,8 +714,7 @@ public com.google.cloud.dialogflow.v2.Context createContext( */ public com.google.cloud.dialogflow.v2.Context updateContext( com.google.cloud.dialogflow.v2.UpdateContextRequest request) { - return blockingUnaryCall( - getChannel(), getUpdateContextMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getUpdateContextMethod(), getCallOptions(), request); } /** @@ -783,8 +726,7 @@ public com.google.cloud.dialogflow.v2.Context updateContext( */ public com.google.protobuf.Empty deleteContext( com.google.cloud.dialogflow.v2.DeleteContextRequest request) { - return blockingUnaryCall( - getChannel(), getDeleteContextMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getDeleteContextMethod(), getCallOptions(), request); } /** @@ -797,7 +739,7 @@ public com.google.protobuf.Empty deleteContext( public com.google.protobuf.Empty deleteAllContexts( com.google.cloud.dialogflow.v2.DeleteAllContextsRequest request) { return blockingUnaryCall( - getChannel(), getDeleteAllContextsMethodHelper(), getCallOptions(), request); + getChannel(), getDeleteAllContextsMethod(), getCallOptions(), request); } } @@ -824,11 +766,7 @@ public com.google.protobuf.Empty deleteAllContexts( * */ public static final class ContextsFutureStub - extends io.grpc.stub.AbstractStub { - private ContextsFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private ContextsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -849,7 +787,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2.ListContextsResponse> listContexts(com.google.cloud.dialogflow.v2.ListContextsRequest request) { return futureUnaryCall( - getChannel().newCall(getListContextsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListContextsMethod(), getCallOptions()), request); } /** @@ -863,7 +801,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2.Context> getContext(com.google.cloud.dialogflow.v2.GetContextRequest request) { return futureUnaryCall( - getChannel().newCall(getGetContextMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetContextMethod(), getCallOptions()), request); } /** @@ -878,7 +816,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2.Context> createContext(com.google.cloud.dialogflow.v2.CreateContextRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateContextMethodHelper(), getCallOptions()), request); + getChannel().newCall(getCreateContextMethod(), getCallOptions()), request); } /** @@ -892,7 +830,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2.Context> updateContext(com.google.cloud.dialogflow.v2.UpdateContextRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateContextMethodHelper(), getCallOptions()), request); + getChannel().newCall(getUpdateContextMethod(), getCallOptions()), request); } /** @@ -905,7 +843,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture deleteContext(com.google.cloud.dialogflow.v2.DeleteContextRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteContextMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteContextMethod(), getCallOptions()), request); } /** @@ -918,7 +856,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture deleteAllContexts(com.google.cloud.dialogflow.v2.DeleteAllContextsRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteAllContextsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteAllContextsMethod(), getCallOptions()), request); } } @@ -1042,12 +980,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new ContextsFileDescriptorSupplier()) - .addMethod(getListContextsMethodHelper()) - .addMethod(getGetContextMethodHelper()) - .addMethod(getCreateContextMethodHelper()) - .addMethod(getUpdateContextMethodHelper()) - .addMethod(getDeleteContextMethodHelper()) - .addMethod(getDeleteAllContextsMethodHelper()) + .addMethod(getListContextsMethod()) + .addMethod(getGetContextMethod()) + .addMethod(getCreateContextMethod()) + .addMethod(getUpdateContextMethod()) + .addMethod(getDeleteContextMethod()) + .addMethod(getDeleteAllContextsMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesGrpc.java b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesGrpc.java index 894f71d8d..8eaa42fcc 100644 --- a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesGrpc.java +++ b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesGrpc.java @@ -51,7 +51,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2/entity_type.proto") public final class EntityTypesGrpc { @@ -60,30 +60,20 @@ private EntityTypesGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2.EntityTypes"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListEntityTypesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ListEntityTypesRequest, - com.google.cloud.dialogflow.v2.ListEntityTypesResponse> - METHOD_LIST_ENTITY_TYPES = getListEntityTypesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListEntityTypesRequest, com.google.cloud.dialogflow.v2.ListEntityTypesResponse> getListEntityTypesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEntityTypes", + requestType = com.google.cloud.dialogflow.v2.ListEntityTypesRequest.class, + responseType = com.google.cloud.dialogflow.v2.ListEntityTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListEntityTypesRequest, com.google.cloud.dialogflow.v2.ListEntityTypesResponse> getListEntityTypesMethod() { - return getListEntityTypesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ListEntityTypesRequest, - com.google.cloud.dialogflow.v2.ListEntityTypesResponse> - getListEntityTypesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListEntityTypesRequest, com.google.cloud.dialogflow.v2.ListEntityTypesResponse> @@ -98,9 +88,7 @@ private EntityTypesGrpc() {} com.google.cloud.dialogflow.v2.ListEntityTypesResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "ListEntityTypes")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntityTypes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -119,30 +107,20 @@ private EntityTypesGrpc() {} return getListEntityTypesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetEntityTypeRequest, - com.google.cloud.dialogflow.v2.EntityType> - METHOD_GET_ENTITY_TYPE = getGetEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType> getGetEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEntityType", + requestType = com.google.cloud.dialogflow.v2.GetEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2.EntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType> getGetEntityTypeMethod() { - return getGetEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetEntityTypeRequest, - com.google.cloud.dialogflow.v2.EntityType> - getGetEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType> @@ -157,9 +135,7 @@ private EntityTypesGrpc() {} com.google.cloud.dialogflow.v2.EntityType> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "GetEntityType")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -176,30 +152,20 @@ private EntityTypesGrpc() {} return getGetEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.CreateEntityTypeRequest, - com.google.cloud.dialogflow.v2.EntityType> - METHOD_CREATE_ENTITY_TYPE = getCreateEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType> getCreateEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEntityType", + requestType = com.google.cloud.dialogflow.v2.CreateEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2.EntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType> getCreateEntityTypeMethod() { - return getCreateEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.CreateEntityTypeRequest, - com.google.cloud.dialogflow.v2.EntityType> - getCreateEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType> @@ -214,9 +180,7 @@ private EntityTypesGrpc() {} com.google.cloud.dialogflow.v2.EntityType> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "CreateEntityType")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -234,30 +198,20 @@ private EntityTypesGrpc() {} return getCreateEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest, - com.google.cloud.dialogflow.v2.EntityType> - METHOD_UPDATE_ENTITY_TYPE = getUpdateEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType> getUpdateEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEntityType", + requestType = com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2.EntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType> getUpdateEntityTypeMethod() { - return getUpdateEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest, - com.google.cloud.dialogflow.v2.EntityType> - getUpdateEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType> @@ -272,9 +226,7 @@ private EntityTypesGrpc() {} com.google.cloud.dialogflow.v2.EntityType> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "UpdateEntityType")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -292,26 +244,18 @@ private EntityTypesGrpc() {} return getUpdateEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest, com.google.protobuf.Empty> - METHOD_DELETE_ENTITY_TYPE = getDeleteEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest, com.google.protobuf.Empty> getDeleteEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEntityType", + requestType = com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest, com.google.protobuf.Empty> getDeleteEntityTypeMethod() { - return getDeleteEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest, com.google.protobuf.Empty> - getDeleteEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest, com.google.protobuf.Empty> getDeleteEntityTypeMethod; @@ -325,9 +269,7 @@ private EntityTypesGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "DeleteEntityType")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -345,30 +287,20 @@ private EntityTypesGrpc() {} return getDeleteEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchUpdateEntityTypesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_UPDATE_ENTITY_TYPES = getBatchUpdateEntityTypesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest, com.google.longrunning.Operation> getBatchUpdateEntityTypesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateEntityTypes", + requestType = com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest, com.google.longrunning.Operation> getBatchUpdateEntityTypesMethod() { - return getBatchUpdateEntityTypesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest, - com.google.longrunning.Operation> - getBatchUpdateEntityTypesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest, com.google.longrunning.Operation> @@ -386,8 +318,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "BatchUpdateEntityTypes")) + generateFullMethodName(SERVICE_NAME, "BatchUpdateEntityTypes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -405,30 +336,20 @@ private EntityTypesGrpc() {} return getBatchUpdateEntityTypesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchDeleteEntityTypesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_DELETE_ENTITY_TYPES = getBatchDeleteEntityTypesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest, com.google.longrunning.Operation> getBatchDeleteEntityTypesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteEntityTypes", + requestType = com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest, com.google.longrunning.Operation> getBatchDeleteEntityTypesMethod() { - return getBatchDeleteEntityTypesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest, - com.google.longrunning.Operation> - getBatchDeleteEntityTypesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest, com.google.longrunning.Operation> @@ -446,8 +367,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "BatchDeleteEntityTypes")) + generateFullMethodName(SERVICE_NAME, "BatchDeleteEntityTypes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -465,30 +385,20 @@ private EntityTypesGrpc() {} return getBatchDeleteEntityTypesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchCreateEntitiesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_CREATE_ENTITIES = getBatchCreateEntitiesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest, com.google.longrunning.Operation> getBatchCreateEntitiesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateEntities", + requestType = com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest, com.google.longrunning.Operation> getBatchCreateEntitiesMethod() { - return getBatchCreateEntitiesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest, - com.google.longrunning.Operation> - getBatchCreateEntitiesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest, com.google.longrunning.Operation> @@ -504,8 +414,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "BatchCreateEntities")) + generateFullMethodName(SERVICE_NAME, "BatchCreateEntities")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -523,30 +432,20 @@ private EntityTypesGrpc() {} return getBatchCreateEntitiesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchUpdateEntitiesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_UPDATE_ENTITIES = getBatchUpdateEntitiesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest, com.google.longrunning.Operation> getBatchUpdateEntitiesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateEntities", + requestType = com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest, com.google.longrunning.Operation> getBatchUpdateEntitiesMethod() { - return getBatchUpdateEntitiesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest, - com.google.longrunning.Operation> - getBatchUpdateEntitiesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest, com.google.longrunning.Operation> @@ -562,8 +461,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "BatchUpdateEntities")) + generateFullMethodName(SERVICE_NAME, "BatchUpdateEntities")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -581,30 +479,20 @@ private EntityTypesGrpc() {} return getBatchUpdateEntitiesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchDeleteEntitiesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_DELETE_ENTITIES = getBatchDeleteEntitiesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest, com.google.longrunning.Operation> getBatchDeleteEntitiesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteEntities", + requestType = com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest, com.google.longrunning.Operation> getBatchDeleteEntitiesMethod() { - return getBatchDeleteEntitiesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest, - com.google.longrunning.Operation> - getBatchDeleteEntitiesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest, com.google.longrunning.Operation> @@ -620,8 +508,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.EntityTypes", "BatchDeleteEntities")) + generateFullMethodName(SERVICE_NAME, "BatchDeleteEntities")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -641,19 +528,42 @@ private EntityTypesGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static EntityTypesStub newStub(io.grpc.Channel channel) { - return new EntityTypesStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EntityTypesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EntityTypesStub(channel, callOptions); + } + }; + return EntityTypesStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static EntityTypesBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new EntityTypesBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EntityTypesBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EntityTypesBlockingStub(channel, callOptions); + } + }; + return EntityTypesBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static EntityTypesFutureStub newFutureStub(io.grpc.Channel channel) { - return new EntityTypesFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EntityTypesFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EntityTypesFutureStub(channel, callOptions); + } + }; + return EntityTypesFutureStub.newStub(factory, channel); } /** @@ -697,7 +607,7 @@ public void listEntityTypes( com.google.cloud.dialogflow.v2.ListEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListEntityTypesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListEntityTypesMethod(), responseObserver); } /** @@ -710,7 +620,7 @@ public void listEntityTypes( public void getEntityType( com.google.cloud.dialogflow.v2.GetEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetEntityTypeMethod(), responseObserver); } /** @@ -723,7 +633,7 @@ public void getEntityType( public void createEntityType( com.google.cloud.dialogflow.v2.CreateEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateEntityTypeMethod(), responseObserver); } /** @@ -736,7 +646,7 @@ public void createEntityType( public void updateEntityType( com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateEntityTypeMethod(), responseObserver); } /** @@ -749,7 +659,7 @@ public void updateEntityType( public void deleteEntityType( com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteEntityTypeMethod(), responseObserver); } /** @@ -763,7 +673,7 @@ public void deleteEntityType( public void batchUpdateEntityTypes( com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchUpdateEntityTypesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchUpdateEntityTypesMethod(), responseObserver); } /** @@ -777,7 +687,7 @@ public void batchUpdateEntityTypes( public void batchDeleteEntityTypes( com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchDeleteEntityTypesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchDeleteEntityTypesMethod(), responseObserver); } /** @@ -791,7 +701,7 @@ public void batchDeleteEntityTypes( public void batchCreateEntities( com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchCreateEntitiesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchCreateEntitiesMethod(), responseObserver); } /** @@ -807,7 +717,7 @@ public void batchCreateEntities( public void batchUpdateEntities( com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchUpdateEntitiesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchUpdateEntitiesMethod(), responseObserver); } /** @@ -821,71 +731,71 @@ public void batchUpdateEntities( public void batchDeleteEntities( com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchDeleteEntitiesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchDeleteEntitiesMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListEntityTypesMethodHelper(), + getListEntityTypesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.ListEntityTypesRequest, com.google.cloud.dialogflow.v2.ListEntityTypesResponse>( this, METHODID_LIST_ENTITY_TYPES))) .addMethod( - getGetEntityTypeMethodHelper(), + getGetEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.GetEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType>(this, METHODID_GET_ENTITY_TYPE))) .addMethod( - getCreateEntityTypeMethodHelper(), + getCreateEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.CreateEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType>( this, METHODID_CREATE_ENTITY_TYPE))) .addMethod( - getUpdateEntityTypeMethodHelper(), + getUpdateEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest, com.google.cloud.dialogflow.v2.EntityType>( this, METHODID_UPDATE_ENTITY_TYPE))) .addMethod( - getDeleteEntityTypeMethodHelper(), + getDeleteEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_ENTITY_TYPE))) .addMethod( - getBatchUpdateEntityTypesMethodHelper(), + getBatchUpdateEntityTypesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_ENTITY_TYPES))) .addMethod( - getBatchDeleteEntityTypesMethodHelper(), + getBatchDeleteEntityTypesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_DELETE_ENTITY_TYPES))) .addMethod( - getBatchCreateEntitiesMethodHelper(), + getBatchCreateEntitiesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_ENTITIES))) .addMethod( - getBatchUpdateEntitiesMethodHelper(), + getBatchUpdateEntitiesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_ENTITIES))) .addMethod( - getBatchDeleteEntitiesMethodHelper(), + getBatchDeleteEntitiesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest, @@ -922,11 +832,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * documentation](https://cloud.google.com/dialogflow/docs/entities-overview). * */ - public static final class EntityTypesStub extends io.grpc.stub.AbstractStub { - private EntityTypesStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class EntityTypesStub + extends io.grpc.stub.AbstractAsyncStub { private EntityTypesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -948,7 +855,7 @@ public void listEntityTypes( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getListEntityTypesMethodHelper(), getCallOptions()), + getChannel().newCall(getListEntityTypesMethod(), getCallOptions()), request, responseObserver); } @@ -964,7 +871,7 @@ public void getEntityType( com.google.cloud.dialogflow.v2.GetEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getGetEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -980,7 +887,7 @@ public void createEntityType( com.google.cloud.dialogflow.v2.CreateEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -996,7 +903,7 @@ public void updateEntityType( com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -1012,7 +919,7 @@ public void deleteEntityType( com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -1029,7 +936,7 @@ public void batchUpdateEntityTypes( com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchUpdateEntityTypesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchUpdateEntityTypesMethod(), getCallOptions()), request, responseObserver); } @@ -1046,7 +953,7 @@ public void batchDeleteEntityTypes( com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchDeleteEntityTypesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchDeleteEntityTypesMethod(), getCallOptions()), request, responseObserver); } @@ -1063,7 +970,7 @@ public void batchCreateEntities( com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchCreateEntitiesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchCreateEntitiesMethod(), getCallOptions()), request, responseObserver); } @@ -1082,7 +989,7 @@ public void batchUpdateEntities( com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchUpdateEntitiesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchUpdateEntitiesMethod(), getCallOptions()), request, responseObserver); } @@ -1099,7 +1006,7 @@ public void batchDeleteEntities( com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchDeleteEntitiesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchDeleteEntitiesMethod(), getCallOptions()), request, responseObserver); } @@ -1134,11 +1041,7 @@ public void batchDeleteEntities( * */ public static final class EntityTypesBlockingStub - extends io.grpc.stub.AbstractStub { - private EntityTypesBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private EntityTypesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1158,8 +1061,7 @@ protected EntityTypesBlockingStub build( */ public com.google.cloud.dialogflow.v2.ListEntityTypesResponse listEntityTypes( com.google.cloud.dialogflow.v2.ListEntityTypesRequest request) { - return blockingUnaryCall( - getChannel(), getListEntityTypesMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getListEntityTypesMethod(), getCallOptions(), request); } /** @@ -1171,8 +1073,7 @@ public com.google.cloud.dialogflow.v2.ListEntityTypesResponse listEntityTypes( */ public com.google.cloud.dialogflow.v2.EntityType getEntityType( com.google.cloud.dialogflow.v2.GetEntityTypeRequest request) { - return blockingUnaryCall( - getChannel(), getGetEntityTypeMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getGetEntityTypeMethod(), getCallOptions(), request); } /** @@ -1185,7 +1086,7 @@ public com.google.cloud.dialogflow.v2.EntityType getEntityType( public com.google.cloud.dialogflow.v2.EntityType createEntityType( com.google.cloud.dialogflow.v2.CreateEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getCreateEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getCreateEntityTypeMethod(), getCallOptions(), request); } /** @@ -1198,7 +1099,7 @@ public com.google.cloud.dialogflow.v2.EntityType createEntityType( public com.google.cloud.dialogflow.v2.EntityType updateEntityType( com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getUpdateEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getUpdateEntityTypeMethod(), getCallOptions(), request); } /** @@ -1211,7 +1112,7 @@ public com.google.cloud.dialogflow.v2.EntityType updateEntityType( public com.google.protobuf.Empty deleteEntityType( com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getDeleteEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getDeleteEntityTypeMethod(), getCallOptions(), request); } /** @@ -1225,7 +1126,7 @@ public com.google.protobuf.Empty deleteEntityType( public com.google.longrunning.Operation batchUpdateEntityTypes( com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest request) { return blockingUnaryCall( - getChannel(), getBatchUpdateEntityTypesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchUpdateEntityTypesMethod(), getCallOptions(), request); } /** @@ -1239,7 +1140,7 @@ public com.google.longrunning.Operation batchUpdateEntityTypes( public com.google.longrunning.Operation batchDeleteEntityTypes( com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest request) { return blockingUnaryCall( - getChannel(), getBatchDeleteEntityTypesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchDeleteEntityTypesMethod(), getCallOptions(), request); } /** @@ -1253,7 +1154,7 @@ public com.google.longrunning.Operation batchDeleteEntityTypes( public com.google.longrunning.Operation batchCreateEntities( com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest request) { return blockingUnaryCall( - getChannel(), getBatchCreateEntitiesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchCreateEntitiesMethod(), getCallOptions(), request); } /** @@ -1269,7 +1170,7 @@ public com.google.longrunning.Operation batchCreateEntities( public com.google.longrunning.Operation batchUpdateEntities( com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest request) { return blockingUnaryCall( - getChannel(), getBatchUpdateEntitiesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchUpdateEntitiesMethod(), getCallOptions(), request); } /** @@ -1283,7 +1184,7 @@ public com.google.longrunning.Operation batchUpdateEntities( public com.google.longrunning.Operation batchDeleteEntities( com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest request) { return blockingUnaryCall( - getChannel(), getBatchDeleteEntitiesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchDeleteEntitiesMethod(), getCallOptions(), request); } } @@ -1316,11 +1217,7 @@ public com.google.longrunning.Operation batchDeleteEntities( * */ public static final class EntityTypesFutureStub - extends io.grpc.stub.AbstractStub { - private EntityTypesFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private EntityTypesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1342,7 +1239,7 @@ protected EntityTypesFutureStub build( com.google.cloud.dialogflow.v2.ListEntityTypesResponse> listEntityTypes(com.google.cloud.dialogflow.v2.ListEntityTypesRequest request) { return futureUnaryCall( - getChannel().newCall(getListEntityTypesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListEntityTypesMethod(), getCallOptions()), request); } /** @@ -1356,7 +1253,7 @@ protected EntityTypesFutureStub build( com.google.cloud.dialogflow.v2.EntityType> getEntityType(com.google.cloud.dialogflow.v2.GetEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getGetEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetEntityTypeMethod(), getCallOptions()), request); } /** @@ -1370,7 +1267,7 @@ protected EntityTypesFutureStub build( com.google.cloud.dialogflow.v2.EntityType> createEntityType(com.google.cloud.dialogflow.v2.CreateEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getCreateEntityTypeMethod(), getCallOptions()), request); } /** @@ -1384,7 +1281,7 @@ protected EntityTypesFutureStub build( com.google.cloud.dialogflow.v2.EntityType> updateEntityType(com.google.cloud.dialogflow.v2.UpdateEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getUpdateEntityTypeMethod(), getCallOptions()), request); } /** @@ -1397,7 +1294,7 @@ protected EntityTypesFutureStub build( public com.google.common.util.concurrent.ListenableFuture deleteEntityType(com.google.cloud.dialogflow.v2.DeleteEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteEntityTypeMethod(), getCallOptions()), request); } /** @@ -1412,7 +1309,7 @@ protected EntityTypesFutureStub build( batchUpdateEntityTypes( com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchUpdateEntityTypesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchUpdateEntityTypesMethod(), getCallOptions()), request); } /** @@ -1427,7 +1324,7 @@ protected EntityTypesFutureStub build( batchDeleteEntityTypes( com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchDeleteEntityTypesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchDeleteEntityTypesMethod(), getCallOptions()), request); } /** @@ -1441,7 +1338,7 @@ protected EntityTypesFutureStub build( public com.google.common.util.concurrent.ListenableFuture batchCreateEntities(com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchCreateEntitiesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchCreateEntitiesMethod(), getCallOptions()), request); } /** @@ -1457,7 +1354,7 @@ protected EntityTypesFutureStub build( public com.google.common.util.concurrent.ListenableFuture batchUpdateEntities(com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchUpdateEntitiesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchUpdateEntitiesMethod(), getCallOptions()), request); } /** @@ -1471,7 +1368,7 @@ protected EntityTypesFutureStub build( public com.google.common.util.concurrent.ListenableFuture batchDeleteEntities(com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchDeleteEntitiesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchDeleteEntitiesMethod(), getCallOptions()), request); } } @@ -1621,16 +1518,16 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new EntityTypesFileDescriptorSupplier()) - .addMethod(getListEntityTypesMethodHelper()) - .addMethod(getGetEntityTypeMethodHelper()) - .addMethod(getCreateEntityTypeMethodHelper()) - .addMethod(getUpdateEntityTypeMethodHelper()) - .addMethod(getDeleteEntityTypeMethodHelper()) - .addMethod(getBatchUpdateEntityTypesMethodHelper()) - .addMethod(getBatchDeleteEntityTypesMethodHelper()) - .addMethod(getBatchCreateEntitiesMethodHelper()) - .addMethod(getBatchUpdateEntitiesMethodHelper()) - .addMethod(getBatchDeleteEntitiesMethodHelper()) + .addMethod(getListEntityTypesMethod()) + .addMethod(getGetEntityTypeMethod()) + .addMethod(getCreateEntityTypeMethod()) + .addMethod(getUpdateEntityTypeMethod()) + .addMethod(getDeleteEntityTypeMethod()) + .addMethod(getBatchUpdateEntityTypesMethod()) + .addMethod(getBatchDeleteEntityTypesMethod()) + .addMethod(getBatchCreateEntitiesMethod()) + .addMethod(getBatchUpdateEntitiesMethod()) + .addMethod(getBatchDeleteEntitiesMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentsGrpc.java b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentsGrpc.java index 8476ec4ac..edf523b21 100644 --- a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentsGrpc.java @@ -56,7 +56,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2/intent.proto") public final class IntentsGrpc { @@ -65,30 +65,20 @@ private IntentsGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2.Intents"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListIntentsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ListIntentsRequest, - com.google.cloud.dialogflow.v2.ListIntentsResponse> - METHOD_LIST_INTENTS = getListIntentsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListIntentsRequest, com.google.cloud.dialogflow.v2.ListIntentsResponse> getListIntentsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListIntents", + requestType = com.google.cloud.dialogflow.v2.ListIntentsRequest.class, + responseType = com.google.cloud.dialogflow.v2.ListIntentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListIntentsRequest, com.google.cloud.dialogflow.v2.ListIntentsResponse> getListIntentsMethod() { - return getListIntentsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ListIntentsRequest, - com.google.cloud.dialogflow.v2.ListIntentsResponse> - getListIntentsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListIntentsRequest, com.google.cloud.dialogflow.v2.ListIntentsResponse> @@ -103,9 +93,7 @@ private IntentsGrpc() {} com.google.cloud.dialogflow.v2.ListIntentsResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Intents", "ListIntents")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIntents")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -123,26 +111,18 @@ private IntentsGrpc() {} return getListIntentsMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetIntentRequest, com.google.cloud.dialogflow.v2.Intent> - METHOD_GET_INTENT = getGetIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetIntentRequest, com.google.cloud.dialogflow.v2.Intent> getGetIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIntent", + requestType = com.google.cloud.dialogflow.v2.GetIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2.Intent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetIntentRequest, com.google.cloud.dialogflow.v2.Intent> getGetIntentMethod() { - return getGetIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetIntentRequest, com.google.cloud.dialogflow.v2.Intent> - getGetIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetIntentRequest, com.google.cloud.dialogflow.v2.Intent> getGetIntentMethod; @@ -156,8 +136,7 @@ private IntentsGrpc() {} com.google.cloud.dialogflow.v2.Intent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName("google.cloud.dialogflow.v2.Intents", "GetIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -173,26 +152,18 @@ private IntentsGrpc() {} return getGetIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.CreateIntentRequest, com.google.cloud.dialogflow.v2.Intent> - METHOD_CREATE_INTENT = getCreateIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateIntentRequest, com.google.cloud.dialogflow.v2.Intent> getCreateIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateIntent", + requestType = com.google.cloud.dialogflow.v2.CreateIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2.Intent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateIntentRequest, com.google.cloud.dialogflow.v2.Intent> getCreateIntentMethod() { - return getCreateIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.CreateIntentRequest, com.google.cloud.dialogflow.v2.Intent> - getCreateIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateIntentRequest, com.google.cloud.dialogflow.v2.Intent> @@ -207,9 +178,7 @@ private IntentsGrpc() {} com.google.cloud.dialogflow.v2.Intent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Intents", "CreateIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -226,26 +195,18 @@ private IntentsGrpc() {} return getCreateIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.UpdateIntentRequest, com.google.cloud.dialogflow.v2.Intent> - METHOD_UPDATE_INTENT = getUpdateIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateIntentRequest, com.google.cloud.dialogflow.v2.Intent> getUpdateIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateIntent", + requestType = com.google.cloud.dialogflow.v2.UpdateIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2.Intent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateIntentRequest, com.google.cloud.dialogflow.v2.Intent> getUpdateIntentMethod() { - return getUpdateIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.UpdateIntentRequest, com.google.cloud.dialogflow.v2.Intent> - getUpdateIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateIntentRequest, com.google.cloud.dialogflow.v2.Intent> @@ -260,9 +221,7 @@ private IntentsGrpc() {} com.google.cloud.dialogflow.v2.Intent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Intents", "UpdateIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -279,26 +238,18 @@ private IntentsGrpc() {} return getUpdateIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteIntentRequest, com.google.protobuf.Empty> - METHOD_DELETE_INTENT = getDeleteIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteIntentRequest, com.google.protobuf.Empty> getDeleteIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteIntent", + requestType = com.google.cloud.dialogflow.v2.DeleteIntentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteIntentRequest, com.google.protobuf.Empty> getDeleteIntentMethod() { - return getDeleteIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteIntentRequest, com.google.protobuf.Empty> - getDeleteIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteIntentRequest, com.google.protobuf.Empty> getDeleteIntentMethod; @@ -312,9 +263,7 @@ private IntentsGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Intents", "DeleteIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -331,30 +280,20 @@ private IntentsGrpc() {} return getDeleteIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchUpdateIntentsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest, - com.google.longrunning.Operation> - METHOD_BATCH_UPDATE_INTENTS = getBatchUpdateIntentsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest, com.google.longrunning.Operation> getBatchUpdateIntentsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateIntents", + requestType = com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest, com.google.longrunning.Operation> getBatchUpdateIntentsMethod() { - return getBatchUpdateIntentsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest, - com.google.longrunning.Operation> - getBatchUpdateIntentsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest, com.google.longrunning.Operation> @@ -369,9 +308,7 @@ private IntentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Intents", "BatchUpdateIntents")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateIntents")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -389,30 +326,20 @@ private IntentsGrpc() {} return getBatchUpdateIntentsMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchDeleteIntentsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest, - com.google.longrunning.Operation> - METHOD_BATCH_DELETE_INTENTS = getBatchDeleteIntentsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest, com.google.longrunning.Operation> getBatchDeleteIntentsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteIntents", + requestType = com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest, com.google.longrunning.Operation> getBatchDeleteIntentsMethod() { - return getBatchDeleteIntentsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest, - com.google.longrunning.Operation> - getBatchDeleteIntentsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest, com.google.longrunning.Operation> @@ -427,9 +354,7 @@ private IntentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Intents", "BatchDeleteIntents")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteIntents")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -449,19 +374,42 @@ private IntentsGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static IntentsStub newStub(io.grpc.Channel channel) { - return new IntentsStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public IntentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new IntentsStub(channel, callOptions); + } + }; + return IntentsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static IntentsBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new IntentsBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public IntentsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new IntentsBlockingStub(channel, callOptions); + } + }; + return IntentsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static IntentsFutureStub newFutureStub(io.grpc.Channel channel) { - return new IntentsFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public IntentsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new IntentsFutureStub(channel, callOptions); + } + }; + return IntentsFutureStub.newStub(factory, channel); } /** @@ -510,7 +458,7 @@ public void listIntents( com.google.cloud.dialogflow.v2.ListIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListIntentsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListIntentsMethod(), responseObserver); } /** @@ -523,7 +471,7 @@ public void listIntents( public void getIntent( com.google.cloud.dialogflow.v2.GetIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetIntentMethod(), responseObserver); } /** @@ -536,7 +484,7 @@ public void getIntent( public void createIntent( com.google.cloud.dialogflow.v2.CreateIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateIntentMethod(), responseObserver); } /** @@ -549,7 +497,7 @@ public void createIntent( public void updateIntent( com.google.cloud.dialogflow.v2.UpdateIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateIntentMethod(), responseObserver); } /** @@ -562,7 +510,7 @@ public void updateIntent( public void deleteIntent( com.google.cloud.dialogflow.v2.DeleteIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteIntentMethod(), responseObserver); } /** @@ -576,7 +524,7 @@ public void deleteIntent( public void batchUpdateIntents( com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchUpdateIntentsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchUpdateIntentsMethod(), responseObserver); } /** @@ -590,51 +538,51 @@ public void batchUpdateIntents( public void batchDeleteIntents( com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchDeleteIntentsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchDeleteIntentsMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListIntentsMethodHelper(), + getListIntentsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.ListIntentsRequest, com.google.cloud.dialogflow.v2.ListIntentsResponse>( this, METHODID_LIST_INTENTS))) .addMethod( - getGetIntentMethodHelper(), + getGetIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.GetIntentRequest, com.google.cloud.dialogflow.v2.Intent>(this, METHODID_GET_INTENT))) .addMethod( - getCreateIntentMethodHelper(), + getCreateIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.CreateIntentRequest, com.google.cloud.dialogflow.v2.Intent>(this, METHODID_CREATE_INTENT))) .addMethod( - getUpdateIntentMethodHelper(), + getUpdateIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.UpdateIntentRequest, com.google.cloud.dialogflow.v2.Intent>(this, METHODID_UPDATE_INTENT))) .addMethod( - getDeleteIntentMethodHelper(), + getDeleteIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.DeleteIntentRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_INTENT))) .addMethod( - getBatchUpdateIntentsMethodHelper(), + getBatchUpdateIntentsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_INTENTS))) .addMethod( - getBatchDeleteIntentsMethodHelper(), + getBatchDeleteIntentsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest, @@ -676,11 +624,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * documentation](https://cloud.google.com/dialogflow/docs/intents-overview). * */ - public static final class IntentsStub extends io.grpc.stub.AbstractStub { - private IntentsStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class IntentsStub extends io.grpc.stub.AbstractAsyncStub { private IntentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -702,7 +646,7 @@ public void listIntents( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getListIntentsMethodHelper(), getCallOptions()), + getChannel().newCall(getListIntentsMethod(), getCallOptions()), request, responseObserver); } @@ -718,9 +662,7 @@ public void getIntent( com.google.cloud.dialogflow.v2.GetIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetIntentMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetIntentMethod(), getCallOptions()), request, responseObserver); } /** @@ -734,7 +676,7 @@ public void createIntent( com.google.cloud.dialogflow.v2.CreateIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateIntentMethod(), getCallOptions()), request, responseObserver); } @@ -750,7 +692,7 @@ public void updateIntent( com.google.cloud.dialogflow.v2.UpdateIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateIntentMethod(), getCallOptions()), request, responseObserver); } @@ -766,7 +708,7 @@ public void deleteIntent( com.google.cloud.dialogflow.v2.DeleteIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteIntentMethod(), getCallOptions()), request, responseObserver); } @@ -783,7 +725,7 @@ public void batchUpdateIntents( com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchUpdateIntentsMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchUpdateIntentsMethod(), getCallOptions()), request, responseObserver); } @@ -800,7 +742,7 @@ public void batchDeleteIntents( com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchDeleteIntentsMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchDeleteIntentsMethod(), getCallOptions()), request, responseObserver); } @@ -840,11 +782,7 @@ public void batchDeleteIntents( * */ public static final class IntentsBlockingStub - extends io.grpc.stub.AbstractStub { - private IntentsBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private IntentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -863,8 +801,7 @@ protected IntentsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions */ public com.google.cloud.dialogflow.v2.ListIntentsResponse listIntents( com.google.cloud.dialogflow.v2.ListIntentsRequest request) { - return blockingUnaryCall( - getChannel(), getListIntentsMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getListIntentsMethod(), getCallOptions(), request); } /** @@ -876,7 +813,7 @@ public com.google.cloud.dialogflow.v2.ListIntentsResponse listIntents( */ public com.google.cloud.dialogflow.v2.Intent getIntent( com.google.cloud.dialogflow.v2.GetIntentRequest request) { - return blockingUnaryCall(getChannel(), getGetIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getGetIntentMethod(), getCallOptions(), request); } /** @@ -888,8 +825,7 @@ public com.google.cloud.dialogflow.v2.Intent getIntent( */ public com.google.cloud.dialogflow.v2.Intent createIntent( com.google.cloud.dialogflow.v2.CreateIntentRequest request) { - return blockingUnaryCall( - getChannel(), getCreateIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getCreateIntentMethod(), getCallOptions(), request); } /** @@ -901,8 +837,7 @@ public com.google.cloud.dialogflow.v2.Intent createIntent( */ public com.google.cloud.dialogflow.v2.Intent updateIntent( com.google.cloud.dialogflow.v2.UpdateIntentRequest request) { - return blockingUnaryCall( - getChannel(), getUpdateIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getUpdateIntentMethod(), getCallOptions(), request); } /** @@ -914,8 +849,7 @@ public com.google.cloud.dialogflow.v2.Intent updateIntent( */ public com.google.protobuf.Empty deleteIntent( com.google.cloud.dialogflow.v2.DeleteIntentRequest request) { - return blockingUnaryCall( - getChannel(), getDeleteIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getDeleteIntentMethod(), getCallOptions(), request); } /** @@ -929,7 +863,7 @@ public com.google.protobuf.Empty deleteIntent( public com.google.longrunning.Operation batchUpdateIntents( com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest request) { return blockingUnaryCall( - getChannel(), getBatchUpdateIntentsMethodHelper(), getCallOptions(), request); + getChannel(), getBatchUpdateIntentsMethod(), getCallOptions(), request); } /** @@ -943,7 +877,7 @@ public com.google.longrunning.Operation batchUpdateIntents( public com.google.longrunning.Operation batchDeleteIntents( com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest request) { return blockingUnaryCall( - getChannel(), getBatchDeleteIntentsMethodHelper(), getCallOptions(), request); + getChannel(), getBatchDeleteIntentsMethod(), getCallOptions(), request); } } @@ -980,11 +914,8 @@ public com.google.longrunning.Operation batchDeleteIntents( * documentation](https://cloud.google.com/dialogflow/docs/intents-overview). * */ - public static final class IntentsFutureStub extends io.grpc.stub.AbstractStub { - private IntentsFutureStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class IntentsFutureStub + extends io.grpc.stub.AbstractFutureStub { private IntentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1005,7 +936,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c com.google.cloud.dialogflow.v2.ListIntentsResponse> listIntents(com.google.cloud.dialogflow.v2.ListIntentsRequest request) { return futureUnaryCall( - getChannel().newCall(getListIntentsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListIntentsMethod(), getCallOptions()), request); } /** @@ -1017,8 +948,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c */ public com.google.common.util.concurrent.ListenableFuture getIntent(com.google.cloud.dialogflow.v2.GetIntentRequest request) { - return futureUnaryCall( - getChannel().newCall(getGetIntentMethodHelper(), getCallOptions()), request); + return futureUnaryCall(getChannel().newCall(getGetIntentMethod(), getCallOptions()), request); } /** @@ -1031,7 +961,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c public com.google.common.util.concurrent.ListenableFuture createIntent(com.google.cloud.dialogflow.v2.CreateIntentRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateIntentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getCreateIntentMethod(), getCallOptions()), request); } /** @@ -1044,7 +974,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c public com.google.common.util.concurrent.ListenableFuture updateIntent(com.google.cloud.dialogflow.v2.UpdateIntentRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateIntentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getUpdateIntentMethod(), getCallOptions()), request); } /** @@ -1057,7 +987,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c public com.google.common.util.concurrent.ListenableFuture deleteIntent(com.google.cloud.dialogflow.v2.DeleteIntentRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteIntentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteIntentMethod(), getCallOptions()), request); } /** @@ -1071,7 +1001,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c public com.google.common.util.concurrent.ListenableFuture batchUpdateIntents(com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchUpdateIntentsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchUpdateIntentsMethod(), getCallOptions()), request); } /** @@ -1085,7 +1015,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c public com.google.common.util.concurrent.ListenableFuture batchDeleteIntents(com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchDeleteIntentsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchDeleteIntentsMethod(), getCallOptions()), request); } } @@ -1215,13 +1145,13 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new IntentsFileDescriptorSupplier()) - .addMethod(getListIntentsMethodHelper()) - .addMethod(getGetIntentMethodHelper()) - .addMethod(getCreateIntentMethodHelper()) - .addMethod(getUpdateIntentMethodHelper()) - .addMethod(getDeleteIntentMethodHelper()) - .addMethod(getBatchUpdateIntentsMethodHelper()) - .addMethod(getBatchDeleteIntentsMethodHelper()) + .addMethod(getListIntentsMethod()) + .addMethod(getGetIntentMethod()) + .addMethod(getCreateIntentMethod()) + .addMethod(getUpdateIntentMethod()) + .addMethod(getDeleteIntentMethod()) + .addMethod(getBatchUpdateIntentsMethod()) + .addMethod(getBatchDeleteIntentsMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesGrpc.java b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesGrpc.java index 787b6d40f..375c19795 100644 --- a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesGrpc.java +++ b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesGrpc.java @@ -43,7 +43,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2/session_entity_type.proto") public final class SessionEntityTypesGrpc { @@ -52,30 +52,20 @@ private SessionEntityTypesGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2.SessionEntityTypes"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListSessionEntityTypesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest, - com.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse> - METHOD_LIST_SESSION_ENTITY_TYPES = getListSessionEntityTypesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest, com.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse> getListSessionEntityTypesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSessionEntityTypes", + requestType = com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest.class, + responseType = com.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest, com.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse> getListSessionEntityTypesMethod() { - return getListSessionEntityTypesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest, - com.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse> - getListSessionEntityTypesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest, com.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse> @@ -94,9 +84,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.SessionEntityTypes", - "ListSessionEntityTypes")) + generateFullMethodName(SERVICE_NAME, "ListSessionEntityTypes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -115,30 +103,20 @@ private SessionEntityTypesGrpc() {} return getListSessionEntityTypesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetSessionEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2.SessionEntityType> - METHOD_GET_SESSION_ENTITY_TYPE = getGetSessionEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType> getGetSessionEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSessionEntityType", + requestType = com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2.SessionEntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType> getGetSessionEntityTypeMethod() { - return getGetSessionEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2.SessionEntityType> - getGetSessionEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType> @@ -156,9 +134,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.SessionEntityTypes", - "GetSessionEntityType")) + generateFullMethodName(SERVICE_NAME, "GetSessionEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -177,30 +153,20 @@ private SessionEntityTypesGrpc() {} return getGetSessionEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateSessionEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2.SessionEntityType> - METHOD_CREATE_SESSION_ENTITY_TYPE = getCreateSessionEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType> getCreateSessionEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSessionEntityType", + requestType = com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2.SessionEntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType> getCreateSessionEntityTypeMethod() { - return getCreateSessionEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2.SessionEntityType> - getCreateSessionEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType> @@ -219,9 +185,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.SessionEntityTypes", - "CreateSessionEntityType")) + generateFullMethodName(SERVICE_NAME, "CreateSessionEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -240,30 +204,20 @@ private SessionEntityTypesGrpc() {} return getCreateSessionEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateSessionEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2.SessionEntityType> - METHOD_UPDATE_SESSION_ENTITY_TYPE = getUpdateSessionEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType> getUpdateSessionEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSessionEntityType", + requestType = com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2.SessionEntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType> getUpdateSessionEntityTypeMethod() { - return getUpdateSessionEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2.SessionEntityType> - getUpdateSessionEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType> @@ -282,9 +236,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.SessionEntityTypes", - "UpdateSessionEntityType")) + generateFullMethodName(SERVICE_NAME, "UpdateSessionEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -303,26 +255,18 @@ private SessionEntityTypesGrpc() {} return getUpdateSessionEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteSessionEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest, com.google.protobuf.Empty> - METHOD_DELETE_SESSION_ENTITY_TYPE = getDeleteSessionEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest, com.google.protobuf.Empty> getDeleteSessionEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSessionEntityType", + requestType = com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest, com.google.protobuf.Empty> getDeleteSessionEntityTypeMethod() { - return getDeleteSessionEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest, com.google.protobuf.Empty> - getDeleteSessionEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest, com.google.protobuf.Empty> @@ -341,9 +285,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.SessionEntityTypes", - "DeleteSessionEntityType")) + generateFullMethodName(SERVICE_NAME, "DeleteSessionEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -363,19 +305,43 @@ private SessionEntityTypesGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static SessionEntityTypesStub newStub(io.grpc.Channel channel) { - return new SessionEntityTypesStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionEntityTypesStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionEntityTypesStub(channel, callOptions); + } + }; + return SessionEntityTypesStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static SessionEntityTypesBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new SessionEntityTypesBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionEntityTypesBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionEntityTypesBlockingStub(channel, callOptions); + } + }; + return SessionEntityTypesBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static SessionEntityTypesFutureStub newFutureStub(io.grpc.Channel channel) { - return new SessionEntityTypesFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionEntityTypesFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionEntityTypesFutureStub(channel, callOptions); + } + }; + return SessionEntityTypesFutureStub.newStub(factory, channel); } /** @@ -414,7 +380,7 @@ public void listSessionEntityTypes( com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListSessionEntityTypesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListSessionEntityTypesMethod(), responseObserver); } /** @@ -431,7 +397,7 @@ public void getSessionEntityType( com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetSessionEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetSessionEntityTypeMethod(), responseObserver); } /** @@ -450,7 +416,7 @@ public void createSessionEntityType( com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateSessionEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateSessionEntityTypeMethod(), responseObserver); } /** @@ -467,7 +433,7 @@ public void updateSessionEntityType( com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateSessionEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateSessionEntityTypeMethod(), responseObserver); } /** @@ -483,42 +449,42 @@ public void updateSessionEntityType( public void deleteSessionEntityType( com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteSessionEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteSessionEntityTypeMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListSessionEntityTypesMethodHelper(), + getListSessionEntityTypesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest, com.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse>( this, METHODID_LIST_SESSION_ENTITY_TYPES))) .addMethod( - getGetSessionEntityTypeMethodHelper(), + getGetSessionEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType>( this, METHODID_GET_SESSION_ENTITY_TYPE))) .addMethod( - getCreateSessionEntityTypeMethodHelper(), + getCreateSessionEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType>( this, METHODID_CREATE_SESSION_ENTITY_TYPE))) .addMethod( - getUpdateSessionEntityTypeMethodHelper(), + getUpdateSessionEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2.SessionEntityType>( this, METHODID_UPDATE_SESSION_ENTITY_TYPE))) .addMethod( - getDeleteSessionEntityTypeMethodHelper(), + getDeleteSessionEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest, @@ -548,11 +514,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * */ public static final class SessionEntityTypesStub - extends io.grpc.stub.AbstractStub { - private SessionEntityTypesStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractAsyncStub { private SessionEntityTypesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -578,7 +540,7 @@ public void listSessionEntityTypes( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getListSessionEntityTypesMethodHelper(), getCallOptions()), + getChannel().newCall(getListSessionEntityTypesMethod(), getCallOptions()), request, responseObserver); } @@ -598,7 +560,7 @@ public void getSessionEntityType( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetSessionEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getGetSessionEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -620,7 +582,7 @@ public void createSessionEntityType( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateSessionEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateSessionEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -640,7 +602,7 @@ public void updateSessionEntityType( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateSessionEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateSessionEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -659,7 +621,7 @@ public void deleteSessionEntityType( com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteSessionEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteSessionEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -686,11 +648,7 @@ public void deleteSessionEntityType( * */ public static final class SessionEntityTypesBlockingStub - extends io.grpc.stub.AbstractStub { - private SessionEntityTypesBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private SessionEntityTypesBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -715,7 +673,7 @@ protected SessionEntityTypesBlockingStub build( public com.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse listSessionEntityTypes( com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest request) { return blockingUnaryCall( - getChannel(), getListSessionEntityTypesMethodHelper(), getCallOptions(), request); + getChannel(), getListSessionEntityTypesMethod(), getCallOptions(), request); } /** @@ -731,7 +689,7 @@ public com.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse listSession public com.google.cloud.dialogflow.v2.SessionEntityType getSessionEntityType( com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getGetSessionEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getGetSessionEntityTypeMethod(), getCallOptions(), request); } /** @@ -749,7 +707,7 @@ public com.google.cloud.dialogflow.v2.SessionEntityType getSessionEntityType( public com.google.cloud.dialogflow.v2.SessionEntityType createSessionEntityType( com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getCreateSessionEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getCreateSessionEntityTypeMethod(), getCallOptions(), request); } /** @@ -765,7 +723,7 @@ public com.google.cloud.dialogflow.v2.SessionEntityType createSessionEntityType( public com.google.cloud.dialogflow.v2.SessionEntityType updateSessionEntityType( com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getUpdateSessionEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getUpdateSessionEntityTypeMethod(), getCallOptions(), request); } /** @@ -781,7 +739,7 @@ public com.google.cloud.dialogflow.v2.SessionEntityType updateSessionEntityType( public com.google.protobuf.Empty deleteSessionEntityType( com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getDeleteSessionEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getDeleteSessionEntityTypeMethod(), getCallOptions(), request); } } @@ -806,11 +764,7 @@ public com.google.protobuf.Empty deleteSessionEntityType( * */ public static final class SessionEntityTypesFutureStub - extends io.grpc.stub.AbstractStub { - private SessionEntityTypesFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private SessionEntityTypesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -836,7 +790,7 @@ protected SessionEntityTypesFutureStub build( listSessionEntityTypes( com.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest request) { return futureUnaryCall( - getChannel().newCall(getListSessionEntityTypesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListSessionEntityTypesMethod(), getCallOptions()), request); } /** @@ -853,7 +807,7 @@ protected SessionEntityTypesFutureStub build( com.google.cloud.dialogflow.v2.SessionEntityType> getSessionEntityType(com.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getGetSessionEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetSessionEntityTypeMethod(), getCallOptions()), request); } /** @@ -873,8 +827,7 @@ protected SessionEntityTypesFutureStub build( createSessionEntityType( com.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateSessionEntityTypeMethodHelper(), getCallOptions()), - request); + getChannel().newCall(getCreateSessionEntityTypeMethod(), getCallOptions()), request); } /** @@ -892,8 +845,7 @@ protected SessionEntityTypesFutureStub build( updateSessionEntityType( com.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateSessionEntityTypeMethodHelper(), getCallOptions()), - request); + getChannel().newCall(getUpdateSessionEntityTypeMethod(), getCallOptions()), request); } /** @@ -910,8 +862,7 @@ protected SessionEntityTypesFutureStub build( deleteSessionEntityType( com.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteSessionEntityTypeMethodHelper(), getCallOptions()), - request); + getChannel().newCall(getDeleteSessionEntityTypeMethod(), getCallOptions()), request); } } @@ -1032,11 +983,11 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new SessionEntityTypesFileDescriptorSupplier()) - .addMethod(getListSessionEntityTypesMethodHelper()) - .addMethod(getGetSessionEntityTypeMethodHelper()) - .addMethod(getCreateSessionEntityTypeMethodHelper()) - .addMethod(getUpdateSessionEntityTypeMethodHelper()) - .addMethod(getDeleteSessionEntityTypeMethodHelper()) + .addMethod(getListSessionEntityTypesMethod()) + .addMethod(getGetSessionEntityTypeMethod()) + .addMethod(getCreateSessionEntityTypeMethod()) + .addMethod(getUpdateSessionEntityTypeMethod()) + .addMethod(getDeleteSessionEntityTypeMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionsGrpc.java b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionsGrpc.java index afa59edf8..8be235d54 100644 --- a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionsGrpc.java @@ -36,7 +36,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2/session.proto") public final class SessionsGrpc { @@ -45,30 +45,20 @@ private SessionsGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2.Sessions"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDetectIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DetectIntentRequest, - com.google.cloud.dialogflow.v2.DetectIntentResponse> - METHOD_DETECT_INTENT = getDetectIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DetectIntentRequest, com.google.cloud.dialogflow.v2.DetectIntentResponse> getDetectIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DetectIntent", + requestType = com.google.cloud.dialogflow.v2.DetectIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2.DetectIntentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DetectIntentRequest, com.google.cloud.dialogflow.v2.DetectIntentResponse> getDetectIntentMethod() { - return getDetectIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.DetectIntentRequest, - com.google.cloud.dialogflow.v2.DetectIntentResponse> - getDetectIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.DetectIntentRequest, com.google.cloud.dialogflow.v2.DetectIntentResponse> @@ -83,9 +73,7 @@ private SessionsGrpc() {} com.google.cloud.dialogflow.v2.DetectIntentResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Sessions", "DetectIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DetectIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -103,30 +91,20 @@ private SessionsGrpc() {} return getDetectIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getStreamingDetectIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest, - com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse> - METHOD_STREAMING_DETECT_INTENT = getStreamingDetectIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest, com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse> getStreamingDetectIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StreamingDetectIntent", + requestType = com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest, com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse> getStreamingDetectIntentMethod() { - return getStreamingDetectIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest, - com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse> - getStreamingDetectIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest, com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse> @@ -143,8 +121,7 @@ private SessionsGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2.Sessions", "StreamingDetectIntent")) + generateFullMethodName(SERVICE_NAME, "StreamingDetectIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -165,19 +142,42 @@ private SessionsGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static SessionsStub newStub(io.grpc.Channel channel) { - return new SessionsStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionsStub(channel, callOptions); + } + }; + return SessionsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static SessionsBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new SessionsBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionsBlockingStub(channel, callOptions); + } + }; + return SessionsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static SessionsFutureStub newFutureStub(io.grpc.Channel channel) { - return new SessionsFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionsFutureStub(channel, callOptions); + } + }; + return SessionsFutureStub.newStub(factory, channel); } /** @@ -206,7 +206,7 @@ public void detectIntent( com.google.cloud.dialogflow.v2.DetectIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDetectIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDetectIntentMethod(), responseObserver); } /** @@ -223,22 +223,21 @@ public void detectIntent( io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse> responseObserver) { - return asyncUnimplementedStreamingCall( - getStreamingDetectIntentMethodHelper(), responseObserver); + return asyncUnimplementedStreamingCall(getStreamingDetectIntentMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getDetectIntentMethodHelper(), + getDetectIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.DetectIntentRequest, com.google.cloud.dialogflow.v2.DetectIntentResponse>( this, METHODID_DETECT_INTENT))) .addMethod( - getStreamingDetectIntentMethodHelper(), + getStreamingDetectIntentMethod(), asyncBidiStreamingCall( new MethodHandlers< com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest, @@ -258,11 +257,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * user intent and respond. * */ - public static final class SessionsStub extends io.grpc.stub.AbstractStub { - private SessionsStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class SessionsStub extends io.grpc.stub.AbstractAsyncStub { private SessionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -287,7 +282,7 @@ public void detectIntent( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDetectIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getDetectIntentMethod(), getCallOptions()), request, responseObserver); } @@ -307,7 +302,7 @@ public void detectIntent( com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse> responseObserver) { return asyncBidiStreamingCall( - getChannel().newCall(getStreamingDetectIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getStreamingDetectIntentMethod(), getCallOptions()), responseObserver); } } @@ -323,11 +318,7 @@ public void detectIntent( * */ public static final class SessionsBlockingStub - extends io.grpc.stub.AbstractStub { - private SessionsBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private SessionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -349,8 +340,7 @@ protected SessionsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOption */ public com.google.cloud.dialogflow.v2.DetectIntentResponse detectIntent( com.google.cloud.dialogflow.v2.DetectIntentRequest request) { - return blockingUnaryCall( - getChannel(), getDetectIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getDetectIntentMethod(), getCallOptions(), request); } } @@ -365,11 +355,7 @@ public com.google.cloud.dialogflow.v2.DetectIntentResponse detectIntent( * */ public static final class SessionsFutureStub - extends io.grpc.stub.AbstractStub { - private SessionsFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private SessionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -393,7 +379,7 @@ protected SessionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2.DetectIntentResponse> detectIntent(com.google.cloud.dialogflow.v2.DetectIntentRequest request) { return futureUnaryCall( - getChannel().newCall(getDetectIntentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDetectIntentMethod(), getCallOptions()), request); } } @@ -491,8 +477,8 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new SessionsFileDescriptorSupplier()) - .addMethod(getDetectIntentMethodHelper()) - .addMethod(getStreamingDetectIntentMethodHelper()) + .addMethod(getDetectIntentMethod()) + .addMethod(getStreamingDetectIntentMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2beta1/clirr-ignored-differences.xml b/grpc-google-cloud-dialogflow-v2beta1/clirr-ignored-differences.xml new file mode 100644 index 000000000..5e2854a32 --- /dev/null +++ b/grpc-google-cloud-dialogflow-v2beta1/clirr-ignored-differences.xml @@ -0,0 +1,10 @@ + + + + + + 6001 + com/google/cloud/dialogflow/v2beta1/*Grpc + METHOD_* + + diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java index 2ba294ef3..8ad3fd4e8 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java @@ -52,7 +52,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2beta1/agent.proto") public final class AgentsGrpc { @@ -61,30 +61,20 @@ private AgentsGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2beta1.Agents"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetAgentRequest, - com.google.cloud.dialogflow.v2beta1.Agent> - METHOD_GET_AGENT = getGetAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetAgentRequest, com.google.cloud.dialogflow.v2beta1.Agent> getGetAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAgent", + requestType = com.google.cloud.dialogflow.v2beta1.GetAgentRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.Agent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetAgentRequest, com.google.cloud.dialogflow.v2beta1.Agent> getGetAgentMethod() { - return getGetAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetAgentRequest, - com.google.cloud.dialogflow.v2beta1.Agent> - getGetAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetAgentRequest, com.google.cloud.dialogflow.v2beta1.Agent> @@ -99,9 +89,7 @@ private AgentsGrpc() {} com.google.cloud.dialogflow.v2beta1.Agent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Agents", "GetAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -118,30 +106,20 @@ private AgentsGrpc() {} return getGetAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getSetAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.SetAgentRequest, - com.google.cloud.dialogflow.v2beta1.Agent> - METHOD_SET_AGENT = getSetAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.SetAgentRequest, com.google.cloud.dialogflow.v2beta1.Agent> getSetAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetAgent", + requestType = com.google.cloud.dialogflow.v2beta1.SetAgentRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.Agent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.SetAgentRequest, com.google.cloud.dialogflow.v2beta1.Agent> getSetAgentMethod() { - return getSetAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.SetAgentRequest, - com.google.cloud.dialogflow.v2beta1.Agent> - getSetAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.SetAgentRequest, com.google.cloud.dialogflow.v2beta1.Agent> @@ -156,9 +134,7 @@ private AgentsGrpc() {} com.google.cloud.dialogflow.v2beta1.Agent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Agents", "SetAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -175,26 +151,18 @@ private AgentsGrpc() {} return getSetAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest, com.google.protobuf.Empty> - METHOD_DELETE_AGENT = getDeleteAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest, com.google.protobuf.Empty> getDeleteAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAgent", + requestType = com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest, com.google.protobuf.Empty> getDeleteAgentMethod() { - return getDeleteAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest, com.google.protobuf.Empty> - getDeleteAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest, com.google.protobuf.Empty> getDeleteAgentMethod; @@ -208,9 +176,7 @@ private AgentsGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Agents", "DeleteAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -227,30 +193,20 @@ private AgentsGrpc() {} return getDeleteAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getSearchAgentsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest, - com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse> - METHOD_SEARCH_AGENTS = getSearchAgentsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest, com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse> getSearchAgentsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchAgents", + requestType = com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest, com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse> getSearchAgentsMethod() { - return getSearchAgentsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest, - com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse> - getSearchAgentsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest, com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse> @@ -265,9 +221,7 @@ private AgentsGrpc() {} com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Agents", "SearchAgents")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAgents")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -285,26 +239,18 @@ private AgentsGrpc() {} return getSearchAgentsMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getTrainAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.TrainAgentRequest, com.google.longrunning.Operation> - METHOD_TRAIN_AGENT = getTrainAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.TrainAgentRequest, com.google.longrunning.Operation> getTrainAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TrainAgent", + requestType = com.google.cloud.dialogflow.v2beta1.TrainAgentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.TrainAgentRequest, com.google.longrunning.Operation> getTrainAgentMethod() { - return getTrainAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.TrainAgentRequest, com.google.longrunning.Operation> - getTrainAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.TrainAgentRequest, com.google.longrunning.Operation> getTrainAgentMethod; @@ -318,9 +264,7 @@ private AgentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Agents", "TrainAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TrainAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -337,26 +281,18 @@ private AgentsGrpc() {} return getTrainAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getExportAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ExportAgentRequest, com.google.longrunning.Operation> - METHOD_EXPORT_AGENT = getExportAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ExportAgentRequest, com.google.longrunning.Operation> getExportAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportAgent", + requestType = com.google.cloud.dialogflow.v2beta1.ExportAgentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ExportAgentRequest, com.google.longrunning.Operation> getExportAgentMethod() { - return getExportAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ExportAgentRequest, com.google.longrunning.Operation> - getExportAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ExportAgentRequest, com.google.longrunning.Operation> @@ -371,9 +307,7 @@ private AgentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Agents", "ExportAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -390,26 +324,18 @@ private AgentsGrpc() {} return getExportAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getImportAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ImportAgentRequest, com.google.longrunning.Operation> - METHOD_IMPORT_AGENT = getImportAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ImportAgentRequest, com.google.longrunning.Operation> getImportAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAgent", + requestType = com.google.cloud.dialogflow.v2beta1.ImportAgentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ImportAgentRequest, com.google.longrunning.Operation> getImportAgentMethod() { - return getImportAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ImportAgentRequest, com.google.longrunning.Operation> - getImportAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ImportAgentRequest, com.google.longrunning.Operation> @@ -424,9 +350,7 @@ private AgentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Agents", "ImportAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -443,26 +367,18 @@ private AgentsGrpc() {} return getImportAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getRestoreAgentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest, com.google.longrunning.Operation> - METHOD_RESTORE_AGENT = getRestoreAgentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest, com.google.longrunning.Operation> getRestoreAgentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestoreAgent", + requestType = com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest, com.google.longrunning.Operation> getRestoreAgentMethod() { - return getRestoreAgentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest, com.google.longrunning.Operation> - getRestoreAgentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest, com.google.longrunning.Operation> @@ -477,9 +393,7 @@ private AgentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Agents", "RestoreAgent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreAgent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -496,30 +410,20 @@ private AgentsGrpc() {} return getRestoreAgentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetValidationResultMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest, - com.google.cloud.dialogflow.v2beta1.ValidationResult> - METHOD_GET_VALIDATION_RESULT = getGetValidationResultMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest, com.google.cloud.dialogflow.v2beta1.ValidationResult> getGetValidationResultMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetValidationResult", + requestType = com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.ValidationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest, com.google.cloud.dialogflow.v2beta1.ValidationResult> getGetValidationResultMethod() { - return getGetValidationResultMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest, - com.google.cloud.dialogflow.v2beta1.ValidationResult> - getGetValidationResultMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest, com.google.cloud.dialogflow.v2beta1.ValidationResult> @@ -535,8 +439,7 @@ private AgentsGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Agents", "GetValidationResult")) + generateFullMethodName(SERVICE_NAME, "GetValidationResult")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -557,19 +460,42 @@ private AgentsGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static AgentsStub newStub(io.grpc.Channel channel) { - return new AgentsStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AgentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AgentsStub(channel, callOptions); + } + }; + return AgentsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static AgentsBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new AgentsBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AgentsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AgentsBlockingStub(channel, callOptions); + } + }; + return AgentsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static AgentsFutureStub newFutureStub(io.grpc.Channel channel) { - return new AgentsFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AgentsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AgentsFutureStub(channel, callOptions); + } + }; + return AgentsFutureStub.newStub(factory, channel); } /** @@ -613,7 +539,7 @@ public abstract static class AgentsImplBase implements io.grpc.BindableService { public void getAgent( com.google.cloud.dialogflow.v2beta1.GetAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetAgentMethod(), responseObserver); } /** @@ -626,7 +552,7 @@ public void getAgent( public void setAgent( com.google.cloud.dialogflow.v2beta1.SetAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSetAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getSetAgentMethod(), responseObserver); } /** @@ -639,7 +565,7 @@ public void setAgent( public void deleteAgent( com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteAgentMethod(), responseObserver); } /** @@ -658,7 +584,7 @@ public void searchAgents( com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSearchAgentsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getSearchAgentsMethod(), responseObserver); } /** @@ -672,7 +598,7 @@ public void searchAgents( public void trainAgent( com.google.cloud.dialogflow.v2beta1.TrainAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getTrainAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getTrainAgentMethod(), responseObserver); } /** @@ -686,7 +612,7 @@ public void trainAgent( public void exportAgent( com.google.cloud.dialogflow.v2beta1.ExportAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getExportAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getExportAgentMethod(), responseObserver); } /** @@ -703,7 +629,7 @@ public void exportAgent( public void importAgent( com.google.cloud.dialogflow.v2beta1.ImportAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getImportAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getImportAgentMethod(), responseObserver); } /** @@ -719,7 +645,7 @@ public void importAgent( public void restoreAgent( com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getRestoreAgentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getRestoreAgentMethod(), responseObserver); } /** @@ -734,63 +660,63 @@ public void getValidationResult( com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetValidationResultMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetValidationResultMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getGetAgentMethodHelper(), + getGetAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.GetAgentRequest, com.google.cloud.dialogflow.v2beta1.Agent>(this, METHODID_GET_AGENT))) .addMethod( - getSetAgentMethodHelper(), + getSetAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.SetAgentRequest, com.google.cloud.dialogflow.v2beta1.Agent>(this, METHODID_SET_AGENT))) .addMethod( - getDeleteAgentMethodHelper(), + getDeleteAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_AGENT))) .addMethod( - getSearchAgentsMethodHelper(), + getSearchAgentsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest, com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse>( this, METHODID_SEARCH_AGENTS))) .addMethod( - getTrainAgentMethodHelper(), + getTrainAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.TrainAgentRequest, com.google.longrunning.Operation>(this, METHODID_TRAIN_AGENT))) .addMethod( - getExportAgentMethodHelper(), + getExportAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.ExportAgentRequest, com.google.longrunning.Operation>(this, METHODID_EXPORT_AGENT))) .addMethod( - getImportAgentMethodHelper(), + getImportAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.ImportAgentRequest, com.google.longrunning.Operation>(this, METHODID_IMPORT_AGENT))) .addMethod( - getRestoreAgentMethodHelper(), + getRestoreAgentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest, com.google.longrunning.Operation>(this, METHODID_RESTORE_AGENT))) .addMethod( - getGetValidationResultMethodHelper(), + getGetValidationResultMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest, @@ -829,11 +755,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * documentation](https://cloud.google.com/dialogflow/docs/agents-overview). * */ - public static final class AgentsStub extends io.grpc.stub.AbstractStub { - private AgentsStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class AgentsStub extends io.grpc.stub.AbstractAsyncStub { private AgentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -854,9 +776,7 @@ public void getAgent( com.google.cloud.dialogflow.v2beta1.GetAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetAgentMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetAgentMethod(), getCallOptions()), request, responseObserver); } /** @@ -870,9 +790,7 @@ public void setAgent( com.google.cloud.dialogflow.v2beta1.SetAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getSetAgentMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSetAgentMethod(), getCallOptions()), request, responseObserver); } /** @@ -886,7 +804,7 @@ public void deleteAgent( com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteAgentMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteAgentMethod(), getCallOptions()), request, responseObserver); } @@ -908,7 +826,7 @@ public void searchAgents( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getSearchAgentsMethodHelper(), getCallOptions()), + getChannel().newCall(getSearchAgentsMethod(), getCallOptions()), request, responseObserver); } @@ -925,9 +843,7 @@ public void trainAgent( com.google.cloud.dialogflow.v2beta1.TrainAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getTrainAgentMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTrainAgentMethod(), getCallOptions()), request, responseObserver); } /** @@ -942,7 +858,7 @@ public void exportAgent( com.google.cloud.dialogflow.v2beta1.ExportAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getExportAgentMethodHelper(), getCallOptions()), + getChannel().newCall(getExportAgentMethod(), getCallOptions()), request, responseObserver); } @@ -962,7 +878,7 @@ public void importAgent( com.google.cloud.dialogflow.v2beta1.ImportAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getImportAgentMethodHelper(), getCallOptions()), + getChannel().newCall(getImportAgentMethod(), getCallOptions()), request, responseObserver); } @@ -981,7 +897,7 @@ public void restoreAgent( com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getRestoreAgentMethodHelper(), getCallOptions()), + getChannel().newCall(getRestoreAgentMethod(), getCallOptions()), request, responseObserver); } @@ -999,7 +915,7 @@ public void getValidationResult( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetValidationResultMethodHelper(), getCallOptions()), + getChannel().newCall(getGetValidationResultMethod(), getCallOptions()), request, responseObserver); } @@ -1035,11 +951,7 @@ public void getValidationResult( * */ public static final class AgentsBlockingStub - extends io.grpc.stub.AbstractStub { - private AgentsBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private AgentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1058,7 +970,7 @@ protected AgentsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions */ public com.google.cloud.dialogflow.v2beta1.Agent getAgent( com.google.cloud.dialogflow.v2beta1.GetAgentRequest request) { - return blockingUnaryCall(getChannel(), getGetAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getGetAgentMethod(), getCallOptions(), request); } /** @@ -1070,7 +982,7 @@ public com.google.cloud.dialogflow.v2beta1.Agent getAgent( */ public com.google.cloud.dialogflow.v2beta1.Agent setAgent( com.google.cloud.dialogflow.v2beta1.SetAgentRequest request) { - return blockingUnaryCall(getChannel(), getSetAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getSetAgentMethod(), getCallOptions(), request); } /** @@ -1082,8 +994,7 @@ public com.google.cloud.dialogflow.v2beta1.Agent setAgent( */ public com.google.protobuf.Empty deleteAgent( com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest request) { - return blockingUnaryCall( - getChannel(), getDeleteAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getDeleteAgentMethod(), getCallOptions(), request); } /** @@ -1100,8 +1011,7 @@ public com.google.protobuf.Empty deleteAgent( */ public com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse searchAgents( com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest request) { - return blockingUnaryCall( - getChannel(), getSearchAgentsMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getSearchAgentsMethod(), getCallOptions(), request); } /** @@ -1114,8 +1024,7 @@ public com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse searchAgents( */ public com.google.longrunning.Operation trainAgent( com.google.cloud.dialogflow.v2beta1.TrainAgentRequest request) { - return blockingUnaryCall( - getChannel(), getTrainAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getTrainAgentMethod(), getCallOptions(), request); } /** @@ -1128,8 +1037,7 @@ public com.google.longrunning.Operation trainAgent( */ public com.google.longrunning.Operation exportAgent( com.google.cloud.dialogflow.v2beta1.ExportAgentRequest request) { - return blockingUnaryCall( - getChannel(), getExportAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getExportAgentMethod(), getCallOptions(), request); } /** @@ -1145,8 +1053,7 @@ public com.google.longrunning.Operation exportAgent( */ public com.google.longrunning.Operation importAgent( com.google.cloud.dialogflow.v2beta1.ImportAgentRequest request) { - return blockingUnaryCall( - getChannel(), getImportAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getImportAgentMethod(), getCallOptions(), request); } /** @@ -1161,8 +1068,7 @@ public com.google.longrunning.Operation importAgent( */ public com.google.longrunning.Operation restoreAgent( com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest request) { - return blockingUnaryCall( - getChannel(), getRestoreAgentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getRestoreAgentMethod(), getCallOptions(), request); } /** @@ -1176,7 +1082,7 @@ public com.google.longrunning.Operation restoreAgent( public com.google.cloud.dialogflow.v2beta1.ValidationResult getValidationResult( com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest request) { return blockingUnaryCall( - getChannel(), getGetValidationResultMethodHelper(), getCallOptions(), request); + getChannel(), getGetValidationResultMethod(), getCallOptions(), request); } } @@ -1209,11 +1115,8 @@ public com.google.cloud.dialogflow.v2beta1.ValidationResult getValidationResult( * documentation](https://cloud.google.com/dialogflow/docs/agents-overview). * */ - public static final class AgentsFutureStub extends io.grpc.stub.AbstractStub { - private AgentsFutureStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class AgentsFutureStub + extends io.grpc.stub.AbstractFutureStub { private AgentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1233,8 +1136,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2beta1.Agent> getAgent(com.google.cloud.dialogflow.v2beta1.GetAgentRequest request) { - return futureUnaryCall( - getChannel().newCall(getGetAgentMethodHelper(), getCallOptions()), request); + return futureUnaryCall(getChannel().newCall(getGetAgentMethod(), getCallOptions()), request); } /** @@ -1247,8 +1149,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2beta1.Agent> setAgent(com.google.cloud.dialogflow.v2beta1.SetAgentRequest request) { - return futureUnaryCall( - getChannel().newCall(getSetAgentMethodHelper(), getCallOptions()), request); + return futureUnaryCall(getChannel().newCall(getSetAgentMethod(), getCallOptions()), request); } /** @@ -1261,7 +1162,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture deleteAgent(com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteAgentMethod(), getCallOptions()), request); } /** @@ -1280,7 +1181,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse> searchAgents(com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest request) { return futureUnaryCall( - getChannel().newCall(getSearchAgentsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getSearchAgentsMethod(), getCallOptions()), request); } /** @@ -1294,7 +1195,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture trainAgent(com.google.cloud.dialogflow.v2beta1.TrainAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getTrainAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getTrainAgentMethod(), getCallOptions()), request); } /** @@ -1308,7 +1209,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture exportAgent(com.google.cloud.dialogflow.v2beta1.ExportAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getExportAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getExportAgentMethod(), getCallOptions()), request); } /** @@ -1325,7 +1226,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture importAgent(com.google.cloud.dialogflow.v2beta1.ImportAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getImportAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getImportAgentMethod(), getCallOptions()), request); } /** @@ -1341,7 +1242,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca public com.google.common.util.concurrent.ListenableFuture restoreAgent(com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest request) { return futureUnaryCall( - getChannel().newCall(getRestoreAgentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getRestoreAgentMethod(), getCallOptions()), request); } /** @@ -1357,7 +1258,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca getValidationResult( com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest request) { return futureUnaryCall( - getChannel().newCall(getGetValidationResultMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetValidationResultMethod(), getCallOptions()), request); } } @@ -1500,15 +1401,15 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new AgentsFileDescriptorSupplier()) - .addMethod(getGetAgentMethodHelper()) - .addMethod(getSetAgentMethodHelper()) - .addMethod(getDeleteAgentMethodHelper()) - .addMethod(getSearchAgentsMethodHelper()) - .addMethod(getTrainAgentMethodHelper()) - .addMethod(getExportAgentMethodHelper()) - .addMethod(getImportAgentMethodHelper()) - .addMethod(getRestoreAgentMethodHelper()) - .addMethod(getGetValidationResultMethodHelper()) + .addMethod(getGetAgentMethod()) + .addMethod(getSetAgentMethod()) + .addMethod(getDeleteAgentMethod()) + .addMethod(getSearchAgentsMethod()) + .addMethod(getTrainAgentMethod()) + .addMethod(getExportAgentMethod()) + .addMethod(getImportAgentMethod()) + .addMethod(getRestoreAgentMethod()) + .addMethod(getGetValidationResultMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsGrpc.java index f0250ba5d..4b8ac45ba 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsGrpc.java @@ -45,7 +45,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2beta1/context.proto") public final class ContextsGrpc { @@ -54,30 +54,20 @@ private ContextsGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2beta1.Contexts"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListContextsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListContextsRequest, - com.google.cloud.dialogflow.v2beta1.ListContextsResponse> - METHOD_LIST_CONTEXTS = getListContextsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListContextsRequest, com.google.cloud.dialogflow.v2beta1.ListContextsResponse> getListContextsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListContexts", + requestType = com.google.cloud.dialogflow.v2beta1.ListContextsRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.ListContextsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListContextsRequest, com.google.cloud.dialogflow.v2beta1.ListContextsResponse> getListContextsMethod() { - return getListContextsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListContextsRequest, - com.google.cloud.dialogflow.v2beta1.ListContextsResponse> - getListContextsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListContextsRequest, com.google.cloud.dialogflow.v2beta1.ListContextsResponse> @@ -92,9 +82,7 @@ private ContextsGrpc() {} com.google.cloud.dialogflow.v2beta1.ListContextsResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Contexts", "ListContexts")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContexts")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -112,30 +100,20 @@ private ContextsGrpc() {} return getListContextsMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetContextMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetContextRequest, - com.google.cloud.dialogflow.v2beta1.Context> - METHOD_GET_CONTEXT = getGetContextMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetContextRequest, com.google.cloud.dialogflow.v2beta1.Context> getGetContextMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetContext", + requestType = com.google.cloud.dialogflow.v2beta1.GetContextRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.Context.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetContextRequest, com.google.cloud.dialogflow.v2beta1.Context> getGetContextMethod() { - return getGetContextMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetContextRequest, - com.google.cloud.dialogflow.v2beta1.Context> - getGetContextMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetContextRequest, com.google.cloud.dialogflow.v2beta1.Context> @@ -150,9 +128,7 @@ private ContextsGrpc() {} com.google.cloud.dialogflow.v2beta1.Context> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Contexts", "GetContext")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContext")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -169,30 +145,20 @@ private ContextsGrpc() {} return getGetContextMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateContextMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateContextRequest, - com.google.cloud.dialogflow.v2beta1.Context> - METHOD_CREATE_CONTEXT = getCreateContextMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateContextRequest, com.google.cloud.dialogflow.v2beta1.Context> getCreateContextMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateContext", + requestType = com.google.cloud.dialogflow.v2beta1.CreateContextRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.Context.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateContextRequest, com.google.cloud.dialogflow.v2beta1.Context> getCreateContextMethod() { - return getCreateContextMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateContextRequest, - com.google.cloud.dialogflow.v2beta1.Context> - getCreateContextMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateContextRequest, com.google.cloud.dialogflow.v2beta1.Context> @@ -207,9 +173,7 @@ private ContextsGrpc() {} com.google.cloud.dialogflow.v2beta1.Context> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Contexts", "CreateContext")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateContext")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -226,30 +190,20 @@ private ContextsGrpc() {} return getCreateContextMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateContextMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateContextRequest, - com.google.cloud.dialogflow.v2beta1.Context> - METHOD_UPDATE_CONTEXT = getUpdateContextMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateContextRequest, com.google.cloud.dialogflow.v2beta1.Context> getUpdateContextMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateContext", + requestType = com.google.cloud.dialogflow.v2beta1.UpdateContextRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.Context.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateContextRequest, com.google.cloud.dialogflow.v2beta1.Context> getUpdateContextMethod() { - return getUpdateContextMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateContextRequest, - com.google.cloud.dialogflow.v2beta1.Context> - getUpdateContextMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateContextRequest, com.google.cloud.dialogflow.v2beta1.Context> @@ -264,9 +218,7 @@ private ContextsGrpc() {} com.google.cloud.dialogflow.v2beta1.Context> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Contexts", "UpdateContext")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateContext")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -283,26 +235,18 @@ private ContextsGrpc() {} return getUpdateContextMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteContextMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteContextRequest, com.google.protobuf.Empty> - METHOD_DELETE_CONTEXT = getDeleteContextMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteContextRequest, com.google.protobuf.Empty> getDeleteContextMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteContext", + requestType = com.google.cloud.dialogflow.v2beta1.DeleteContextRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteContextRequest, com.google.protobuf.Empty> getDeleteContextMethod() { - return getDeleteContextMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteContextRequest, com.google.protobuf.Empty> - getDeleteContextMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteContextRequest, com.google.protobuf.Empty> getDeleteContextMethod; @@ -316,9 +260,7 @@ private ContextsGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Contexts", "DeleteContext")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteContext")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -335,26 +277,18 @@ private ContextsGrpc() {} return getDeleteContextMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteAllContextsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest, com.google.protobuf.Empty> - METHOD_DELETE_ALL_CONTEXTS = getDeleteAllContextsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest, com.google.protobuf.Empty> getDeleteAllContextsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAllContexts", + requestType = com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest, com.google.protobuf.Empty> getDeleteAllContextsMethod() { - return getDeleteAllContextsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest, com.google.protobuf.Empty> - getDeleteAllContextsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest, com.google.protobuf.Empty> getDeleteAllContextsMethod; @@ -368,9 +302,7 @@ private ContextsGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Contexts", "DeleteAllContexts")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAllContexts")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -390,19 +322,42 @@ private ContextsGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static ContextsStub newStub(io.grpc.Channel channel) { - return new ContextsStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContextsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContextsStub(channel, callOptions); + } + }; + return ContextsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static ContextsBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new ContextsBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContextsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContextsBlockingStub(channel, callOptions); + } + }; + return ContextsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static ContextsFutureStub newFutureStub(io.grpc.Channel channel) { - return new ContextsFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ContextsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ContextsFutureStub(channel, callOptions); + } + }; + return ContextsFutureStub.newStub(factory, channel); } /** @@ -440,7 +395,7 @@ public void listContexts( com.google.cloud.dialogflow.v2beta1.ListContextsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListContextsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListContextsMethod(), responseObserver); } /** @@ -453,7 +408,7 @@ public void listContexts( public void getContext( com.google.cloud.dialogflow.v2beta1.GetContextRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetContextMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetContextMethod(), responseObserver); } /** @@ -467,7 +422,7 @@ public void getContext( public void createContext( com.google.cloud.dialogflow.v2beta1.CreateContextRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateContextMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateContextMethod(), responseObserver); } /** @@ -480,7 +435,7 @@ public void createContext( public void updateContext( com.google.cloud.dialogflow.v2beta1.UpdateContextRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateContextMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateContextMethod(), responseObserver); } /** @@ -493,7 +448,7 @@ public void updateContext( public void deleteContext( com.google.cloud.dialogflow.v2beta1.DeleteContextRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteContextMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteContextMethod(), responseObserver); } /** @@ -506,45 +461,45 @@ public void deleteContext( public void deleteAllContexts( com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteAllContextsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteAllContextsMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListContextsMethodHelper(), + getListContextsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.ListContextsRequest, com.google.cloud.dialogflow.v2beta1.ListContextsResponse>( this, METHODID_LIST_CONTEXTS))) .addMethod( - getGetContextMethodHelper(), + getGetContextMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.GetContextRequest, com.google.cloud.dialogflow.v2beta1.Context>(this, METHODID_GET_CONTEXT))) .addMethod( - getCreateContextMethodHelper(), + getCreateContextMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.CreateContextRequest, com.google.cloud.dialogflow.v2beta1.Context>(this, METHODID_CREATE_CONTEXT))) .addMethod( - getUpdateContextMethodHelper(), + getUpdateContextMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.UpdateContextRequest, com.google.cloud.dialogflow.v2beta1.Context>(this, METHODID_UPDATE_CONTEXT))) .addMethod( - getDeleteContextMethodHelper(), + getDeleteContextMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DeleteContextRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_CONTEXT))) .addMethod( - getDeleteAllContextsMethodHelper(), + getDeleteAllContextsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest, @@ -575,11 +530,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * documentation](https://cloud.google.com/dialogflow/docs/contexts-overview). * */ - public static final class ContextsStub extends io.grpc.stub.AbstractStub { - private ContextsStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class ContextsStub extends io.grpc.stub.AbstractAsyncStub { private ContextsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -601,7 +552,7 @@ public void listContexts( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getListContextsMethodHelper(), getCallOptions()), + getChannel().newCall(getListContextsMethod(), getCallOptions()), request, responseObserver); } @@ -617,9 +568,7 @@ public void getContext( com.google.cloud.dialogflow.v2beta1.GetContextRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetContextMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetContextMethod(), getCallOptions()), request, responseObserver); } /** @@ -634,7 +583,7 @@ public void createContext( com.google.cloud.dialogflow.v2beta1.CreateContextRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateContextMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateContextMethod(), getCallOptions()), request, responseObserver); } @@ -650,7 +599,7 @@ public void updateContext( com.google.cloud.dialogflow.v2beta1.UpdateContextRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateContextMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateContextMethod(), getCallOptions()), request, responseObserver); } @@ -666,7 +615,7 @@ public void deleteContext( com.google.cloud.dialogflow.v2beta1.DeleteContextRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteContextMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteContextMethod(), getCallOptions()), request, responseObserver); } @@ -682,7 +631,7 @@ public void deleteAllContexts( com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteAllContextsMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteAllContextsMethod(), getCallOptions()), request, responseObserver); } @@ -711,11 +660,7 @@ public void deleteAllContexts( * */ public static final class ContextsBlockingStub - extends io.grpc.stub.AbstractStub { - private ContextsBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private ContextsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -734,8 +679,7 @@ protected ContextsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOption */ public com.google.cloud.dialogflow.v2beta1.ListContextsResponse listContexts( com.google.cloud.dialogflow.v2beta1.ListContextsRequest request) { - return blockingUnaryCall( - getChannel(), getListContextsMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getListContextsMethod(), getCallOptions(), request); } /** @@ -747,8 +691,7 @@ public com.google.cloud.dialogflow.v2beta1.ListContextsResponse listContexts( */ public com.google.cloud.dialogflow.v2beta1.Context getContext( com.google.cloud.dialogflow.v2beta1.GetContextRequest request) { - return blockingUnaryCall( - getChannel(), getGetContextMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getGetContextMethod(), getCallOptions(), request); } /** @@ -761,8 +704,7 @@ public com.google.cloud.dialogflow.v2beta1.Context getContext( */ public com.google.cloud.dialogflow.v2beta1.Context createContext( com.google.cloud.dialogflow.v2beta1.CreateContextRequest request) { - return blockingUnaryCall( - getChannel(), getCreateContextMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getCreateContextMethod(), getCallOptions(), request); } /** @@ -774,8 +716,7 @@ public com.google.cloud.dialogflow.v2beta1.Context createContext( */ public com.google.cloud.dialogflow.v2beta1.Context updateContext( com.google.cloud.dialogflow.v2beta1.UpdateContextRequest request) { - return blockingUnaryCall( - getChannel(), getUpdateContextMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getUpdateContextMethod(), getCallOptions(), request); } /** @@ -787,8 +728,7 @@ public com.google.cloud.dialogflow.v2beta1.Context updateContext( */ public com.google.protobuf.Empty deleteContext( com.google.cloud.dialogflow.v2beta1.DeleteContextRequest request) { - return blockingUnaryCall( - getChannel(), getDeleteContextMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getDeleteContextMethod(), getCallOptions(), request); } /** @@ -801,7 +741,7 @@ public com.google.protobuf.Empty deleteContext( public com.google.protobuf.Empty deleteAllContexts( com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest request) { return blockingUnaryCall( - getChannel(), getDeleteAllContextsMethodHelper(), getCallOptions(), request); + getChannel(), getDeleteAllContextsMethod(), getCallOptions(), request); } } @@ -828,11 +768,7 @@ public com.google.protobuf.Empty deleteAllContexts( * */ public static final class ContextsFutureStub - extends io.grpc.stub.AbstractStub { - private ContextsFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private ContextsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -853,7 +789,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2beta1.ListContextsResponse> listContexts(com.google.cloud.dialogflow.v2beta1.ListContextsRequest request) { return futureUnaryCall( - getChannel().newCall(getListContextsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListContextsMethod(), getCallOptions()), request); } /** @@ -867,7 +803,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2beta1.Context> getContext(com.google.cloud.dialogflow.v2beta1.GetContextRequest request) { return futureUnaryCall( - getChannel().newCall(getGetContextMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetContextMethod(), getCallOptions()), request); } /** @@ -882,7 +818,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2beta1.Context> createContext(com.google.cloud.dialogflow.v2beta1.CreateContextRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateContextMethodHelper(), getCallOptions()), request); + getChannel().newCall(getCreateContextMethod(), getCallOptions()), request); } /** @@ -896,7 +832,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2beta1.Context> updateContext(com.google.cloud.dialogflow.v2beta1.UpdateContextRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateContextMethodHelper(), getCallOptions()), request); + getChannel().newCall(getUpdateContextMethod(), getCallOptions()), request); } /** @@ -909,7 +845,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture deleteContext(com.google.cloud.dialogflow.v2beta1.DeleteContextRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteContextMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteContextMethod(), getCallOptions()), request); } /** @@ -922,7 +858,7 @@ protected ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture deleteAllContexts(com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteAllContextsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteAllContextsMethod(), getCallOptions()), request); } } @@ -1047,12 +983,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new ContextsFileDescriptorSupplier()) - .addMethod(getListContextsMethodHelper()) - .addMethod(getGetContextMethodHelper()) - .addMethod(getCreateContextMethodHelper()) - .addMethod(getUpdateContextMethodHelper()) - .addMethod(getDeleteContextMethodHelper()) - .addMethod(getDeleteAllContextsMethodHelper()) + .addMethod(getListContextsMethod()) + .addMethod(getGetContextMethod()) + .addMethod(getCreateContextMethod()) + .addMethod(getUpdateContextMethod()) + .addMethod(getDeleteContextMethod()) + .addMethod(getDeleteAllContextsMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java index 8d24221ef..f4312a489 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java @@ -30,7 +30,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2beta1/document.proto") public final class DocumentsGrpc { @@ -39,30 +39,20 @@ private DocumentsGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2beta1.Documents"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListDocumentsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest, - com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse> - METHOD_LIST_DOCUMENTS = getListDocumentsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest, com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse> getListDocumentsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDocuments", + requestType = com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest, com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse> getListDocumentsMethod() { - return getListDocumentsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest, - com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse> - getListDocumentsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest, com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse> @@ -77,9 +67,7 @@ private DocumentsGrpc() {} com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Documents", "ListDocuments")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDocuments")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -97,30 +85,20 @@ private DocumentsGrpc() {} return getListDocumentsMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetDocumentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetDocumentRequest, - com.google.cloud.dialogflow.v2beta1.Document> - METHOD_GET_DOCUMENT = getGetDocumentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetDocumentRequest, com.google.cloud.dialogflow.v2beta1.Document> getGetDocumentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDocument", + requestType = com.google.cloud.dialogflow.v2beta1.GetDocumentRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.Document.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetDocumentRequest, com.google.cloud.dialogflow.v2beta1.Document> getGetDocumentMethod() { - return getGetDocumentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetDocumentRequest, - com.google.cloud.dialogflow.v2beta1.Document> - getGetDocumentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetDocumentRequest, com.google.cloud.dialogflow.v2beta1.Document> @@ -135,9 +113,7 @@ private DocumentsGrpc() {} com.google.cloud.dialogflow.v2beta1.Document> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Documents", "GetDocument")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDocument")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -154,30 +130,20 @@ private DocumentsGrpc() {} return getGetDocumentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateDocumentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest, - com.google.longrunning.Operation> - METHOD_CREATE_DOCUMENT = getCreateDocumentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest, com.google.longrunning.Operation> getCreateDocumentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDocument", + requestType = com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest, com.google.longrunning.Operation> getCreateDocumentMethod() { - return getCreateDocumentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest, - com.google.longrunning.Operation> - getCreateDocumentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest, com.google.longrunning.Operation> @@ -192,9 +158,7 @@ private DocumentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Documents", "CreateDocument")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDocument")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -211,30 +175,20 @@ private DocumentsGrpc() {} return getCreateDocumentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteDocumentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest, - com.google.longrunning.Operation> - METHOD_DELETE_DOCUMENT = getDeleteDocumentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest, com.google.longrunning.Operation> getDeleteDocumentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDocument", + requestType = com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest, com.google.longrunning.Operation> getDeleteDocumentMethod() { - return getDeleteDocumentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest, - com.google.longrunning.Operation> - getDeleteDocumentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest, com.google.longrunning.Operation> @@ -249,9 +203,7 @@ private DocumentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Documents", "DeleteDocument")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDocument")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -268,30 +220,20 @@ private DocumentsGrpc() {} return getDeleteDocumentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateDocumentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest, - com.google.longrunning.Operation> - METHOD_UPDATE_DOCUMENT = getUpdateDocumentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest, com.google.longrunning.Operation> getUpdateDocumentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDocument", + requestType = com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest, com.google.longrunning.Operation> getUpdateDocumentMethod() { - return getUpdateDocumentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest, - com.google.longrunning.Operation> - getUpdateDocumentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest, com.google.longrunning.Operation> @@ -306,9 +248,7 @@ private DocumentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Documents", "UpdateDocument")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDocument")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -325,30 +265,20 @@ private DocumentsGrpc() {} return getUpdateDocumentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getReloadDocumentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest, - com.google.longrunning.Operation> - METHOD_RELOAD_DOCUMENT = getReloadDocumentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest, com.google.longrunning.Operation> getReloadDocumentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReloadDocument", + requestType = com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest, com.google.longrunning.Operation> getReloadDocumentMethod() { - return getReloadDocumentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest, - com.google.longrunning.Operation> - getReloadDocumentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest, com.google.longrunning.Operation> @@ -363,9 +293,7 @@ private DocumentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Documents", "ReloadDocument")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReloadDocument")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -384,19 +312,42 @@ private DocumentsGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static DocumentsStub newStub(io.grpc.Channel channel) { - return new DocumentsStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DocumentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DocumentsStub(channel, callOptions); + } + }; + return DocumentsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static DocumentsBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new DocumentsBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DocumentsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DocumentsBlockingStub(channel, callOptions); + } + }; + return DocumentsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static DocumentsFutureStub newFutureStub(io.grpc.Channel channel) { - return new DocumentsFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DocumentsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DocumentsFutureStub(channel, callOptions); + } + }; + return DocumentsFutureStub.newStub(factory, channel); } /** @@ -421,7 +372,7 @@ public void listDocuments( com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListDocumentsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListDocumentsMethod(), responseObserver); } /** @@ -437,7 +388,7 @@ public void getDocument( com.google.cloud.dialogflow.v2beta1.GetDocumentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetDocumentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetDocumentMethod(), responseObserver); } /** @@ -454,7 +405,7 @@ public void getDocument( public void createDocument( com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateDocumentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateDocumentMethod(), responseObserver); } /** @@ -471,7 +422,7 @@ public void createDocument( public void deleteDocument( com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteDocumentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteDocumentMethod(), responseObserver); } /** @@ -488,7 +439,7 @@ public void deleteDocument( public void updateDocument( com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateDocumentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateDocumentMethod(), responseObserver); } /** @@ -508,45 +459,45 @@ public void updateDocument( public void reloadDocument( com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getReloadDocumentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getReloadDocumentMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListDocumentsMethodHelper(), + getListDocumentsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest, com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse>( this, METHODID_LIST_DOCUMENTS))) .addMethod( - getGetDocumentMethodHelper(), + getGetDocumentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.GetDocumentRequest, com.google.cloud.dialogflow.v2beta1.Document>(this, METHODID_GET_DOCUMENT))) .addMethod( - getCreateDocumentMethodHelper(), + getCreateDocumentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest, com.google.longrunning.Operation>(this, METHODID_CREATE_DOCUMENT))) .addMethod( - getDeleteDocumentMethodHelper(), + getDeleteDocumentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_DOCUMENT))) .addMethod( - getUpdateDocumentMethodHelper(), + getUpdateDocumentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest, com.google.longrunning.Operation>(this, METHODID_UPDATE_DOCUMENT))) .addMethod( - getReloadDocumentMethodHelper(), + getReloadDocumentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest, @@ -562,11 +513,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * Manages documents of a knowledge base. * */ - public static final class DocumentsStub extends io.grpc.stub.AbstractStub { - private DocumentsStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class DocumentsStub extends io.grpc.stub.AbstractAsyncStub { private DocumentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -590,7 +537,7 @@ public void listDocuments( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getListDocumentsMethodHelper(), getCallOptions()), + getChannel().newCall(getListDocumentsMethod(), getCallOptions()), request, responseObserver); } @@ -609,7 +556,7 @@ public void getDocument( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetDocumentMethodHelper(), getCallOptions()), + getChannel().newCall(getGetDocumentMethod(), getCallOptions()), request, responseObserver); } @@ -629,7 +576,7 @@ public void createDocument( com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateDocumentMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), request, responseObserver); } @@ -649,7 +596,7 @@ public void deleteDocument( com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteDocumentMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), request, responseObserver); } @@ -669,7 +616,7 @@ public void updateDocument( com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateDocumentMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), request, responseObserver); } @@ -692,7 +639,7 @@ public void reloadDocument( com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getReloadDocumentMethodHelper(), getCallOptions()), + getChannel().newCall(getReloadDocumentMethod(), getCallOptions()), request, responseObserver); } @@ -706,11 +653,7 @@ public void reloadDocument( * */ public static final class DocumentsBlockingStub - extends io.grpc.stub.AbstractStub { - private DocumentsBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private DocumentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -732,8 +675,7 @@ protected DocumentsBlockingStub build( */ public com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse listDocuments( com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest request) { - return blockingUnaryCall( - getChannel(), getListDocumentsMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getListDocumentsMethod(), getCallOptions(), request); } /** @@ -747,8 +689,7 @@ public com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse listDocuments( */ public com.google.cloud.dialogflow.v2beta1.Document getDocument( com.google.cloud.dialogflow.v2beta1.GetDocumentRequest request) { - return blockingUnaryCall( - getChannel(), getGetDocumentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getGetDocumentMethod(), getCallOptions(), request); } /** @@ -764,8 +705,7 @@ public com.google.cloud.dialogflow.v2beta1.Document getDocument( */ public com.google.longrunning.Operation createDocument( com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest request) { - return blockingUnaryCall( - getChannel(), getCreateDocumentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getCreateDocumentMethod(), getCallOptions(), request); } /** @@ -781,8 +721,7 @@ public com.google.longrunning.Operation createDocument( */ public com.google.longrunning.Operation deleteDocument( com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest request) { - return blockingUnaryCall( - getChannel(), getDeleteDocumentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getDeleteDocumentMethod(), getCallOptions(), request); } /** @@ -798,8 +737,7 @@ public com.google.longrunning.Operation deleteDocument( */ public com.google.longrunning.Operation updateDocument( com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest request) { - return blockingUnaryCall( - getChannel(), getUpdateDocumentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getUpdateDocumentMethod(), getCallOptions(), request); } /** @@ -818,8 +756,7 @@ public com.google.longrunning.Operation updateDocument( */ public com.google.longrunning.Operation reloadDocument( com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest request) { - return blockingUnaryCall( - getChannel(), getReloadDocumentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getReloadDocumentMethod(), getCallOptions(), request); } } @@ -831,11 +768,7 @@ public com.google.longrunning.Operation reloadDocument( * */ public static final class DocumentsFutureStub - extends io.grpc.stub.AbstractStub { - private DocumentsFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private DocumentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -858,7 +791,7 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2beta1.ListDocumentsResponse> listDocuments(com.google.cloud.dialogflow.v2beta1.ListDocumentsRequest request) { return futureUnaryCall( - getChannel().newCall(getListDocumentsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListDocumentsMethod(), getCallOptions()), request); } /** @@ -874,7 +807,7 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2beta1.Document> getDocument(com.google.cloud.dialogflow.v2beta1.GetDocumentRequest request) { return futureUnaryCall( - getChannel().newCall(getGetDocumentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetDocumentMethod(), getCallOptions()), request); } /** @@ -891,7 +824,7 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture createDocument(com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateDocumentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), request); } /** @@ -908,7 +841,7 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture deleteDocument(com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteDocumentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), request); } /** @@ -925,7 +858,7 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture updateDocument(com.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateDocumentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), request); } /** @@ -945,7 +878,7 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture reloadDocument(com.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest request) { return futureUnaryCall( - getChannel().newCall(getReloadDocumentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getReloadDocumentMethod(), getCallOptions()), request); } } @@ -1070,12 +1003,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new DocumentsFileDescriptorSupplier()) - .addMethod(getListDocumentsMethodHelper()) - .addMethod(getGetDocumentMethodHelper()) - .addMethod(getCreateDocumentMethodHelper()) - .addMethod(getDeleteDocumentMethodHelper()) - .addMethod(getUpdateDocumentMethodHelper()) - .addMethod(getReloadDocumentMethodHelper()) + .addMethod(getListDocumentsMethod()) + .addMethod(getGetDocumentMethod()) + .addMethod(getCreateDocumentMethod()) + .addMethod(getDeleteDocumentMethod()) + .addMethod(getUpdateDocumentMethod()) + .addMethod(getReloadDocumentMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java index f04040ab3..1e18d90d6 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java @@ -51,7 +51,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2beta1/entity_type.proto") public final class EntityTypesGrpc { @@ -60,30 +60,20 @@ private EntityTypesGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2beta1.EntityTypes"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListEntityTypesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest, - com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse> - METHOD_LIST_ENTITY_TYPES = getListEntityTypesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest, com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse> getListEntityTypesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEntityTypes", + requestType = com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest, com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse> getListEntityTypesMethod() { - return getListEntityTypesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest, - com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse> - getListEntityTypesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest, com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse> @@ -98,9 +88,7 @@ private EntityTypesGrpc() {} com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", "ListEntityTypes")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntityTypes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -119,30 +107,20 @@ private EntityTypesGrpc() {} return getListEntityTypesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.EntityType> - METHOD_GET_ENTITY_TYPE = getGetEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType> getGetEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEntityType", + requestType = com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.EntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType> getGetEntityTypeMethod() { - return getGetEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.EntityType> - getGetEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType> @@ -157,9 +135,7 @@ private EntityTypesGrpc() {} com.google.cloud.dialogflow.v2beta1.EntityType> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", "GetEntityType")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -176,30 +152,20 @@ private EntityTypesGrpc() {} return getGetEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.EntityType> - METHOD_CREATE_ENTITY_TYPE = getCreateEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType> getCreateEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEntityType", + requestType = com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.EntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType> getCreateEntityTypeMethod() { - return getCreateEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.EntityType> - getCreateEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType> @@ -214,9 +180,7 @@ private EntityTypesGrpc() {} com.google.cloud.dialogflow.v2beta1.EntityType> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", "CreateEntityType")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -234,30 +198,20 @@ private EntityTypesGrpc() {} return getCreateEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.EntityType> - METHOD_UPDATE_ENTITY_TYPE = getUpdateEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType> getUpdateEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEntityType", + requestType = com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.EntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType> getUpdateEntityTypeMethod() { - return getUpdateEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.EntityType> - getUpdateEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType> @@ -272,9 +226,7 @@ private EntityTypesGrpc() {} com.google.cloud.dialogflow.v2beta1.EntityType> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", "UpdateEntityType")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -292,26 +244,18 @@ private EntityTypesGrpc() {} return getUpdateEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest, com.google.protobuf.Empty> - METHOD_DELETE_ENTITY_TYPE = getDeleteEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest, com.google.protobuf.Empty> getDeleteEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEntityType", + requestType = com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest, com.google.protobuf.Empty> getDeleteEntityTypeMethod() { - return getDeleteEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest, com.google.protobuf.Empty> - getDeleteEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest, com.google.protobuf.Empty> getDeleteEntityTypeMethod; @@ -325,9 +269,7 @@ private EntityTypesGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", "DeleteEntityType")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -345,30 +287,20 @@ private EntityTypesGrpc() {} return getDeleteEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchUpdateEntityTypesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_UPDATE_ENTITY_TYPES = getBatchUpdateEntityTypesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest, com.google.longrunning.Operation> getBatchUpdateEntityTypesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateEntityTypes", + requestType = com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest, com.google.longrunning.Operation> getBatchUpdateEntityTypesMethod() { - return getBatchUpdateEntityTypesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest, - com.google.longrunning.Operation> - getBatchUpdateEntityTypesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest, com.google.longrunning.Operation> @@ -386,9 +318,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", - "BatchUpdateEntityTypes")) + generateFullMethodName(SERVICE_NAME, "BatchUpdateEntityTypes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -406,30 +336,20 @@ private EntityTypesGrpc() {} return getBatchUpdateEntityTypesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchDeleteEntityTypesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_DELETE_ENTITY_TYPES = getBatchDeleteEntityTypesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest, com.google.longrunning.Operation> getBatchDeleteEntityTypesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteEntityTypes", + requestType = com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest, com.google.longrunning.Operation> getBatchDeleteEntityTypesMethod() { - return getBatchDeleteEntityTypesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest, - com.google.longrunning.Operation> - getBatchDeleteEntityTypesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest, com.google.longrunning.Operation> @@ -447,9 +367,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", - "BatchDeleteEntityTypes")) + generateFullMethodName(SERVICE_NAME, "BatchDeleteEntityTypes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -467,30 +385,20 @@ private EntityTypesGrpc() {} return getBatchDeleteEntityTypesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchCreateEntitiesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_CREATE_ENTITIES = getBatchCreateEntitiesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest, com.google.longrunning.Operation> getBatchCreateEntitiesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateEntities", + requestType = com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest, com.google.longrunning.Operation> getBatchCreateEntitiesMethod() { - return getBatchCreateEntitiesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest, - com.google.longrunning.Operation> - getBatchCreateEntitiesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest, com.google.longrunning.Operation> @@ -506,8 +414,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", "BatchCreateEntities")) + generateFullMethodName(SERVICE_NAME, "BatchCreateEntities")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -525,30 +432,20 @@ private EntityTypesGrpc() {} return getBatchCreateEntitiesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchUpdateEntitiesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_UPDATE_ENTITIES = getBatchUpdateEntitiesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest, com.google.longrunning.Operation> getBatchUpdateEntitiesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateEntities", + requestType = com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest, com.google.longrunning.Operation> getBatchUpdateEntitiesMethod() { - return getBatchUpdateEntitiesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest, - com.google.longrunning.Operation> - getBatchUpdateEntitiesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest, com.google.longrunning.Operation> @@ -564,8 +461,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", "BatchUpdateEntities")) + generateFullMethodName(SERVICE_NAME, "BatchUpdateEntities")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -583,30 +479,20 @@ private EntityTypesGrpc() {} return getBatchUpdateEntitiesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchDeleteEntitiesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest, - com.google.longrunning.Operation> - METHOD_BATCH_DELETE_ENTITIES = getBatchDeleteEntitiesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest, com.google.longrunning.Operation> getBatchDeleteEntitiesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteEntities", + requestType = com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest, com.google.longrunning.Operation> getBatchDeleteEntitiesMethod() { - return getBatchDeleteEntitiesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest, - com.google.longrunning.Operation> - getBatchDeleteEntitiesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest, com.google.longrunning.Operation> @@ -622,8 +508,7 @@ private EntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.EntityTypes", "BatchDeleteEntities")) + generateFullMethodName(SERVICE_NAME, "BatchDeleteEntities")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -643,19 +528,42 @@ private EntityTypesGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static EntityTypesStub newStub(io.grpc.Channel channel) { - return new EntityTypesStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EntityTypesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EntityTypesStub(channel, callOptions); + } + }; + return EntityTypesStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static EntityTypesBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new EntityTypesBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EntityTypesBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EntityTypesBlockingStub(channel, callOptions); + } + }; + return EntityTypesBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static EntityTypesFutureStub newFutureStub(io.grpc.Channel channel) { - return new EntityTypesFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EntityTypesFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EntityTypesFutureStub(channel, callOptions); + } + }; + return EntityTypesFutureStub.newStub(factory, channel); } /** @@ -699,7 +607,7 @@ public void listEntityTypes( com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListEntityTypesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListEntityTypesMethod(), responseObserver); } /** @@ -713,7 +621,7 @@ public void getEntityType( com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetEntityTypeMethod(), responseObserver); } /** @@ -727,7 +635,7 @@ public void createEntityType( com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateEntityTypeMethod(), responseObserver); } /** @@ -741,7 +649,7 @@ public void updateEntityType( com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateEntityTypeMethod(), responseObserver); } /** @@ -754,7 +662,7 @@ public void updateEntityType( public void deleteEntityType( com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteEntityTypeMethod(), responseObserver); } /** @@ -768,7 +676,7 @@ public void deleteEntityType( public void batchUpdateEntityTypes( com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchUpdateEntityTypesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchUpdateEntityTypesMethod(), responseObserver); } /** @@ -782,7 +690,7 @@ public void batchUpdateEntityTypes( public void batchDeleteEntityTypes( com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchDeleteEntityTypesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchDeleteEntityTypesMethod(), responseObserver); } /** @@ -796,7 +704,7 @@ public void batchDeleteEntityTypes( public void batchCreateEntities( com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchCreateEntitiesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchCreateEntitiesMethod(), responseObserver); } /** @@ -812,7 +720,7 @@ public void batchCreateEntities( public void batchUpdateEntities( com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchUpdateEntitiesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchUpdateEntitiesMethod(), responseObserver); } /** @@ -826,72 +734,72 @@ public void batchUpdateEntities( public void batchDeleteEntities( com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchDeleteEntitiesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchDeleteEntitiesMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListEntityTypesMethodHelper(), + getListEntityTypesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest, com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse>( this, METHODID_LIST_ENTITY_TYPES))) .addMethod( - getGetEntityTypeMethodHelper(), + getGetEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType>( this, METHODID_GET_ENTITY_TYPE))) .addMethod( - getCreateEntityTypeMethodHelper(), + getCreateEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType>( this, METHODID_CREATE_ENTITY_TYPE))) .addMethod( - getUpdateEntityTypeMethodHelper(), + getUpdateEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.EntityType>( this, METHODID_UPDATE_ENTITY_TYPE))) .addMethod( - getDeleteEntityTypeMethodHelper(), + getDeleteEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_ENTITY_TYPE))) .addMethod( - getBatchUpdateEntityTypesMethodHelper(), + getBatchUpdateEntityTypesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_ENTITY_TYPES))) .addMethod( - getBatchDeleteEntityTypesMethodHelper(), + getBatchDeleteEntityTypesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_DELETE_ENTITY_TYPES))) .addMethod( - getBatchCreateEntitiesMethodHelper(), + getBatchCreateEntitiesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_ENTITIES))) .addMethod( - getBatchUpdateEntitiesMethodHelper(), + getBatchUpdateEntitiesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_ENTITIES))) .addMethod( - getBatchDeleteEntitiesMethodHelper(), + getBatchDeleteEntitiesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest, @@ -928,11 +836,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * documentation](https://cloud.google.com/dialogflow/docs/entities-overview). * */ - public static final class EntityTypesStub extends io.grpc.stub.AbstractStub { - private EntityTypesStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class EntityTypesStub + extends io.grpc.stub.AbstractAsyncStub { private EntityTypesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -954,7 +859,7 @@ public void listEntityTypes( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getListEntityTypesMethodHelper(), getCallOptions()), + getChannel().newCall(getListEntityTypesMethod(), getCallOptions()), request, responseObserver); } @@ -971,7 +876,7 @@ public void getEntityType( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getGetEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -988,7 +893,7 @@ public void createEntityType( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -1005,7 +910,7 @@ public void updateEntityType( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -1021,7 +926,7 @@ public void deleteEntityType( com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -1038,7 +943,7 @@ public void batchUpdateEntityTypes( com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchUpdateEntityTypesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchUpdateEntityTypesMethod(), getCallOptions()), request, responseObserver); } @@ -1055,7 +960,7 @@ public void batchDeleteEntityTypes( com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchDeleteEntityTypesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchDeleteEntityTypesMethod(), getCallOptions()), request, responseObserver); } @@ -1072,7 +977,7 @@ public void batchCreateEntities( com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchCreateEntitiesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchCreateEntitiesMethod(), getCallOptions()), request, responseObserver); } @@ -1091,7 +996,7 @@ public void batchUpdateEntities( com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchUpdateEntitiesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchUpdateEntitiesMethod(), getCallOptions()), request, responseObserver); } @@ -1108,7 +1013,7 @@ public void batchDeleteEntities( com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchDeleteEntitiesMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchDeleteEntitiesMethod(), getCallOptions()), request, responseObserver); } @@ -1143,11 +1048,7 @@ public void batchDeleteEntities( * */ public static final class EntityTypesBlockingStub - extends io.grpc.stub.AbstractStub { - private EntityTypesBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private EntityTypesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1167,8 +1068,7 @@ protected EntityTypesBlockingStub build( */ public com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse listEntityTypes( com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest request) { - return blockingUnaryCall( - getChannel(), getListEntityTypesMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getListEntityTypesMethod(), getCallOptions(), request); } /** @@ -1180,8 +1080,7 @@ public com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse listEntityTyp */ public com.google.cloud.dialogflow.v2beta1.EntityType getEntityType( com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest request) { - return blockingUnaryCall( - getChannel(), getGetEntityTypeMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getGetEntityTypeMethod(), getCallOptions(), request); } /** @@ -1194,7 +1093,7 @@ public com.google.cloud.dialogflow.v2beta1.EntityType getEntityType( public com.google.cloud.dialogflow.v2beta1.EntityType createEntityType( com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getCreateEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getCreateEntityTypeMethod(), getCallOptions(), request); } /** @@ -1207,7 +1106,7 @@ public com.google.cloud.dialogflow.v2beta1.EntityType createEntityType( public com.google.cloud.dialogflow.v2beta1.EntityType updateEntityType( com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getUpdateEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getUpdateEntityTypeMethod(), getCallOptions(), request); } /** @@ -1220,7 +1119,7 @@ public com.google.cloud.dialogflow.v2beta1.EntityType updateEntityType( public com.google.protobuf.Empty deleteEntityType( com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getDeleteEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getDeleteEntityTypeMethod(), getCallOptions(), request); } /** @@ -1234,7 +1133,7 @@ public com.google.protobuf.Empty deleteEntityType( public com.google.longrunning.Operation batchUpdateEntityTypes( com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest request) { return blockingUnaryCall( - getChannel(), getBatchUpdateEntityTypesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchUpdateEntityTypesMethod(), getCallOptions(), request); } /** @@ -1248,7 +1147,7 @@ public com.google.longrunning.Operation batchUpdateEntityTypes( public com.google.longrunning.Operation batchDeleteEntityTypes( com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest request) { return blockingUnaryCall( - getChannel(), getBatchDeleteEntityTypesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchDeleteEntityTypesMethod(), getCallOptions(), request); } /** @@ -1262,7 +1161,7 @@ public com.google.longrunning.Operation batchDeleteEntityTypes( public com.google.longrunning.Operation batchCreateEntities( com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest request) { return blockingUnaryCall( - getChannel(), getBatchCreateEntitiesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchCreateEntitiesMethod(), getCallOptions(), request); } /** @@ -1278,7 +1177,7 @@ public com.google.longrunning.Operation batchCreateEntities( public com.google.longrunning.Operation batchUpdateEntities( com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest request) { return blockingUnaryCall( - getChannel(), getBatchUpdateEntitiesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchUpdateEntitiesMethod(), getCallOptions(), request); } /** @@ -1292,7 +1191,7 @@ public com.google.longrunning.Operation batchUpdateEntities( public com.google.longrunning.Operation batchDeleteEntities( com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest request) { return blockingUnaryCall( - getChannel(), getBatchDeleteEntitiesMethodHelper(), getCallOptions(), request); + getChannel(), getBatchDeleteEntitiesMethod(), getCallOptions(), request); } } @@ -1325,11 +1224,7 @@ public com.google.longrunning.Operation batchDeleteEntities( * */ public static final class EntityTypesFutureStub - extends io.grpc.stub.AbstractStub { - private EntityTypesFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private EntityTypesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1351,7 +1246,7 @@ protected EntityTypesFutureStub build( com.google.cloud.dialogflow.v2beta1.ListEntityTypesResponse> listEntityTypes(com.google.cloud.dialogflow.v2beta1.ListEntityTypesRequest request) { return futureUnaryCall( - getChannel().newCall(getListEntityTypesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListEntityTypesMethod(), getCallOptions()), request); } /** @@ -1365,7 +1260,7 @@ protected EntityTypesFutureStub build( com.google.cloud.dialogflow.v2beta1.EntityType> getEntityType(com.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getGetEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetEntityTypeMethod(), getCallOptions()), request); } /** @@ -1379,7 +1274,7 @@ protected EntityTypesFutureStub build( com.google.cloud.dialogflow.v2beta1.EntityType> createEntityType(com.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getCreateEntityTypeMethod(), getCallOptions()), request); } /** @@ -1393,7 +1288,7 @@ protected EntityTypesFutureStub build( com.google.cloud.dialogflow.v2beta1.EntityType> updateEntityType(com.google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getUpdateEntityTypeMethod(), getCallOptions()), request); } /** @@ -1406,7 +1301,7 @@ protected EntityTypesFutureStub build( public com.google.common.util.concurrent.ListenableFuture deleteEntityType(com.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteEntityTypeMethod(), getCallOptions()), request); } /** @@ -1421,7 +1316,7 @@ protected EntityTypesFutureStub build( batchUpdateEntityTypes( com.google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchUpdateEntityTypesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchUpdateEntityTypesMethod(), getCallOptions()), request); } /** @@ -1436,7 +1331,7 @@ protected EntityTypesFutureStub build( batchDeleteEntityTypes( com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchDeleteEntityTypesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchDeleteEntityTypesMethod(), getCallOptions()), request); } /** @@ -1451,7 +1346,7 @@ protected EntityTypesFutureStub build( batchCreateEntities( com.google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchCreateEntitiesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchCreateEntitiesMethod(), getCallOptions()), request); } /** @@ -1468,7 +1363,7 @@ protected EntityTypesFutureStub build( batchUpdateEntities( com.google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchUpdateEntitiesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchUpdateEntitiesMethod(), getCallOptions()), request); } /** @@ -1483,7 +1378,7 @@ protected EntityTypesFutureStub build( batchDeleteEntities( com.google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchDeleteEntitiesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchDeleteEntitiesMethod(), getCallOptions()), request); } } @@ -1634,16 +1529,16 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new EntityTypesFileDescriptorSupplier()) - .addMethod(getListEntityTypesMethodHelper()) - .addMethod(getGetEntityTypeMethodHelper()) - .addMethod(getCreateEntityTypeMethodHelper()) - .addMethod(getUpdateEntityTypeMethodHelper()) - .addMethod(getDeleteEntityTypeMethodHelper()) - .addMethod(getBatchUpdateEntityTypesMethodHelper()) - .addMethod(getBatchDeleteEntityTypesMethodHelper()) - .addMethod(getBatchCreateEntitiesMethodHelper()) - .addMethod(getBatchUpdateEntitiesMethodHelper()) - .addMethod(getBatchDeleteEntitiesMethodHelper()) + .addMethod(getListEntityTypesMethod()) + .addMethod(getGetEntityTypeMethod()) + .addMethod(getCreateEntityTypeMethod()) + .addMethod(getUpdateEntityTypeMethod()) + .addMethod(getDeleteEntityTypeMethod()) + .addMethod(getBatchUpdateEntityTypesMethod()) + .addMethod(getBatchDeleteEntityTypesMethod()) + .addMethod(getBatchCreateEntitiesMethod()) + .addMethod(getBatchUpdateEntitiesMethod()) + .addMethod(getBatchDeleteEntitiesMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java index 0db91bfda..f45538fd4 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java @@ -56,7 +56,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2beta1/intent.proto") public final class IntentsGrpc { @@ -65,30 +65,20 @@ private IntentsGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2beta1.Intents"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListIntentsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListIntentsRequest, - com.google.cloud.dialogflow.v2beta1.ListIntentsResponse> - METHOD_LIST_INTENTS = getListIntentsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListIntentsRequest, com.google.cloud.dialogflow.v2beta1.ListIntentsResponse> getListIntentsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListIntents", + requestType = com.google.cloud.dialogflow.v2beta1.ListIntentsRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.ListIntentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListIntentsRequest, com.google.cloud.dialogflow.v2beta1.ListIntentsResponse> getListIntentsMethod() { - return getListIntentsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListIntentsRequest, - com.google.cloud.dialogflow.v2beta1.ListIntentsResponse> - getListIntentsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListIntentsRequest, com.google.cloud.dialogflow.v2beta1.ListIntentsResponse> @@ -103,9 +93,7 @@ private IntentsGrpc() {} com.google.cloud.dialogflow.v2beta1.ListIntentsResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Intents", "ListIntents")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIntents")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -123,30 +111,20 @@ private IntentsGrpc() {} return getListIntentsMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetIntentRequest, - com.google.cloud.dialogflow.v2beta1.Intent> - METHOD_GET_INTENT = getGetIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent> getGetIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIntent", + requestType = com.google.cloud.dialogflow.v2beta1.GetIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.Intent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent> getGetIntentMethod() { - return getGetIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetIntentRequest, - com.google.cloud.dialogflow.v2beta1.Intent> - getGetIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent> @@ -161,9 +139,7 @@ private IntentsGrpc() {} com.google.cloud.dialogflow.v2beta1.Intent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Intents", "GetIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -180,30 +156,20 @@ private IntentsGrpc() {} return getGetIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateIntentRequest, - com.google.cloud.dialogflow.v2beta1.Intent> - METHOD_CREATE_INTENT = getCreateIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent> getCreateIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateIntent", + requestType = com.google.cloud.dialogflow.v2beta1.CreateIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.Intent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent> getCreateIntentMethod() { - return getCreateIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateIntentRequest, - com.google.cloud.dialogflow.v2beta1.Intent> - getCreateIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent> @@ -218,9 +184,7 @@ private IntentsGrpc() {} com.google.cloud.dialogflow.v2beta1.Intent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Intents", "CreateIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -237,30 +201,20 @@ private IntentsGrpc() {} return getCreateIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest, - com.google.cloud.dialogflow.v2beta1.Intent> - METHOD_UPDATE_INTENT = getUpdateIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent> getUpdateIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateIntent", + requestType = com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.Intent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent> getUpdateIntentMethod() { - return getUpdateIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest, - com.google.cloud.dialogflow.v2beta1.Intent> - getUpdateIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent> @@ -275,9 +229,7 @@ private IntentsGrpc() {} com.google.cloud.dialogflow.v2beta1.Intent> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Intents", "UpdateIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -294,26 +246,18 @@ private IntentsGrpc() {} return getUpdateIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest, com.google.protobuf.Empty> - METHOD_DELETE_INTENT = getDeleteIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest, com.google.protobuf.Empty> getDeleteIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteIntent", + requestType = com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest, com.google.protobuf.Empty> getDeleteIntentMethod() { - return getDeleteIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest, com.google.protobuf.Empty> - getDeleteIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest, com.google.protobuf.Empty> getDeleteIntentMethod; @@ -327,9 +271,7 @@ private IntentsGrpc() {} com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Intents", "DeleteIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -346,30 +288,20 @@ private IntentsGrpc() {} return getDeleteIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchUpdateIntentsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest, - com.google.longrunning.Operation> - METHOD_BATCH_UPDATE_INTENTS = getBatchUpdateIntentsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest, com.google.longrunning.Operation> getBatchUpdateIntentsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateIntents", + requestType = com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest, com.google.longrunning.Operation> getBatchUpdateIntentsMethod() { - return getBatchUpdateIntentsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest, - com.google.longrunning.Operation> - getBatchUpdateIntentsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest, com.google.longrunning.Operation> @@ -384,9 +316,7 @@ private IntentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Intents", "BatchUpdateIntents")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateIntents")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -404,30 +334,20 @@ private IntentsGrpc() {} return getBatchUpdateIntentsMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getBatchDeleteIntentsMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest, - com.google.longrunning.Operation> - METHOD_BATCH_DELETE_INTENTS = getBatchDeleteIntentsMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest, com.google.longrunning.Operation> getBatchDeleteIntentsMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteIntents", + requestType = com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest, com.google.longrunning.Operation> getBatchDeleteIntentsMethod() { - return getBatchDeleteIntentsMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest, - com.google.longrunning.Operation> - getBatchDeleteIntentsMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest, com.google.longrunning.Operation> @@ -442,9 +362,7 @@ private IntentsGrpc() {} com.google.longrunning.Operation> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Intents", "BatchDeleteIntents")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteIntents")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -464,19 +382,42 @@ private IntentsGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static IntentsStub newStub(io.grpc.Channel channel) { - return new IntentsStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public IntentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new IntentsStub(channel, callOptions); + } + }; + return IntentsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static IntentsBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new IntentsBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public IntentsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new IntentsBlockingStub(channel, callOptions); + } + }; + return IntentsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static IntentsFutureStub newFutureStub(io.grpc.Channel channel) { - return new IntentsFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public IntentsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new IntentsFutureStub(channel, callOptions); + } + }; + return IntentsFutureStub.newStub(factory, channel); } /** @@ -525,7 +466,7 @@ public void listIntents( com.google.cloud.dialogflow.v2beta1.ListIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListIntentsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListIntentsMethod(), responseObserver); } /** @@ -538,7 +479,7 @@ public void listIntents( public void getIntent( com.google.cloud.dialogflow.v2beta1.GetIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetIntentMethod(), responseObserver); } /** @@ -551,7 +492,7 @@ public void getIntent( public void createIntent( com.google.cloud.dialogflow.v2beta1.CreateIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateIntentMethod(), responseObserver); } /** @@ -564,7 +505,7 @@ public void createIntent( public void updateIntent( com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateIntentMethod(), responseObserver); } /** @@ -577,7 +518,7 @@ public void updateIntent( public void deleteIntent( com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteIntentMethod(), responseObserver); } /** @@ -591,7 +532,7 @@ public void deleteIntent( public void batchUpdateIntents( com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchUpdateIntentsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchUpdateIntentsMethod(), responseObserver); } /** @@ -605,51 +546,51 @@ public void batchUpdateIntents( public void batchDeleteIntents( com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getBatchDeleteIntentsMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getBatchDeleteIntentsMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListIntentsMethodHelper(), + getListIntentsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.ListIntentsRequest, com.google.cloud.dialogflow.v2beta1.ListIntentsResponse>( this, METHODID_LIST_INTENTS))) .addMethod( - getGetIntentMethodHelper(), + getGetIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.GetIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent>(this, METHODID_GET_INTENT))) .addMethod( - getCreateIntentMethodHelper(), + getCreateIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.CreateIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent>(this, METHODID_CREATE_INTENT))) .addMethod( - getUpdateIntentMethodHelper(), + getUpdateIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest, com.google.cloud.dialogflow.v2beta1.Intent>(this, METHODID_UPDATE_INTENT))) .addMethod( - getDeleteIntentMethodHelper(), + getDeleteIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_INTENT))) .addMethod( - getBatchUpdateIntentsMethodHelper(), + getBatchUpdateIntentsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_INTENTS))) .addMethod( - getBatchDeleteIntentsMethodHelper(), + getBatchDeleteIntentsMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest, @@ -691,11 +632,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * documentation](https://cloud.google.com/dialogflow/docs/intents-overview). * */ - public static final class IntentsStub extends io.grpc.stub.AbstractStub { - private IntentsStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class IntentsStub extends io.grpc.stub.AbstractAsyncStub { private IntentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -717,7 +654,7 @@ public void listIntents( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getListIntentsMethodHelper(), getCallOptions()), + getChannel().newCall(getListIntentsMethod(), getCallOptions()), request, responseObserver); } @@ -733,9 +670,7 @@ public void getIntent( com.google.cloud.dialogflow.v2beta1.GetIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetIntentMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetIntentMethod(), getCallOptions()), request, responseObserver); } /** @@ -749,7 +684,7 @@ public void createIntent( com.google.cloud.dialogflow.v2beta1.CreateIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateIntentMethod(), getCallOptions()), request, responseObserver); } @@ -765,7 +700,7 @@ public void updateIntent( com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateIntentMethod(), getCallOptions()), request, responseObserver); } @@ -781,7 +716,7 @@ public void deleteIntent( com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteIntentMethod(), getCallOptions()), request, responseObserver); } @@ -798,7 +733,7 @@ public void batchUpdateIntents( com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchUpdateIntentsMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchUpdateIntentsMethod(), getCallOptions()), request, responseObserver); } @@ -815,7 +750,7 @@ public void batchDeleteIntents( com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getBatchDeleteIntentsMethodHelper(), getCallOptions()), + getChannel().newCall(getBatchDeleteIntentsMethod(), getCallOptions()), request, responseObserver); } @@ -855,11 +790,7 @@ public void batchDeleteIntents( * */ public static final class IntentsBlockingStub - extends io.grpc.stub.AbstractStub { - private IntentsBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private IntentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -878,8 +809,7 @@ protected IntentsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions */ public com.google.cloud.dialogflow.v2beta1.ListIntentsResponse listIntents( com.google.cloud.dialogflow.v2beta1.ListIntentsRequest request) { - return blockingUnaryCall( - getChannel(), getListIntentsMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getListIntentsMethod(), getCallOptions(), request); } /** @@ -891,7 +821,7 @@ public com.google.cloud.dialogflow.v2beta1.ListIntentsResponse listIntents( */ public com.google.cloud.dialogflow.v2beta1.Intent getIntent( com.google.cloud.dialogflow.v2beta1.GetIntentRequest request) { - return blockingUnaryCall(getChannel(), getGetIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getGetIntentMethod(), getCallOptions(), request); } /** @@ -903,8 +833,7 @@ public com.google.cloud.dialogflow.v2beta1.Intent getIntent( */ public com.google.cloud.dialogflow.v2beta1.Intent createIntent( com.google.cloud.dialogflow.v2beta1.CreateIntentRequest request) { - return blockingUnaryCall( - getChannel(), getCreateIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getCreateIntentMethod(), getCallOptions(), request); } /** @@ -916,8 +845,7 @@ public com.google.cloud.dialogflow.v2beta1.Intent createIntent( */ public com.google.cloud.dialogflow.v2beta1.Intent updateIntent( com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest request) { - return blockingUnaryCall( - getChannel(), getUpdateIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getUpdateIntentMethod(), getCallOptions(), request); } /** @@ -929,8 +857,7 @@ public com.google.cloud.dialogflow.v2beta1.Intent updateIntent( */ public com.google.protobuf.Empty deleteIntent( com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest request) { - return blockingUnaryCall( - getChannel(), getDeleteIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getDeleteIntentMethod(), getCallOptions(), request); } /** @@ -944,7 +871,7 @@ public com.google.protobuf.Empty deleteIntent( public com.google.longrunning.Operation batchUpdateIntents( com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest request) { return blockingUnaryCall( - getChannel(), getBatchUpdateIntentsMethodHelper(), getCallOptions(), request); + getChannel(), getBatchUpdateIntentsMethod(), getCallOptions(), request); } /** @@ -958,7 +885,7 @@ public com.google.longrunning.Operation batchUpdateIntents( public com.google.longrunning.Operation batchDeleteIntents( com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest request) { return blockingUnaryCall( - getChannel(), getBatchDeleteIntentsMethodHelper(), getCallOptions(), request); + getChannel(), getBatchDeleteIntentsMethod(), getCallOptions(), request); } } @@ -995,11 +922,8 @@ public com.google.longrunning.Operation batchDeleteIntents( * documentation](https://cloud.google.com/dialogflow/docs/intents-overview). * */ - public static final class IntentsFutureStub extends io.grpc.stub.AbstractStub { - private IntentsFutureStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class IntentsFutureStub + extends io.grpc.stub.AbstractFutureStub { private IntentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1020,7 +944,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c com.google.cloud.dialogflow.v2beta1.ListIntentsResponse> listIntents(com.google.cloud.dialogflow.v2beta1.ListIntentsRequest request) { return futureUnaryCall( - getChannel().newCall(getListIntentsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListIntentsMethod(), getCallOptions()), request); } /** @@ -1033,8 +957,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2beta1.Intent> getIntent(com.google.cloud.dialogflow.v2beta1.GetIntentRequest request) { - return futureUnaryCall( - getChannel().newCall(getGetIntentMethodHelper(), getCallOptions()), request); + return futureUnaryCall(getChannel().newCall(getGetIntentMethod(), getCallOptions()), request); } /** @@ -1048,7 +971,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c com.google.cloud.dialogflow.v2beta1.Intent> createIntent(com.google.cloud.dialogflow.v2beta1.CreateIntentRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateIntentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getCreateIntentMethod(), getCallOptions()), request); } /** @@ -1062,7 +985,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c com.google.cloud.dialogflow.v2beta1.Intent> updateIntent(com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateIntentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getUpdateIntentMethod(), getCallOptions()), request); } /** @@ -1075,7 +998,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c public com.google.common.util.concurrent.ListenableFuture deleteIntent(com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteIntentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteIntentMethod(), getCallOptions()), request); } /** @@ -1089,7 +1012,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c public com.google.common.util.concurrent.ListenableFuture batchUpdateIntents(com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchUpdateIntentsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchUpdateIntentsMethod(), getCallOptions()), request); } /** @@ -1103,7 +1026,7 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c public com.google.common.util.concurrent.ListenableFuture batchDeleteIntents(com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest request) { return futureUnaryCall( - getChannel().newCall(getBatchDeleteIntentsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getBatchDeleteIntentsMethod(), getCallOptions()), request); } } @@ -1233,13 +1156,13 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new IntentsFileDescriptorSupplier()) - .addMethod(getListIntentsMethodHelper()) - .addMethod(getGetIntentMethodHelper()) - .addMethod(getCreateIntentMethodHelper()) - .addMethod(getUpdateIntentMethodHelper()) - .addMethod(getDeleteIntentMethodHelper()) - .addMethod(getBatchUpdateIntentsMethodHelper()) - .addMethod(getBatchDeleteIntentsMethodHelper()) + .addMethod(getListIntentsMethod()) + .addMethod(getGetIntentMethod()) + .addMethod(getCreateIntentMethod()) + .addMethod(getUpdateIntentMethod()) + .addMethod(getDeleteIntentMethod()) + .addMethod(getBatchUpdateIntentsMethod()) + .addMethod(getBatchDeleteIntentsMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java index a280dc575..af63947be 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java @@ -31,7 +31,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2beta1/knowledge_base.proto") public final class KnowledgeBasesGrpc { @@ -40,30 +40,20 @@ private KnowledgeBasesGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2beta1.KnowledgeBases"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListKnowledgeBasesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest, - com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse> - METHOD_LIST_KNOWLEDGE_BASES = getListKnowledgeBasesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest, com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse> getListKnowledgeBasesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListKnowledgeBases", + requestType = com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest, com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse> getListKnowledgeBasesMethod() { - return getListKnowledgeBasesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest, - com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse> - getListKnowledgeBasesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest, com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse> @@ -79,10 +69,7 @@ private KnowledgeBasesGrpc() {} com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.KnowledgeBases", - "ListKnowledgeBases")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListKnowledgeBases")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -101,30 +88,20 @@ private KnowledgeBasesGrpc() {} return getListKnowledgeBasesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetKnowledgeBaseMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest, - com.google.cloud.dialogflow.v2beta1.KnowledgeBase> - METHOD_GET_KNOWLEDGE_BASE = getGetKnowledgeBaseMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase> getGetKnowledgeBaseMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetKnowledgeBase", + requestType = com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.KnowledgeBase.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase> getGetKnowledgeBaseMethod() { - return getGetKnowledgeBaseMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest, - com.google.cloud.dialogflow.v2beta1.KnowledgeBase> - getGetKnowledgeBaseMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase> @@ -139,9 +116,7 @@ private KnowledgeBasesGrpc() {} com.google.cloud.dialogflow.v2beta1.KnowledgeBase> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.KnowledgeBases", "GetKnowledgeBase")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetKnowledgeBase")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -160,30 +135,20 @@ private KnowledgeBasesGrpc() {} return getGetKnowledgeBaseMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateKnowledgeBaseMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest, - com.google.cloud.dialogflow.v2beta1.KnowledgeBase> - METHOD_CREATE_KNOWLEDGE_BASE = getCreateKnowledgeBaseMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase> getCreateKnowledgeBaseMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateKnowledgeBase", + requestType = com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.KnowledgeBase.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase> getCreateKnowledgeBaseMethod() { - return getCreateKnowledgeBaseMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest, - com.google.cloud.dialogflow.v2beta1.KnowledgeBase> - getCreateKnowledgeBaseMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase> @@ -200,9 +165,7 @@ private KnowledgeBasesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.KnowledgeBases", - "CreateKnowledgeBase")) + generateFullMethodName(SERVICE_NAME, "CreateKnowledgeBase")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -221,26 +184,18 @@ private KnowledgeBasesGrpc() {} return getCreateKnowledgeBaseMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteKnowledgeBaseMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest, com.google.protobuf.Empty> - METHOD_DELETE_KNOWLEDGE_BASE = getDeleteKnowledgeBaseMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest, com.google.protobuf.Empty> getDeleteKnowledgeBaseMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteKnowledgeBase", + requestType = com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest, com.google.protobuf.Empty> getDeleteKnowledgeBaseMethod() { - return getDeleteKnowledgeBaseMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest, com.google.protobuf.Empty> - getDeleteKnowledgeBaseMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest, com.google.protobuf.Empty> @@ -257,9 +212,7 @@ private KnowledgeBasesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.KnowledgeBases", - "DeleteKnowledgeBase")) + generateFullMethodName(SERVICE_NAME, "DeleteKnowledgeBase")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -277,30 +230,20 @@ private KnowledgeBasesGrpc() {} return getDeleteKnowledgeBaseMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateKnowledgeBaseMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest, - com.google.cloud.dialogflow.v2beta1.KnowledgeBase> - METHOD_UPDATE_KNOWLEDGE_BASE = getUpdateKnowledgeBaseMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase> getUpdateKnowledgeBaseMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateKnowledgeBase", + requestType = com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.KnowledgeBase.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase> getUpdateKnowledgeBaseMethod() { - return getUpdateKnowledgeBaseMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest, - com.google.cloud.dialogflow.v2beta1.KnowledgeBase> - getUpdateKnowledgeBaseMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase> @@ -317,9 +260,7 @@ private KnowledgeBasesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.KnowledgeBases", - "UpdateKnowledgeBase")) + generateFullMethodName(SERVICE_NAME, "UpdateKnowledgeBase")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -340,19 +281,43 @@ private KnowledgeBasesGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static KnowledgeBasesStub newStub(io.grpc.Channel channel) { - return new KnowledgeBasesStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public KnowledgeBasesStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new KnowledgeBasesStub(channel, callOptions); + } + }; + return KnowledgeBasesStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static KnowledgeBasesBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new KnowledgeBasesBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public KnowledgeBasesBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new KnowledgeBasesBlockingStub(channel, callOptions); + } + }; + return KnowledgeBasesBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static KnowledgeBasesFutureStub newFutureStub(io.grpc.Channel channel) { - return new KnowledgeBasesFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public KnowledgeBasesFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new KnowledgeBasesFutureStub(channel, callOptions); + } + }; + return KnowledgeBasesFutureStub.newStub(factory, channel); } /** @@ -378,7 +343,7 @@ public void listKnowledgeBases( com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListKnowledgeBasesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListKnowledgeBasesMethod(), responseObserver); } /** @@ -394,7 +359,7 @@ public void getKnowledgeBase( com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetKnowledgeBaseMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetKnowledgeBaseMethod(), responseObserver); } /** @@ -410,7 +375,7 @@ public void createKnowledgeBase( com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateKnowledgeBaseMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateKnowledgeBaseMethod(), responseObserver); } /** @@ -425,7 +390,7 @@ public void createKnowledgeBase( public void deleteKnowledgeBase( com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteKnowledgeBaseMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteKnowledgeBaseMethod(), responseObserver); } /** @@ -441,41 +406,41 @@ public void updateKnowledgeBase( com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateKnowledgeBaseMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateKnowledgeBaseMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListKnowledgeBasesMethodHelper(), + getListKnowledgeBasesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest, com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse>( this, METHODID_LIST_KNOWLEDGE_BASES))) .addMethod( - getGetKnowledgeBaseMethodHelper(), + getGetKnowledgeBaseMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase>( this, METHODID_GET_KNOWLEDGE_BASE))) .addMethod( - getCreateKnowledgeBaseMethodHelper(), + getCreateKnowledgeBaseMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest, com.google.cloud.dialogflow.v2beta1.KnowledgeBase>( this, METHODID_CREATE_KNOWLEDGE_BASE))) .addMethod( - getDeleteKnowledgeBaseMethodHelper(), + getDeleteKnowledgeBaseMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_KNOWLEDGE_BASE))) .addMethod( - getUpdateKnowledgeBaseMethodHelper(), + getUpdateKnowledgeBaseMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest, @@ -494,11 +459,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * */ public static final class KnowledgeBasesStub - extends io.grpc.stub.AbstractStub { - private KnowledgeBasesStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractAsyncStub { private KnowledgeBasesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -522,7 +483,7 @@ public void listKnowledgeBases( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getListKnowledgeBasesMethodHelper(), getCallOptions()), + getChannel().newCall(getListKnowledgeBasesMethod(), getCallOptions()), request, responseObserver); } @@ -541,7 +502,7 @@ public void getKnowledgeBase( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetKnowledgeBaseMethodHelper(), getCallOptions()), + getChannel().newCall(getGetKnowledgeBaseMethod(), getCallOptions()), request, responseObserver); } @@ -560,7 +521,7 @@ public void createKnowledgeBase( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateKnowledgeBaseMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateKnowledgeBaseMethod(), getCallOptions()), request, responseObserver); } @@ -578,7 +539,7 @@ public void deleteKnowledgeBase( com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteKnowledgeBaseMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteKnowledgeBaseMethod(), getCallOptions()), request, responseObserver); } @@ -597,7 +558,7 @@ public void updateKnowledgeBase( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateKnowledgeBaseMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateKnowledgeBaseMethod(), getCallOptions()), request, responseObserver); } @@ -612,11 +573,7 @@ public void updateKnowledgeBase( * */ public static final class KnowledgeBasesBlockingStub - extends io.grpc.stub.AbstractStub { - private KnowledgeBasesBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private KnowledgeBasesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -639,7 +596,7 @@ protected KnowledgeBasesBlockingStub build( public com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse listKnowledgeBases( com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest request) { return blockingUnaryCall( - getChannel(), getListKnowledgeBasesMethodHelper(), getCallOptions(), request); + getChannel(), getListKnowledgeBasesMethod(), getCallOptions(), request); } /** @@ -654,7 +611,7 @@ public com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse listKnowle public com.google.cloud.dialogflow.v2beta1.KnowledgeBase getKnowledgeBase( com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest request) { return blockingUnaryCall( - getChannel(), getGetKnowledgeBaseMethodHelper(), getCallOptions(), request); + getChannel(), getGetKnowledgeBaseMethod(), getCallOptions(), request); } /** @@ -669,7 +626,7 @@ public com.google.cloud.dialogflow.v2beta1.KnowledgeBase getKnowledgeBase( public com.google.cloud.dialogflow.v2beta1.KnowledgeBase createKnowledgeBase( com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest request) { return blockingUnaryCall( - getChannel(), getCreateKnowledgeBaseMethodHelper(), getCallOptions(), request); + getChannel(), getCreateKnowledgeBaseMethod(), getCallOptions(), request); } /** @@ -684,7 +641,7 @@ public com.google.cloud.dialogflow.v2beta1.KnowledgeBase createKnowledgeBase( public com.google.protobuf.Empty deleteKnowledgeBase( com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest request) { return blockingUnaryCall( - getChannel(), getDeleteKnowledgeBaseMethodHelper(), getCallOptions(), request); + getChannel(), getDeleteKnowledgeBaseMethod(), getCallOptions(), request); } /** @@ -699,7 +656,7 @@ public com.google.protobuf.Empty deleteKnowledgeBase( public com.google.cloud.dialogflow.v2beta1.KnowledgeBase updateKnowledgeBase( com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest request) { return blockingUnaryCall( - getChannel(), getUpdateKnowledgeBaseMethodHelper(), getCallOptions(), request); + getChannel(), getUpdateKnowledgeBaseMethod(), getCallOptions(), request); } } @@ -712,11 +669,7 @@ public com.google.cloud.dialogflow.v2beta1.KnowledgeBase updateKnowledgeBase( * */ public static final class KnowledgeBasesFutureStub - extends io.grpc.stub.AbstractStub { - private KnowledgeBasesFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private KnowledgeBasesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -740,7 +693,7 @@ protected KnowledgeBasesFutureStub build( com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse> listKnowledgeBases(com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest request) { return futureUnaryCall( - getChannel().newCall(getListKnowledgeBasesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListKnowledgeBasesMethod(), getCallOptions()), request); } /** @@ -756,7 +709,7 @@ protected KnowledgeBasesFutureStub build( com.google.cloud.dialogflow.v2beta1.KnowledgeBase> getKnowledgeBase(com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest request) { return futureUnaryCall( - getChannel().newCall(getGetKnowledgeBaseMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetKnowledgeBaseMethod(), getCallOptions()), request); } /** @@ -773,7 +726,7 @@ protected KnowledgeBasesFutureStub build( createKnowledgeBase( com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateKnowledgeBaseMethodHelper(), getCallOptions()), request); + getChannel().newCall(getCreateKnowledgeBaseMethod(), getCallOptions()), request); } /** @@ -789,7 +742,7 @@ protected KnowledgeBasesFutureStub build( deleteKnowledgeBase( com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteKnowledgeBaseMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDeleteKnowledgeBaseMethod(), getCallOptions()), request); } /** @@ -806,7 +759,7 @@ protected KnowledgeBasesFutureStub build( updateKnowledgeBase( com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateKnowledgeBaseMethodHelper(), getCallOptions()), request); + getChannel().newCall(getUpdateKnowledgeBaseMethod(), getCallOptions()), request); } } @@ -927,11 +880,11 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new KnowledgeBasesFileDescriptorSupplier()) - .addMethod(getListKnowledgeBasesMethodHelper()) - .addMethod(getGetKnowledgeBaseMethodHelper()) - .addMethod(getCreateKnowledgeBaseMethodHelper()) - .addMethod(getDeleteKnowledgeBaseMethodHelper()) - .addMethod(getUpdateKnowledgeBaseMethodHelper()) + .addMethod(getListKnowledgeBasesMethod()) + .addMethod(getGetKnowledgeBaseMethod()) + .addMethod(getCreateKnowledgeBaseMethod()) + .addMethod(getDeleteKnowledgeBaseMethod()) + .addMethod(getUpdateKnowledgeBaseMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java index 6cecaf1af..cd0388c45 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java @@ -43,7 +43,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2beta1/session_entity_type.proto") public final class SessionEntityTypesGrpc { @@ -52,30 +52,20 @@ private SessionEntityTypesGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2beta1.SessionEntityTypes"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getListSessionEntityTypesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest, - com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse> - METHOD_LIST_SESSION_ENTITY_TYPES = getListSessionEntityTypesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest, com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse> getListSessionEntityTypesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSessionEntityTypes", + requestType = com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest, com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse> getListSessionEntityTypesMethod() { - return getListSessionEntityTypesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest, - com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse> - getListSessionEntityTypesMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest, com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse> @@ -94,9 +84,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.SessionEntityTypes", - "ListSessionEntityTypes")) + generateFullMethodName(SERVICE_NAME, "ListSessionEntityTypes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -115,30 +103,20 @@ private SessionEntityTypesGrpc() {} return getListSessionEntityTypesMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetSessionEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.SessionEntityType> - METHOD_GET_SESSION_ENTITY_TYPE = getGetSessionEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType> getGetSessionEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSessionEntityType", + requestType = com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.SessionEntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType> getGetSessionEntityTypeMethod() { - return getGetSessionEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.SessionEntityType> - getGetSessionEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType> @@ -156,9 +134,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.SessionEntityTypes", - "GetSessionEntityType")) + generateFullMethodName(SERVICE_NAME, "GetSessionEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -177,30 +153,20 @@ private SessionEntityTypesGrpc() {} return getGetSessionEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getCreateSessionEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.SessionEntityType> - METHOD_CREATE_SESSION_ENTITY_TYPE = getCreateSessionEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType> getCreateSessionEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSessionEntityType", + requestType = com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.SessionEntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType> getCreateSessionEntityTypeMethod() { - return getCreateSessionEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.SessionEntityType> - getCreateSessionEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType> @@ -219,9 +185,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.SessionEntityTypes", - "CreateSessionEntityType")) + generateFullMethodName(SERVICE_NAME, "CreateSessionEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -240,30 +204,20 @@ private SessionEntityTypesGrpc() {} return getCreateSessionEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getUpdateSessionEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.SessionEntityType> - METHOD_UPDATE_SESSION_ENTITY_TYPE = getUpdateSessionEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType> getUpdateSessionEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSessionEntityType", + requestType = com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.SessionEntityType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType> getUpdateSessionEntityTypeMethod() { - return getUpdateSessionEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest, - com.google.cloud.dialogflow.v2beta1.SessionEntityType> - getUpdateSessionEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType> @@ -282,9 +236,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.SessionEntityTypes", - "UpdateSessionEntityType")) + generateFullMethodName(SERVICE_NAME, "UpdateSessionEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -303,30 +255,20 @@ private SessionEntityTypesGrpc() {} return getUpdateSessionEntityTypeMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDeleteSessionEntityTypeMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest, - com.google.protobuf.Empty> - METHOD_DELETE_SESSION_ENTITY_TYPE = getDeleteSessionEntityTypeMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest, com.google.protobuf.Empty> getDeleteSessionEntityTypeMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSessionEntityType", + requestType = com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest, com.google.protobuf.Empty> getDeleteSessionEntityTypeMethod() { - return getDeleteSessionEntityTypeMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest, - com.google.protobuf.Empty> - getDeleteSessionEntityTypeMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest, com.google.protobuf.Empty> @@ -345,9 +287,7 @@ private SessionEntityTypesGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.SessionEntityTypes", - "DeleteSessionEntityType")) + generateFullMethodName(SERVICE_NAME, "DeleteSessionEntityType")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -367,19 +307,43 @@ private SessionEntityTypesGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static SessionEntityTypesStub newStub(io.grpc.Channel channel) { - return new SessionEntityTypesStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionEntityTypesStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionEntityTypesStub(channel, callOptions); + } + }; + return SessionEntityTypesStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static SessionEntityTypesBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new SessionEntityTypesBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionEntityTypesBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionEntityTypesBlockingStub(channel, callOptions); + } + }; + return SessionEntityTypesBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static SessionEntityTypesFutureStub newFutureStub(io.grpc.Channel channel) { - return new SessionEntityTypesFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionEntityTypesFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionEntityTypesFutureStub(channel, callOptions); + } + }; + return SessionEntityTypesFutureStub.newStub(factory, channel); } /** @@ -419,7 +383,7 @@ public void listSessionEntityTypes( io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListSessionEntityTypesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getListSessionEntityTypesMethod(), responseObserver); } /** @@ -436,7 +400,7 @@ public void getSessionEntityType( com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetSessionEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getGetSessionEntityTypeMethod(), responseObserver); } /** @@ -455,7 +419,7 @@ public void createSessionEntityType( com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateSessionEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getCreateSessionEntityTypeMethod(), responseObserver); } /** @@ -472,7 +436,7 @@ public void updateSessionEntityType( com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateSessionEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getUpdateSessionEntityTypeMethod(), responseObserver); } /** @@ -488,42 +452,42 @@ public void updateSessionEntityType( public void deleteSessionEntityType( com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteSessionEntityTypeMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDeleteSessionEntityTypeMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListSessionEntityTypesMethodHelper(), + getListSessionEntityTypesMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest, com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse>( this, METHODID_LIST_SESSION_ENTITY_TYPES))) .addMethod( - getGetSessionEntityTypeMethodHelper(), + getGetSessionEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType>( this, METHODID_GET_SESSION_ENTITY_TYPE))) .addMethod( - getCreateSessionEntityTypeMethodHelper(), + getCreateSessionEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType>( this, METHODID_CREATE_SESSION_ENTITY_TYPE))) .addMethod( - getUpdateSessionEntityTypeMethodHelper(), + getUpdateSessionEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest, com.google.cloud.dialogflow.v2beta1.SessionEntityType>( this, METHODID_UPDATE_SESSION_ENTITY_TYPE))) .addMethod( - getDeleteSessionEntityTypeMethodHelper(), + getDeleteSessionEntityTypeMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest, @@ -553,11 +517,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * */ public static final class SessionEntityTypesStub - extends io.grpc.stub.AbstractStub { - private SessionEntityTypesStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractAsyncStub { private SessionEntityTypesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -584,7 +544,7 @@ public void listSessionEntityTypes( com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse> responseObserver) { asyncUnaryCall( - getChannel().newCall(getListSessionEntityTypesMethodHelper(), getCallOptions()), + getChannel().newCall(getListSessionEntityTypesMethod(), getCallOptions()), request, responseObserver); } @@ -604,7 +564,7 @@ public void getSessionEntityType( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetSessionEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getGetSessionEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -626,7 +586,7 @@ public void createSessionEntityType( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getCreateSessionEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getCreateSessionEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -646,7 +606,7 @@ public void updateSessionEntityType( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getUpdateSessionEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getUpdateSessionEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -665,7 +625,7 @@ public void deleteSessionEntityType( com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDeleteSessionEntityTypeMethodHelper(), getCallOptions()), + getChannel().newCall(getDeleteSessionEntityTypeMethod(), getCallOptions()), request, responseObserver); } @@ -692,11 +652,7 @@ public void deleteSessionEntityType( * */ public static final class SessionEntityTypesBlockingStub - extends io.grpc.stub.AbstractStub { - private SessionEntityTypesBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private SessionEntityTypesBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -722,7 +678,7 @@ protected SessionEntityTypesBlockingStub build( listSessionEntityTypes( com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest request) { return blockingUnaryCall( - getChannel(), getListSessionEntityTypesMethodHelper(), getCallOptions(), request); + getChannel(), getListSessionEntityTypesMethod(), getCallOptions(), request); } /** @@ -738,7 +694,7 @@ protected SessionEntityTypesBlockingStub build( public com.google.cloud.dialogflow.v2beta1.SessionEntityType getSessionEntityType( com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getGetSessionEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getGetSessionEntityTypeMethod(), getCallOptions(), request); } /** @@ -756,7 +712,7 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType getSessionEntityTyp public com.google.cloud.dialogflow.v2beta1.SessionEntityType createSessionEntityType( com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getCreateSessionEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getCreateSessionEntityTypeMethod(), getCallOptions(), request); } /** @@ -772,7 +728,7 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType createSessionEntity public com.google.cloud.dialogflow.v2beta1.SessionEntityType updateSessionEntityType( com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getUpdateSessionEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getUpdateSessionEntityTypeMethod(), getCallOptions(), request); } /** @@ -788,7 +744,7 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType updateSessionEntity public com.google.protobuf.Empty deleteSessionEntityType( com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest request) { return blockingUnaryCall( - getChannel(), getDeleteSessionEntityTypeMethodHelper(), getCallOptions(), request); + getChannel(), getDeleteSessionEntityTypeMethod(), getCallOptions(), request); } } @@ -813,11 +769,7 @@ public com.google.protobuf.Empty deleteSessionEntityType( * */ public static final class SessionEntityTypesFutureStub - extends io.grpc.stub.AbstractStub { - private SessionEntityTypesFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private SessionEntityTypesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -843,7 +795,7 @@ protected SessionEntityTypesFutureStub build( listSessionEntityTypes( com.google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest request) { return futureUnaryCall( - getChannel().newCall(getListSessionEntityTypesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getListSessionEntityTypesMethod(), getCallOptions()), request); } /** @@ -861,7 +813,7 @@ protected SessionEntityTypesFutureStub build( getSessionEntityType( com.google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getGetSessionEntityTypeMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetSessionEntityTypeMethod(), getCallOptions()), request); } /** @@ -881,8 +833,7 @@ protected SessionEntityTypesFutureStub build( createSessionEntityType( com.google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getCreateSessionEntityTypeMethodHelper(), getCallOptions()), - request); + getChannel().newCall(getCreateSessionEntityTypeMethod(), getCallOptions()), request); } /** @@ -900,8 +851,7 @@ protected SessionEntityTypesFutureStub build( updateSessionEntityType( com.google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getUpdateSessionEntityTypeMethodHelper(), getCallOptions()), - request); + getChannel().newCall(getUpdateSessionEntityTypeMethod(), getCallOptions()), request); } /** @@ -918,8 +868,7 @@ protected SessionEntityTypesFutureStub build( deleteSessionEntityType( com.google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest request) { return futureUnaryCall( - getChannel().newCall(getDeleteSessionEntityTypeMethodHelper(), getCallOptions()), - request); + getChannel().newCall(getDeleteSessionEntityTypeMethod(), getCallOptions()), request); } } @@ -1040,11 +989,11 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new SessionEntityTypesFileDescriptorSupplier()) - .addMethod(getListSessionEntityTypesMethodHelper()) - .addMethod(getGetSessionEntityTypeMethodHelper()) - .addMethod(getCreateSessionEntityTypeMethodHelper()) - .addMethod(getUpdateSessionEntityTypeMethodHelper()) - .addMethod(getDeleteSessionEntityTypeMethodHelper()) + .addMethod(getListSessionEntityTypesMethod()) + .addMethod(getGetSessionEntityTypeMethod()) + .addMethod(getCreateSessionEntityTypeMethod()) + .addMethod(getUpdateSessionEntityTypeMethod()) + .addMethod(getDeleteSessionEntityTypeMethod()) .build(); } } diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsGrpc.java index 22b26ddf4..9f60560ea 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsGrpc.java @@ -36,7 +36,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2beta1/session.proto") public final class SessionsGrpc { @@ -45,30 +45,20 @@ private SessionsGrpc() {} public static final String SERVICE_NAME = "google.cloud.dialogflow.v2beta1.Sessions"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getDetectIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DetectIntentRequest, - com.google.cloud.dialogflow.v2beta1.DetectIntentResponse> - METHOD_DETECT_INTENT = getDetectIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DetectIntentRequest, com.google.cloud.dialogflow.v2beta1.DetectIntentResponse> getDetectIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DetectIntent", + requestType = com.google.cloud.dialogflow.v2beta1.DetectIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.DetectIntentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DetectIntentRequest, com.google.cloud.dialogflow.v2beta1.DetectIntentResponse> getDetectIntentMethod() { - return getDetectIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.DetectIntentRequest, - com.google.cloud.dialogflow.v2beta1.DetectIntentResponse> - getDetectIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.DetectIntentRequest, com.google.cloud.dialogflow.v2beta1.DetectIntentResponse> @@ -83,9 +73,7 @@ private SessionsGrpc() {} com.google.cloud.dialogflow.v2beta1.DetectIntentResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Sessions", "DetectIntent")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DetectIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -103,30 +91,20 @@ private SessionsGrpc() {} return getDetectIntentMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getStreamingDetectIntentMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest, - com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse> - METHOD_STREAMING_DETECT_INTENT = getStreamingDetectIntentMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest, com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse> getStreamingDetectIntentMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StreamingDetectIntent", + requestType = com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest, com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse> getStreamingDetectIntentMethod() { - return getStreamingDetectIntentMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest, - com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse> - getStreamingDetectIntentMethodHelper() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest, com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse> @@ -143,8 +121,7 @@ private SessionsGrpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName( - generateFullMethodName( - "google.cloud.dialogflow.v2beta1.Sessions", "StreamingDetectIntent")) + generateFullMethodName(SERVICE_NAME, "StreamingDetectIntent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -165,19 +142,42 @@ private SessionsGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static SessionsStub newStub(io.grpc.Channel channel) { - return new SessionsStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionsStub(channel, callOptions); + } + }; + return SessionsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static SessionsBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new SessionsBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionsBlockingStub(channel, callOptions); + } + }; + return SessionsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static SessionsFutureStub newFutureStub(io.grpc.Channel channel) { - return new SessionsFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SessionsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SessionsFutureStub(channel, callOptions); + } + }; + return SessionsFutureStub.newStub(factory, channel); } /** @@ -206,7 +206,7 @@ public void detectIntent( com.google.cloud.dialogflow.v2beta1.DetectIntentRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDetectIntentMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getDetectIntentMethod(), responseObserver); } /** @@ -224,22 +224,21 @@ public void detectIntent( io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse> responseObserver) { - return asyncUnimplementedStreamingCall( - getStreamingDetectIntentMethodHelper(), responseObserver); + return asyncUnimplementedStreamingCall(getStreamingDetectIntentMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getDetectIntentMethodHelper(), + getDetectIntentMethod(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DetectIntentRequest, com.google.cloud.dialogflow.v2beta1.DetectIntentResponse>( this, METHODID_DETECT_INTENT))) .addMethod( - getStreamingDetectIntentMethodHelper(), + getStreamingDetectIntentMethod(), asyncBidiStreamingCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest, @@ -259,11 +258,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * user intent and respond. * */ - public static final class SessionsStub extends io.grpc.stub.AbstractStub { - private SessionsStub(io.grpc.Channel channel) { - super(channel); - } - + public static final class SessionsStub extends io.grpc.stub.AbstractAsyncStub { private SessionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -288,7 +283,7 @@ public void detectIntent( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getDetectIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getDetectIntentMethod(), getCallOptions()), request, responseObserver); } @@ -309,7 +304,7 @@ public void detectIntent( com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse> responseObserver) { return asyncBidiStreamingCall( - getChannel().newCall(getStreamingDetectIntentMethodHelper(), getCallOptions()), + getChannel().newCall(getStreamingDetectIntentMethod(), getCallOptions()), responseObserver); } } @@ -325,11 +320,7 @@ public void detectIntent( * */ public static final class SessionsBlockingStub - extends io.grpc.stub.AbstractStub { - private SessionsBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private SessionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -351,8 +342,7 @@ protected SessionsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOption */ public com.google.cloud.dialogflow.v2beta1.DetectIntentResponse detectIntent( com.google.cloud.dialogflow.v2beta1.DetectIntentRequest request) { - return blockingUnaryCall( - getChannel(), getDetectIntentMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getDetectIntentMethod(), getCallOptions(), request); } } @@ -367,11 +357,7 @@ public com.google.cloud.dialogflow.v2beta1.DetectIntentResponse detectIntent( * */ public static final class SessionsFutureStub - extends io.grpc.stub.AbstractStub { - private SessionsFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private SessionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -395,7 +381,7 @@ protected SessionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions com.google.cloud.dialogflow.v2beta1.DetectIntentResponse> detectIntent(com.google.cloud.dialogflow.v2beta1.DetectIntentRequest request) { return futureUnaryCall( - getChannel().newCall(getDetectIntentMethodHelper(), getCallOptions()), request); + getChannel().newCall(getDetectIntentMethod(), getCallOptions()), request); } } @@ -494,8 +480,8 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new SessionsFileDescriptorSupplier()) - .addMethod(getDetectIntentMethodHelper()) - .addMethod(getStreamingDetectIntentMethodHelper()) + .addMethod(getDetectIntentMethod()) + .addMethod(getStreamingDetectIntentMethod()) .build(); } } diff --git a/synth.py b/synth.py index 9553ad344..9189e755b 100644 --- a/synth.py +++ b/synth.py @@ -14,48 +14,17 @@ """This script is used to synthesize generated parts of this library.""" -import synthtool as s -import synthtool.gcp as gcp import synthtool.languages.java as java -gapic = gcp.GAPICGenerator() - service = 'dialogflow' versions = ['v2', 'v2beta1'] config_pattern = '/google/cloud/dialogflow/{version}/artman_dialogflow_{version}.yaml' -library = gapic.java_library( - service=service, - version='v2', - config_path='/google/cloud/dialogflow/v2/artman_dialogflow_v2.yaml', - artman_output_name='') - -package_name = f'com.google.cloud.{service}.v2' -java.fix_proto_headers(library / f'proto-google-cloud-{service}-v2') -java.fix_grpc_headers(library / f'grpc-google-cloud-{service}-v2', package_name) - -s.copy(library / f'gapic-google-cloud-{service}-v2/src', f'google-cloud-{service}/src') -s.copy(library / f'grpc-google-cloud-{service}-v2/src', f'grpc-google-cloud-{service}-v2/src') -s.copy(library / f'proto-google-cloud-{service}-v2/src', f'proto-google-cloud-{service}-v2/src') - -library = gapic.java_library( - service=service, - version='v2beta1', - config_path='/google/cloud/dialogflow/v2beta1/artman_dialogflow_v2beta1_java.yaml', - artman_output_name='') - -package_name = f'com.google.cloud.{service}.v2beta1' -java.fix_proto_headers(library / f'proto-google-cloud-{service}-v2beta1') -java.fix_grpc_headers(library / f'grpc-google-cloud-{service}-v2beta1', package_name) - -s.copy(library / f'gapic-google-cloud-{service}-v2beta1/src', f'google-cloud-{service}/src') -s.copy(library / f'grpc-google-cloud-{service}-v2beta1/src', f'grpc-google-cloud-{service}-v2beta1/src') -s.copy(library / f'proto-google-cloud-{service}-v2beta1/src', f'proto-google-cloud-{service}-v2beta1/src') - - for version in versions: - java.format_code(f'google-cloud-{service}/src') - java.format_code(f'grpc-google-cloud-{service}-{version}/src') - java.format_code(f'proto-google-cloud-{service}-{version}/src') + java.bazel_library( + service=service, + version=version, + bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java', + ) -java.common_templates() \ No newline at end of file +java.common_templates() From 951aa477ca1835e96b3c11980d8a1c6b0d8c2ce2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 23 Mar 2020 09:10:04 -0700 Subject: [PATCH 10/43] chore(regen): updated protos for additional bindings (#120) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-03-20 14:49:44,236 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. 2020-03-20 14:49:44,289 synthtool > Ensuring dependencies. 2020-03-20 14:49:44,300 synthtool > Cloning googleapis. 2020-03-20 14:49:44,621 synthtool > Generating code for: google/cloud/dialogflow/v2. 2020-03-20 14:49:55,913 synthtool > Generated code into /tmpfs/tmp/tmphnrneo1l. 2020-03-20 14:49:55,916 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponseOrBuilder.java. 2020-03-20 14:49:55,916 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfigOrBuilder.java. 2020-03-20 14:49:55,917 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/QueryInputOrBuilder.java. 2020-03-20 14:49:55,917 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfigOrBuilder.java. 2020-03-20 14:49:55,917 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequestOrBuilder.java. 2020-03-20 14:49:55,918 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java. 2020-03-20 14:49:55,918 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponseOrBuilder.java. 2020-03-20 14:49:55,918 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-20 14:49:55,918 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java. 2020-03-20 14:49:55,918 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfo.java. 2020-03-20 14:49:55,919 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/Agent.java. 2020-03-20 14:49:55,919 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ValidationErrorOrBuilder.java. 2020-03-20 14:49:55,919 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/IntentBatch.java. 2020-03-20 14:49:55,920 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/IntentBatchOrBuilder.java. 2020-03-20 14:49:55,920 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java. 2020-03-20 14:49:55,920 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java. 2020-03-20 14:49:55,920 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequestOrBuilder.java. 2020-03-20 14:49:55,921 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-20 14:49:55,921 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponse.java. 2020-03-20 14:49:55,921 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java. 2020-03-20 14:49:55,921 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequestOrBuilder.java. 2020-03-20 14:49:55,922 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatchOrBuilder.java. 2020-03-20 14:49:55,922 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java. 2020-03-20 14:49:55,922 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponse.java. 2020-03-20 14:49:55,922 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-20 14:49:55,922 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/IntentView.java. 2020-03-20 14:49:55,923 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java. 2020-03-20 14:49:55,923 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-20 14:49:55,923 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java. 2020-03-20 14:49:55,923 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/TextInputOrBuilder.java. 2020-03-20 14:49:55,924 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java. 2020-03-20 14:49:55,924 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-20 14:49:55,924 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java. 2020-03-20 14:49:55,924 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-20 14:49:55,925 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ValidationError.java. 2020-03-20 14:49:55,925 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java. 2020-03-20 14:49:55,925 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfoOrBuilder.java. 2020-03-20 14:49:55,925 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequestOrBuilder.java. 2020-03-20 14:49:55,926 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParams.java. 2020-03-20 14:49:55,926 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java. 2020-03-20 14:49:55,926 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java. 2020-03-20 14:49:55,926 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponseOrBuilder.java. 2020-03-20 14:49:55,927 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java. 2020-03-20 14:49:55,927 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequestOrBuilder.java. 2020-03-20 14:49:55,927 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java. 2020-03-20 14:49:55,927 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java. 2020-03-20 14:49:55,928 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java. 2020-03-20 14:49:55,928 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java. 2020-03-20 14:49:55,928 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java. 2020-03-20 14:49:55,929 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java. 2020-03-20 14:49:55,929 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java. 2020-03-20 14:49:55,929 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java. 2020-03-20 14:49:55,929 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java. 2020-03-20 14:49:55,930 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResultOrBuilder.java. 2020-03-20 14:49:55,930 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/QueryParametersOrBuilder.java. 2020-03-20 14:49:55,930 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequestOrBuilder.java. 2020-03-20 14:49:55,930 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java. 2020-03-20 14:49:55,931 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java. 2020-03-20 14:49:55,931 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java. 2020-03-20 14:49:55,931 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-20 14:49:55,931 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java. 2020-03-20 14:49:55,932 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/Sentiment.java. 2020-03-20 14:49:55,932 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java. 2020-03-20 14:49:55,932 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java. 2020-03-20 14:49:55,932 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-20 14:49:55,932 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/AgentOrBuilder.java. 2020-03-20 14:49:55,933 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParamsOrBuilder.java. 2020-03-20 14:49:55,933 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java. 2020-03-20 14:49:55,933 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-20 14:49:55,933 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequestOrBuilder.java. 2020-03-20 14:49:55,933 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfig.java. 2020-03-20 14:49:55,934 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResult.java. 2020-03-20 14:49:55,941 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/Intent.java. 2020-03-20 14:49:55,941 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequest.java. 2020-03-20 14:49:55,941 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SpeechModelVariant.java. 2020-03-20 14:49:55,941 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ValidationResult.java. 2020-03-20 14:49:55,942 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java. 2020-03-20 14:49:55,942 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java. 2020-03-20 14:49:55,942 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java. 2020-03-20 14:49:55,943 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java. 2020-03-20 14:49:55,943 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java. 2020-03-20 14:49:55,943 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/WebhookProto.java. 2020-03-20 14:49:55,943 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequestOrBuilder.java. 2020-03-20 14:49:55,944 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResultOrBuilder.java. 2020-03-20 14:49:55,944 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java. 2020-03-20 14:49:55,944 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java. 2020-03-20 14:49:55,944 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SentimentOrBuilder.java. 2020-03-20 14:49:55,945 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java. 2020-03-20 14:49:55,945 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioEncoding.java. 2020-03-20 14:49:55,945 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java. 2020-03-20 14:49:55,945 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java. 2020-03-20 14:49:55,946 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-20 14:49:55,946 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponseOrBuilder.java. 2020-03-20 14:49:55,946 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/Context.java. 2020-03-20 14:49:55,946 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/AudioEncoding.java. 2020-03-20 14:49:55,947 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java. 2020-03-20 14:49:55,947 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/TextInput.java. 2020-03-20 14:49:55,947 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java. 2020-03-20 14:49:55,947 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequestOrBuilder.java. 2020-03-20 14:49:55,948 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponseOrBuilder.java. 2020-03-20 14:49:55,948 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequest.java. 2020-03-20 14:49:55,948 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java. 2020-03-20 14:49:55,948 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java. 2020-03-20 14:49:55,949 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponse.java. 2020-03-20 14:49:55,949 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-20 14:49:55,949 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java. 2020-03-20 14:49:55,949 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultOrBuilder.java. 2020-03-20 14:49:55,949 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequestOrBuilder.java. 2020-03-20 14:49:55,950 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequest.java. 2020-03-20 14:49:55,950 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java. 2020-03-20 14:49:55,950 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java. 2020-03-20 14:49:55,950 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java. 2020-03-20 14:49:55,951 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequestOrBuilder.java. 2020-03-20 14:49:55,951 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java. 2020-03-20 14:49:55,951 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequestOrBuilder.java. 2020-03-20 14:49:55,951 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java. 2020-03-20 14:49:55,952 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultProto.java. 2020-03-20 14:49:55,952 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponse.java. 2020-03-20 14:49:55,952 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SpeechContextOrBuilder.java. 2020-03-20 14:49:55,952 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java. 2020-03-20 14:49:55,953 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequestOrBuilder.java. 2020-03-20 14:49:55,953 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java. 2020-03-20 14:49:55,953 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequest.java. 2020-03-20 14:49:55,953 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/QueryInput.java. 2020-03-20 14:49:55,954 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java. 2020-03-20 14:49:55,954 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequestOrBuilder.java. 2020-03-20 14:49:55,954 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfig.java. 2020-03-20 14:49:55,955 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java. 2020-03-20 14:49:55,955 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SpeechContext.java. 2020-03-20 14:49:55,955 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java. 2020-03-20 14:49:55,955 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SsmlVoiceGender.java. 2020-03-20 14:49:55,956 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java. 2020-03-20 14:49:55,956 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-20 14:49:55,956 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java. 2020-03-20 14:49:55,956 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequestOrBuilder.java. 2020-03-20 14:49:55,957 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequestOrBuilder.java. 2020-03-20 14:49:55,957 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-20 14:49:55,957 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java. 2020-03-20 14:49:55,957 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeOrBuilder.java. 2020-03-20 14:49:55,958 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequestOrBuilder.java. 2020-03-20 14:49:55,958 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponseOrBuilder.java. 2020-03-20 14:49:55,958 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java. 2020-03-20 14:49:55,958 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-20 14:49:55,959 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequest.java. 2020-03-20 14:49:55,959 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java. 2020-03-20 14:49:55,959 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-20 14:49:55,959 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java. 2020-03-20 14:49:55,960 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java. 2020-03-20 14:49:55,960 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfig.java. 2020-03-20 14:49:55,960 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequestOrBuilder.java. 2020-03-20 14:49:55,960 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java. 2020-03-20 14:49:55,961 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequest.java. 2020-03-20 14:49:55,961 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java. 2020-03-20 14:49:55,961 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java. 2020-03-20 14:49:55,962 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java. 2020-03-20 14:49:55,962 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponse.java. 2020-03-20 14:49:55,962 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeOrBuilder.java. 2020-03-20 14:49:55,962 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponse.java. 2020-03-20 14:49:55,963 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java. 2020-03-20 14:49:55,963 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequest.java. 2020-03-20 14:49:55,963 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java. 2020-03-20 14:49:55,963 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java. 2020-03-20 14:49:55,963 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-20 14:49:55,964 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java. 2020-03-20 14:49:55,964 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java. 2020-03-20 14:49:55,964 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/QueryResultOrBuilder.java. 2020-03-20 14:49:55,968 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/IntentName.java. 2020-03-20 14:49:55,969 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ProjectName.java. 2020-03-20 14:49:55,969 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ProjectAgentName.java. 2020-03-20 14:49:55,969 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java. 2020-03-20 14:49:55,969 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeName.java. 2020-03-20 14:49:55,970 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeName.java. 2020-03-20 14:49:55,970 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java. 2020-03-20 14:49:55,970 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/proto-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SessionName.java. 2020-03-20 14:49:55,973 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/grpc-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/IntentsGrpc.java. 2020-03-20 14:49:55,974 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/grpc-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesGrpc.java. 2020-03-20 14:49:55,974 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/grpc-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SessionsGrpc.java. 2020-03-20 14:49:55,975 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/grpc-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesGrpc.java. 2020-03-20 14:49:55,976 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/grpc-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/AgentsGrpc.java. 2020-03-20 14:49:55,976 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/grpc-google-cloud-dialogflow-v2-java/src/main/java/com/google/cloud/dialogflow/v2/ContextsGrpc.java. 2020-03-20 14:49:56,052 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/gapic-google-cloud-dialogflow-v2-java/samples/src')] were copied. Does the source contain files? 2020-03-20 14:49:56,052 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/gapic-google-cloud-dialogflow-v2-java/samples/resources')] were copied. Does the source contain files? 2020-03-20 14:49:56,053 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmphnrneo1l/google-cloud-dialogflow-v2-java/gapic-google-cloud-dialogflow-v2-java/samples/src/**/*.manifest.yaml')] were copied. Does the source contain files? 2020-03-20 14:49:56,054 synthtool > Running java formatter on 130 files 2020-03-20 14:50:04,811 synthtool > Running java formatter on 6 files 2020-03-20 14:50:08,610 synthtool > Running java formatter on 174 files 2020-03-20 14:50:30,349 synthtool > Running java formatter on 0 files 2020-03-20 14:50:30,656 synthtool > Ensuring dependencies. 2020-03-20 14:50:30,668 synthtool > Cloning googleapis. 2020-03-20 14:50:31,314 synthtool > Generating code for: google/cloud/dialogflow/v2beta1. 2020-03-20 14:50:44,247 synthtool > Generated code into /tmpfs/tmp/tmpwdlwit2g. 2020-03-20 14:50:44,250 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponseOrBuilder.java. 2020-03-20 14:50:44,250 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfigOrBuilder.java. 2020-03-20 14:50:44,251 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInputOrBuilder.java. 2020-03-20 14:50:44,251 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfigOrBuilder.java. 2020-03-20 14:50:44,251 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequestOrBuilder.java. 2020-03-20 14:50:44,252 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java. 2020-03-20 14:50:44,252 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponseOrBuilder.java. 2020-03-20 14:50:44,253 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-20 14:50:44,253 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequestOrBuilder.java. 2020-03-20 14:50:44,253 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadataOrBuilder.java. 2020-03-20 14:50:44,254 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfo.java. 2020-03-20 14:50:44,254 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java. 2020-03-20 14:50:44,255 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationErrorOrBuilder.java. 2020-03-20 14:50:44,255 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatch.java. 2020-03-20 14:50:44,255 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatchOrBuilder.java. 2020-03-20 14:50:44,256 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java. 2020-03-20 14:50:44,256 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java. 2020-03-20 14:50:44,256 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequestOrBuilder.java. 2020-03-20 14:50:44,257 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-20 14:50:44,257 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java. 2020-03-20 14:50:44,258 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextOrBuilder.java. 2020-03-20 14:50:44,258 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequest.java. 2020-03-20 14:50:44,258 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequestOrBuilder.java. 2020-03-20 14:50:44,259 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatchOrBuilder.java. 2020-03-20 14:50:44,259 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java. 2020-03-20 14:50:44,259 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java. 2020-03-20 14:50:44,260 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-20 14:50:44,260 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentView.java. 2020-03-20 14:50:44,260 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java. 2020-03-20 14:50:44,261 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-20 14:50:44,261 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java. 2020-03-20 14:50:44,262 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInputOrBuilder.java. 2020-03-20 14:50:44,262 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java. 2020-03-20 14:50:44,262 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-20 14:50:44,263 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java. 2020-03-20 14:50:44,263 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-20 14:50:44,263 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationError.java. 2020-03-20 14:50:44,264 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponseOrBuilder.java. 2020-03-20 14:50:44,264 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequestOrBuilder.java. 2020-03-20 14:50:44,264 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfoOrBuilder.java. 2020-03-20 14:50:44,265 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequestOrBuilder.java. 2020-03-20 14:50:44,265 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParams.java. 2020-03-20 14:50:44,265 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java. 2020-03-20 14:50:44,266 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java. 2020-03-20 14:50:44,266 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponseOrBuilder.java. 2020-03-20 14:50:44,266 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java. 2020-03-20 14:50:44,267 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequestOrBuilder.java. 2020-03-20 14:50:44,267 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java. 2020-03-20 14:50:44,267 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequestOrBuilder.java. 2020-03-20 14:50:44,268 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java. 2020-03-20 14:50:44,268 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgentOrBuilder.java. 2020-03-20 14:50:44,268 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequestOrBuilder.java. 2020-03-20 14:50:44,268 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java. 2020-03-20 14:50:44,269 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java. 2020-03-20 14:50:44,269 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java. 2020-03-20 14:50:44,269 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java. 2020-03-20 14:50:44,270 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequest.java. 2020-03-20 14:50:44,270 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java. 2020-03-20 14:50:44,270 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBase.java. 2020-03-20 14:50:44,271 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java. 2020-03-20 14:50:44,271 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java. 2020-03-20 14:50:44,271 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResultOrBuilder.java. 2020-03-20 14:50:44,272 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParametersOrBuilder.java. 2020-03-20 14:50:44,272 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequestOrBuilder.java. 2020-03-20 14:50:44,272 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java. 2020-03-20 14:50:44,273 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java. 2020-03-20 14:50:44,273 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java. 2020-03-20 14:50:44,273 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-20 14:50:44,273 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java. 2020-03-20 14:50:44,274 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponseOrBuilder.java. 2020-03-20 14:50:44,274 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java. 2020-03-20 14:50:44,274 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/Sentiment.java. 2020-03-20 14:50:44,275 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java. 2020-03-20 14:50:44,275 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java. 2020-03-20 14:50:44,275 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-20 14:50:44,275 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentOrBuilder.java. 2020-03-20 14:50:44,276 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequest.java. 2020-03-20 14:50:44,276 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParamsOrBuilder.java. 2020-03-20 14:50:44,276 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequestOrBuilder.java. 2020-03-20 14:50:44,276 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-20 14:50:44,277 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequestOrBuilder.java. 2020-03-20 14:50:44,277 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfig.java. 2020-03-20 14:50:44,277 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResult.java. 2020-03-20 14:50:44,277 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentOrBuilder.java. 2020-03-20 14:50:44,286 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java. 2020-03-20 14:50:44,287 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequest.java. 2020-03-20 14:50:44,287 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechModelVariant.java. 2020-03-20 14:50:44,287 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResult.java. 2020-03-20 14:50:44,288 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequestOrBuilder.java. 2020-03-20 14:50:44,288 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequestOrBuilder.java. 2020-03-20 14:50:44,288 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java. 2020-03-20 14:50:44,288 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequestOrBuilder.java. 2020-03-20 14:50:44,289 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java. 2020-03-20 14:50:44,289 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequest.java. 2020-03-20 14:50:44,289 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java. 2020-03-20 14:50:44,290 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java. 2020-03-20 14:50:44,290 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequest.java. 2020-03-20 14:50:44,290 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponse.java. 2020-03-20 14:50:44,291 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequestOrBuilder.java. 2020-03-20 14:50:44,291 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResultOrBuilder.java. 2020-03-20 14:50:44,291 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java. 2020-03-20 14:50:44,291 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java. 2020-03-20 14:50:44,291 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentOrBuilder.java. 2020-03-20 14:50:44,292 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatch.java. 2020-03-20 14:50:44,292 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioEncoding.java. 2020-03-20 14:50:44,292 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java. 2020-03-20 14:50:44,293 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java. 2020-03-20 14:50:44,293 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-20 14:50:44,293 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponseOrBuilder.java. 2020-03-20 14:50:44,293 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequest.java. 2020-03-20 14:50:44,294 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequestOrBuilder.java. 2020-03-20 14:50:44,294 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java. 2020-03-20 14:50:44,294 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioEncoding.java. 2020-03-20 14:50:44,295 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequest.java. 2020-03-20 14:50:44,295 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequestOrBuilder.java. 2020-03-20 14:50:44,295 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java. 2020-03-20 14:50:44,295 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsProto.java. 2020-03-20 14:50:44,296 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSourceOrBuilder.java. 2020-03-20 14:50:44,296 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInput.java. 2020-03-20 14:50:44,296 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponse.java. 2020-03-20 14:50:44,296 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java. 2020-03-20 14:50:44,297 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequestOrBuilder.java. 2020-03-20 14:50:44,297 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponseOrBuilder.java. 2020-03-20 14:50:44,297 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequest.java. 2020-03-20 14:50:44,297 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java. 2020-03-20 14:50:44,298 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequestOrBuilder.java. 2020-03-20 14:50:44,298 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequestOrBuilder.java. 2020-03-20 14:50:44,298 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequestOrBuilder.java. 2020-03-20 14:50:44,298 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseProto.java. 2020-03-20 14:50:44,299 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java. 2020-03-20 14:50:44,299 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequest.java. 2020-03-20 14:50:44,299 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-20 14:50:44,299 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSource.java. 2020-03-20 14:50:44,300 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequestOrBuilder.java. 2020-03-20 14:50:44,300 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultOrBuilder.java. 2020-03-20 14:50:44,300 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequestOrBuilder.java. 2020-03-20 14:50:44,300 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java. 2020-03-20 14:50:44,301 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java. 2020-03-20 14:50:44,301 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequestOrBuilder.java. 2020-03-20 14:50:44,301 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseOrBuilder.java. 2020-03-20 14:50:44,301 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java. 2020-03-20 14:50:44,302 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequestOrBuilder.java. 2020-03-20 14:50:44,302 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequestOrBuilder.java. 2020-03-20 14:50:44,302 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java. 2020-03-20 14:50:44,302 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequestOrBuilder.java. 2020-03-20 14:50:44,303 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java. 2020-03-20 14:50:44,303 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultProto.java. 2020-03-20 14:50:44,303 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequest.java. 2020-03-20 14:50:44,303 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java. 2020-03-20 14:50:44,303 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContextOrBuilder.java. 2020-03-20 14:50:44,304 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequestOrBuilder.java. 2020-03-20 14:50:44,304 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java. 2020-03-20 14:50:44,304 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequestOrBuilder.java. 2020-03-20 14:50:44,304 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequestOrBuilder.java. 2020-03-20 14:50:44,305 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequest.java. 2020-03-20 14:50:44,305 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInput.java. 2020-03-20 14:50:44,305 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java. 2020-03-20 14:50:44,305 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequestOrBuilder.java. 2020-03-20 14:50:44,306 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfig.java. 2020-03-20 14:50:44,306 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java. 2020-03-20 14:50:44,306 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContext.java. 2020-03-20 14:50:44,307 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java. 2020-03-20 14:50:44,307 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SsmlVoiceGender.java. 2020-03-20 14:50:44,307 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequestOrBuilder.java. 2020-03-20 14:50:44,307 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-20 14:50:44,308 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java. 2020-03-20 14:50:44,308 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequestOrBuilder.java. 2020-03-20 14:50:44,308 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequestOrBuilder.java. 2020-03-20 14:50:44,308 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-20 14:50:44,309 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java. 2020-03-20 14:50:44,309 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeOrBuilder.java. 2020-03-20 14:50:44,309 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequestOrBuilder.java. 2020-03-20 14:50:44,309 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponseOrBuilder.java. 2020-03-20 14:50:44,310 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java. 2020-03-20 14:50:44,310 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-20 14:50:44,310 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java. 2020-03-20 14:50:44,310 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java. 2020-03-20 14:50:44,311 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-20 14:50:44,311 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java. 2020-03-20 14:50:44,311 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadata.java. 2020-03-20 14:50:44,312 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponse.java. 2020-03-20 14:50:44,312 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfig.java. 2020-03-20 14:50:44,312 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java. 2020-03-20 14:50:44,312 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequestOrBuilder.java. 2020-03-20 14:50:44,313 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequestOrBuilder.java. 2020-03-20 14:50:44,313 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java. 2020-03-20 14:50:44,313 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java. 2020-03-20 14:50:44,314 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java. 2020-03-20 14:50:44,314 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java. 2020-03-20 14:50:44,314 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgent.java. 2020-03-20 14:50:44,314 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java. 2020-03-20 14:50:44,315 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswersOrBuilder.java. 2020-03-20 14:50:44,315 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java. 2020-03-20 14:50:44,315 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeOrBuilder.java. 2020-03-20 14:50:44,316 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java. 2020-03-20 14:50:44,316 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponseOrBuilder.java. 2020-03-20 14:50:44,316 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequestOrBuilder.java. 2020-03-20 14:50:44,316 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequest.java. 2020-03-20 14:50:44,316 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java. 2020-03-20 14:50:44,317 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java. 2020-03-20 14:50:44,317 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-20 14:50:44,317 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java. 2020-03-20 14:50:44,318 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequestOrBuilder.java. 2020-03-20 14:50:44,318 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java. 2020-03-20 14:50:44,318 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResultOrBuilder.java. 2020-03-20 14:50:44,318 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequest.java. 2020-03-20 14:50:44,319 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/Document.java. 2020-03-20 14:50:44,320 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionName.java. 2020-03-20 14:50:44,320 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentName.java. 2020-03-20 14:50:44,321 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionEntityTypeName.java. 2020-03-20 14:50:44,321 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectName.java. 2020-03-20 14:50:44,321 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectAgentName.java. 2020-03-20 14:50:44,322 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentContextName.java. 2020-03-20 14:50:44,322 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseName.java. 2020-03-20 14:50:44,322 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeName.java. 2020-03-20 14:50:44,322 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeName.java. 2020-03-20 14:50:44,323 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextName.java. 2020-03-20 14:50:44,323 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionName.java. 2020-03-20 14:50:44,323 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/proto-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentName.java. 2020-03-20 14:50:44,326 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/grpc-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java. 2020-03-20 14:50:44,326 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/grpc-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java. 2020-03-20 14:50:44,327 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/grpc-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java. 2020-03-20 14:50:44,328 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/grpc-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java. 2020-03-20 14:50:44,328 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/grpc-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsGrpc.java. 2020-03-20 14:50:44,329 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/grpc-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java. 2020-03-20 14:50:44,330 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/grpc-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java. 2020-03-20 14:50:44,330 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/grpc-google-cloud-dialogflow-v2beta1-java/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsGrpc.java. 2020-03-20 14:50:44,434 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/gapic-google-cloud-dialogflow-v2beta1-java/samples/src')] were copied. Does the source contain files? 2020-03-20 14:50:44,435 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/gapic-google-cloud-dialogflow-v2beta1-java/samples/resources')] were copied. Does the source contain files? 2020-03-20 14:50:44,435 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmpwdlwit2g/google-cloud-dialogflow-v2beta1-java/gapic-google-cloud-dialogflow-v2beta1-java/samples/src/**/*.manifest.yaml')] were copied. Does the source contain files? 2020-03-20 14:50:44,436 synthtool > Running java formatter on 130 files 2020-03-20 14:50:53,179 synthtool > Running java formatter on 8 files 2020-03-20 14:50:57,503 synthtool > Running java formatter on 219 files 2020-03-20 14:51:22,568 synthtool > Running java formatter on 0 files .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .github/trusted-contribution.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json samples/install-without-bom/pom.xml samples/pom.xml samples/snapshot/pom.xml samples/snippets/pom.xml 2020-03-20 14:51:23,708 synthtool > merge: LICENSE 2020-03-20 14:51:23,708 synthtool > merge: java.header 2020-03-20 14:51:23,709 synthtool > merge: renovate.json 2020-03-20 14:51:23,709 synthtool > merge: CONTRIBUTING.md 2020-03-20 14:51:23,710 synthtool > merge: license-checks.xml 2020-03-20 14:51:23,710 synthtool > merge: CODE_OF_CONDUCT.md 2020-03-20 14:51:23,710 synthtool > merge: README.md 2020-03-20 14:51:23,710 synthtool > merge: codecov.yaml 2020-03-20 14:51:23,711 synthtool > merge: .kokoro/trampoline.sh 2020-03-20 14:51:23,711 synthtool > merge: .kokoro/build.sh 2020-03-20 14:51:23,712 synthtool > merge: .kokoro/dependencies.sh 2020-03-20 14:51:23,712 synthtool > merge: .kokoro/linkage-monitor.sh 2020-03-20 14:51:23,712 synthtool > merge: .kokoro/common.cfg 2020-03-20 14:51:23,712 synthtool > merge: .kokoro/coerce_logs.sh 2020-03-20 14:51:23,713 synthtool > merge: .kokoro/build.bat 2020-03-20 14:51:23,713 synthtool > merge: .kokoro/release/promote.cfg 2020-03-20 14:51:23,714 synthtool > merge: .kokoro/release/bump_snapshot.cfg 2020-03-20 14:51:23,714 synthtool > merge: .kokoro/release/snapshot.cfg 2020-03-20 14:51:23,714 synthtool > merge: .kokoro/release/stage.sh 2020-03-20 14:51:23,714 synthtool > merge: .kokoro/release/promote.sh 2020-03-20 14:51:23,715 synthtool > merge: .kokoro/release/common.cfg 2020-03-20 14:51:23,715 synthtool > merge: .kokoro/release/common.sh 2020-03-20 14:51:23,715 synthtool > merge: .kokoro/release/drop.sh 2020-03-20 14:51:23,716 synthtool > merge: .kokoro/release/publish_javadoc.sh 2020-03-20 14:51:23,716 synthtool > merge: .kokoro/release/stage.cfg 2020-03-20 14:51:23,716 synthtool > merge: .kokoro/release/publish_javadoc.cfg 2020-03-20 14:51:23,717 synthtool > merge: .kokoro/release/drop.cfg 2020-03-20 14:51:23,717 synthtool > merge: .kokoro/release/snapshot.sh 2020-03-20 14:51:23,717 synthtool > merge: .kokoro/presubmit/linkage-monitor.cfg 2020-03-20 14:51:23,718 synthtool > merge: .kokoro/presubmit/integration.cfg 2020-03-20 14:51:23,718 synthtool > merge: .kokoro/presubmit/clirr.cfg 2020-03-20 14:51:23,718 synthtool > merge: .kokoro/presubmit/samples.cfg 2020-03-20 14:51:23,719 synthtool > merge: .kokoro/presubmit/java8.cfg 2020-03-20 14:51:23,719 synthtool > merge: .kokoro/presubmit/java7.cfg 2020-03-20 14:51:23,719 synthtool > merge: .kokoro/presubmit/common.cfg 2020-03-20 14:51:23,720 synthtool > merge: .kokoro/presubmit/java8-win.cfg 2020-03-20 14:51:23,720 synthtool > merge: .kokoro/presubmit/java8-osx.cfg 2020-03-20 14:51:23,720 synthtool > merge: .kokoro/presubmit/java11.cfg 2020-03-20 14:51:23,721 synthtool > merge: .kokoro/presubmit/dependencies.cfg 2020-03-20 14:51:23,721 synthtool > merge: .kokoro/presubmit/lint.cfg 2020-03-20 14:51:23,721 synthtool > merge: .kokoro/nightly/integration.cfg 2020-03-20 14:51:23,722 synthtool > merge: .kokoro/nightly/samples.cfg 2020-03-20 14:51:23,722 synthtool > merge: .kokoro/nightly/java8.cfg 2020-03-20 14:51:23,722 synthtool > merge: .kokoro/nightly/java7.cfg 2020-03-20 14:51:23,723 synthtool > merge: .kokoro/nightly/common.cfg 2020-03-20 14:51:23,723 synthtool > merge: .kokoro/nightly/java8-win.cfg 2020-03-20 14:51:23,723 synthtool > merge: .kokoro/nightly/java8-osx.cfg 2020-03-20 14:51:23,724 synthtool > merge: .kokoro/nightly/java11.cfg 2020-03-20 14:51:23,724 synthtool > merge: .kokoro/nightly/dependencies.cfg 2020-03-20 14:51:23,724 synthtool > merge: .kokoro/nightly/lint.cfg 2020-03-20 14:51:23,725 synthtool > merge: .kokoro/continuous/propose_release.cfg 2020-03-20 14:51:23,725 synthtool > merge: .kokoro/continuous/integration.cfg 2020-03-20 14:51:23,725 synthtool > merge: .kokoro/continuous/samples.cfg 2020-03-20 14:51:23,726 synthtool > merge: .kokoro/continuous/java8.cfg 2020-03-20 14:51:23,726 synthtool > merge: .kokoro/continuous/java7.cfg 2020-03-20 14:51:23,726 synthtool > merge: .kokoro/continuous/common.cfg 2020-03-20 14:51:23,727 synthtool > merge: .kokoro/continuous/java8-win.cfg 2020-03-20 14:51:23,727 synthtool > merge: .kokoro/continuous/java8-osx.cfg 2020-03-20 14:51:23,727 synthtool > merge: .kokoro/continuous/java11.cfg 2020-03-20 14:51:23,728 synthtool > merge: .kokoro/continuous/dependencies.cfg 2020-03-20 14:51:23,728 synthtool > merge: .kokoro/continuous/lint.cfg 2020-03-20 14:51:23,728 synthtool > merge: samples/pom.xml 2020-03-20 14:51:23,728 synthtool > existing pom file found (samples/pom.xml) - keeping the existing 2020-03-20 14:51:23,729 synthtool > merge: samples/snapshot/pom.xml 2020-03-20 14:51:23,729 synthtool > existing pom file found (samples/snapshot/pom.xml) - keeping the existing 2020-03-20 14:51:23,729 synthtool > merge: samples/install-without-bom/pom.xml 2020-03-20 14:51:23,729 synthtool > existing pom file found (samples/install-without-bom/pom.xml) - keeping the existing 2020-03-20 14:51:23,730 synthtool > merge: samples/snippets/pom.xml 2020-03-20 14:51:23,730 synthtool > existing pom file found (samples/snippets/pom.xml) - keeping the existing 2020-03-20 14:51:23,730 synthtool > merge: .github/trusted-contribution.yml 2020-03-20 14:51:23,731 synthtool > merge: .github/release-please.yml 2020-03-20 14:51:23,731 synthtool > merge: .github/PULL_REQUEST_TEMPLATE.md 2020-03-20 14:51:23,731 synthtool > merge: .github/ISSUE_TEMPLATE/feature_request.md 2020-03-20 14:51:23,732 synthtool > merge: .github/ISSUE_TEMPLATE/bug_report.md 2020-03-20 14:51:23,732 synthtool > merge: .github/ISSUE_TEMPLATE/support_request.md 2020-03-20 14:51:23,741 synthtool > Wrote metadata to synth.metadata. ```
--- .../cloud/dialogflow/v2/ContextsClient.java | 54 +++- .../v2/SessionEntityTypesClient.java | 47 ++- .../cloud/dialogflow/v2/SessionsClient.java | 20 +- .../cloud/dialogflow/v2/AgentProto.java | 102 +++---- .../cloud/dialogflow/v2/AudioConfigProto.java | 83 +++--- .../google/cloud/dialogflow/v2/Context.java | 56 +++- .../cloud/dialogflow/v2/ContextOrBuilder.java | 16 +- .../cloud/dialogflow/v2/ContextProto.java | 101 ++++--- .../dialogflow/v2/CreateContextRequest.java | 70 ++++- .../v2/CreateContextRequestOrBuilder.java | 20 +- .../v2/CreateSessionEntityTypeRequest.java | 42 ++- ...eateSessionEntityTypeRequestOrBuilder.java | 12 +- .../v2/DeleteAllContextsRequest.java | 70 ++++- .../v2/DeleteAllContextsRequestOrBuilder.java | 20 +- .../dialogflow/v2/DeleteContextRequest.java | 42 ++- .../v2/DeleteContextRequestOrBuilder.java | 12 +- .../v2/DeleteSessionEntityTypeRequest.java | 42 ++- ...leteSessionEntityTypeRequestOrBuilder.java | 12 +- .../dialogflow/v2/DetectIntentRequest.java | 84 ++++-- .../v2/DetectIntentRequestOrBuilder.java | 24 +- .../cloud/dialogflow/v2/EntityTypeProto.java | 70 ++--- .../dialogflow/v2/GetContextRequest.java | 42 ++- .../v2/GetContextRequestOrBuilder.java | 12 +- .../v2/GetSessionEntityTypeRequest.java | 42 ++- .../GetSessionEntityTypeRequestOrBuilder.java | 12 +- .../v2/GetValidationResultRequest.java | 28 +- .../GetValidationResultRequestOrBuilder.java | 8 +- .../cloud/dialogflow/v2/InputAudioConfig.java | 282 +++++++----------- .../v2/InputAudioConfigOrBuilder.java | 72 ++--- .../google/cloud/dialogflow/v2/Intent.java | 13 + .../cloud/dialogflow/v2/IntentOrBuilder.java | 4 + .../dialogflow/v2/ListContextsRequest.java | 42 ++- .../v2/ListContextsRequestOrBuilder.java | 12 +- .../v2/ListSessionEntityTypesRequest.java | 42 ++- ...istSessionEntityTypesRequestOrBuilder.java | 12 +- .../dialogflow/v2/SessionEntityType.java | 42 ++- .../v2/SessionEntityTypeOrBuilder.java | 12 +- .../dialogflow/v2/SessionEntityTypeProto.java | 82 ++--- .../cloud/dialogflow/v2/SessionProto.java | 119 ++++---- .../v2/StreamingDetectIntentRequest.java | 112 ++++--- ...StreamingDetectIntentRequestOrBuilder.java | 32 +- .../v2/UpdateSessionEntityTypeRequest.java | 48 +-- ...dateSessionEntityTypeRequestOrBuilder.java | 12 +- .../google/cloud/dialogflow/v2/agent.proto | 7 +- .../cloud/dialogflow/v2/audio_config.proto | 23 +- .../google/cloud/dialogflow/v2/context.proto | 78 ++++- .../cloud/dialogflow/v2/entity_type.proto | 1 + .../google/cloud/dialogflow/v2/intent.proto | 1 + .../google/cloud/dialogflow/v2/session.proto | 35 ++- .../dialogflow/v2/session_entity_type.proto | 54 +++- synth.metadata | 26 +- 51 files changed, 1480 insertions(+), 826 deletions(-) diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java index 688d8a9a8..5486a95a0 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java @@ -182,7 +182,10 @@ public ContextsStub getStub() { * * * @param parent Required. The session to list all contexts from. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>`. + * ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. If + * `User ID` is not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListContextsPagedResponse listContexts(SessionName parent) { @@ -209,7 +212,10 @@ public final ListContextsPagedResponse listContexts(SessionName parent) { * * * @param parent Required. The session to list all contexts from. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>`. + * ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. If + * `User ID` is not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListContextsPagedResponse listContexts(String parent) { @@ -312,7 +318,11 @@ public final UnaryCallable listContex * * * @param name Required. The name of the context. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/contexts/<Context ID>`. + * ID>/agent/sessions/<Session ID>/contexts/<Context ID>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is not + * specified, we assume default 'draft' environment. If `User ID` is not specified, we assume + * default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Context getContext(ContextName name) { @@ -335,7 +345,11 @@ public final Context getContext(ContextName name) { * * * @param name Required. The name of the context. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/contexts/<Context ID>`. + * ID>/agent/sessions/<Session ID>/contexts/<Context ID>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is not + * specified, we assume default 'draft' environment. If `User ID` is not specified, we assume + * default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Context getContext(String name) { @@ -405,7 +419,10 @@ public final UnaryCallable getContextCallable() { * * * @param parent Required. The session to create a context for. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>`. + * ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. If + * `User ID` is not specified, we assume default '-' user. * @param context Required. The context to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -435,7 +452,10 @@ public final Context createContext(SessionName parent, Context context) { * * * @param parent Required. The session to create a context for. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>`. + * ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. If + * `User ID` is not specified, we assume default '-' user. * @param context Required. The context to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -578,7 +598,11 @@ public final UnaryCallable updateContextCallable( * * * @param name Required. The name of the context to delete. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/contexts/<Context ID>`. + * ID>/agent/sessions/<Session ID>/contexts/<Context ID>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is not + * specified, we assume default 'draft' environment. If `User ID` is not specified, we assume + * default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteContext(ContextName name) { @@ -601,7 +625,11 @@ public final void deleteContext(ContextName name) { * * * @param name Required. The name of the context to delete. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/contexts/<Context ID>`. + * ID>/agent/sessions/<Session ID>/contexts/<Context ID>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is not + * specified, we assume default 'draft' environment. If `User ID` is not specified, we assume + * default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteContext(String name) { @@ -668,7 +696,10 @@ public final UnaryCallable deleteContextCallable() * * * @param parent Required. The name of the session to delete all contexts from. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>`. + * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified we assume default 'draft' environment. If + * `User ID` is not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteAllContexts(SessionName parent) { @@ -693,7 +724,10 @@ public final void deleteAllContexts(SessionName parent) { * * * @param parent Required. The name of the session to delete all contexts from. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>`. + * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified we assume default 'draft' environment. If + * `User ID` is not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteAllContexts(String parent) { diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java index 90430a510..4f92e6e9f 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java @@ -186,7 +186,10 @@ public SessionEntityTypesStub getStub() { * * * @param parent Required. The session to list all session entity types from. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>`. + * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/ + * sessions/<Session ID>`. If `Environment ID` is not specified, we assume default + * 'draft' environment. If `User ID` is not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(SessionName parent) { @@ -216,7 +219,10 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(SessionN * * * @param parent Required. The session to list all session entity types from. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>`. + * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/ + * sessions/<Session ID>`. If `Environment ID` is not specified, we assume default + * 'draft' environment. If `User ID` is not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(String parent) { @@ -334,7 +340,11 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes( * * * @param name Required. The name of the session entity type. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. + * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If + * `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is + * not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SessionEntityType getSessionEntityType(SessionEntityTypeName name) { @@ -362,7 +372,11 @@ public final SessionEntityType getSessionEntityType(SessionEntityTypeName name) * * * @param name Required. The name of the session entity type. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. + * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If + * `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is + * not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SessionEntityType getSessionEntityType(String name) { @@ -443,7 +457,10 @@ public final SessionEntityType getSessionEntityType(GetSessionEntityTypeRequest * * * @param parent Required. The session to create a session entity type for. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>`. + * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/ + * sessions/<Session ID>`. If `Environment ID` is not specified, we assume default + * 'draft' environment. If `User ID` is not specified, we assume default '-' user. * @param sessionEntityType Required. The session entity type to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -477,7 +494,10 @@ public final SessionEntityType createSessionEntityType( * * * @param parent Required. The session to create a session entity type for. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>`. + * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/ + * sessions/<Session ID>`. If `Environment ID` is not specified, we assume default + * 'draft' environment. If `User ID` is not specified, we assume default '-' user. * @param sessionEntityType Required. The session entity type to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -567,8 +587,7 @@ public final SessionEntityType createSessionEntityType(CreateSessionEntityTypeRe * } * * - * @param sessionEntityType Required. The entity type to update. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. + * @param sessionEntityType Required. The session entity type to update. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SessionEntityType updateSessionEntityType(SessionEntityType sessionEntityType) { @@ -646,7 +665,11 @@ public final SessionEntityType updateSessionEntityType(UpdateSessionEntityTypeRe * * * @param name Required. The name of the entity type to delete. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. + * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If + * `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is + * not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteSessionEntityType(SessionEntityTypeName name) { @@ -674,7 +697,11 @@ public final void deleteSessionEntityType(SessionEntityTypeName name) { * * * @param name Required. The name of the entity type to delete. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. + * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If + * `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is + * not specified, we assume default '-' user. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteSessionEntityType(String name) { diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java index c3dd77c6b..14faf29a9 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java @@ -164,9 +164,13 @@ public SessionsStub getStub() { * * * @param session Required. The name of the session this query is sent to. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API caller - * to choose an appropriate session ID. It can be a random number or some type of user - * identifier (preferably hashed). The length of the session ID must not exceed 36 bytes. + * `projects/<Project ID>/agent/sessions/<Session ID>`, or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. If + * `User ID` is not specified, we are using "-". It's up to the API caller to choose an + * appropriate `Session ID` and `User Id`. They can be a random number or some type of user + * and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` + * must not exceed 36 characters. * @param queryInput Required. The input specification. It can be set to: *

1. an audio config which instructs the speech recognizer how to process the speech * audio, @@ -200,9 +204,13 @@ public final DetectIntentResponse detectIntent(SessionName session, QueryInput q * * * @param session Required. The name of the session this query is sent to. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API caller - * to choose an appropriate session ID. It can be a random number or some type of user - * identifier (preferably hashed). The length of the session ID must not exceed 36 bytes. + * `projects/<Project ID>/agent/sessions/<Session ID>`, or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. If + * `User ID` is not specified, we are using "-". It's up to the API caller to choose an + * appropriate `Session ID` and `User Id`. They can be a random number or some type of user + * and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` + * must not exceed 36 characters. * @param queryInput Required. The input specification. It can be set to: *

1. an audio config which instructs the speech recognizer how to process the speech * audio, diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java index 662554ffc..2e0388123 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java @@ -142,56 +142,58 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "toreAgentRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" + "\n+cloudresourcemanager.googleapis.com/Pr" + "oject\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027\n\ragent_cont" - + "ent\030\003 \001(\014H\000B\007\n\005agent\"M\n\032GetValidationRes" - + "ultRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rlangu" - + "age_code\030\003 \001(\tB\003\340A\0012\305\r\n\006Agents\022\212\001\n\010GetAg" - + "ent\022+.google.cloud.dialogflow.v2.GetAgen" - + "tRequest\032!.google.cloud.dialogflow.v2.Ag" - + "ent\".\202\323\344\223\002\037\022\035/v2/{parent=projects/*}/age" - + "nt\332A\006parent\022\226\001\n\010SetAgent\022+.google.cloud." - + "dialogflow.v2.SetAgentRequest\032!.google.c" - + "loud.dialogflow.v2.Agent\":\202\323\344\223\002,\"#/v2/{a" - + "gent.parent=projects/*}/agent:\005agent\332A\005a" - + "gent\022\205\001\n\013DeleteAgent\022..google.cloud.dial" - + "ogflow.v2.DeleteAgentRequest\032\026.google.pr" - + "otobuf.Empty\".\202\323\344\223\002\037*\035/v2/{parent=projec" - + "ts/*}/agent\332A\006parent\022\250\001\n\014SearchAgents\022/." - + "google.cloud.dialogflow.v2.SearchAgentsR" - + "equest\0320.google.cloud.dialogflow.v2.Sear" - + "chAgentsResponse\"5\202\323\344\223\002&\022$/v2/{parent=pr" - + "ojects/*}/agent:search\332A\006parent\022\305\001\n\nTrai" - + "nAgent\022-.google.cloud.dialogflow.v2.Trai" - + "nAgentRequest\032\035.google.longrunning.Opera" - + "tion\"i\202\323\344\223\002(\"#/v2/{parent=projects/*}/ag" - + "ent:train:\001*\332A\006parent\312A/\n\025google.protobu" - + "f.Empty\022\026google.protobuf.Struct\022\342\001\n\013Expo" - + "rtAgent\022..google.cloud.dialogflow.v2.Exp" - + "ortAgentRequest\032\035.google.longrunning.Ope" - + "ration\"\203\001\202\323\344\223\002)\"$/v2/{parent=projects/*}" - + "/agent:export:\001*\332A\006parent\312AH\n.google.clo" - + "ud.dialogflow.v2.ExportAgentResponse\022\026go" - + "ogle.protobuf.Struct\022\277\001\n\013ImportAgent\022..g" - + "oogle.cloud.dialogflow.v2.ImportAgentReq" - + "uest\032\035.google.longrunning.Operation\"a\202\323\344" - + "\223\002)\"$/v2/{parent=projects/*}/agent:impor" - + "t:\001*\312A/\n\025google.protobuf.Empty\022\026google.p" - + "rotobuf.Struct\022\302\001\n\014RestoreAgent\022/.google" - + ".cloud.dialogflow.v2.RestoreAgentRequest" - + "\032\035.google.longrunning.Operation\"b\202\323\344\223\002*\"" - + "%/v2/{parent=projects/*}/agent:restore:\001" - + "*\312A/\n\025google.protobuf.Empty\022\026google.prot" - + "obuf.Struct\022\263\001\n\023GetValidationResult\0226.go" - + "ogle.cloud.dialogflow.v2.GetValidationRe" - + "sultRequest\032,.google.cloud.dialogflow.v2" - + ".ValidationResult\"6\202\323\344\223\0020\022./v2/{parent=p" - + "rojects/*}/agent/validationResult\032x\312A\031di" - + "alogflow.googleapis.com\322AYhttps://www.go" - + "ogleapis.com/auth/cloud-platform,https:/" - + "/www.googleapis.com/auth/dialogflowB\231\001\n\036" - + "com.google.cloud.dialogflow.v2B\nAgentPro" - + "toP\001ZDgoogle.golang.org/genproto/googlea" - + "pis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002" - + "DF\252\002\032Google.Cloud.Dialogflow.V2b\006proto3" + + "ent\030\003 \001(\014H\000B\007\n\005agent\"}\n\032GetValidationRes" + + "ultRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+clou" + + "dresourcemanager.googleapis.com/Project\022" + + "\032\n\rlanguage_code\030\003 \001(\tB\003\340A\0012\305\r\n\006Agents\022\212" + + "\001\n\010GetAgent\022+.google.cloud.dialogflow.v2" + + ".GetAgentRequest\032!.google.cloud.dialogfl" + + "ow.v2.Agent\".\202\323\344\223\002\037\022\035/v2/{parent=project" + + "s/*}/agent\332A\006parent\022\226\001\n\010SetAgent\022+.googl" + + "e.cloud.dialogflow.v2.SetAgentRequest\032!." + + "google.cloud.dialogflow.v2.Agent\":\202\323\344\223\002," + + "\"#/v2/{agent.parent=projects/*}/agent:\005a" + + "gent\332A\005agent\022\205\001\n\013DeleteAgent\022..google.cl" + + "oud.dialogflow.v2.DeleteAgentRequest\032\026.g" + + "oogle.protobuf.Empty\".\202\323\344\223\002\037*\035/v2/{paren" + + "t=projects/*}/agent\332A\006parent\022\250\001\n\014SearchA" + + "gents\022/.google.cloud.dialogflow.v2.Searc" + + "hAgentsRequest\0320.google.cloud.dialogflow" + + ".v2.SearchAgentsResponse\"5\202\323\344\223\002&\022$/v2/{p" + + "arent=projects/*}/agent:search\332A\006parent\022" + + "\305\001\n\nTrainAgent\022-.google.cloud.dialogflow" + + ".v2.TrainAgentRequest\032\035.google.longrunni" + + "ng.Operation\"i\202\323\344\223\002(\"#/v2/{parent=projec" + + "ts/*}/agent:train:\001*\332A\006parent\312A/\n\025google" + + ".protobuf.Empty\022\026google.protobuf.Struct\022" + + "\342\001\n\013ExportAgent\022..google.cloud.dialogflo" + + "w.v2.ExportAgentRequest\032\035.google.longrun" + + "ning.Operation\"\203\001\202\323\344\223\002)\"$/v2/{parent=pro" + + "jects/*}/agent:export:\001*\332A\006parent\312AH\n.go" + + "ogle.cloud.dialogflow.v2.ExportAgentResp" + + "onse\022\026google.protobuf.Struct\022\277\001\n\013ImportA" + + "gent\022..google.cloud.dialogflow.v2.Import" + + "AgentRequest\032\035.google.longrunning.Operat" + + "ion\"a\202\323\344\223\002)\"$/v2/{parent=projects/*}/age" + + "nt:import:\001*\312A/\n\025google.protobuf.Empty\022\026" + + "google.protobuf.Struct\022\302\001\n\014RestoreAgent\022" + + "/.google.cloud.dialogflow.v2.RestoreAgen" + + "tRequest\032\035.google.longrunning.Operation\"" + + "b\202\323\344\223\002*\"%/v2/{parent=projects/*}/agent:r" + + "estore:\001*\312A/\n\025google.protobuf.Empty\022\026goo" + + "gle.protobuf.Struct\022\263\001\n\023GetValidationRes" + + "ult\0226.google.cloud.dialogflow.v2.GetVali" + + "dationResultRequest\032,.google.cloud.dialo" + + "gflow.v2.ValidationResult\"6\202\323\344\223\0020\022./v2/{" + + "parent=projects/*}/agent/validationResul" + + "t\032x\312A\031dialogflow.googleapis.com\322AYhttps:" + + "//www.googleapis.com/auth/cloud-platform" + + ",https://www.googleapis.com/auth/dialogf" + + "lowB\231\001\n\036com.google.cloud.dialogflow.v2B\n" + + "AgentProtoP\001ZDgoogle.golang.org/genproto" + + "/googleapis/cloud/dialogflow/v2;dialogfl" + + "ow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java index e28503c67..f5faeb4d5 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java @@ -69,51 +69,50 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\002 \001(\002\"\222\001\n\016SpeechWordInfo\022\014\n\004word\030\003 \001(\t\022" + "/\n\014start_offset\030\001 \001(\0132\031.google.protobuf." + "Duration\022-\n\nend_offset\030\002 \001(\0132\031.google.pr" - + "otobuf.Duration\022\022\n\nconfidence\030\004 \001(\002\"\201\003\n\020" + + "otobuf.Duration\022\022\n\nconfidence\030\004 \001(\002\"\357\002\n\020" + "InputAudioConfig\022A\n\016audio_encoding\030\001 \001(\016" + "2).google.cloud.dialogflow.v2.AudioEncod" + "ing\022\031\n\021sample_rate_hertz\030\002 \001(\005\022\025\n\rlangua" - + "ge_code\030\003 \001(\t\022\035\n\020enable_word_info\030\r \001(\010B" - + "\003\340A\001\022\033\n\014phrase_hints\030\004 \003(\tB\005\030\001\340A\001\022G\n\017spe" - + "ech_contexts\030\013 \003(\0132).google.cloud.dialog" - + "flow.v2.SpeechContextB\003\340A\001\022\022\n\005model\030\007 \001(" - + "\tB\003\340A\001\022E\n\rmodel_variant\030\n \001(\0162..google.c" - + "loud.dialogflow.v2.SpeechModelVariant\022\030\n" - + "\020single_utterance\030\010 \001(\010\"f\n\024VoiceSelectio" - + "nParams\022\014\n\004name\030\001 \001(\t\022@\n\013ssml_gender\030\002 \001" - + "(\0162+.google.cloud.dialogflow.v2.SsmlVoic" - + "eGender\"\263\001\n\026SynthesizeSpeechConfig\022\025\n\rsp" - + "eaking_rate\030\001 \001(\001\022\r\n\005pitch\030\002 \001(\001\022\026\n\016volu" - + "me_gain_db\030\003 \001(\001\022\032\n\022effects_profile_id\030\005" - + " \003(\t\022?\n\005voice\030\004 \001(\01320.google.cloud.dialo" - + "gflow.v2.VoiceSelectionParams\"\322\001\n\021Output" - + "AudioConfig\022L\n\016audio_encoding\030\001 \001(\0162/.go" - + "ogle.cloud.dialogflow.v2.OutputAudioEnco" - + "dingB\003\340A\002\022\031\n\021sample_rate_hertz\030\002 \001(\005\022T\n\030" - + "synthesize_speech_config\030\003 \001(\01322.google." - + "cloud.dialogflow.v2.SynthesizeSpeechConf" - + "ig*\373\001\n\rAudioEncoding\022\036\n\032AUDIO_ENCODING_U" - + "NSPECIFIED\020\000\022\034\n\030AUDIO_ENCODING_LINEAR_16" - + "\020\001\022\027\n\023AUDIO_ENCODING_FLAC\020\002\022\030\n\024AUDIO_ENC" - + "ODING_MULAW\020\003\022\026\n\022AUDIO_ENCODING_AMR\020\004\022\031\n" - + "\025AUDIO_ENCODING_AMR_WB\020\005\022\033\n\027AUDIO_ENCODI" - + "NG_OGG_OPUS\020\006\022)\n%AUDIO_ENCODING_SPEEX_WI" - + "TH_HEADER_BYTE\020\007*v\n\022SpeechModelVariant\022$" - + "\n SPEECH_MODEL_VARIANT_UNSPECIFIED\020\000\022\026\n\022" - + "USE_BEST_AVAILABLE\020\001\022\020\n\014USE_STANDARD\020\002\022\020" - + "\n\014USE_ENHANCED\020\003*\215\001\n\017SsmlVoiceGender\022!\n\035" - + "SSML_VOICE_GENDER_UNSPECIFIED\020\000\022\032\n\026SSML_" - + "VOICE_GENDER_MALE\020\001\022\034\n\030SSML_VOICE_GENDER" - + "_FEMALE\020\002\022\035\n\031SSML_VOICE_GENDER_NEUTRAL\020\003" - + "*\244\001\n\023OutputAudioEncoding\022%\n!OUTPUT_AUDIO" - + "_ENCODING_UNSPECIFIED\020\000\022#\n\037OUTPUT_AUDIO_" - + "ENCODING_LINEAR_16\020\001\022\035\n\031OUTPUT_AUDIO_ENC" - + "ODING_MP3\020\002\022\"\n\036OUTPUT_AUDIO_ENCODING_OGG" - + "_OPUS\020\003B\237\001\n\036com.google.cloud.dialogflow." - + "v2B\020AudioConfigProtoP\001ZDgoogle.golang.or" - + "g/genproto/googleapis/cloud/dialogflow/v" - + "2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dial" - + "ogflow.V2b\006proto3" + + "ge_code\030\003 \001(\t\022\030\n\020enable_word_info\030\r \001(\010\022" + + "\030\n\014phrase_hints\030\004 \003(\tB\002\030\001\022B\n\017speech_cont" + + "exts\030\013 \003(\0132).google.cloud.dialogflow.v2." + + "SpeechContext\022\r\n\005model\030\007 \001(\t\022E\n\rmodel_va" + + "riant\030\n \001(\0162..google.cloud.dialogflow.v2" + + ".SpeechModelVariant\022\030\n\020single_utterance\030" + + "\010 \001(\010\"f\n\024VoiceSelectionParams\022\014\n\004name\030\001 " + + "\001(\t\022@\n\013ssml_gender\030\002 \001(\0162+.google.cloud." + + "dialogflow.v2.SsmlVoiceGender\"\263\001\n\026Synthe" + + "sizeSpeechConfig\022\025\n\rspeaking_rate\030\001 \001(\001\022" + + "\r\n\005pitch\030\002 \001(\001\022\026\n\016volume_gain_db\030\003 \001(\001\022\032" + + "\n\022effects_profile_id\030\005 \003(\t\022?\n\005voice\030\004 \001(" + + "\01320.google.cloud.dialogflow.v2.VoiceSele" + + "ctionParams\"\322\001\n\021OutputAudioConfig\022L\n\016aud" + + "io_encoding\030\001 \001(\0162/.google.cloud.dialogf" + + "low.v2.OutputAudioEncodingB\003\340A\002\022\031\n\021sampl" + + "e_rate_hertz\030\002 \001(\005\022T\n\030synthesize_speech_" + + "config\030\003 \001(\01322.google.cloud.dialogflow.v" + + "2.SynthesizeSpeechConfig*\373\001\n\rAudioEncodi" + + "ng\022\036\n\032AUDIO_ENCODING_UNSPECIFIED\020\000\022\034\n\030AU" + + "DIO_ENCODING_LINEAR_16\020\001\022\027\n\023AUDIO_ENCODI" + + "NG_FLAC\020\002\022\030\n\024AUDIO_ENCODING_MULAW\020\003\022\026\n\022A" + + "UDIO_ENCODING_AMR\020\004\022\031\n\025AUDIO_ENCODING_AM" + + "R_WB\020\005\022\033\n\027AUDIO_ENCODING_OGG_OPUS\020\006\022)\n%A" + + "UDIO_ENCODING_SPEEX_WITH_HEADER_BYTE\020\007*v" + + "\n\022SpeechModelVariant\022$\n SPEECH_MODEL_VAR" + + "IANT_UNSPECIFIED\020\000\022\026\n\022USE_BEST_AVAILABLE" + + "\020\001\022\020\n\014USE_STANDARD\020\002\022\020\n\014USE_ENHANCED\020\003*\215" + + "\001\n\017SsmlVoiceGender\022!\n\035SSML_VOICE_GENDER_" + + "UNSPECIFIED\020\000\022\032\n\026SSML_VOICE_GENDER_MALE\020" + + "\001\022\034\n\030SSML_VOICE_GENDER_FEMALE\020\002\022\035\n\031SSML_" + + "VOICE_GENDER_NEUTRAL\020\003*\244\001\n\023OutputAudioEn" + + "coding\022%\n!OUTPUT_AUDIO_ENCODING_UNSPECIF" + + "IED\020\000\022#\n\037OUTPUT_AUDIO_ENCODING_LINEAR_16" + + "\020\001\022\035\n\031OUTPUT_AUDIO_ENCODING_MP3\020\002\022\"\n\036OUT" + + "PUT_AUDIO_ENCODING_OGG_OPUS\020\003B\237\001\n\036com.go" + + "ogle.cloud.dialogflow.v2B\020AudioConfigPro" + + "toP\001ZDgoogle.golang.org/genproto/googlea" + + "pis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002" + + "DF\252\002\032Google.Cloud.Dialogflow.V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java index b4736ceff..671263434 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java @@ -138,9 +138,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *

    * Required. The unique identifier of the context. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
    * The `Context ID` is always converted to lowercase, may only contain
-   * characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
+   * characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * The following context names are reserved for internal use by Dialogflow.
    * You should not use these contexts or create contexts with these names:
    * * `__system_counters__`
@@ -168,9 +172,13 @@ public java.lang.String getName() {
    *
    * 
    * Required. The unique identifier of the context. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
    * The `Context ID` is always converted to lowercase, may only contain
-   * characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
+   * characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * The following context names are reserved for internal use by Dialogflow.
    * You should not use these contexts or create contexts with these names:
    * * `__system_counters__`
@@ -630,9 +638,13 @@ public Builder mergeFrom(
      *
      * 
      * Required. The unique identifier of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
      * The `Context ID` is always converted to lowercase, may only contain
-     * characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
+     * characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * The following context names are reserved for internal use by Dialogflow.
      * You should not use these contexts or create contexts with these names:
      * * `__system_counters__`
@@ -660,9 +672,13 @@ public java.lang.String getName() {
      *
      * 
      * Required. The unique identifier of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
      * The `Context ID` is always converted to lowercase, may only contain
-     * characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
+     * characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * The following context names are reserved for internal use by Dialogflow.
      * You should not use these contexts or create contexts with these names:
      * * `__system_counters__`
@@ -690,9 +706,13 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * Required. The unique identifier of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
      * The `Context ID` is always converted to lowercase, may only contain
-     * characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
+     * characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * The following context names are reserved for internal use by Dialogflow.
      * You should not use these contexts or create contexts with these names:
      * * `__system_counters__`
@@ -719,9 +739,13 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * Required. The unique identifier of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
      * The `Context ID` is always converted to lowercase, may only contain
-     * characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
+     * characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * The following context names are reserved for internal use by Dialogflow.
      * You should not use these contexts or create contexts with these names:
      * * `__system_counters__`
@@ -744,9 +768,13 @@ public Builder clearName() {
      *
      * 
      * Required. The unique identifier of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
      * The `Context ID` is always converted to lowercase, may only contain
-     * characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
+     * characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * The following context names are reserved for internal use by Dialogflow.
      * You should not use these contexts or create contexts with these names:
      * * `__system_counters__`
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java
index 631c791b7..ad25f27c0 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java
+++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java
@@ -28,9 +28,13 @@ public interface ContextOrBuilder
    *
    * 
    * Required. The unique identifier of the context. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
    * The `Context ID` is always converted to lowercase, may only contain
-   * characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
+   * characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * The following context names are reserved for internal use by Dialogflow.
    * You should not use these contexts or create contexts with these names:
    * * `__system_counters__`
@@ -48,9 +52,13 @@ public interface ContextOrBuilder
    *
    * 
    * Required. The unique identifier of the context. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
    * The `Context ID` is always converted to lowercase, may only contain
-   * characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
+   * characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * The following context names are reserved for internal use by Dialogflow.
    * You should not use these contexts or create contexts with these names:
    * * `__system_counters__`
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java
index 3428ed531..9a06b6bbf 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java
+++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java
@@ -87,49 +87,64 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "ud.dialogflow.v2.Context\022\027\n\017next_page_to"
           + "ken\030\002 \001(\t\"L\n\021GetContextRequest\0227\n\004name\030\001"
           + " \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com/"
-          + "Context\"f\n\024CreateContextRequest\022\023\n\006paren"
-          + "t\030\001 \001(\tB\003\340A\002\0229\n\007context\030\002 \001(\0132#.google.c"
-          + "loud.dialogflow.v2.ContextB\003\340A\002\"\207\001\n\024Upda"
-          + "teContextRequest\0229\n\007context\030\001 \001(\0132#.goog"
-          + "le.cloud.dialogflow.v2.ContextB\003\340A\002\0224\n\013u"
-          + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field"
-          + "MaskB\003\340A\001\"O\n\024DeleteContextRequest\0227\n\004nam"
-          + "e\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.c"
-          + "om/Context\"/\n\030DeleteAllContextsRequest\022\023"
-          + "\n\006parent\030\001 \001(\tB\003\340A\0022\362\010\n\010Contexts\022\265\001\n\014Lis"
-          + "tContexts\022/.google.cloud.dialogflow.v2.L"
-          + "istContextsRequest\0320.google.cloud.dialog"
-          + "flow.v2.ListContextsResponse\"B\202\323\344\223\0023\0221/v"
-          + "2/{parent=projects/*/agent/sessions/*}/c"
-          + "ontexts\332A\006parent\022\233\001\n\nGetContext\022-.google"
-          + ".cloud.dialogflow.v2.GetContextRequest\032#"
-          + ".google.cloud.dialogflow.v2.Context\"9\202\323\344"
-          + "\223\0023\0221/v2/{name=projects/*/agent/sessions"
-          + "/*/contexts/*}\022\252\001\n\rCreateContext\0220.googl"
-          + "e.cloud.dialogflow.v2.CreateContextReque"
-          + "st\032#.google.cloud.dialogflow.v2.Context\""
-          + "B\202\323\344\223\002<\"1/v2/{parent=projects/*/agent/se"
-          + "ssions/*}/contexts:\007context\022\262\001\n\rUpdateCo"
-          + "ntext\0220.google.cloud.dialogflow.v2.Updat"
-          + "eContextRequest\032#.google.cloud.dialogflo"
-          + "w.v2.Context\"J\202\323\344\223\002D29/v2/{context.name="
-          + "projects/*/agent/sessions/*/contexts/*}:"
-          + "\007context\022\224\001\n\rDeleteContext\0220.google.clou"
-          + "d.dialogflow.v2.DeleteContextRequest\032\026.g"
-          + "oogle.protobuf.Empty\"9\202\323\344\223\0023*1/v2/{name="
-          + "projects/*/agent/sessions/*/contexts/*}\022"
-          + "\234\001\n\021DeleteAllContexts\0224.google.cloud.dia"
-          + "logflow.v2.DeleteAllContextsRequest\032\026.go"
-          + "ogle.protobuf.Empty\"9\202\323\344\223\0023*1/v2/{parent"
-          + "=projects/*/agent/sessions/*}/contexts\032x"
-          + "\312A\031dialogflow.googleapis.com\322AYhttps://w"
-          + "ww.googleapis.com/auth/cloud-platform,ht"
-          + "tps://www.googleapis.com/auth/dialogflow"
-          + "B\233\001\n\036com.google.cloud.dialogflow.v2B\014Con"
-          + "textProtoP\001ZDgoogle.golang.org/genproto/"
-          + "googleapis/cloud/dialogflow/v2;dialogflo"
-          + "w\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2b\006"
-          + "proto3"
+          + "Context\"\214\001\n\024CreateContextRequest\0229\n\006pare"
+          + "nt\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.googleapis."
+          + "com/Context\0229\n\007context\030\002 \001(\0132#.google.cl"
+          + "oud.dialogflow.v2.ContextB\003\340A\002\"\207\001\n\024Updat"
+          + "eContextRequest\0229\n\007context\030\001 \001(\0132#.googl"
+          + "e.cloud.dialogflow.v2.ContextB\003\340A\002\0224\n\013up"
+          + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM"
+          + "askB\003\340A\001\"O\n\024DeleteContextRequest\0227\n\004name"
+          + "\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.co"
+          + "m/Context\"U\n\030DeleteAllContextsRequest\0229\n"
+          + "\006parent\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.google"
+          + "apis.com/Context2\232\r\n\010Contexts\022\202\002\n\014ListCo"
+          + "ntexts\022/.google.cloud.dialogflow.v2.List"
+          + "ContextsRequest\0320.google.cloud.dialogflo"
+          + "w.v2.ListContextsResponse\"\216\001\202\323\344\223\002\177\0221/v2/"
+          + "{parent=projects/*/agent/sessions/*}/con"
+          + "textsZJ\022H/v2/{parent=projects/*/agent/en"
+          + "vironments/*/users/*/sessions/*}/context"
+          + "s\332A\006parent\022\357\001\n\nGetContext\022-.google.cloud"
+          + ".dialogflow.v2.GetContextRequest\032#.googl"
+          + "e.cloud.dialogflow.v2.Context\"\214\001\202\323\344\223\002\177\0221"
+          + "/v2/{name=projects/*/agent/sessions/*/co"
+          + "ntexts/*}ZJ\022H/v2/{name=projects/*/agent/"
+          + "environments/*/users/*/sessions/*/contex"
+          + "ts/*}\332A\004name\022\222\002\n\rCreateContext\0220.google."
+          + "cloud.dialogflow.v2.CreateContextRequest"
+          + "\032#.google.cloud.dialogflow.v2.Context\"\251\001"
+          + "\202\323\344\223\002\221\001\"1/v2/{parent=projects/*/agent/se"
+          + "ssions/*}/contexts:\007contextZS\"H/v2/{pare"
+          + "nt=projects/*/agent/environments/*/users"
+          + "/*/sessions/*}/contexts:\007context\332A\016paren"
+          + "t,context\022\247\002\n\rUpdateContext\0220.google.clo"
+          + "ud.dialogflow.v2.UpdateContextRequest\032#."
+          + "google.cloud.dialogflow.v2.Context\"\276\001\202\323\344"
+          + "\223\002\241\00129/v2/{context.name=projects/*/agent"
+          + "/sessions/*/contexts/*}:\007contextZ[2P/v2/"
+          + "{context.name=projects/*/agent/environme"
+          + "nts/*/users/*/sessions/*/contexts/*}:\007co"
+          + "ntext\332A\023context,update_mask\022\350\001\n\rDeleteCo"
+          + "ntext\0220.google.cloud.dialogflow.v2.Delet"
+          + "eContextRequest\032\026.google.protobuf.Empty\""
+          + "\214\001\202\323\344\223\002\177*1/v2/{name=projects/*/agent/ses"
+          + "sions/*/contexts/*}ZJ*H/v2/{name=project"
+          + "s/*/agent/environments/*/users/*/session"
+          + "s/*/contexts/*}\332A\004name\022\362\001\n\021DeleteAllCont"
+          + "exts\0224.google.cloud.dialogflow.v2.Delete"
+          + "AllContextsRequest\032\026.google.protobuf.Emp"
+          + "ty\"\216\001\202\323\344\223\002\177*1/v2/{parent=projects/*/agen"
+          + "t/sessions/*}/contextsZJ*H/v2/{parent=pr"
+          + "ojects/*/agent/environments/*/users/*/se"
+          + "ssions/*}/contexts\332A\006parent\032x\312A\031dialogfl"
+          + "ow.googleapis.com\322AYhttps://www.googleap"
+          + "is.com/auth/cloud-platform,https://www.g"
+          + "oogleapis.com/auth/dialogflowB\233\001\n\036com.go"
+          + "ogle.cloud.dialogflow.v2B\014ContextProtoP\001"
+          + "ZDgoogle.golang.org/genproto/googleapis/"
+          + "cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002"
+          + "\032Google.Cloud.Dialogflow.V2b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java
index c33a49833..4928f945d 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java
+++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java
@@ -134,10 +134,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The session to create a context for.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -157,10 +163,16 @@ public java.lang.String getParent() { * *
    * Required. The session to create a context for.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -579,10 +591,16 @@ public Builder mergeFrom( * *
      * Required. The session to create a context for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -602,10 +620,16 @@ public java.lang.String getParent() { * *
      * Required. The session to create a context for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -625,10 +649,16 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The session to create a context for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -647,10 +677,16 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The session to create a context for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -665,10 +701,16 @@ public Builder clearParent() { * *
      * Required. The session to create a context for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java index b0047d458..8525be046 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java @@ -28,10 +28,16 @@ public interface CreateContextRequestOrBuilder * *
    * Required. The session to create a context for.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -41,10 +47,16 @@ public interface CreateContextRequestOrBuilder * *
    * Required. The session to create a context for.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java index 5a3fa1a30..83a83fdc6 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java @@ -135,7 +135,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The session to create a session entity type for.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+   * sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -158,7 +162,11 @@ public java.lang.String getParent() { * *
    * Required. The session to create a session entity type for.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+   * sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -584,7 +592,11 @@ public Builder mergeFrom( * *
      * Required. The session to create a session entity type for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -607,7 +619,11 @@ public java.lang.String getParent() { * *
      * Required. The session to create a session entity type for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -630,7 +646,11 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The session to create a session entity type for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -652,7 +672,11 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The session to create a session entity type for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -670,7 +694,11 @@ public Builder clearParent() { * *
      * Required. The session to create a session entity type for.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java index 68e7003e1..ef79c911a 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java @@ -28,7 +28,11 @@ public interface CreateSessionEntityTypeRequestOrBuilder * *
    * Required. The session to create a session entity type for.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+   * sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -41,7 +45,11 @@ public interface CreateSessionEntityTypeRequestOrBuilder * *
    * Required. The session to create a session entity type for.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+   * sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java index 67226659c..d64459356 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java @@ -118,10 +118,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The name of the session to delete all contexts from. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
+   * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
+   * ID>`.
+   * If `Environment ID` is not specified we assume default 'draft' environment.
+   * If `User ID` is not specified, we assume default '-' user.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -141,10 +147,16 @@ public java.lang.String getParent() { * *
    * Required. The name of the session to delete all contexts from. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
+   * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
+   * ID>`.
+   * If `Environment ID` is not specified we assume default 'draft' environment.
+   * If `User ID` is not specified, we assume default '-' user.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -485,10 +497,16 @@ public Builder mergeFrom( * *
      * Required. The name of the session to delete all contexts from. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
+     * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
+     * ID>`.
+     * If `Environment ID` is not specified we assume default 'draft' environment.
+     * If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -508,10 +526,16 @@ public java.lang.String getParent() { * *
      * Required. The name of the session to delete all contexts from. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
+     * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
+     * ID>`.
+     * If `Environment ID` is not specified we assume default 'draft' environment.
+     * If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -531,10 +555,16 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The name of the session to delete all contexts from. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
+     * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
+     * ID>`.
+     * If `Environment ID` is not specified we assume default 'draft' environment.
+     * If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -553,10 +583,16 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The name of the session to delete all contexts from. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
+     * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
+     * ID>`.
+     * If `Environment ID` is not specified we assume default 'draft' environment.
+     * If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -571,10 +607,16 @@ public Builder clearParent() { * *
      * Required. The name of the session to delete all contexts from. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
+     * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
+     * ID>`.
+     * If `Environment ID` is not specified we assume default 'draft' environment.
+     * If `User ID` is not specified, we assume default '-' user.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java index 43a2ea2d1..3889d7f79 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java @@ -28,10 +28,16 @@ public interface DeleteAllContextsRequestOrBuilder * *
    * Required. The name of the session to delete all contexts from. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
+   * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
+   * ID>`.
+   * If `Environment ID` is not specified we assume default 'draft' environment.
+   * If `User ID` is not specified, we assume default '-' user.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -41,10 +47,16 @@ public interface DeleteAllContextsRequestOrBuilder * *
    * Required. The name of the session to delete all contexts from. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
+   * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
+   * ID>`.
+   * If `Environment ID` is not specified we assume default 'draft' environment.
+   * If `User ID` is not specified, we assume default '-' user.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java index d0930003a..57b18790c 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java @@ -118,7 +118,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The name of the context to delete. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -143,7 +147,11 @@ public java.lang.String getName() { * *
    * Required. The name of the context to delete. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -488,7 +496,11 @@ public Builder mergeFrom( * *
      * Required. The name of the context to delete. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -513,7 +525,11 @@ public java.lang.String getName() { * *
      * Required. The name of the context to delete. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -538,7 +554,11 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The name of the context to delete. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -562,7 +582,11 @@ public Builder setName(java.lang.String value) { * *
      * Required. The name of the context to delete. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -582,7 +606,11 @@ public Builder clearName() { * *
      * Required. The name of the context to delete. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java index 232c7900a..ce0d5bea1 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java @@ -28,7 +28,11 @@ public interface DeleteContextRequestOrBuilder * *
    * Required. The name of the context to delete. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -43,7 +47,11 @@ public interface DeleteContextRequestOrBuilder * *
    * Required. The name of the context to delete. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java index b5946ef5e..b7f18bd72 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java @@ -120,7 +120,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The name of the entity type to delete. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -146,7 +150,11 @@ public java.lang.String getName() { *
    * Required. The name of the entity type to delete. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -496,7 +504,11 @@ public Builder mergeFrom( *
      * Required. The name of the entity type to delete. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -522,7 +534,11 @@ public java.lang.String getName() { *
      * Required. The name of the entity type to delete. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -548,7 +564,11 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The name of the entity type to delete. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -573,7 +593,11 @@ public Builder setName(java.lang.String value) { *
      * Required. The name of the entity type to delete. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -594,7 +618,11 @@ public Builder clearName() { *
      * Required. The name of the entity type to delete. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java index 6396e6298..bbc24cb55 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java @@ -29,7 +29,11 @@ public interface DeleteSessionEntityTypeRequestOrBuilder *
    * Required. The name of the entity type to delete. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -45,7 +49,11 @@ public interface DeleteSessionEntityTypeRequestOrBuilder *
    * Required. The name of the entity type to delete. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java index 9b5006419..baab36386 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java @@ -189,10 +189,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The name of the session this query is sent to. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-   * caller to choose an appropriate session ID. It can be a random number or
-   * some type of user identifier (preferably hashed). The length of the session
-   * ID must not exceed 36 bytes.
+   * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+   * default 'draft' environment. If `User ID` is not specified, we are using
+   * "-". It's up to the API caller to choose an appropriate `Session ID` and
+   * `User Id`. They can be a random number or some type of user and session
+   * identifiers (preferably hashed). The length of the `Session ID` and
+   * `User ID` must not exceed 36 characters.
    * 
* * @@ -217,10 +221,14 @@ public java.lang.String getSession() { * *
    * Required. The name of the session this query is sent to. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-   * caller to choose an appropriate session ID. It can be a random number or
-   * some type of user identifier (preferably hashed). The length of the session
-   * ID must not exceed 36 bytes.
+   * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+   * default 'draft' environment. If `User ID` is not specified, we are using
+   * "-". It's up to the API caller to choose an appropriate `Session ID` and
+   * `User Id`. They can be a random number or some type of user and session
+   * identifiers (preferably hashed). The length of the `Session ID` and
+   * `User ID` must not exceed 36 characters.
    * 
* * @@ -930,10 +938,14 @@ public Builder mergeFrom( * *
      * Required. The name of the session this query is sent to. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate session ID. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 bytes.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* * @@ -958,10 +970,14 @@ public java.lang.String getSession() { * *
      * Required. The name of the session this query is sent to. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate session ID. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 bytes.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* * @@ -986,10 +1002,14 @@ public com.google.protobuf.ByteString getSessionBytes() { * *
      * Required. The name of the session this query is sent to. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate session ID. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 bytes.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* * @@ -1013,10 +1033,14 @@ public Builder setSession(java.lang.String value) { * *
      * Required. The name of the session this query is sent to. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate session ID. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 bytes.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* * @@ -1036,10 +1060,14 @@ public Builder clearSession() { * *
      * Required. The name of the session this query is sent to. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate session ID. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 bytes.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java index 8f5bbf026..df826a768 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java @@ -28,10 +28,14 @@ public interface DetectIntentRequestOrBuilder * *
    * Required. The name of the session this query is sent to. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-   * caller to choose an appropriate session ID. It can be a random number or
-   * some type of user identifier (preferably hashed). The length of the session
-   * ID must not exceed 36 bytes.
+   * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+   * default 'draft' environment. If `User ID` is not specified, we are using
+   * "-". It's up to the API caller to choose an appropriate `Session ID` and
+   * `User Id`. They can be a random number or some type of user and session
+   * identifiers (preferably hashed). The length of the `Session ID` and
+   * `User ID` must not exceed 36 characters.
    * 
* * @@ -46,10 +50,14 @@ public interface DetectIntentRequestOrBuilder * *
    * Required. The name of the session this query is sent to. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-   * caller to choose an appropriate session ID. It can be a random number or
-   * some type of user identifier (preferably hashed). The length of the session
-   * ID must not exceed 36 bytes.
+   * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+   * default 'draft' environment. If `User ID` is not specified, we are using
+   * "-". It's up to the API caller to choose an appropriate `Session ID` and
+   * `User Id`. They can be a random number or some type of user and session
+   * identifiers (preferably hashed). The length of the `Session ID` and
+   * `User ID` must not exceed 36 characters.
    * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java index 5016da4dd..dc0cb2fcf 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java @@ -169,7 +169,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tityType\022\032\n\rentity_values\030\002 \003(\tB\003\340A\002\022\032\n\r" + "language_code\030\003 \001(\tB\003\340A\001\"O\n\017EntityTypeBa" + "tch\022<\n\014entity_types\030\001 \003(\0132&.google.cloud" - + ".dialogflow.v2.EntityType2\344\023\n\013EntityType" + + ".dialogflow.v2.EntityType2\200\024\n\013EntityType" + "s\022\315\001\n\017ListEntityTypes\0222.google.cloud.dia" + "logflow.v2.ListEntityTypesRequest\0323.goog" + "le.cloud.dialogflow.v2.ListEntityTypesRe" @@ -202,42 +202,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ojects/*/agent}/entityTypes:batchUpdate:" + "\001*\312AS\n9google.cloud.dialogflow.v2.BatchU" + "pdateEntityTypesResponse\022\026google.protobu" - + "f.Struct\022\346\001\n\026BatchDeleteEntityTypes\0229.go" + + "f.Struct\022\202\002\n\026BatchDeleteEntityTypes\0229.go" + "ogle.cloud.dialogflow.v2.BatchDeleteEnti" + "tyTypesRequest\032\035.google.longrunning.Oper" - + "ation\"r\202\323\344\223\002:\"5/v2/{parent=projects/*/ag" - + "ent}/entityTypes:batchDelete:\001*\312A/\n\025goog" - + "le.protobuf.Empty\022\026google.protobuf.Struc" - + "t\022\236\002\n\023BatchCreateEntities\0226.google.cloud" - + ".dialogflow.v2.BatchCreateEntitiesReques" - + "t\032\035.google.longrunning.Operation\"\257\001\202\323\344\223\002" - + "E\"@/v2/{parent=projects/*/agent/entityTy" - + "pes/*}/entities:batchCreate:\001*\332A\017parent," - + "entities\332A\035parent,entities,language_code" - + "\312A/\n\025google.protobuf.Empty\022\026google.proto" - + "buf.Struct\022\236\002\n\023BatchUpdateEntities\0226.goo" - + "gle.cloud.dialogflow.v2.BatchUpdateEntit" - + "iesRequest\032\035.google.longrunning.Operatio" - + "n\"\257\001\202\323\344\223\002E\"@/v2/{parent=projects/*/agent" - + "/entityTypes/*}/entities:batchUpdate:\001*\332" - + "A\017parent,entities\332A\035parent,entities,lang" - + "uage_code\312A/\n\025google.protobuf.Empty\022\026goo" - + "gle.protobuf.Struct\022\250\002\n\023BatchDeleteEntit" - + "ies\0226.google.cloud.dialogflow.v2.BatchDe" - + "leteEntitiesRequest\032\035.google.longrunning" - + ".Operation\"\271\001\202\323\344\223\002E\"@/v2/{parent=project" - + "s/*/agent/entityTypes/*}/entities:batchD" - + "elete:\001*\332A\024parent,entity_values\332A\"parent" - + ",entity_values,language_code\312A/\n\025google." - + "protobuf.Empty\022\026google.protobuf.Struct\032x" - + "\312A\031dialogflow.googleapis.com\322AYhttps://w" - + "ww.googleapis.com/auth/cloud-platform,ht" - + "tps://www.googleapis.com/auth/dialogflow" - + "B\236\001\n\036com.google.cloud.dialogflow.v2B\017Ent" - + "ityTypeProtoP\001ZDgoogle.golang.org/genpro" - + "to/googleapis/cloud/dialogflow/v2;dialog" - + "flow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V" - + "2b\006proto3" + + "ation\"\215\001\202\323\344\223\002:\"5/v2/{parent=projects/*/a" + + "gent}/entityTypes:batchDelete:\001*\332A\030paren" + + "t,entity_type_names\312A/\n\025google.protobuf." + + "Empty\022\026google.protobuf.Struct\022\236\002\n\023BatchC" + + "reateEntities\0226.google.cloud.dialogflow." + + "v2.BatchCreateEntitiesRequest\032\035.google.l" + + "ongrunning.Operation\"\257\001\202\323\344\223\002E\"@/v2/{pare" + + "nt=projects/*/agent/entityTypes/*}/entit" + + "ies:batchCreate:\001*\332A\017parent,entities\332A\035p" + + "arent,entities,language_code\312A/\n\025google." + + "protobuf.Empty\022\026google.protobuf.Struct\022\236" + + "\002\n\023BatchUpdateEntities\0226.google.cloud.di" + + "alogflow.v2.BatchUpdateEntitiesRequest\032\035" + + ".google.longrunning.Operation\"\257\001\202\323\344\223\002E\"@" + + "/v2/{parent=projects/*/agent/entityTypes" + + "/*}/entities:batchUpdate:\001*\332A\017parent,ent" + + "ities\332A\035parent,entities,language_code\312A/" + + "\n\025google.protobuf.Empty\022\026google.protobuf" + + ".Struct\022\250\002\n\023BatchDeleteEntities\0226.google" + + ".cloud.dialogflow.v2.BatchDeleteEntities" + + "Request\032\035.google.longrunning.Operation\"\271" + + "\001\202\323\344\223\002E\"@/v2/{parent=projects/*/agent/en" + + "tityTypes/*}/entities:batchDelete:\001*\332A\024p" + + "arent,entity_values\332A\"parent,entity_valu" + + "es,language_code\312A/\n\025google.protobuf.Emp" + + "ty\022\026google.protobuf.Struct\032x\312A\031dialogflo" + + "w.googleapis.com\322AYhttps://www.googleapi" + + "s.com/auth/cloud-platform,https://www.go" + + "ogleapis.com/auth/dialogflowB\236\001\n\036com.goo" + + "gle.cloud.dialogflow.v2B\017EntityTypeProto" + + "P\001ZDgoogle.golang.org/genproto/googleapi" + + "s/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF" + + "\252\002\032Google.Cloud.Dialogflow.V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java index 1640526d1..3cb1d681f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java @@ -118,7 +118,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The name of the context. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -143,7 +147,11 @@ public java.lang.String getName() { * *
    * Required. The name of the context. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -487,7 +495,11 @@ public Builder mergeFrom( * *
      * Required. The name of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -512,7 +524,11 @@ public java.lang.String getName() { * *
      * Required. The name of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -537,7 +553,11 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The name of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -561,7 +581,11 @@ public Builder setName(java.lang.String value) { * *
      * Required. The name of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -581,7 +605,11 @@ public Builder clearName() { * *
      * Required. The name of the context. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+     * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+     * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java index 2f5787de2..767a340af 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java @@ -28,7 +28,11 @@ public interface GetContextRequestOrBuilder * *
    * Required. The name of the context. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -43,7 +47,11 @@ public interface GetContextRequestOrBuilder * *
    * Required. The name of the context. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+   * `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
+   * or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>/contexts/<Context ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java index c9e553cee..7360718b3 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java @@ -119,7 +119,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The name of the session entity type. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -145,7 +149,11 @@ public java.lang.String getName() { *
    * Required. The name of the session entity type. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -492,7 +500,11 @@ public Builder mergeFrom( *
      * Required. The name of the session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -518,7 +530,11 @@ public java.lang.String getName() { *
      * Required. The name of the session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -544,7 +560,11 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The name of the session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -569,7 +589,11 @@ public Builder setName(java.lang.String value) { *
      * Required. The name of the session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * @@ -590,7 +614,11 @@ public Builder clearName() { *
      * Required. The name of the session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java index e0d3d1a7c..29eb323f5 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java @@ -29,7 +29,11 @@ public interface GetSessionEntityTypeRequestOrBuilder *
    * Required. The name of the session entity type. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * @@ -45,7 +49,11 @@ public interface GetSessionEntityTypeRequestOrBuilder *
    * Required. The name of the session entity type. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequest.java index 58ffafa46..8aad4be3c 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequest.java @@ -129,7 +129,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Format: `projects/<Project ID>`. *
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -152,7 +154,9 @@ public java.lang.String getParent() { * Format: `projects/<Project ID>`. *
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -567,7 +571,9 @@ public Builder mergeFrom( * Format: `projects/<Project ID>`. *
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -590,7 +596,9 @@ public java.lang.String getParent() { * Format: `projects/<Project ID>`. *
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -613,7 +621,9 @@ public com.google.protobuf.ByteString getParentBytes() { * Format: `projects/<Project ID>`. *
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -635,7 +645,9 @@ public Builder setParent(java.lang.String value) { * Format: `projects/<Project ID>`. *
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -653,7 +665,9 @@ public Builder clearParent() { * Format: `projects/<Project ID>`. *
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequestOrBuilder.java index 6cafa5361..ef7e253bd 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequestOrBuilder.java @@ -31,7 +31,9 @@ public interface GetValidationResultRequestOrBuilder * Format: `projects/<Project ID>`. *
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -44,7 +46,9 @@ public interface GetValidationResultRequestOrBuilder * Format: `projects/<Project ID>`. *
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java index d02c1cf84..58d4e8713 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java @@ -297,13 +297,13 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-   * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
+   * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
    * [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech
    * words, e.g. start and end time offsets. If false or unspecified, Speech
    * doesn't return any word-level information.
    * 
* - * bool enable_word_info = 13 [(.google.api.field_behavior) = OPTIONAL]; + * bool enable_word_info = 13; * * @return The enableWordInfo. */ @@ -317,7 +317,7 @@ public boolean getEnableWordInfo() { * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -327,9 +327,7 @@ public boolean getEnableWordInfo() {
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return A list containing the phraseHints. */ @@ -341,7 +339,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -351,9 +349,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() {
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return The count of phraseHints. */ @@ -365,7 +361,7 @@ public int getPhraseHintsCount() { * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -375,9 +371,7 @@ public int getPhraseHintsCount() {
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the element to return. * @return The phraseHints at the given index. @@ -390,7 +384,7 @@ public java.lang.String getPhraseHints(int index) { * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -400,9 +394,7 @@ public java.lang.String getPhraseHints(int index) {
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the value to return. * @return The bytes of the phraseHints at the given index. @@ -418,15 +410,13 @@ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) { * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public java.util.List getSpeechContextsList() { return speechContexts_; @@ -435,15 +425,13 @@ public java.util.List getSpeechCon * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public java.util.List getSpeechContextsOrBuilderList() { @@ -453,15 +441,13 @@ public java.util.List getSpeechCon * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public int getSpeechContextsCount() { return speechContexts_.size(); @@ -470,15 +456,13 @@ public int getSpeechContextsCount() { * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public com.google.cloud.dialogflow.v2.SpeechContext getSpeechContexts(int index) { return speechContexts_.get(index); @@ -487,15 +471,13 @@ public com.google.cloud.dialogflow.v2.SpeechContext getSpeechContexts(int index) * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public com.google.cloud.dialogflow.v2.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index) { @@ -508,7 +490,7 @@ public com.google.cloud.dialogflow.v2.SpeechContextOrBuilder getSpeechContextsOr * * *
-   * Optional. Which Speech model to select for the given request. Select the
+   * Which Speech model to select for the given request. Select the
    * model best suited to your domain to get best results. If a model is not
    * explicitly specified, then we auto-select a model based on the parameters
    * in the InputAudioConfig.
@@ -521,7 +503,7 @@ public com.google.cloud.dialogflow.v2.SpeechContextOrBuilder getSpeechContextsOr
    * for more details.
    * 
* - * string model = 7 [(.google.api.field_behavior) = OPTIONAL]; + * string model = 7; * * @return The model. */ @@ -540,7 +522,7 @@ public java.lang.String getModel() { * * *
-   * Optional. Which Speech model to select for the given request. Select the
+   * Which Speech model to select for the given request. Select the
    * model best suited to your domain to get best results. If a model is not
    * explicitly specified, then we auto-select a model based on the parameters
    * in the InputAudioConfig.
@@ -553,7 +535,7 @@ public java.lang.String getModel() {
    * for more details.
    * 
* - * string model = 7 [(.google.api.field_behavior) = OPTIONAL]; + * string model = 7; * * @return The bytes for model. */ @@ -575,7 +557,7 @@ public com.google.protobuf.ByteString getModelBytes() { * * *
-   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
+   * Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; @@ -589,7 +571,7 @@ public int getModelVariantValue() { * * *
-   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
+   * Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; @@ -609,7 +591,7 @@ public com.google.cloud.dialogflow.v2.SpeechModelVariant getModelVariant() { * * *
-   * Optional. If `false` (default), recognition does not cease until the
+   * If `false` (default), recognition does not cease until the
    * client closes the stream.
    * If `true`, the recognizer will detect a single spoken utterance in input
    * audio. Recognition ceases when it detects the audio's voice has
@@ -1416,13 +1398,13 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
+     * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
      * [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech
      * words, e.g. start and end time offsets. If false or unspecified, Speech
      * doesn't return any word-level information.
      * 
* - * bool enable_word_info = 13 [(.google.api.field_behavior) = OPTIONAL]; + * bool enable_word_info = 13; * * @return The enableWordInfo. */ @@ -1433,13 +1415,13 @@ public boolean getEnableWordInfo() { * * *
-     * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
+     * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
      * [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech
      * words, e.g. start and end time offsets. If false or unspecified, Speech
      * doesn't return any word-level information.
      * 
* - * bool enable_word_info = 13 [(.google.api.field_behavior) = OPTIONAL]; + * bool enable_word_info = 13; * * @param value The enableWordInfo to set. * @return This builder for chaining. @@ -1454,13 +1436,13 @@ public Builder setEnableWordInfo(boolean value) { * * *
-     * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
+     * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
      * [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech
      * words, e.g. start and end time offsets. If false or unspecified, Speech
      * doesn't return any word-level information.
      * 
* - * bool enable_word_info = 13 [(.google.api.field_behavior) = OPTIONAL]; + * bool enable_word_info = 13; * * @return This builder for chaining. */ @@ -1484,7 +1466,7 @@ private void ensurePhraseHintsIsMutable() { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1494,9 +1476,7 @@ private void ensurePhraseHintsIsMutable() {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return A list containing the phraseHints. */ @@ -1508,7 +1488,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1518,9 +1498,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return The count of phraseHints. */ @@ -1532,7 +1510,7 @@ public int getPhraseHintsCount() { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1542,9 +1520,7 @@ public int getPhraseHintsCount() {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the element to return. * @return The phraseHints at the given index. @@ -1557,7 +1533,7 @@ public java.lang.String getPhraseHints(int index) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1567,9 +1543,7 @@ public java.lang.String getPhraseHints(int index) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the value to return. * @return The bytes of the phraseHints at the given index. @@ -1582,7 +1556,7 @@ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1592,9 +1566,7 @@ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index to set the value at. * @param value The phraseHints to set. @@ -1614,7 +1586,7 @@ public Builder setPhraseHints(int index, java.lang.String value) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1624,9 +1596,7 @@ public Builder setPhraseHints(int index, java.lang.String value) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param value The phraseHints to add. * @return This builder for chaining. @@ -1645,7 +1615,7 @@ public Builder addPhraseHints(java.lang.String value) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1655,9 +1625,7 @@ public Builder addPhraseHints(java.lang.String value) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param values The phraseHints to add. * @return This builder for chaining. @@ -1673,7 +1641,7 @@ public Builder addAllPhraseHints(java.lang.Iterable values) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1683,9 +1651,7 @@ public Builder addAllPhraseHints(java.lang.Iterable values) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return This builder for chaining. */ @@ -1700,7 +1666,7 @@ public Builder clearPhraseHints() { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1710,9 +1676,7 @@ public Builder clearPhraseHints() {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param value The bytes of the phraseHints to add. * @return This builder for chaining. @@ -1750,15 +1714,13 @@ private void ensureSpeechContextsIsMutable() { * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public java.util.List getSpeechContextsList() { if (speechContextsBuilder_ == null) { @@ -1771,15 +1733,13 @@ public java.util.List getSpeechCon * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public int getSpeechContextsCount() { if (speechContextsBuilder_ == null) { @@ -1792,15 +1752,13 @@ public int getSpeechContextsCount() { * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public com.google.cloud.dialogflow.v2.SpeechContext getSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1813,15 +1771,13 @@ public com.google.cloud.dialogflow.v2.SpeechContext getSpeechContexts(int index) * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public Builder setSpeechContexts( int index, com.google.cloud.dialogflow.v2.SpeechContext value) { @@ -1841,15 +1797,13 @@ public Builder setSpeechContexts( * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public Builder setSpeechContexts( int index, com.google.cloud.dialogflow.v2.SpeechContext.Builder builderForValue) { @@ -1866,15 +1820,13 @@ public Builder setSpeechContexts( * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public Builder addSpeechContexts(com.google.cloud.dialogflow.v2.SpeechContext value) { if (speechContextsBuilder_ == null) { @@ -1893,15 +1845,13 @@ public Builder addSpeechContexts(com.google.cloud.dialogflow.v2.SpeechContext va * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public Builder addSpeechContexts( int index, com.google.cloud.dialogflow.v2.SpeechContext value) { @@ -1921,15 +1871,13 @@ public Builder addSpeechContexts( * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public Builder addSpeechContexts( com.google.cloud.dialogflow.v2.SpeechContext.Builder builderForValue) { @@ -1946,15 +1894,13 @@ public Builder addSpeechContexts( * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public Builder addSpeechContexts( int index, com.google.cloud.dialogflow.v2.SpeechContext.Builder builderForValue) { @@ -1971,15 +1917,13 @@ public Builder addSpeechContexts( * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public Builder addAllSpeechContexts( java.lang.Iterable values) { @@ -1996,15 +1940,13 @@ public Builder addAllSpeechContexts( * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { @@ -2020,15 +1962,13 @@ public Builder clearSpeechContexts() { * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public Builder removeSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -2044,15 +1984,13 @@ public Builder removeSpeechContexts(int index) { * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public com.google.cloud.dialogflow.v2.SpeechContext.Builder getSpeechContextsBuilder( int index) { @@ -2062,15 +2000,13 @@ public com.google.cloud.dialogflow.v2.SpeechContext.Builder getSpeechContextsBui * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public com.google.cloud.dialogflow.v2.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index) { @@ -2084,15 +2020,13 @@ public com.google.cloud.dialogflow.v2.SpeechContextOrBuilder getSpeechContextsOr * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public java.util.List getSpeechContextsOrBuilderList() { @@ -2106,15 +2040,13 @@ public com.google.cloud.dialogflow.v2.SpeechContextOrBuilder getSpeechContextsOr * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public com.google.cloud.dialogflow.v2.SpeechContext.Builder addSpeechContextsBuilder() { return getSpeechContextsFieldBuilder() @@ -2124,15 +2056,13 @@ public com.google.cloud.dialogflow.v2.SpeechContext.Builder addSpeechContextsBui * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public com.google.cloud.dialogflow.v2.SpeechContext.Builder addSpeechContextsBuilder( int index) { @@ -2143,15 +2073,13 @@ public com.google.cloud.dialogflow.v2.SpeechContext.Builder addSpeechContextsBui * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
      * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ public java.util.List getSpeechContextsBuilderList() { @@ -2183,7 +2111,7 @@ public com.google.cloud.dialogflow.v2.SpeechContext.Builder addSpeechContextsBui * * *
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2196,7 +2124,7 @@ public com.google.cloud.dialogflow.v2.SpeechContext.Builder addSpeechContextsBui
      * for more details.
      * 
* - * string model = 7 [(.google.api.field_behavior) = OPTIONAL]; + * string model = 7; * * @return The model. */ @@ -2215,7 +2143,7 @@ public java.lang.String getModel() { * * *
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2228,7 +2156,7 @@ public java.lang.String getModel() {
      * for more details.
      * 
* - * string model = 7 [(.google.api.field_behavior) = OPTIONAL]; + * string model = 7; * * @return The bytes for model. */ @@ -2247,7 +2175,7 @@ public com.google.protobuf.ByteString getModelBytes() { * * *
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2260,7 +2188,7 @@ public com.google.protobuf.ByteString getModelBytes() {
      * for more details.
      * 
* - * string model = 7 [(.google.api.field_behavior) = OPTIONAL]; + * string model = 7; * * @param value The model to set. * @return This builder for chaining. @@ -2278,7 +2206,7 @@ public Builder setModel(java.lang.String value) { * * *
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2291,7 +2219,7 @@ public Builder setModel(java.lang.String value) {
      * for more details.
      * 
* - * string model = 7 [(.google.api.field_behavior) = OPTIONAL]; + * string model = 7; * * @return This builder for chaining. */ @@ -2305,7 +2233,7 @@ public Builder clearModel() { * * *
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2318,7 +2246,7 @@ public Builder clearModel() {
      * for more details.
      * 
* - * string model = 7 [(.google.api.field_behavior) = OPTIONAL]; + * string model = 7; * * @param value The bytes for model to set. * @return This builder for chaining. @@ -2339,7 +2267,7 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; @@ -2353,7 +2281,7 @@ public int getModelVariantValue() { * * *
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; @@ -2370,7 +2298,7 @@ public Builder setModelVariantValue(int value) { * * *
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; @@ -2389,7 +2317,7 @@ public com.google.cloud.dialogflow.v2.SpeechModelVariant getModelVariant() { * * *
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; @@ -2410,7 +2338,7 @@ public Builder setModelVariant(com.google.cloud.dialogflow.v2.SpeechModelVariant * * *
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; @@ -2429,7 +2357,7 @@ public Builder clearModelVariant() { * * *
-     * Optional. If `false` (default), recognition does not cease until the
+     * If `false` (default), recognition does not cease until the
      * client closes the stream.
      * If `true`, the recognizer will detect a single spoken utterance in input
      * audio. Recognition ceases when it detects the audio's voice has
@@ -2452,7 +2380,7 @@ public boolean getSingleUtterance() {
      *
      *
      * 
-     * Optional. If `false` (default), recognition does not cease until the
+     * If `false` (default), recognition does not cease until the
      * client closes the stream.
      * If `true`, the recognizer will detect a single spoken utterance in input
      * audio. Recognition ceases when it detects the audio's voice has
@@ -2479,7 +2407,7 @@ public Builder setSingleUtterance(boolean value) {
      *
      *
      * 
-     * Optional. If `false` (default), recognition does not cease until the
+     * If `false` (default), recognition does not cease until the
      * client closes the stream.
      * If `true`, the recognizer will detect a single spoken utterance in input
      * audio. Recognition ceases when it detects the audio's voice has
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java
index 2105059f7..8200f8588 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java
+++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java
@@ -102,13 +102,13 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
+   * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
    * [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech
    * words, e.g. start and end time offsets. If false or unspecified, Speech
    * doesn't return any word-level information.
    * 
* - * bool enable_word_info = 13 [(.google.api.field_behavior) = OPTIONAL]; + * bool enable_word_info = 13; * * @return The enableWordInfo. */ @@ -118,7 +118,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -128,9 +128,7 @@ public interface InputAudioConfigOrBuilder
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return A list containing the phraseHints. */ @@ -140,7 +138,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -150,9 +148,7 @@ public interface InputAudioConfigOrBuilder
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return The count of phraseHints. */ @@ -162,7 +158,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -172,9 +168,7 @@ public interface InputAudioConfigOrBuilder
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the element to return. * @return The phraseHints at the given index. @@ -185,7 +179,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -195,9 +189,7 @@ public interface InputAudioConfigOrBuilder
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the value to return. * @return The bytes of the phraseHints at the given index. @@ -209,60 +201,52 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ java.util.List getSpeechContextsList(); /** * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ com.google.cloud.dialogflow.v2.SpeechContext getSpeechContexts(int index); /** * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ int getSpeechContextsCount(); /** * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ java.util.List getSpeechContextsOrBuilderList(); @@ -270,15 +254,13 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
    * 
* - * - * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11; */ com.google.cloud.dialogflow.v2.SpeechContextOrBuilder getSpeechContextsOrBuilder(int index); @@ -286,7 +268,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Which Speech model to select for the given request. Select the
+   * Which Speech model to select for the given request. Select the
    * model best suited to your domain to get best results. If a model is not
    * explicitly specified, then we auto-select a model based on the parameters
    * in the InputAudioConfig.
@@ -299,7 +281,7 @@ public interface InputAudioConfigOrBuilder
    * for more details.
    * 
* - * string model = 7 [(.google.api.field_behavior) = OPTIONAL]; + * string model = 7; * * @return The model. */ @@ -308,7 +290,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Which Speech model to select for the given request. Select the
+   * Which Speech model to select for the given request. Select the
    * model best suited to your domain to get best results. If a model is not
    * explicitly specified, then we auto-select a model based on the parameters
    * in the InputAudioConfig.
@@ -321,7 +303,7 @@ public interface InputAudioConfigOrBuilder
    * for more details.
    * 
* - * string model = 7 [(.google.api.field_behavior) = OPTIONAL]; + * string model = 7; * * @return The bytes for model. */ @@ -331,7 +313,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
+   * Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; @@ -343,7 +325,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
+   * Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; @@ -356,7 +338,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. If `false` (default), recognition does not cease until the
+   * If `false` (default), recognition does not cease until the
    * client closes the stream.
    * If `true`, the recognizer will detect a single spoken utterance in input
    * audio. Recognition ceases when it detects the audio's voice has
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java
index 6bfe00821..c48665690 100644
--- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java
+++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java
@@ -47502,6 +47502,7 @@ public com.google.protobuf.ByteString getInputContextNamesBytes(int index) {
    * Optional. The collection of event names that trigger the intent.
    * If the collection of input contexts is not empty, all of the contexts must
    * be present in the active user session for an event to trigger this intent.
+   * Event names are limited to 150 characters.
    * 
* * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -47518,6 +47519,7 @@ public com.google.protobuf.ProtocolStringList getEventsList() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -47534,6 +47536,7 @@ public int getEventsCount() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -47551,6 +47554,7 @@ public java.lang.String getEvents(int index) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -49822,6 +49826,7 @@ private void ensureEventsIsMutable() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -49838,6 +49843,7 @@ public com.google.protobuf.ProtocolStringList getEventsList() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -49854,6 +49860,7 @@ public int getEventsCount() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -49871,6 +49878,7 @@ public java.lang.String getEvents(int index) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -49888,6 +49896,7 @@ public com.google.protobuf.ByteString getEventsBytes(int index) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -49912,6 +49921,7 @@ public Builder setEvents(int index, java.lang.String value) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -49935,6 +49945,7 @@ public Builder addEvents(java.lang.String value) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -49955,6 +49966,7 @@ public Builder addAllEvents(java.lang.Iterable values) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -49974,6 +49986,7 @@ public Builder clearEvents() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java index 3d403cfd3..a7ebbef92 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java @@ -222,6 +222,7 @@ public interface IntentOrBuilder * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -236,6 +237,7 @@ public interface IntentOrBuilder * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -250,6 +252,7 @@ public interface IntentOrBuilder * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -265,6 +268,7 @@ public interface IntentOrBuilder * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. * * * repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java index c8b636e18..d620c40ed 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java @@ -131,7 +131,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The session to list all contexts from.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -154,7 +158,11 @@ public java.lang.String getParent() { * *
    * Required. The session to list all contexts from.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -593,7 +601,11 @@ public Builder mergeFrom( * *
      * Required. The session to list all contexts from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -616,7 +628,11 @@ public java.lang.String getParent() { * *
      * Required. The session to list all contexts from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -639,7 +655,11 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The session to list all contexts from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -661,7 +681,11 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The session to list all contexts from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -679,7 +703,11 @@ public Builder clearParent() { * *
      * Required. The session to list all contexts from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java index 600b0e7ac..03c8ecd12 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java @@ -28,7 +28,11 @@ public interface ListContextsRequestOrBuilder * *
    * Required. The session to list all contexts from.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -41,7 +45,11 @@ public interface ListContextsRequestOrBuilder * *
    * Required. The session to list all contexts from.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java index 97a3e752b..258bfe8d4 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java @@ -131,7 +131,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The session to list all session entity types from.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+   * sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -154,7 +158,11 @@ public java.lang.String getParent() { * *
    * Required. The session to list all session entity types from.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+   * sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -596,7 +604,11 @@ public Builder mergeFrom( * *
      * Required. The session to list all session entity types from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -619,7 +631,11 @@ public java.lang.String getParent() { * *
      * Required. The session to list all session entity types from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -642,7 +658,11 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The session to list all session entity types from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -664,7 +684,11 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The session to list all session entity types from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -682,7 +706,11 @@ public Builder clearParent() { * *
      * Required. The session to list all session entity types from.
-     * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+     * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+     * sessions/<Session ID>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java index 41f671bca..f122422c0 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java @@ -28,7 +28,11 @@ public interface ListSessionEntityTypesRequestOrBuilder * *
    * Required. The session to list all session entity types from.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+   * sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -41,7 +45,11 @@ public interface ListSessionEntityTypesRequestOrBuilder * *
    * Required. The session to list all session entity types from.
-   * Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
+   * Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
+   * sessions/<Session ID>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java index 8f26b8d98..f5ef8af27 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java @@ -321,7 +321,11 @@ private EntityOverrideMode(int value) { *
    * Required. The unique identifier of this session entity type. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * `<Entity Type Display Name>` must be the display name of an existing entity
    * type in the same agent that will be overridden or supplemented.
    * 
@@ -347,7 +351,11 @@ public java.lang.String getName() { *
    * Required. The unique identifier of this session entity type. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * `<Entity Type Display Name>` must be the display name of an existing entity
    * type in the same agent that will be overridden or supplemented.
    * 
@@ -898,7 +906,11 @@ public Builder mergeFrom( *
      * Required. The unique identifier of this session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * `<Entity Type Display Name>` must be the display name of an existing entity
      * type in the same agent that will be overridden or supplemented.
      * 
@@ -924,7 +936,11 @@ public java.lang.String getName() { *
      * Required. The unique identifier of this session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * `<Entity Type Display Name>` must be the display name of an existing entity
      * type in the same agent that will be overridden or supplemented.
      * 
@@ -950,7 +966,11 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The unique identifier of this session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * `<Entity Type Display Name>` must be the display name of an existing entity
      * type in the same agent that will be overridden or supplemented.
      * 
@@ -975,7 +995,11 @@ public Builder setName(java.lang.String value) { *
      * Required. The unique identifier of this session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * `<Entity Type Display Name>` must be the display name of an existing entity
      * type in the same agent that will be overridden or supplemented.
      * 
@@ -996,7 +1020,11 @@ public Builder clearName() { *
      * Required. The unique identifier of this session entity type. Format:
      * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
+     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+     * Name>`.
+     * If `Environment ID` is not specified, we assume default 'draft'
+     * environment. If `User ID` is not specified, we assume default '-' user.
      * `<Entity Type Display Name>` must be the display name of an existing entity
      * type in the same agent that will be overridden or supplemented.
      * 
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeOrBuilder.java index 58fabb598..e81cec76f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeOrBuilder.java @@ -29,7 +29,11 @@ public interface SessionEntityTypeOrBuilder *
    * Required. The unique identifier of this session entity type. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * `<Entity Type Display Name>` must be the display name of an existing entity
    * type in the same agent that will be overridden or supplemented.
    * 
@@ -45,7 +49,11 @@ public interface SessionEntityTypeOrBuilder *
    * Required. The unique identifier of this session entity type. Format:
    * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
+   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
+   * Name>`.
+   * If `Environment ID` is not specified, we assume default 'draft'
+   * environment. If `User ID` is not specified, we assume default '-' user.
    * `<Entity Type Display Name>` must be the display name of an existing entity
    * type in the same agent that will be overridden or supplemented.
    * 
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java index 5c3a63d85..60402f49f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java @@ -101,43 +101,55 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protob" + "uf.FieldMaskB\003\340A\001\"Y\n\036DeleteSessionEntity" + "TypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialo" - + "gflow.googleapis.com/Context2\326\t\n\022Session" - + "EntityTypes\022\326\001\n\026ListSessionEntityTypes\0229" + + "gflow.googleapis.com/Context2\274\r\n\022Session" + + "EntityTypes\022\247\002\n\026ListSessionEntityTypes\0229" + ".google.cloud.dialogflow.v2.ListSessionE" + "ntityTypesRequest\032:.google.cloud.dialogf" - + "low.v2.ListSessionEntityTypesResponse\"E\202" - + "\323\344\223\0026\0224/v2/{parent=projects/*/agent/sess" - + "ions/*}/entityTypes\332A\006parent\022\274\001\n\024GetSess" - + "ionEntityType\0227.google.cloud.dialogflow." - + "v2.GetSessionEntityTypeRequest\032-.google." - + "cloud.dialogflow.v2.SessionEntityType\"<\202" - + "\323\344\223\0026\0224/v2/{name=projects/*/agent/sessio" - + "ns/*/entityTypes/*}\022\364\001\n\027CreateSessionEnt" - + "ityType\022:.google.cloud.dialogflow.v2.Cre" - + "ateSessionEntityTypeRequest\032-.google.clo" - + "ud.dialogflow.v2.SessionEntityType\"n\202\323\344\223" - + "\002K\"4/v2/{parent=projects/*/agent/session" - + "s/*}/entityTypes:\023session_entity_type\332A\032" - + "parent,session_entity_type\022\201\002\n\027UpdateSes" - + "sionEntityType\022:.google.cloud.dialogflow" - + ".v2.UpdateSessionEntityTypeRequest\032-.goo" - + "gle.cloud.dialogflow.v2.SessionEntityTyp" - + "e\"{\202\323\344\223\002_2H/v2/{session_entity_type.name" - + "=projects/*/agent/sessions/*/entityTypes" - + "/*}:\023session_entity_type\332A\023session_entit" - + "y_type\022\262\001\n\027DeleteSessionEntityType\022:.goo" - + "gle.cloud.dialogflow.v2.DeleteSessionEnt" - + "ityTypeRequest\032\026.google.protobuf.Empty\"C" - + "\202\323\344\223\0026*4/v2/{name=projects/*/agent/sessi" - + "ons/*/entityTypes/*}\332A\004name\032x\312A\031dialogfl" - + "ow.googleapis.com\322AYhttps://www.googleap" - + "is.com/auth/cloud-platform,https://www.g" - + "oogleapis.com/auth/dialogflowB\245\001\n\036com.go" - + "ogle.cloud.dialogflow.v2B\026SessionEntityT" - + "ypeProtoP\001ZDgoogle.golang.org/genproto/g" - + "oogleapis/cloud/dialogflow/v2;dialogflow" - + "\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2b\006p" - + "roto3" + + "low.v2.ListSessionEntityTypesResponse\"\225\001" + + "\202\323\344\223\002\205\001\0224/v2/{parent=projects/*/agent/se" + + "ssions/*}/entityTypesZM\022K/v2/{parent=pro" + + "jects/*/agent/environments/*/users/*/ses" + + "sions/*}/entityTypes\332A\006parent\022\224\002\n\024GetSes" + + "sionEntityType\0227.google.cloud.dialogflow" + + ".v2.GetSessionEntityTypeRequest\032-.google" + + ".cloud.dialogflow.v2.SessionEntityType\"\223" + + "\001\202\323\344\223\002\205\001\0224/v2/{name=projects/*/agent/ses" + + "sions/*/entityTypes/*}ZM\022K/v2/{name=proj" + + "ects/*/agent/environments/*/users/*/sess" + + "ions/*/entityTypes/*}\332A\004name\022\332\002\n\027CreateS" + + "essionEntityType\022:.google.cloud.dialogfl" + + "ow.v2.CreateSessionEntityTypeRequest\032-.g" + + "oogle.cloud.dialogflow.v2.SessionEntityT" + + "ype\"\323\001\202\323\344\223\002\257\001\"4/v2/{parent=projects/*/ag" + + "ent/sessions/*}/entityTypes:\023session_ent" + + "ity_typeZb\"K/v2/{parent=projects/*/agent" + + "/environments/*/users/*/sessions/*}/enti" + + "tyTypes:\023session_entity_type\332A\032parent,se" + + "ssion_entity_type\022\207\003\n\027UpdateSessionEntit" + + "yType\022:.google.cloud.dialogflow.v2.Updat" + + "eSessionEntityTypeRequest\032-.google.cloud" + + ".dialogflow.v2.SessionEntityType\"\200\002\202\323\344\223\002" + + "\327\0012H/v2/{session_entity_type.name=projec" + + "ts/*/agent/sessions/*/entityTypes/*}:\023se" + + "ssion_entity_typeZv2_/v2/{session_entity" + + "_type.name=projects/*/agent/environments" + + "/*/users/*/sessions/*/entityTypes/*}:\023se" + + "ssion_entity_type\332A\037session_entity_type," + + "update_mask\022\203\002\n\027DeleteSessionEntityType\022" + + ":.google.cloud.dialogflow.v2.DeleteSessi" + + "onEntityTypeRequest\032\026.google.protobuf.Em" + + "pty\"\223\001\202\323\344\223\002\205\001*4/v2/{name=projects/*/agen" + + "t/sessions/*/entityTypes/*}ZM*K/v2/{name" + + "=projects/*/agent/environments/*/users/*" + + "/sessions/*/entityTypes/*}\332A\004name\032x\312A\031di" + + "alogflow.googleapis.com\322AYhttps://www.go" + + "ogleapis.com/auth/cloud-platform,https:/" + + "/www.googleapis.com/auth/dialogflowB\245\001\n\036" + + "com.google.cloud.dialogflow.v2B\026SessionE" + + "ntityTypeProtoP\001ZDgoogle.golang.org/genp" + + "roto/googleapis/cloud/dialogflow/v2;dial" + + "ogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow" + + ".V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java index db12ceb19..523ffbaf8 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java @@ -147,65 +147,68 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "fidence\030\014 \001(\002\0220\n\017diagnostic_info\030\016 \001(\0132\027" + ".google.protobuf.Struct\022V\n\031sentiment_ana" + "lysis_result\030\021 \001(\01323.google.cloud.dialog" - + "flow.v2.SentimentAnalysisResult\"\366\002\n\034Stre" - + "amingDetectIntentRequest\022\024\n\007session\030\001 \001(" - + "\tB\003\340A\002\022A\n\014query_params\030\002 \001(\0132+.google.cl" - + "oud.dialogflow.v2.QueryParameters\022@\n\013que" - + "ry_input\030\003 \001(\0132&.google.cloud.dialogflow" - + ".v2.QueryInputB\003\340A\002\022\034\n\020single_utterance\030" - + "\004 \001(\010B\002\030\001\022J\n\023output_audio_config\030\005 \001(\0132-" - + ".google.cloud.dialogflow.v2.OutputAudioC" - + "onfig\022<\n\030output_audio_config_mask\030\007 \001(\0132" - + "\032.google.protobuf.FieldMask\022\023\n\013input_aud" - + "io\030\006 \001(\014\"\325\002\n\035StreamingDetectIntentRespon" - + "se\022\023\n\013response_id\030\001 \001(\t\022R\n\022recognition_r" - + "esult\030\002 \001(\01326.google.cloud.dialogflow.v2" - + ".StreamingRecognitionResult\022=\n\014query_res" - + "ult\030\003 \001(\0132\'.google.cloud.dialogflow.v2.Q" - + "ueryResult\022*\n\016webhook_status\030\004 \001(\0132\022.goo" - + "gle.rpc.Status\022\024\n\014output_audio\030\005 \001(\014\022J\n\023" - + "output_audio_config\030\006 \001(\0132-.google.cloud" - + ".dialogflow.v2.OutputAudioConfig\"\206\003\n\032Str" - + "eamingRecognitionResult\022X\n\014message_type\030" - + "\001 \001(\0162B.google.cloud.dialogflow.v2.Strea" - + "mingRecognitionResult.MessageType\022\022\n\ntra" - + "nscript\030\002 \001(\t\022\020\n\010is_final\030\003 \001(\010\022\022\n\nconfi" - + "dence\030\004 \001(\002\022D\n\020speech_word_info\030\007 \003(\0132*." - + "google.cloud.dialogflow.v2.SpeechWordInf" - + "o\0224\n\021speech_end_offset\030\010 \001(\0132\031.google.pr" - + "otobuf.Duration\"X\n\013MessageType\022\034\n\030MESSAG" - + "E_TYPE_UNSPECIFIED\020\000\022\016\n\nTRANSCRIPT\020\001\022\033\n\027" - + "END_OF_SINGLE_UTTERANCE\020\002\":\n\tTextInput\022\021" - + "\n\004text\030\001 \001(\tB\003\340A\002\022\032\n\rlanguage_code\030\002 \001(\t" - + "B\003\340A\002\"h\n\nEventInput\022\021\n\004name\030\001 \001(\tB\003\340A\002\022+" - + "\n\nparameters\030\002 \001(\0132\027.google.protobuf.Str" - + "uct\022\032\n\rlanguage_code\030\003 \001(\tB\003\340A\002\"F\n\036Senti" - + "mentAnalysisRequestConfig\022$\n\034analyze_que" - + "ry_text_sentiment\030\001 \001(\010\"^\n\027SentimentAnal" - + "ysisResult\022C\n\024query_text_sentiment\030\001 \001(\013" - + "2%.google.cloud.dialogflow.v2.Sentiment\"" - + "-\n\tSentiment\022\r\n\005score\030\001 \001(\002\022\021\n\tmagnitude" - + "\030\002 \001(\0022\346\003\n\010Sessions\022\312\001\n\014DetectIntent\022/.g" - + "oogle.cloud.dialogflow.v2.DetectIntentRe" - + "quest\0320.google.cloud.dialogflow.v2.Detec" - + "tIntentResponse\"W\202\323\344\223\002;\"6/v2/{session=pr" + + "flow.v2.SentimentAnalysisResult\"\234\003\n\034Stre" + + "amingDetectIntentRequest\022:\n\007session\030\001 \001(" + + "\tB)\340A\002\372A#\n!dialogflow.googleapis.com/Ses" + + "sion\022A\n\014query_params\030\002 \001(\0132+.google.clou" + + "d.dialogflow.v2.QueryParameters\022@\n\013query" + + "_input\030\003 \001(\0132&.google.cloud.dialogflow.v" + + "2.QueryInputB\003\340A\002\022\034\n\020single_utterance\030\004 " + + "\001(\010B\002\030\001\022J\n\023output_audio_config\030\005 \001(\0132-.g" + + "oogle.cloud.dialogflow.v2.OutputAudioCon" + + "fig\022<\n\030output_audio_config_mask\030\007 \001(\0132\032." + + "google.protobuf.FieldMask\022\023\n\013input_audio" + + "\030\006 \001(\014\"\325\002\n\035StreamingDetectIntentResponse" + + "\022\023\n\013response_id\030\001 \001(\t\022R\n\022recognition_res" + + "ult\030\002 \001(\01326.google.cloud.dialogflow.v2.S" + + "treamingRecognitionResult\022=\n\014query_resul" + + "t\030\003 \001(\0132\'.google.cloud.dialogflow.v2.Que" + + "ryResult\022*\n\016webhook_status\030\004 \001(\0132\022.googl" + + "e.rpc.Status\022\024\n\014output_audio\030\005 \001(\014\022J\n\023ou" + + "tput_audio_config\030\006 \001(\0132-.google.cloud.d" + + "ialogflow.v2.OutputAudioConfig\"\206\003\n\032Strea" + + "mingRecognitionResult\022X\n\014message_type\030\001 " + + "\001(\0162B.google.cloud.dialogflow.v2.Streami" + + "ngRecognitionResult.MessageType\022\022\n\ntrans" + + "cript\030\002 \001(\t\022\020\n\010is_final\030\003 \001(\010\022\022\n\nconfide" + + "nce\030\004 \001(\002\022D\n\020speech_word_info\030\007 \003(\0132*.go" + + "ogle.cloud.dialogflow.v2.SpeechWordInfo\022" + + "4\n\021speech_end_offset\030\010 \001(\0132\031.google.prot" + + "obuf.Duration\"X\n\013MessageType\022\034\n\030MESSAGE_" + + "TYPE_UNSPECIFIED\020\000\022\016\n\nTRANSCRIPT\020\001\022\033\n\027EN" + + "D_OF_SINGLE_UTTERANCE\020\002\":\n\tTextInput\022\021\n\004" + + "text\030\001 \001(\tB\003\340A\002\022\032\n\rlanguage_code\030\002 \001(\tB\003" + + "\340A\002\"h\n\nEventInput\022\021\n\004name\030\001 \001(\tB\003\340A\002\022+\n\n" + + "parameters\030\002 \001(\0132\027.google.protobuf.Struc" + + "t\022\032\n\rlanguage_code\030\003 \001(\tB\003\340A\002\"F\n\036Sentime" + + "ntAnalysisRequestConfig\022$\n\034analyze_query" + + "_text_sentiment\030\001 \001(\010\"^\n\027SentimentAnalys" + + "isResult\022C\n\024query_text_sentiment\030\001 \001(\0132%" + + ".google.cloud.dialogflow.v2.Sentiment\"-\n" + + "\tSentiment\022\r\n\005score\030\001 \001(\002\022\021\n\tmagnitude\030\002" + + " \001(\0022\274\004\n\010Sessions\022\240\002\n\014DetectIntent\022/.goo" + + "gle.cloud.dialogflow.v2.DetectIntentRequ" + + "est\0320.google.cloud.dialogflow.v2.DetectI" + + "ntentResponse\"\254\001\202\323\344\223\002\217\001\"6/v2/{session=pr" + "ojects/*/agent/sessions/*}:detectIntent:" - + "\001*\332A\023session,query_input\022\222\001\n\025StreamingDe" - + "tectIntent\0228.google.cloud.dialogflow.v2." - + "StreamingDetectIntentRequest\0329.google.cl" - + "oud.dialogflow.v2.StreamingDetectIntentR" - + "esponse\"\000(\0010\001\032x\312A\031dialogflow.googleapis." - + "com\322AYhttps://www.googleapis.com/auth/cl" - + "oud-platform,https://www.googleapis.com/" - + "auth/dialogflowB\261\002\n\036com.google.cloud.dia" - + "logflow.v2B\014SessionProtoP\001ZDgoogle.golan" - + "g.org/genproto/googleapis/cloud/dialogfl" - + "ow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud." - + "Dialogflow.V2\352A\222\001\n!dialogflow.googleapis" - + ".com/Session\022@projects/{project}/locatio" - + "ns/{location}/agent/sessions/{session}\022+" - + "projects/{project}/agent/sessions/{sessi" - + "on}b\006proto3" + + "\001*ZR\"M/v2/{session=projects/*/agent/envi" + + "ronments/*/users/*/sessions/*}:detectInt" + + "ent:\001*\332A\023session,query_input\022\222\001\n\025Streami" + + "ngDetectIntent\0228.google.cloud.dialogflow" + + ".v2.StreamingDetectIntentRequest\0329.googl" + + "e.cloud.dialogflow.v2.StreamingDetectInt" + + "entResponse\"\000(\0010\001\032x\312A\031dialogflow.googlea" + + "pis.com\322AYhttps://www.googleapis.com/aut" + + "h/cloud-platform,https://www.googleapis." + + "com/auth/dialogflowB\261\002\n\036com.google.cloud" + + ".dialogflow.v2B\014SessionProtoP\001ZDgoogle.g" + + "olang.org/genproto/googleapis/cloud/dial" + + "ogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cl" + + "oud.Dialogflow.V2\352A\222\001\n!dialogflow.google" + + "apis.com/Session\022@projects/{project}/loc" + + "ations/{location}/agent/sessions/{sessio" + + "n}\022+projects/{project}/agent/sessions/{s" + + "ession}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java index 2adf75d87..5be48abb9 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java @@ -217,13 +217,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The name of the session the query is sent to.
    * Format of the session name:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-   * caller to choose an appropriate `Session ID`. It can be a random number or
-   * some type of user identifier (preferably hashed). The length of the session
-   * ID must not exceed 36 characters.
+   * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+   * default 'draft' environment. If `User ID` is not specified, we are using
+   * "-". It's up to the API caller to choose an appropriate `Session ID` and
+   * `User Id`. They can be a random number or some type of user and session
+   * identifiers (preferably hashed). The length of the `Session ID` and
+   * `User ID` must not exceed 36 characters.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The session. */ @@ -244,13 +250,19 @@ public java.lang.String getSession() { *
    * Required. The name of the session the query is sent to.
    * Format of the session name:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-   * caller to choose an appropriate `Session ID`. It can be a random number or
-   * some type of user identifier (preferably hashed). The length of the session
-   * ID must not exceed 36 characters.
+   * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+   * default 'draft' environment. If `User ID` is not specified, we are using
+   * "-". It's up to the API caller to choose an appropriate `Session ID` and
+   * `User Id`. They can be a random number or some type of user and session
+   * identifiers (preferably hashed). The length of the `Session ID` and
+   * `User ID` must not exceed 36 characters.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for session. */ @@ -1019,13 +1031,19 @@ public Builder mergeFrom( *
      * Required. The name of the session the query is sent to.
      * Format of the session name:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate `Session ID`. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 characters.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The session. */ @@ -1046,13 +1064,19 @@ public java.lang.String getSession() { *
      * Required. The name of the session the query is sent to.
      * Format of the session name:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate `Session ID`. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 characters.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for session. */ @@ -1073,13 +1097,19 @@ public com.google.protobuf.ByteString getSessionBytes() { *
      * Required. The name of the session the query is sent to.
      * Format of the session name:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate `Session ID`. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 characters.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The session to set. * @return This builder for chaining. @@ -1099,13 +1129,19 @@ public Builder setSession(java.lang.String value) { *
      * Required. The name of the session the query is sent to.
      * Format of the session name:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate `Session ID`. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 characters.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -1121,13 +1157,19 @@ public Builder clearSession() { *
      * Required. The name of the session the query is sent to.
      * Format of the session name:
-     * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-     * caller to choose an appropriate `Session ID`. It can be a random number or
-     * some type of user identifier (preferably hashed). The length of the session
-     * ID must not exceed 36 characters.
+     * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+     * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+     * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+     * default 'draft' environment. If `User ID` is not specified, we are using
+     * "-". It's up to the API caller to choose an appropriate `Session ID` and
+     * `User Id`. They can be a random number or some type of user and session
+     * identifiers (preferably hashed). The length of the `Session ID` and
+     * `User ID` must not exceed 36 characters.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for session to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequestOrBuilder.java index 4b9ab7a66..592ff462a 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequestOrBuilder.java @@ -29,13 +29,19 @@ public interface StreamingDetectIntentRequestOrBuilder *
    * Required. The name of the session the query is sent to.
    * Format of the session name:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-   * caller to choose an appropriate `Session ID`. It can be a random number or
-   * some type of user identifier (preferably hashed). The length of the session
-   * ID must not exceed 36 characters.
+   * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+   * default 'draft' environment. If `User ID` is not specified, we are using
+   * "-". It's up to the API caller to choose an appropriate `Session ID` and
+   * `User Id`. They can be a random number or some type of user and session
+   * identifiers (preferably hashed). The length of the `Session ID` and
+   * `User ID` must not exceed 36 characters.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The session. */ @@ -46,13 +52,19 @@ public interface StreamingDetectIntentRequestOrBuilder *
    * Required. The name of the session the query is sent to.
    * Format of the session name:
-   * `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
-   * caller to choose an appropriate `Session ID`. It can be a random number or
-   * some type of user identifier (preferably hashed). The length of the session
-   * ID must not exceed 36 characters.
+   * `projects/<Project ID>/agent/sessions/<Session ID>`, or
+   * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
+   * ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
+   * default 'draft' environment. If `User ID` is not specified, we are using
+   * "-". It's up to the API caller to choose an appropriate `Session ID` and
+   * `User Id`. They can be a random number or some type of user and session
+   * identifiers (preferably hashed). The length of the `Session ID` and
+   * `User ID` must not exceed 36 characters.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for session. */ diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java index f07e734e8..d5d832570 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java @@ -140,9 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Required. The session entity type to update.
    * 
* * @@ -158,9 +156,7 @@ public boolean hasSessionEntityType() { * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Required. The session entity type to update.
    * 
* * @@ -178,9 +174,7 @@ public com.google.cloud.dialogflow.v2.SessionEntityType getSessionEntityType() { * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Required. The session entity type to update.
    * 
* * @@ -609,9 +603,7 @@ public Builder mergeFrom( * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Required. The session entity type to update.
      * 
* * @@ -627,9 +619,7 @@ public boolean hasSessionEntityType() { * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Required. The session entity type to update.
      * 
* * @@ -651,9 +641,7 @@ public com.google.cloud.dialogflow.v2.SessionEntityType getSessionEntityType() { * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Required. The session entity type to update.
      * 
* * @@ -677,9 +665,7 @@ public Builder setSessionEntityType(com.google.cloud.dialogflow.v2.SessionEntity * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Required. The session entity type to update.
      * 
* * @@ -701,9 +687,7 @@ public Builder setSessionEntityType( * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Required. The session entity type to update.
      * 
* * @@ -731,9 +715,7 @@ public Builder mergeSessionEntityType(com.google.cloud.dialogflow.v2.SessionEnti * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Required. The session entity type to update.
      * 
* * @@ -755,9 +737,7 @@ public Builder clearSessionEntityType() { * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Required. The session entity type to update.
      * 
* * @@ -773,9 +753,7 @@ public com.google.cloud.dialogflow.v2.SessionEntityType.Builder getSessionEntity * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Required. The session entity type to update.
      * 
* * @@ -796,9 +774,7 @@ public com.google.cloud.dialogflow.v2.SessionEntityType.Builder getSessionEntity * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>`.
+     * Required. The session entity type to update.
      * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequestOrBuilder.java index 8701f0dfd..94b40cba6 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequestOrBuilder.java @@ -27,9 +27,7 @@ public interface UpdateSessionEntityTypeRequestOrBuilder * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Required. The session entity type to update.
    * 
* * @@ -43,9 +41,7 @@ public interface UpdateSessionEntityTypeRequestOrBuilder * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Required. The session entity type to update.
    * 
* * @@ -59,9 +55,7 @@ public interface UpdateSessionEntityTypeRequestOrBuilder * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>`.
+   * Required. The session entity type to update.
    * 
* * diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto index 60697cc93..8c74629da 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto @@ -449,7 +449,12 @@ message RestoreAgentRequest { message GetValidationResultRequest { // Required. The project that the agent is associated with. // Format: `projects/`. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // Optional. The language for which you want a validation result. If not // specified, the agent's default language is used. [Many diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto index 632d14c35..5c850d680 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto @@ -193,13 +193,13 @@ message InputAudioConfig { // the same session do not necessarily need to specify the same language. string language_code = 3; - // Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in + // If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in // [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech // words, e.g. start and end time offsets. If false or unspecified, Speech // doesn't return any word-level information. - bool enable_word_info = 13 [(google.api.field_behavior) = OPTIONAL]; + bool enable_word_info = 13; - // Optional. A list of strings containing words and phrases that the speech + // A list of strings containing words and phrases that the speech // recognizer should recognize with higher likelihood. // // See [the Cloud Speech @@ -209,19 +209,16 @@ message InputAudioConfig { // This field is deprecated. Please use [speech_contexts]() instead. If you // specify both [phrase_hints]() and [speech_contexts](), Dialogflow will // treat the [phrase_hints]() as a single additional [SpeechContext](). - repeated string phrase_hints = 4 [ - deprecated = true, - (google.api.field_behavior) = OPTIONAL - ]; + repeated string phrase_hints = 4 [deprecated = true]; - // Optional. Context information to assist speech recognition. + // Context information to assist speech recognition. // // See [the Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. - repeated SpeechContext speech_contexts = 11 [(google.api.field_behavior) = OPTIONAL]; + repeated SpeechContext speech_contexts = 11; - // Optional. Which Speech model to select for the given request. Select the + // Which Speech model to select for the given request. Select the // model best suited to your domain to get best results. If a model is not // explicitly specified, then we auto-select a model based on the parameters // in the InputAudioConfig. @@ -232,12 +229,12 @@ message InputAudioConfig { // [Cloud Speech API // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) // for more details. - string model = 7 [(google.api.field_behavior) = OPTIONAL]; + string model = 7; - // Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use. + // Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use. SpeechModelVariant model_variant = 10; - // Optional. If `false` (default), recognition does not cease until the + // If `false` (default), recognition does not cease until the // client closes the stream. // If `true`, the recognizer will detect a single spoken utterance in input // audio. Recognition ceases when it detects the audio's voice has diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto index 7724c36e6..ebad7cd67 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto @@ -60,6 +60,9 @@ service Contexts { rpc ListContexts(ListContextsRequest) returns (ListContextsResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*/agent/sessions/*}/contexts" + additional_bindings { + get: "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts" + } }; option (google.api.method_signature) = "parent"; } @@ -68,7 +71,11 @@ service Contexts { rpc GetContext(GetContextRequest) returns (Context) { option (google.api.http) = { get: "/v2/{name=projects/*/agent/sessions/*/contexts/*}" + additional_bindings { + get: "/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}" + } }; + option (google.api.method_signature) = "name"; } // Creates a context. @@ -78,7 +85,12 @@ service Contexts { option (google.api.http) = { post: "/v2/{parent=projects/*/agent/sessions/*}/contexts" body: "context" + additional_bindings { + post: "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts" + body: "context" + } }; + option (google.api.method_signature) = "parent,context"; } // Updates the specified context. @@ -86,21 +98,34 @@ service Contexts { option (google.api.http) = { patch: "/v2/{context.name=projects/*/agent/sessions/*/contexts/*}" body: "context" + additional_bindings { + patch: "/v2/{context.name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}" + body: "context" + } }; + option (google.api.method_signature) = "context,update_mask"; } // Deletes the specified context. rpc DeleteContext(DeleteContextRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/agent/sessions/*/contexts/*}" + additional_bindings { + delete: "/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}" + } }; + option (google.api.method_signature) = "name"; } // Deletes all active contexts in the specified session. rpc DeleteAllContexts(DeleteAllContextsRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{parent=projects/*/agent/sessions/*}/contexts" + additional_bindings { + delete: "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts" + } }; + option (google.api.method_signature) = "parent"; } } @@ -112,10 +137,15 @@ message Context { }; // Required. The unique identifier of the context. Format: - // `projects//agent/sessions//contexts/`. + // `projects//agent/sessions//contexts/`, + // or `projects//agent/environments//users//sessions//contexts/`. // // The `Context ID` is always converted to lowercase, may only contain - // characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long. + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. + // + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. // // The following context names are reserved for internal use by Dialogflow. // You should not use these contexts or create contexts with these names: @@ -141,7 +171,11 @@ message Context { // The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts]. message ListContextsRequest { // Required. The session to list all contexts from. - // Format: `projects//agent/sessions/`. + // Format: `projects//agent/sessions/` or + // `projects//agent/environments//users//sessions/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. string parent = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. The maximum number of items to return in a single page. By @@ -166,7 +200,11 @@ message ListContextsResponse { // The request message for [Contexts.GetContext][google.cloud.dialogflow.v2.Contexts.GetContext]. message GetContextRequest { // Required. The name of the context. Format: - // `projects//agent/sessions//contexts/`. + // `projects//agent/sessions//contexts/` + // or `projects//agent/environments//users//sessions//contexts/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -178,8 +216,17 @@ message GetContextRequest { // The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2.Contexts.CreateContext]. message CreateContextRequest { // Required. The session to create a context for. - // Format: `projects//agent/sessions/`. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; + // Format: `projects//agent/sessions/` or + // `projects//agent/environments//users//sessions/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Context" + } + ]; // Required. The context to create. Context context = 2 [(google.api.field_behavior) = REQUIRED]; @@ -197,7 +244,11 @@ message UpdateContextRequest { // The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2.Contexts.DeleteContext]. message DeleteContextRequest { // Required. The name of the context to delete. Format: - // `projects//agent/sessions//contexts/`. + // `projects//agent/sessions//contexts/` + // or `projects//agent/environments//users//sessions//contexts/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -209,6 +260,15 @@ message DeleteContextRequest { // The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2.Contexts.DeleteAllContexts]. message DeleteAllContextsRequest { // Required. The name of the session to delete all contexts from. Format: - // `projects//agent/sessions/`. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; + // `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. + // If `Environment ID` is not specified we assume default 'draft' environment. + // If `User ID` is not specified, we assume default '-' user. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Context" + } + ]; } diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto index 9b9e226e8..7c15d742b 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto @@ -134,6 +134,7 @@ service EntityTypes { post: "/v2/{parent=projects/*/agent}/entityTypes:batchDelete" body: "*" }; + option (google.api.method_signature) = "parent,entity_type_names"; option (google.longrunning.operation_info) = { response_type: "google.protobuf.Empty" metadata_type: "google.protobuf.Struct" diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto index 85c06a611..f9a4fbcec 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto @@ -856,6 +856,7 @@ message Intent { // Optional. The collection of event names that trigger the intent. // If the collection of input contexts is not empty, all of the contexts must // be present in the active user session for an event to trigger this intent. + // Event names are limited to 150 characters. repeated string events = 8 [(google.api.field_behavior) = OPTIONAL]; // Optional. The collection of examples that the agent is diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto index 474f151fd..550c6f4ca 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto @@ -61,6 +61,10 @@ service Sessions { option (google.api.http) = { post: "/v2/{session=projects/*/agent/sessions/*}:detectIntent" body: "*" + additional_bindings { + post: "/v2/{session=projects/*/agent/environments/*/users/*/sessions/*}:detectIntent" + body: "*" + } }; option (google.api.method_signature) = "session,query_input"; } @@ -77,10 +81,14 @@ service Sessions { // The request to detect user's intent. message DetectIntentRequest { // Required. The name of the session this query is sent to. Format: - // `projects//agent/sessions/`. It's up to the API - // caller to choose an appropriate session ID. It can be a random number or - // some type of user identifier (preferably hashed). The length of the session - // ID must not exceed 36 bytes. + // `projects//agent/sessions/`, or + // `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume + // default 'draft' environment. If `User ID` is not specified, we are using + // "-". It's up to the API caller to choose an appropriate `Session ID` and + // `User Id`. They can be a random number or some type of user and session + // identifiers (preferably hashed). The length of the `Session ID` and + // `User ID` must not exceed 36 characters. string session = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -327,11 +335,20 @@ message QueryResult { message StreamingDetectIntentRequest { // Required. The name of the session the query is sent to. // Format of the session name: - // `projects//agent/sessions/`. It's up to the API - // caller to choose an appropriate `Session ID`. It can be a random number or - // some type of user identifier (preferably hashed). The length of the session - // ID must not exceed 36 characters. - string session = 1 [(google.api.field_behavior) = REQUIRED]; + // `projects//agent/sessions/`, or + // `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume + // default 'draft' environment. If `User ID` is not specified, we are using + // "-". It's up to the API caller to choose an appropriate `Session ID` and + // `User Id`. They can be a random number or some type of user and session + // identifiers (preferably hashed). The length of the `Session ID` and + // `User ID` must not exceed 36 characters. + string session = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Session" + } + ]; // The parameters of this query. QueryParameters query_params = 2; diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session_entity_type.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session_entity_type.proto index 03296dcb7..ca59b5028 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session_entity_type.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session_entity_type.proto @@ -63,6 +63,9 @@ service SessionEntityTypes { rpc ListSessionEntityTypes(ListSessionEntityTypesRequest) returns (ListSessionEntityTypesResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*/agent/sessions/*}/entityTypes" + additional_bindings { + get: "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes" + } }; option (google.api.method_signature) = "parent"; } @@ -75,7 +78,11 @@ service SessionEntityTypes { rpc GetSessionEntityType(GetSessionEntityTypeRequest) returns (SessionEntityType) { option (google.api.http) = { get: "/v2/{name=projects/*/agent/sessions/*/entityTypes/*}" + additional_bindings { + get: "/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + } }; + option (google.api.method_signature) = "name"; } // Creates a session entity type. @@ -90,6 +97,10 @@ service SessionEntityTypes { option (google.api.http) = { post: "/v2/{parent=projects/*/agent/sessions/*}/entityTypes" body: "session_entity_type" + additional_bindings { + post: "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes" + body: "session_entity_type" + } }; option (google.api.method_signature) = "parent,session_entity_type"; } @@ -103,8 +114,12 @@ service SessionEntityTypes { option (google.api.http) = { patch: "/v2/{session_entity_type.name=projects/*/agent/sessions/*/entityTypes/*}" body: "session_entity_type" + additional_bindings { + patch: "/v2/{session_entity_type.name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + body: "session_entity_type" + } }; - option (google.api.method_signature) = "session_entity_type"; + option (google.api.method_signature) = "session_entity_type,update_mask"; } // Deletes the specified session entity type. @@ -115,6 +130,9 @@ service SessionEntityTypes { rpc DeleteSessionEntityType(DeleteSessionEntityTypeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/agent/sessions/*/entityTypes/*}" + additional_bindings { + delete: "/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + } }; option (google.api.method_signature) = "name"; } @@ -156,7 +174,11 @@ message SessionEntityType { // Required. The unique identifier of this session entity type. Format: // `projects//agent/sessions//entityTypes/`. + // Display Name>`, or `projects//agent/environments//users//sessions//entityTypes/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. // // `` must be the display name of an existing entity // type in the same agent that will be overridden or supplemented. @@ -174,7 +196,11 @@ message SessionEntityType { // The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes]. message ListSessionEntityTypesRequest { // Required. The session to list all session entity types from. - // Format: `projects//agent/sessions/`. + // Format: `projects//agent/sessions/` or + // `projects//agent/environments//users// + // sessions/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. string parent = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. The maximum number of items to return in a single page. By @@ -200,7 +226,11 @@ message ListSessionEntityTypesResponse { message GetSessionEntityTypeRequest { // Required. The name of the session entity type. Format: // `projects//agent/sessions//entityTypes/`. + // Display Name>` or `projects//agent/environments//users//sessions//entityTypes/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -212,7 +242,11 @@ message GetSessionEntityTypeRequest { // The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType]. message CreateSessionEntityTypeRequest { // Required. The session to create a session entity type for. - // Format: `projects//agent/sessions/`. + // Format: `projects//agent/sessions/` or + // `projects//agent/environments//users// + // sessions/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. string parent = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The session entity type to create. @@ -221,9 +255,7 @@ message CreateSessionEntityTypeRequest { // The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType]. message UpdateSessionEntityTypeRequest { - // Required. The entity type to update. Format: - // `projects//agent/sessions//entityTypes/`. + // Required. The session entity type to update. SessionEntityType session_entity_type = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. The mask to control which fields get updated. @@ -234,7 +266,11 @@ message UpdateSessionEntityTypeRequest { message DeleteSessionEntityTypeRequest { // Required. The name of the entity type to delete. Format: // `projects//agent/sessions//entityTypes/`. + // Display Name>` or `projects//agent/environments//users//sessions//entityTypes/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' user. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/synth.metadata b/synth.metadata index e49b34554..e99f93d93 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,27 +1,29 @@ { - "updateTime": "2020-03-19T09:13:06.776960Z", + "updateTime": "2020-03-20T21:51:23.740474Z", "sources": [ { - "generator": { - "name": "artman", - "version": "1.1.1", - "dockerImage": "googleapis/artman@sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b" + "git": { + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "6c248fd13e8543f8d22cbf118d978301a9fbe2a8", + "internalRef": "302063117" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "275fbcce2c900278d487c33293a3c7e1fbcd3a34", - "internalRef": "301661567", - "log": "275fbcce2c900278d487c33293a3c7e1fbcd3a34\nfeat: pubsub/v1 add an experimental filter field to Subscription\n\nPiperOrigin-RevId: 301661567\n\nf2b18cec51d27c999ad30011dba17f3965677e9c\nFix: UpdateBackupRequest.backup is a resource, not a resource reference - remove annotation.\n\nPiperOrigin-RevId: 301636171\n\n800384063ac93a0cac3a510d41726fa4b2cd4a83\nCloud Billing Budget API v1beta1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301634389\n\n0cc6c146b660db21f04056c3d58a4b752ee445e3\nCloud Billing Budget API v1alpha1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301630018\n\nff2ea00f69065585c3ac0993c8b582af3b6fc215\nFix: Add resource definition for a parent of InspectTemplate which was otherwise missing.\n\nPiperOrigin-RevId: 301623052\n\n55fa441c9daf03173910760191646399338f2b7c\nAdd proto definition for AccessLevel, AccessPolicy, and ServicePerimeter.\n\nPiperOrigin-RevId: 301620844\n\ne7b10591c5408a67cf14ffafa267556f3290e262\nCloud Bigtable Managed Backup service and message proto files.\n\nPiperOrigin-RevId: 301585144\n\nd8e226f702f8ddf92915128c9f4693b63fb8685d\nfeat: Add time-to-live in a queue for builds\n\nPiperOrigin-RevId: 301579876\n\n430375af011f8c7a5174884f0d0e539c6ffa7675\ndocs: add missing closing backtick\n\nPiperOrigin-RevId: 301538851\n\n0e9f1f60ded9ad1c2e725e37719112f5b487ab65\nbazel: Use latest release of gax_java\n\nPiperOrigin-RevId: 301480457\n\n5058c1c96d0ece7f5301a154cf5a07b2ad03a571\nUpdate GAPIC v2 with batching parameters for Logging API\n\nPiperOrigin-RevId: 301443847\n\n" + "sha": "6c248fd13e8543f8d22cbf118d978301a9fbe2a8", + "internalRef": "302063117", + "log": "6c248fd13e8543f8d22cbf118d978301a9fbe2a8\nAdd missing resource annotations and additional_bindings to dialogflow v2 API.\n\nPiperOrigin-RevId: 302063117\n\n9a3a7f33be9eeacf7b3e98435816b7022d206bd7\nChange the service name from \"chromeos-moblab.googleapis.com\" to \"chromeosmoblab.googleapis.com\"\n\nPiperOrigin-RevId: 302060989\n\n98a339237577e3de26cb4921f75fb5c57cc7a19f\nfeat: devtools/build/v1 publish client library config annotations\n\n* add details field to some of the BuildEvents\n* add final_invocation_id and build_tool_exit_code fields to BuildStatus\n\nPiperOrigin-RevId: 302044087\n\ncfabc98c6bbbb22d1aeaf7612179c0be193b3a13\nfeat: home/graph/v1 publish client library config annotations & comment updates\n\nThis change includes adding the client library configuration annotations, updated proto comments, and some client library configuration files.\n\nPiperOrigin-RevId: 302042647\n\nc8c8c0bd15d082db9546253dbaad1087c7a9782c\nchore: use latest gapic-generator in bazel WORKSPACE.\nincluding the following commits from gapic-generator:\n- feat: take source protos in all sub-packages (#3144)\n\nPiperOrigin-RevId: 301843591\n\ne4daf5202ea31cb2cb6916fdbfa9d6bd771aeb4c\nAdd bazel file for v1 client lib generation\n\nPiperOrigin-RevId: 301802926\n\n" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "bcad3e01b69851ad682a87f8202003a1683ad73a" + "sha": "7e98e1609c91082f4eeb63b530c6468aefd18cfd", + "log": "7e98e1609c91082f4eeb63b530c6468aefd18cfd\nbuild: use checkout@v2, not v1, as this allows manual re-running of tests (#451)\n\nhttps://github.com/actions/checkout/issues/23\n" } } ], @@ -32,8 +34,7 @@ "apiName": "dialogflow", "apiVersion": "v2", "language": "java", - "generator": "gapic", - "config": "google/cloud/dialogflow/v2/artman_dialogflow_v2.yaml" + "generator": "bazel" } }, { @@ -42,8 +43,7 @@ "apiName": "dialogflow", "apiVersion": "v2beta1", "language": "java", - "generator": "gapic", - "config": "google/cloud/dialogflow/v2beta1/artman_dialogflow_v2beta1_java.yaml" + "generator": "bazel" } } ] From 7a2dd5590e5cf82e7622434bdddbd370282ad0e1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 23 Mar 2020 18:22:30 +0100 Subject: [PATCH 11/43] chore(deps): update dependency com.google.cloud:libraries-bom to v4.3.0 (#121) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `4.2.0` -> `4.3.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index a07954837..81056a0c9 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.2.0 + 4.3.0 pom import From cf7d819b9f519cbe830064e3c829f809efe26dc9 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 23 Mar 2020 19:32:54 -0700 Subject: [PATCH 12/43] chore: enable context aware commits (#123) --- synth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synth.py b/synth.py index 9189e755b..d56d8c9cf 100644 --- a/synth.py +++ b/synth.py @@ -16,6 +16,8 @@ import synthtool.languages.java as java +AUTOSYNTH_MULTIPLE_COMMITS = True + service = 'dialogflow' versions = ['v2', 'v2beta1'] config_pattern = '/google/cloud/dialogflow/{version}/artman_dialogflow_{version}.yaml' From 8c0dd0179adb77052e9b9a138b5337f0bf054982 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 24 Mar 2020 12:18:24 -0700 Subject: [PATCH 13/43] chore: regenerate README with libraries-bom 4.3.0 (#125) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/a125b45b-0076-42f9-a19b-08e11e75194b/targets --- README.md | 2 +- synth.metadata | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 6a4a07512..7dfeabce4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.2.0 + 4.3.0 pom import diff --git a/synth.metadata b/synth.metadata index e99f93d93..dd3a37136 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,29 +1,29 @@ { - "updateTime": "2020-03-20T21:51:23.740474Z", + "updateTime": "2020-03-24T18:13:59.212201Z", "sources": [ { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6c248fd13e8543f8d22cbf118d978301a9fbe2a8", - "internalRef": "302063117" + "sha": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e", + "internalRef": "302639621" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6c248fd13e8543f8d22cbf118d978301a9fbe2a8", - "internalRef": "302063117", - "log": "6c248fd13e8543f8d22cbf118d978301a9fbe2a8\nAdd missing resource annotations and additional_bindings to dialogflow v2 API.\n\nPiperOrigin-RevId: 302063117\n\n9a3a7f33be9eeacf7b3e98435816b7022d206bd7\nChange the service name from \"chromeos-moblab.googleapis.com\" to \"chromeosmoblab.googleapis.com\"\n\nPiperOrigin-RevId: 302060989\n\n98a339237577e3de26cb4921f75fb5c57cc7a19f\nfeat: devtools/build/v1 publish client library config annotations\n\n* add details field to some of the BuildEvents\n* add final_invocation_id and build_tool_exit_code fields to BuildStatus\n\nPiperOrigin-RevId: 302044087\n\ncfabc98c6bbbb22d1aeaf7612179c0be193b3a13\nfeat: home/graph/v1 publish client library config annotations & comment updates\n\nThis change includes adding the client library configuration annotations, updated proto comments, and some client library configuration files.\n\nPiperOrigin-RevId: 302042647\n\nc8c8c0bd15d082db9546253dbaad1087c7a9782c\nchore: use latest gapic-generator in bazel WORKSPACE.\nincluding the following commits from gapic-generator:\n- feat: take source protos in all sub-packages (#3144)\n\nPiperOrigin-RevId: 301843591\n\ne4daf5202ea31cb2cb6916fdbfa9d6bd771aeb4c\nAdd bazel file for v1 client lib generation\n\nPiperOrigin-RevId: 301802926\n\n" + "sha": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e", + "internalRef": "302639621", + "log": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e\nUpdate GAPIC configurations to v2 .yaml.\n\nPiperOrigin-RevId: 302639621\n\n078f222366ed344509a48f2f084944ef61476613\nFix containeranalysis v1beta1 assembly target name\n\nPiperOrigin-RevId: 302529186\n\n0be7105dc52590fa9a24e784052298ae37ce53aa\nAdd BUILD.bazel file to asset/v1p1beta1\n\nPiperOrigin-RevId: 302154871\n\n" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7e98e1609c91082f4eeb63b530c6468aefd18cfd", - "log": "7e98e1609c91082f4eeb63b530c6468aefd18cfd\nbuild: use checkout@v2, not v1, as this allows manual re-running of tests (#451)\n\nhttps://github.com/actions/checkout/issues/23\n" + "sha": "6a17abc7652e2fe563e1288c6e8c23fc260dda97", + "log": "6a17abc7652e2fe563e1288c6e8c23fc260dda97\ndocs: document the release schedule we follow (#454)\n\n\n" } } ], From 8d5e09752e2efe252d90dd6e38b02f642a929888 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 25 Mar 2020 08:56:36 -0700 Subject: [PATCH 14/43] chore: update common templates (#127) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/01397865-3755-4aac-90a2-8834d828363b/targets --- .kokoro/build.sh | 19 ++++++++++------ .kokoro/common.sh | 44 ++++++++++++++++++++++++++++++++++++++ .kokoro/dependencies.sh | 15 +++++++++---- .kokoro/linkage-monitor.sh | 22 +++++++++++++------ renovate.json | 3 ++- synth.metadata | 16 +++++++------- 6 files changed, 92 insertions(+), 27 deletions(-) create mode 100644 .kokoro/common.sh diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 765b07133..572211bea 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -20,17 +20,22 @@ scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) ## cd to the parent directory, i.e. the root of the git repo cd ${scriptDir}/.. +# include common functions +source ${scriptDir}/common.sh + # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true \ - -T 1C +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then diff --git a/.kokoro/common.sh b/.kokoro/common.sh new file mode 100644 index 000000000..a3bbc5f67 --- /dev/null +++ b/.kokoro/common.sh @@ -0,0 +1,44 @@ +#!/bin/bash +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# set -eo pipefail + +function retry_with_backoff { + attempts_left=$1 + sleep_seconds=$2 + shift 2 + command=$@ + + echo "${command}" + ${command} + exit_code=$? + + if [[ $exit_code == 0 ]] + then + return 0 + fi + + # failure + if [[ ${attempts_left} > 0 ]] + then + echo "failure (${exit_code}), sleeping ${sleep_seconds}..." + sleep ${sleep_seconds} + new_attempts=$((${attempts_left} - 1)) + new_sleep=$((${sleep_seconds} * 2)) + retry_with_backoff ${new_attempts} ${new_sleep} ${command} + fi + + return $exit_code +} diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 992583f8d..0aade871c 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -15,7 +15,13 @@ set -eo pipefail -cd github/java-dialogflow/ +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java java -version @@ -24,8 +30,9 @@ echo $JOB_TYPE export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true diff --git a/.kokoro/linkage-monitor.sh b/.kokoro/linkage-monitor.sh index 267eaad2d..759ab4e2c 100755 --- a/.kokoro/linkage-monitor.sh +++ b/.kokoro/linkage-monitor.sh @@ -17,18 +17,26 @@ set -eo pipefail # Display commands being run. set -x -cd github/java-dialogflow/ +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true # Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR JAR=linkage-monitor-latest-all-deps.jar diff --git a/renovate.json b/renovate.json index fc6412701..8ea46f0be 100644 --- a/renovate.json +++ b/renovate.json @@ -56,6 +56,7 @@ }, { "packagePatterns": [ + "^com.google.cloud:google-cloud-dialogflow", "^com.google.cloud:libraries-bom" ], "semanticCommitType": "chore", @@ -75,4 +76,4 @@ } ], "semanticCommits": true -} +} \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index dd3a37136..43ac683f3 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,29 +1,29 @@ { - "updateTime": "2020-03-24T18:13:59.212201Z", + "updateTime": "2020-03-25T09:38:06.158409Z", "sources": [ { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e", - "internalRef": "302639621" + "sha": "551cf1e6e3addcc63740427c4f9b40dedd3dac27", + "internalRef": "302792195" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e", - "internalRef": "302639621", - "log": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e\nUpdate GAPIC configurations to v2 .yaml.\n\nPiperOrigin-RevId: 302639621\n\n078f222366ed344509a48f2f084944ef61476613\nFix containeranalysis v1beta1 assembly target name\n\nPiperOrigin-RevId: 302529186\n\n0be7105dc52590fa9a24e784052298ae37ce53aa\nAdd BUILD.bazel file to asset/v1p1beta1\n\nPiperOrigin-RevId: 302154871\n\n" + "sha": "551cf1e6e3addcc63740427c4f9b40dedd3dac27", + "internalRef": "302792195", + "log": "551cf1e6e3addcc63740427c4f9b40dedd3dac27\nfeat: Add OS Config AgentEndpointService v1 PatchJobs and Tasks APIs.\n\nPiperOrigin-RevId: 302792195\n\n1df117114c73299b614dfd3ba3632bf246669336\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 302753982\n\n71d6c56a14bb433beb1237dccb48dabcd9597924\nRefresh monitoring client libraries.\nRename to Cloud Monitoring API.\nAdded support for TimeSeriesQueryLanguageCondition condition type in alert policies.\n\nPiperOrigin-RevId: 302735422\n\n25a1781c096974df99d556cc5888fefa82bc6425\nbazel: migrate all go_gapic_library targets to microgenerator implementation\n\n* update rules_go and gazelle bazel dependencies\n* update gapic-generator bazel dependency (with build file generator changes)\n\nPiperOrigin-RevId: 302730217\n\n" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6a17abc7652e2fe563e1288c6e8c23fc260dda97", - "log": "6a17abc7652e2fe563e1288c6e8c23fc260dda97\ndocs: document the release schedule we follow (#454)\n\n\n" + "sha": "ee4330a0e5f4b93978e8683fbda8e6d4148326b7", + "log": "ee4330a0e5f4b93978e8683fbda8e6d4148326b7\nchore(java_templates): mark version bumps of current library as a chore (#452)\n\nWith the samples/install-without-bom/pom.xml referencing the latest released library, we want to mark updates of this version as a chore for renovate bot.\na0d3133a5d45544a66345059eebf76933265c099\nfix(java): run mvn install with retry (#453)\n\n* fix(java): run mvn install with retry\n\n* fix invocation of command\n" } } ], From b95783bbef53d66610e4e8e4548800e03542281d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 25 Mar 2020 12:46:04 -0700 Subject: [PATCH 15/43] chore: update renovate config for shared samples parent (#128) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8dc67c4c-b602-45d4-bcb1-8c58b15f5c34/targets --- renovate.json | 3 ++- synth.metadata | 16 ++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/renovate.json b/renovate.json index 8ea46f0be..4e38fa3c1 100644 --- a/renovate.json +++ b/renovate.json @@ -57,7 +57,8 @@ { "packagePatterns": [ "^com.google.cloud:google-cloud-dialogflow", - "^com.google.cloud:libraries-bom" + "^com.google.cloud:libraries-bom", + "^com.google.cloud.samples:shared-configuration" ], "semanticCommitType": "chore", "semanticCommitScope": "deps" diff --git a/synth.metadata b/synth.metadata index 43ac683f3..5fee0e7b3 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,29 +1,29 @@ { - "updateTime": "2020-03-25T09:38:06.158409Z", + "updateTime": "2020-03-25T17:19:28.518737Z", "sources": [ { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "551cf1e6e3addcc63740427c4f9b40dedd3dac27", - "internalRef": "302792195" + "sha": "fd83ab212176a1042e8d45ea90766b3bf59ac679", + "internalRef": "302913609" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "551cf1e6e3addcc63740427c4f9b40dedd3dac27", - "internalRef": "302792195", - "log": "551cf1e6e3addcc63740427c4f9b40dedd3dac27\nfeat: Add OS Config AgentEndpointService v1 PatchJobs and Tasks APIs.\n\nPiperOrigin-RevId: 302792195\n\n1df117114c73299b614dfd3ba3632bf246669336\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 302753982\n\n71d6c56a14bb433beb1237dccb48dabcd9597924\nRefresh monitoring client libraries.\nRename to Cloud Monitoring API.\nAdded support for TimeSeriesQueryLanguageCondition condition type in alert policies.\n\nPiperOrigin-RevId: 302735422\n\n25a1781c096974df99d556cc5888fefa82bc6425\nbazel: migrate all go_gapic_library targets to microgenerator implementation\n\n* update rules_go and gazelle bazel dependencies\n* update gapic-generator bazel dependency (with build file generator changes)\n\nPiperOrigin-RevId: 302730217\n\n" + "sha": "fd83ab212176a1042e8d45ea90766b3bf59ac679", + "internalRef": "302913609", + "log": "fd83ab212176a1042e8d45ea90766b3bf59ac679\nfix: migrate osconfig/agentendpoint/v1 go_gapic_library target to microgen impl\n\nPiperOrigin-RevId: 302913609\n\n0e07113e776bdd8fcc0783372e08bb6e76cb1b5b\ndocs: Update documentation with links to smart home developer guides and reference pages. Remove outdated authorization instructions.\n\nPiperOrigin-RevId: 302892245\n\n" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "ee4330a0e5f4b93978e8683fbda8e6d4148326b7", - "log": "ee4330a0e5f4b93978e8683fbda8e6d4148326b7\nchore(java_templates): mark version bumps of current library as a chore (#452)\n\nWith the samples/install-without-bom/pom.xml referencing the latest released library, we want to mark updates of this version as a chore for renovate bot.\na0d3133a5d45544a66345059eebf76933265c099\nfix(java): run mvn install with retry (#453)\n\n* fix(java): run mvn install with retry\n\n* fix invocation of command\n" + "sha": "e36822bfa0acb355502dab391b8ef9c4f30208d8", + "log": "e36822bfa0acb355502dab391b8ef9c4f30208d8\nchore(java): treat samples shared configuration dependency update as chore (#457)\n\n\n1b4cc80a7aaf164f6241937dd87f3bd1f4149e0c\nfix: do not run node 8 CI (#456)\n\n\n" } } ], From 1ad285c5faf3ef9068af45166195f028d631b8b0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 25 Mar 2020 20:52:04 +0100 Subject: [PATCH 16/43] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.13 (#126) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.12` -> `1.0.13` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.13`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.13) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.12...v1.0.13) Fix some issues w/ Checkstyle configuration. We left the option to turn it off out.
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/install-without-bom/pom.xml | 2 +- samples/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 4175d8ca8..75c6dc0ec 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 diff --git a/samples/pom.xml b/samples/pom.xml index 968700d1a..dcea8162d 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 3ec03d695..6486fe534 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 81056a0c9..37719b6f9 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 From adf469b69fcfb837b30cb1f7bbfc559abb07f23d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 Mar 2020 00:20:39 +0100 Subject: [PATCH 17/43] deps: update dependency com.google.api:api-common to v1.9.0 (#129) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | minor | `1.8.1` -> `1.9.0` | --- ### Release Notes
googleapis/api-common-java ### [`v1.9.0`](https://togithub.com/googleapis/api-common-java/releases/v1.9.0) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.8.1...v1.9.0) 03-25-2020 14:09 PST #### New Features - Add `@BetaApi` `ApiFutres.catchingAsync()` ([#​117](https://togithub.com/googleapis/api-common-java/pull/117)) ##### Dependencies - Update guava to v28.2-android ([#​110](https://togithub.com/googleapis/api-common-java/pull/110)) - Update error_prone_annotations to v2.2.3 ([#​111](https://togithub.com/googleapis/api-common-java/pull/111))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2ef61644a..154ab98c3 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ github google-cloud-dialogflow-parent 1.93.1 - 1.8.1 + 1.9.0 1.17.0 1.54.0 1.27.2 From 5ffad26d0433ef766abd1a346d40ca1211225369 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 30 Mar 2020 19:56:41 +0200 Subject: [PATCH 18/43] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.14 (#131) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.13` -> `1.0.14` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.14`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.14) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.13...v1.0.14) - Update CheckStyle to 8.31 - Add SpotBugs
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/install-without-bom/pom.xml | 2 +- samples/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 75c6dc0ec..b51785128 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 diff --git a/samples/pom.xml b/samples/pom.xml index dcea8162d..13184ae19 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 6486fe534..472365155 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 37719b6f9..0919b15ce 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 From 4a5826cb52a33be5d42b1d4b8da6106ea3305ce0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Apr 2020 21:56:09 +0200 Subject: [PATCH 19/43] chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.0 (#133) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `4.3.0` -> `4.4.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 0919b15ce..61600b5e1 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.3.0 + 4.4.0 pom import From defc23cf088bb7fbea3a573cdf9f30acae1b98db Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 2 Apr 2020 12:24:31 -0700 Subject: [PATCH 20/43] chore: update libraries-bom to 4.4.0 (#134) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/46cdbcfa-1e99-4e4f-be05-90f447630a24/targets --- README.md | 2 +- synth.metadata | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7dfeabce4..db1544242 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.3.0 + 4.4.0 pom import diff --git a/synth.metadata b/synth.metadata index 5fee0e7b3..303fb0671 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-03-25T17:19:28.518737Z", + "updateTime": "2020-04-01T22:43:23.301561Z", "sources": [ { "git": { @@ -14,16 +14,14 @@ "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", "sha": "fd83ab212176a1042e8d45ea90766b3bf59ac679", - "internalRef": "302913609", - "log": "fd83ab212176a1042e8d45ea90766b3bf59ac679\nfix: migrate osconfig/agentendpoint/v1 go_gapic_library target to microgen impl\n\nPiperOrigin-RevId: 302913609\n\n0e07113e776bdd8fcc0783372e08bb6e76cb1b5b\ndocs: Update documentation with links to smart home developer guides and reference pages. Remove outdated authorization instructions.\n\nPiperOrigin-RevId: 302892245\n\n" + "internalRef": "302913609" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e36822bfa0acb355502dab391b8ef9c4f30208d8", - "log": "e36822bfa0acb355502dab391b8ef9c4f30208d8\nchore(java): treat samples shared configuration dependency update as chore (#457)\n\n\n1b4cc80a7aaf164f6241937dd87f3bd1f4149e0c\nfix: do not run node 8 CI (#456)\n\n\n" + "sha": "e36822bfa0acb355502dab391b8ef9c4f30208d8" } } ], From b547df9c459248d6a4bf0a06135e28f1e9a3c579 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Apr 2020 17:48:39 +0200 Subject: [PATCH 21/43] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#136) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.14` -> `1.0.15` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.15`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.15) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.14...v1.0.15) - Move some stuff around (in prep for a change to release process) pom.xml's - Add an exclude filter for SpotBugs. (disable the Java 11 surprise) - Don't fail on SpotBugs issues for now - add PMD reporting - Don't fail on PMD issues for now.
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/install-without-bom/pom.xml | 2 +- samples/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index b51785128..4bd744160 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.14 + 1.0.15 diff --git a/samples/pom.xml b/samples/pom.xml index 13184ae19..3615b24d2 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.14 + 1.0.15 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 472365155..8b552e25f 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.14 + 1.0.15 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 61600b5e1..6dc7c577b 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.14 + 1.0.15 From 7a6ddd2e6bb36198f0c870abb068fad2f91e1410 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Apr 2020 18:34:38 +0200 Subject: [PATCH 22/43] deps: update dependency org.threeten:threetenbp to v1.4.3 (#119) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | patch | `1.4.1` -> `1.4.3` | --- ### Release Notes
ThreeTen/threetenbp ### [`v1.4.3`](https://togithub.com/ThreeTen/threetenbp/releases/v1.4.3) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.4.2...v1.4.3) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information. ### [`v1.4.2`](https://togithub.com/ThreeTen/threetenbp/releases/v1.4.2) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.4.1...v1.4.2) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 154ab98c3..8595803b8 100644 --- a/pom.xml +++ b/pom.xml @@ -71,7 +71,7 @@ 3.11.4 4.13 28.2-android - 1.4.1 + 1.4.3 1.3.2 1.18
From fdd9453cc1c8e7a95b57e2fd75e3133e65767aa8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Apr 2020 20:06:20 +0200 Subject: [PATCH 23/43] chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.1 (#137) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | patch | `4.4.0` -> `4.4.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 6dc7c577b..71546573b 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.4.0 + 4.4.1 pom import From cc93b16e596e1f13164a3fde1050c6f9369d5f1f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 6 Apr 2020 11:21:38 -0700 Subject: [PATCH 24/43] docs(v2): update generated javadocs from proto annotations https://github.com/googleapis/googleapis/commit/3d52f3c126fbfc31f067a7f54737b7f0dfbce163 commit 3d52f3c126fbfc31f067a7f54737b7f0dfbce163 Author: Google APIs Date: Fri Apr 3 09:48:52 2020 -0700 Dialogflow weekly v2 library update: - Change `parent` field's resource_reference to specify child_type instead of type per client library generation requirement; - Change Session with its child resource pattern to support both projects/{project}/agent/sessions/{session} and projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}; - Fix `method_signature` - Regular documentation update Important updates are also posted at: https://cloud.google.com/dialogflow/docs/release-notes PiperOrigin-RevId: 304635286 --- .../dialogflow/v2/EntityTypesClient.java | 104 ++-- .../cloud/dialogflow/v2/IntentsClient.java | 64 +-- .../cloud/dialogflow/v2/AgentProto.java | 157 +++--- .../v2/BatchCreateEntitiesRequest.java | 77 ++- .../BatchCreateEntitiesRequestOrBuilder.java | 22 +- .../v2/BatchDeleteEntitiesRequest.java | 77 ++- .../BatchDeleteEntitiesRequestOrBuilder.java | 22 +- .../v2/BatchUpdateEntitiesRequest.java | 77 ++- .../BatchUpdateEntitiesRequestOrBuilder.java | 22 +- .../v2/BatchUpdateEntityTypesRequest.java | 77 ++- ...atchUpdateEntityTypesRequestOrBuilder.java | 22 +- .../v2/BatchUpdateIntentsRequest.java | 97 ++-- .../BatchUpdateIntentsRequestOrBuilder.java | 22 +- .../google/cloud/dialogflow/v2/Context.java | 188 +++++-- .../cloud/dialogflow/v2/ContextOrBuilder.java | 47 +- .../cloud/dialogflow/v2/ContextProto.java | 144 ++--- .../v2/CreateEntityTypeRequest.java | 77 ++- .../v2/CreateEntityTypeRequestOrBuilder.java | 22 +- .../dialogflow/v2/CreateIntentRequest.java | 77 ++- .../v2/CreateIntentRequestOrBuilder.java | 22 +- .../v2/CreateSessionEntityTypeRequest.java | 28 +- ...eateSessionEntityTypeRequestOrBuilder.java | 8 +- .../dialogflow/v2/DetectIntentRequest.java | 2 - .../cloud/dialogflow/v2/EntityTypeProto.java | 237 ++++---- .../dialogflow/v2/GetEntityTypeRequest.java | 77 ++- .../v2/GetEntityTypeRequestOrBuilder.java | 22 +- .../cloud/dialogflow/v2/GetIntentRequest.java | 77 ++- .../v2/GetIntentRequestOrBuilder.java | 22 +- .../google/cloud/dialogflow/v2/Intent.java | 235 ++------ .../cloud/dialogflow/v2/IntentOrBuilder.java | 8 +- .../cloud/dialogflow/v2/IntentProto.java | 530 +++++++++--------- .../dialogflow/v2/ListContextsRequest.java | 28 +- .../v2/ListContextsRequestOrBuilder.java | 8 +- .../dialogflow/v2/ListEntityTypesRequest.java | 77 ++- .../v2/ListEntityTypesRequestOrBuilder.java | 22 +- .../dialogflow/v2/ListIntentsRequest.java | 77 ++- .../v2/ListIntentsRequestOrBuilder.java | 22 +- .../v2/ListSessionEntityTypesRequest.java | 28 +- ...istSessionEntityTypesRequestOrBuilder.java | 8 +- .../v2/OriginalDetectIntentRequest.java | 36 +- .../OriginalDetectIntentRequestOrBuilder.java | 9 +- .../cloud/dialogflow/v2/QueryParameters.java | 84 ++- .../v2/QueryParametersOrBuilder.java | 21 +- .../dialogflow/v2/SearchAgentsRequest.java | 4 + .../dialogflow/v2/SessionEntityTypeProto.java | 148 ++--- .../cloud/dialogflow/v2/SessionProto.java | 12 +- .../v2/UpdateEntityTypeRequest.java | 77 ++- .../v2/UpdateEntityTypeRequestOrBuilder.java | 22 +- .../dialogflow/v2/UpdateIntentRequest.java | 77 ++- .../v2/UpdateIntentRequestOrBuilder.java | 22 +- .../cloud/dialogflow/v2/WebhookResponse.java | 384 ++++--------- .../v2/WebhookResponseOrBuilder.java | 96 +--- .../google/cloud/dialogflow/v2/agent.proto | 18 +- .../google/cloud/dialogflow/v2/context.proto | 27 +- .../cloud/dialogflow/v2/entity_type.proto | 96 ++-- .../google/cloud/dialogflow/v2/intent.proto | 149 ++--- .../google/cloud/dialogflow/v2/session.proto | 10 +- .../dialogflow/v2/session_entity_type.proto | 18 +- .../google/cloud/dialogflow/v2/webhook.proto | 36 +- synth.metadata | 11 +- 60 files changed, 2028 insertions(+), 2262 deletions(-) diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java index ac81a2d39..199815561 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java @@ -264,10 +264,10 @@ public final ListEntityTypesPagedResponse listEntityTypes(String parent) { * * @param parent Required. The agent to list all entity types from. Format: `projects/<Project * ID>/agent`. - * @param languageCode Optional. The language to list entity synonyms for. If not specified, the - * agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListEntityTypesPagedResponse listEntityTypes( @@ -298,10 +298,10 @@ public final ListEntityTypesPagedResponse listEntityTypes( * * @param parent Required. The agent to list all entity types from. Format: `projects/<Project * ID>/agent`. - * @param languageCode Optional. The language to list entity synonyms for. If not specified, the - * agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListEntityTypesPagedResponse listEntityTypes(String parent, String languageCode) { @@ -453,10 +453,10 @@ public final EntityType getEntityType(String name) { * * @param name Required. The name of the entity type. Format: `projects/<Project * ID>/agent/entityTypes/<EntityType ID>`. - * @param languageCode Optional. The language to retrieve entity synonyms for. If not specified, - * the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntityType getEntityType(EntityTypeName name, String languageCode) { @@ -484,10 +484,10 @@ public final EntityType getEntityType(EntityTypeName name, String languageCode) * * @param name Required. The name of the entity type. Format: `projects/<Project * ID>/agent/entityTypes/<EntityType ID>`. - * @param languageCode Optional. The language to retrieve entity synonyms for. If not specified, - * the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntityType getEntityType(String name, String languageCode) { @@ -612,10 +612,10 @@ public final EntityType createEntityType(String parent, EntityType entityType) { * @param parent Required. The agent to create a entity type for. Format: `projects/<Project * ID>/agent`. * @param entityType Required. The entity type to create. - * @param languageCode Optional. The language of entity synonyms defined in `entity_type`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntityType createEntityType( @@ -647,10 +647,10 @@ public final EntityType createEntityType( * @param parent Required. The agent to create a entity type for. Format: `projects/<Project * ID>/agent`. * @param entityType Required. The entity type to create. - * @param languageCode Optional. The language of entity synonyms defined in `entity_type`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntityType createEntityType( @@ -750,10 +750,10 @@ public final EntityType updateEntityType(EntityType entityType) { *
* * @param entityType Required. The entity type to update. - * @param languageCode Optional. The language of entity synonyms defined in `entity_type`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntityType updateEntityType(EntityType entityType, String languageCode) { @@ -1219,10 +1219,10 @@ public final OperationFuture batchCreateEntitiesAsync( * @param parent Required. The name of the entity type to create entities in. Format: * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entities Required. The entities to create. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1258,10 +1258,10 @@ public final OperationFuture batchCreateEntitiesAsync( * @param parent Required. The name of the entity type to create entities in. Format: * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entities Required. The entities to create. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1447,10 +1447,10 @@ public final OperationFuture batchUpdateEntitiesAsync( * @param parent Required. The name of the entity type to update or create entities in. Format: * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entities Required. The entities to update or create. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1487,10 +1487,10 @@ public final OperationFuture batchUpdateEntitiesAsync( * @param parent Required. The name of the entity type to update or create entities in. Format: * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entities Required. The entities to update or create. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1682,10 +1682,10 @@ public final OperationFuture batchDeleteEntitiesAsync( * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entityValues Required. The reference `values` of the entities to delete. Note that these * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1722,10 +1722,10 @@ public final OperationFuture batchDeleteEntitiesAsync( * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entityValues Required. The reference `values` of the entities to delete. Note that these * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java index b26ca27c5..3af5bb595 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java @@ -266,10 +266,10 @@ public final ListIntentsPagedResponse listIntents(String parent) { * * @param parent Required. The agent to list all intents from. Format: `projects/<Project * ID>/agent`. - * @param languageCode Optional. The language to list training phrases, parameters and rich - * messages for. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListIntentsPagedResponse listIntents(ProjectAgentName parent, String languageCode) { @@ -299,10 +299,10 @@ public final ListIntentsPagedResponse listIntents(ProjectAgentName parent, Strin * * @param parent Required. The agent to list all intents from. Format: `projects/<Project * ID>/agent`. - * @param languageCode Optional. The language to list training phrases, parameters and rich - * messages for. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListIntentsPagedResponse listIntents(String parent, String languageCode) { @@ -453,10 +453,10 @@ public final Intent getIntent(String name) { * * @param name Required. The name of the intent. Format: `projects/<Project * ID>/agent/intents/<Intent ID>`. - * @param languageCode Optional. The language to retrieve training phrases, parameters and rich - * messages for. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent getIntent(IntentName name, String languageCode) { @@ -484,10 +484,10 @@ public final Intent getIntent(IntentName name, String languageCode) { * * @param name Required. The name of the intent. Format: `projects/<Project * ID>/agent/intents/<Intent ID>`. - * @param languageCode Optional. The language to retrieve training phrases, parameters and rich - * messages for. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent getIntent(String name, String languageCode) { @@ -612,10 +612,10 @@ public final Intent createIntent(String parent, Intent intent) { * @param parent Required. The agent to create a intent for. Format: `projects/<Project * ID>/agent`. * @param intent Required. The intent to create. - * @param languageCode Optional. The language of training phrases, parameters and rich messages - * defined in `intent`. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent createIntent(ProjectAgentName parent, Intent intent, String languageCode) { @@ -646,10 +646,10 @@ public final Intent createIntent(ProjectAgentName parent, Intent intent, String * @param parent Required. The agent to create a intent for. Format: `projects/<Project * ID>/agent`. * @param intent Required. The intent to create. - * @param languageCode Optional. The language of training phrases, parameters and rich messages - * defined in `intent`. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent createIntent(String parent, Intent intent, String languageCode) { @@ -726,10 +726,10 @@ public final UnaryCallable createIntentCallable() { *
* * @param intent Required. The intent to update. - * @param languageCode Optional. The language of training phrases, parameters and rich messages - * defined in `intent`. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent updateIntent(Intent intent, String languageCode) { @@ -754,10 +754,10 @@ public final Intent updateIntent(Intent intent, String languageCode) { *
* * @param intent Required. The intent to update. - * @param languageCode Optional. The language of training phrases, parameters and rich messages - * defined in `intent`. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @param updateMask Optional. The mask to control which fields get updated. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java index 2e0388123..378ab440a 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java @@ -114,86 +114,83 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "CIFIED\020\000\022\021\n\rTIER_STANDARD\020\001\022\023\n\017TIER_ENTE" + "RPRISE\020\002\022\030\n\024TIER_ENTERPRISE_PLUS\020\003:>\352A;\n" + "\037dialogflow.googleapis.com/Agent\022\030projec" - + "ts/{project}/agent\"V\n\017GetAgentRequest\022C\n" - + "\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemana" - + "ger.googleapis.com/Project\"~\n\017SetAgentRe" - + "quest\0225\n\005agent\030\001 \001(\0132!.google.cloud.dial" - + "ogflow.v2.AgentB\003\340A\002\0224\n\013update_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMaskB\003\340A\001\"Y\n\022De" - + "leteAgentRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" - + "\n+cloudresourcemanager.googleapis.com/Pr" - + "oject\"\206\001\n\023SearchAgentsRequest\022C\n\006parent\030" - + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" - + "leapis.com/Project\022\026\n\tpage_size\030\002 \001(\005B\003\340" - + "A\001\022\022\n\npage_token\030\003 \001(\t\"b\n\024SearchAgentsRe" - + "sponse\0221\n\006agents\030\001 \003(\0132!.google.cloud.di" - + "alogflow.v2.Agent\022\027\n\017next_page_token\030\002 \001" - + "(\t\"X\n\021TrainAgentRequest\022C\n\006parent\030\001 \001(\tB" - + "3\340A\002\372A-\n+cloudresourcemanager.googleapis" - + ".com/Project\"q\n\022ExportAgentRequest\022C\n\006pa" - + "rent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager" - + ".googleapis.com/Project\022\026\n\tagent_uri\030\002 \001" - + "(\tB\003\340A\002\"L\n\023ExportAgentResponse\022\023\n\tagent_" - + "uri\030\001 \001(\tH\000\022\027\n\ragent_content\030\002 \001(\014H\000B\007\n\005" - + "agent\"\220\001\n\022ImportAgentRequest\022C\n\006parent\030\001" - + " \001(\tB3\340A\002\372A-\n+cloudresourcemanager.googl" - + "eapis.com/Project\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027" - + "\n\ragent_content\030\003 \001(\014H\000B\007\n\005agent\"\221\001\n\023Res" - + "toreAgentRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" - + "\n+cloudresourcemanager.googleapis.com/Pr" - + "oject\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027\n\ragent_cont" - + "ent\030\003 \001(\014H\000B\007\n\005agent\"}\n\032GetValidationRes" - + "ultRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+clou" - + "dresourcemanager.googleapis.com/Project\022" - + "\032\n\rlanguage_code\030\003 \001(\tB\003\340A\0012\305\r\n\006Agents\022\212" - + "\001\n\010GetAgent\022+.google.cloud.dialogflow.v2" - + ".GetAgentRequest\032!.google.cloud.dialogfl" - + "ow.v2.Agent\".\202\323\344\223\002\037\022\035/v2/{parent=project" - + "s/*}/agent\332A\006parent\022\226\001\n\010SetAgent\022+.googl" - + "e.cloud.dialogflow.v2.SetAgentRequest\032!." - + "google.cloud.dialogflow.v2.Agent\":\202\323\344\223\002," - + "\"#/v2/{agent.parent=projects/*}/agent:\005a" - + "gent\332A\005agent\022\205\001\n\013DeleteAgent\022..google.cl" - + "oud.dialogflow.v2.DeleteAgentRequest\032\026.g" - + "oogle.protobuf.Empty\".\202\323\344\223\002\037*\035/v2/{paren" - + "t=projects/*}/agent\332A\006parent\022\250\001\n\014SearchA" - + "gents\022/.google.cloud.dialogflow.v2.Searc" - + "hAgentsRequest\0320.google.cloud.dialogflow" - + ".v2.SearchAgentsResponse\"5\202\323\344\223\002&\022$/v2/{p" - + "arent=projects/*}/agent:search\332A\006parent\022" - + "\305\001\n\nTrainAgent\022-.google.cloud.dialogflow" - + ".v2.TrainAgentRequest\032\035.google.longrunni" - + "ng.Operation\"i\202\323\344\223\002(\"#/v2/{parent=projec" - + "ts/*}/agent:train:\001*\332A\006parent\312A/\n\025google" - + ".protobuf.Empty\022\026google.protobuf.Struct\022" - + "\342\001\n\013ExportAgent\022..google.cloud.dialogflo" - + "w.v2.ExportAgentRequest\032\035.google.longrun" - + "ning.Operation\"\203\001\202\323\344\223\002)\"$/v2/{parent=pro" - + "jects/*}/agent:export:\001*\332A\006parent\312AH\n.go" - + "ogle.cloud.dialogflow.v2.ExportAgentResp" - + "onse\022\026google.protobuf.Struct\022\277\001\n\013ImportA" - + "gent\022..google.cloud.dialogflow.v2.Import" - + "AgentRequest\032\035.google.longrunning.Operat" - + "ion\"a\202\323\344\223\002)\"$/v2/{parent=projects/*}/age" - + "nt:import:\001*\312A/\n\025google.protobuf.Empty\022\026" - + "google.protobuf.Struct\022\302\001\n\014RestoreAgent\022" - + "/.google.cloud.dialogflow.v2.RestoreAgen" - + "tRequest\032\035.google.longrunning.Operation\"" - + "b\202\323\344\223\002*\"%/v2/{parent=projects/*}/agent:r" - + "estore:\001*\312A/\n\025google.protobuf.Empty\022\026goo" - + "gle.protobuf.Struct\022\263\001\n\023GetValidationRes" - + "ult\0226.google.cloud.dialogflow.v2.GetVali" - + "dationResultRequest\032,.google.cloud.dialo" - + "gflow.v2.ValidationResult\"6\202\323\344\223\0020\022./v2/{" - + "parent=projects/*}/agent/validationResul" - + "t\032x\312A\031dialogflow.googleapis.com\322AYhttps:" - + "//www.googleapis.com/auth/cloud-platform" - + ",https://www.googleapis.com/auth/dialogf" - + "lowB\231\001\n\036com.google.cloud.dialogflow.v2B\n" - + "AgentProtoP\001ZDgoogle.golang.org/genproto" - + "/googleapis/cloud/dialogflow/v2;dialogfl" - + "ow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2b" - + "\006proto3" + + "ts/{project}/agent\"J\n\017GetAgentRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflow.google" + + "apis.com/Agent\"~\n\017SetAgentRequest\0225\n\005age" + + "nt\030\001 \001(\0132!.google.cloud.dialogflow.v2.Ag" + + "entB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\003\340A\001\"M\n\022DeleteAgentReq" + + "uest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflow" + + ".googleapis.com/Agent\"z\n\023SearchAgentsReq" + + "uest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflow" + + ".googleapis.com/Agent\022\026\n\tpage_size\030\002 \001(\005" + + "B\003\340A\001\022\022\n\npage_token\030\003 \001(\t\"b\n\024SearchAgent" + + "sResponse\0221\n\006agents\030\001 \003(\0132!.google.cloud" + + ".dialogflow.v2.Agent\022\027\n\017next_page_token\030" + + "\002 \001(\t\"L\n\021TrainAgentRequest\0227\n\006parent\030\001 \001" + + "(\tB\'\340A\002\372A!\022\037dialogflow.googleapis.com/Ag" + + "ent\"e\n\022ExportAgentRequest\0227\n\006parent\030\001 \001(" + + "\tB\'\340A\002\372A!\022\037dialogflow.googleapis.com/Age" + + "nt\022\026\n\tagent_uri\030\002 \001(\tB\003\340A\002\"L\n\023ExportAgen" + + "tResponse\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\ragent_" + + "content\030\002 \001(\014H\000B\007\n\005agent\"\204\001\n\022ImportAgent" + + "Request\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogf" + + "low.googleapis.com/Agent\022\023\n\tagent_uri\030\002 " + + "\001(\tH\000\022\027\n\ragent_content\030\003 \001(\014H\000B\007\n\005agent\"" + + "\205\001\n\023RestoreAgentRequest\0227\n\006parent\030\001 \001(\tB" + + "\'\340A\002\372A!\022\037dialogflow.googleapis.com/Agent" + + "\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027\n\ragent_content\030\003" + + " \001(\014H\000B\007\n\005agent\"q\n\032GetValidationResultRe" + + "quest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflo" + + "w.googleapis.com/Agent\022\032\n\rlanguage_code\030" + + "\003 \001(\tB\003\340A\0012\305\r\n\006Agents\022\212\001\n\010GetAgent\022+.goo" + + "gle.cloud.dialogflow.v2.GetAgentRequest\032" + + "!.google.cloud.dialogflow.v2.Agent\".\202\323\344\223" + + "\002\037\022\035/v2/{parent=projects/*}/agent\332A\006pare" + + "nt\022\226\001\n\010SetAgent\022+.google.cloud.dialogflo" + + "w.v2.SetAgentRequest\032!.google.cloud.dial" + + "ogflow.v2.Agent\":\202\323\344\223\002,\"#/v2/{agent.pare" + + "nt=projects/*}/agent:\005agent\332A\005agent\022\205\001\n\013" + + "DeleteAgent\022..google.cloud.dialogflow.v2" + + ".DeleteAgentRequest\032\026.google.protobuf.Em" + + "pty\".\202\323\344\223\002\037*\035/v2/{parent=projects/*}/age" + + "nt\332A\006parent\022\250\001\n\014SearchAgents\022/.google.cl" + + "oud.dialogflow.v2.SearchAgentsRequest\0320." + + "google.cloud.dialogflow.v2.SearchAgentsR" + + "esponse\"5\202\323\344\223\002&\022$/v2/{parent=projects/*}" + + "/agent:search\332A\006parent\022\305\001\n\nTrainAgent\022-." + + "google.cloud.dialogflow.v2.TrainAgentReq" + + "uest\032\035.google.longrunning.Operation\"i\202\323\344" + + "\223\002(\"#/v2/{parent=projects/*}/agent:train" + + ":\001*\332A\006parent\312A/\n\025google.protobuf.Empty\022\026" + + "google.protobuf.Struct\022\342\001\n\013ExportAgent\022." + + ".google.cloud.dialogflow.v2.ExportAgentR" + + "equest\032\035.google.longrunning.Operation\"\203\001" + + "\202\323\344\223\002)\"$/v2/{parent=projects/*}/agent:ex" + + "port:\001*\332A\006parent\312AH\n.google.cloud.dialog" + + "flow.v2.ExportAgentResponse\022\026google.prot" + + "obuf.Struct\022\277\001\n\013ImportAgent\022..google.clo" + + "ud.dialogflow.v2.ImportAgentRequest\032\035.go" + + "ogle.longrunning.Operation\"a\202\323\344\223\002)\"$/v2/" + + "{parent=projects/*}/agent:import:\001*\312A/\n\025" + + "google.protobuf.Empty\022\026google.protobuf.S" + + "truct\022\302\001\n\014RestoreAgent\022/.google.cloud.di" + + "alogflow.v2.RestoreAgentRequest\032\035.google" + + ".longrunning.Operation\"b\202\323\344\223\002*\"%/v2/{par" + + "ent=projects/*}/agent:restore:\001*\312A/\n\025goo" + + "gle.protobuf.Empty\022\026google.protobuf.Stru" + + "ct\022\263\001\n\023GetValidationResult\0226.google.clou" + + "d.dialogflow.v2.GetValidationResultReque" + + "st\032,.google.cloud.dialogflow.v2.Validati" + + "onResult\"6\202\323\344\223\0020\022./v2/{parent=projects/*" + + "}/agent/validationResult\032x\312A\031dialogflow." + + "googleapis.com\322AYhttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/dialogflowB\231\001\n\036com.googl" + + "e.cloud.dialogflow.v2B\nAgentProtoP\001ZDgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Goog" + + "le.Cloud.Dialogflow.V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java index 5b3427c8d..64ffb32f4 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java @@ -270,12 +270,11 @@ public com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder getEntitiesOrBu * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -297,12 +296,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1228,12 +1226,11 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity.Builder addEntitiesBuild * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1255,12 +1252,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1282,12 +1278,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1308,12 +1303,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1330,12 +1324,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java index 0834e64e1..9eca051b6 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java @@ -120,12 +120,11 @@ public interface BatchCreateEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -137,12 +136,11 @@ public interface BatchCreateEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java index 2211e4846..8f350f284 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java @@ -262,12 +262,11 @@ public com.google.protobuf.ByteString getEntityValuesBytes(int index) { * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -289,12 +288,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -996,12 +994,11 @@ public Builder addEntityValuesBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1023,12 +1020,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1050,12 +1046,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1076,12 +1071,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1098,12 +1092,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java index 818619f86..a42b63722 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java @@ -117,12 +117,11 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -134,12 +133,11 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java index b7f96dc4e..88187a55f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java @@ -285,12 +285,11 @@ public com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder getEntitiesOrBu * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -312,12 +311,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1317,12 +1315,11 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity.Builder addEntitiesBuild * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1344,12 +1341,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1371,12 +1367,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1397,12 +1392,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1419,12 +1413,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java index 3362849eb..a99a2c82c 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java @@ -120,12 +120,11 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -137,12 +136,11 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java index ecce390a8..e5621ad26 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java @@ -376,12 +376,11 @@ public com.google.cloud.dialogflow.v2.EntityTypeBatch getEntityTypeBatchInline() * * *
-   * Optional. The language of entity synonyms defined in `entity_types`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -403,12 +402,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entity_types`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1388,12 +1386,11 @@ public Builder clearEntityTypeBatchInline() { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1415,12 +1412,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1442,12 +1438,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1468,12 +1463,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1490,12 +1484,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java index f2eba7594..f23160512 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java @@ -124,12 +124,11 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_types`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -141,12 +140,11 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_types`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java index 06a9f0c2e..1554d80db 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java @@ -18,15 +18,7 @@ package com.google.cloud.dialogflow.v2; -/** - * - * - *
- * The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents].
- * 
- * - * Protobuf type {@code google.cloud.dialogflow.v2.BatchUpdateIntentsRequest} - */ +/** Protobuf type {@code google.cloud.dialogflow.v2.BatchUpdateIntentsRequest} */ public final class BatchUpdateIntentsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.BatchUpdateIntentsRequest) @@ -380,12 +372,11 @@ public com.google.cloud.dialogflow.v2.IntentBatchOrBuilder getIntentBatchInlineO * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intents`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -407,12 +398,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intents`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -746,15 +736,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } - /** - * - * - *
-   * The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents].
-   * 
- * - * Protobuf type {@code google.cloud.dialogflow.v2.BatchUpdateIntentsRequest} - */ + /** Protobuf type {@code google.cloud.dialogflow.v2.BatchUpdateIntentsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.BatchUpdateIntentsRequest) @@ -1436,12 +1418,11 @@ public com.google.cloud.dialogflow.v2.IntentBatchOrBuilder getIntentBatchInlineO * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1463,12 +1444,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1490,12 +1470,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1516,12 +1495,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1538,12 +1516,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java index 09c4a7b8b..a9e248654 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java @@ -122,12 +122,11 @@ public interface BatchUpdateIntentsRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intents`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -139,12 +138,11 @@ public interface BatchUpdateIntentsRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intents`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java index 671263434..9f9e0d7f7 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * Optional. The number of conversational query requests after which the
-   * context expires. If set to `0` (the default) the context expires
+   * context expires. The default is `0`. If set to `0`, the context expires
    * immediately. Contexts expire automatically after 20 minutes if there
    * are no matching queries.
    * 
@@ -229,9 +229,18 @@ public int getLifespanCount() { * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -246,9 +255,18 @@ public boolean hasParameters() { * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -263,9 +281,18 @@ public com.google.protobuf.Struct getParameters() { * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -804,7 +831,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * Optional. The number of conversational query requests after which the
-     * context expires. If set to `0` (the default) the context expires
+     * context expires. The default is `0`. If set to `0`, the context expires
      * immediately. Contexts expire automatically after 20 minutes if there
      * are no matching queries.
      * 
@@ -821,7 +848,7 @@ public int getLifespanCount() { * *
      * Optional. The number of conversational query requests after which the
-     * context expires. If set to `0` (the default) the context expires
+     * context expires. The default is `0`. If set to `0`, the context expires
      * immediately. Contexts expire automatically after 20 minutes if there
      * are no matching queries.
      * 
@@ -842,7 +869,7 @@ public Builder setLifespanCount(int value) { * *
      * Optional. The number of conversational query requests after which the
-     * context expires. If set to `0` (the default) the context expires
+     * context expires. The default is `0`. If set to `0`, the context expires
      * immediately. Contexts expire automatically after 20 minutes if there
      * are no matching queries.
      * 
@@ -869,9 +896,18 @@ public Builder clearLifespanCount() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -887,9 +923,18 @@ public boolean hasParameters() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -909,9 +954,18 @@ public com.google.protobuf.Struct getParameters() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -935,9 +989,18 @@ public Builder setParameters(com.google.protobuf.Struct value) { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -958,9 +1021,18 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -986,9 +1058,18 @@ public Builder mergeParameters(com.google.protobuf.Struct value) { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1010,9 +1091,18 @@ public Builder clearParameters() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1028,9 +1118,18 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1048,9 +1147,18 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java index ad25f27c0..665fcf9c3 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java @@ -77,7 +77,7 @@ public interface ContextOrBuilder * *
    * Optional. The number of conversational query requests after which the
-   * context expires. If set to `0` (the default) the context expires
+   * context expires. The default is `0`. If set to `0`, the context expires
    * immediately. Contexts expire automatically after 20 minutes if there
    * are no matching queries.
    * 
@@ -93,9 +93,18 @@ public interface ContextOrBuilder * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -108,9 +117,18 @@ public interface ContextOrBuilder * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -123,9 +141,18 @@ public interface ContextOrBuilder * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java index 9a06b6bbf..ecca55921 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java @@ -74,77 +74,81 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\032\037google/api/field_behavior.proto\032\031" + "google/api/resource.proto\032\033google/protob" + "uf/empty.proto\032 google/protobuf/field_ma" - + "sk.proto\032\034google/protobuf/struct.proto\"\323" - + "\001\n\007Context\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\033\n\016lifespa" + + "sk.proto\032\034google/protobuf/struct.proto\"\275" + + "\002\n\007Context\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\033\n\016lifespa" + "n_count\030\002 \001(\005B\003\340A\001\0220\n\nparameters\030\003 \001(\0132\027" - + ".google.protobuf.StructB\003\340A\001:f\352Ac\n!dialo" - + "gflow.googleapis.com/Context\022>projects/{" - + "project}/agent/sessions/{session}/contex" - + "ts/{context}\"[\n\023ListContextsRequest\022\023\n\006p" - + "arent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001" - + "\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"f\n\024ListContext" - + "sResponse\0225\n\010contexts\030\001 \003(\0132#.google.clo" - + "ud.dialogflow.v2.Context\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"L\n\021GetContextRequest\0227\n\004name\030\001" - + " \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com/" - + "Context\"\214\001\n\024CreateContextRequest\0229\n\006pare" - + "nt\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.googleapis." - + "com/Context\0229\n\007context\030\002 \001(\0132#.google.cl" - + "oud.dialogflow.v2.ContextB\003\340A\002\"\207\001\n\024Updat" - + "eContextRequest\0229\n\007context\030\001 \001(\0132#.googl" - + "e.cloud.dialogflow.v2.ContextB\003\340A\002\0224\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "askB\003\340A\001\"O\n\024DeleteContextRequest\0227\n\004name" - + "\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.co" - + "m/Context\"U\n\030DeleteAllContextsRequest\0229\n" - + "\006parent\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.google" - + "apis.com/Context2\232\r\n\010Contexts\022\202\002\n\014ListCo" - + "ntexts\022/.google.cloud.dialogflow.v2.List" - + "ContextsRequest\0320.google.cloud.dialogflo" - + "w.v2.ListContextsResponse\"\216\001\202\323\344\223\002\177\0221/v2/" - + "{parent=projects/*/agent/sessions/*}/con" - + "textsZJ\022H/v2/{parent=projects/*/agent/en" - + "vironments/*/users/*/sessions/*}/context" - + "s\332A\006parent\022\357\001\n\nGetContext\022-.google.cloud" - + ".dialogflow.v2.GetContextRequest\032#.googl" - + "e.cloud.dialogflow.v2.Context\"\214\001\202\323\344\223\002\177\0221" - + "/v2/{name=projects/*/agent/sessions/*/co" - + "ntexts/*}ZJ\022H/v2/{name=projects/*/agent/" - + "environments/*/users/*/sessions/*/contex" - + "ts/*}\332A\004name\022\222\002\n\rCreateContext\0220.google." - + "cloud.dialogflow.v2.CreateContextRequest" - + "\032#.google.cloud.dialogflow.v2.Context\"\251\001" - + "\202\323\344\223\002\221\001\"1/v2/{parent=projects/*/agent/se" - + "ssions/*}/contexts:\007contextZS\"H/v2/{pare" - + "nt=projects/*/agent/environments/*/users" - + "/*/sessions/*}/contexts:\007context\332A\016paren" - + "t,context\022\247\002\n\rUpdateContext\0220.google.clo" - + "ud.dialogflow.v2.UpdateContextRequest\032#." - + "google.cloud.dialogflow.v2.Context\"\276\001\202\323\344" - + "\223\002\241\00129/v2/{context.name=projects/*/agent" - + "/sessions/*/contexts/*}:\007contextZ[2P/v2/" - + "{context.name=projects/*/agent/environme" - + "nts/*/users/*/sessions/*/contexts/*}:\007co" - + "ntext\332A\023context,update_mask\022\350\001\n\rDeleteCo" - + "ntext\0220.google.cloud.dialogflow.v2.Delet" - + "eContextRequest\032\026.google.protobuf.Empty\"" - + "\214\001\202\323\344\223\002\177*1/v2/{name=projects/*/agent/ses" - + "sions/*/contexts/*}ZJ*H/v2/{name=project" - + "s/*/agent/environments/*/users/*/session" - + "s/*/contexts/*}\332A\004name\022\362\001\n\021DeleteAllCont" - + "exts\0224.google.cloud.dialogflow.v2.Delete" - + "AllContextsRequest\032\026.google.protobuf.Emp" - + "ty\"\216\001\202\323\344\223\002\177*1/v2/{parent=projects/*/agen" - + "t/sessions/*}/contextsZJ*H/v2/{parent=pr" - + "ojects/*/agent/environments/*/users/*/se" - + "ssions/*}/contexts\332A\006parent\032x\312A\031dialogfl" - + "ow.googleapis.com\322AYhttps://www.googleap" - + "is.com/auth/cloud-platform,https://www.g" - + "oogleapis.com/auth/dialogflowB\233\001\n\036com.go" - + "ogle.cloud.dialogflow.v2B\014ContextProtoP\001" - + "ZDgoogle.golang.org/genproto/googleapis/" - + "cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002" - + "\032Google.Cloud.Dialogflow.V2b\006proto3" + + ".google.protobuf.StructB\003\340A\001:\317\001\352A\313\001\n!dia" + + "logflow.googleapis.com/Context\022>projects" + + "/{project}/agent/sessions/{session}/cont" + + "exts/{context}\022fprojects/{project}/agent" + + "/environments/{environment}/users/{user}" + + "/sessions/{session}/contexts/{context}\"\201" + + "\001\n\023ListContextsRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\022!dialogflow.googleapis.com/Contex" + + "t\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030" + + "\003 \001(\tB\003\340A\001\"f\n\024ListContextsResponse\0225\n\010co" + + "ntexts\030\001 \003(\0132#.google.cloud.dialogflow.v" + + "2.Context\022\027\n\017next_page_token\030\002 \001(\t\"L\n\021Ge" + + "tContextRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!d" + + "ialogflow.googleapis.com/Context\"\214\001\n\024Cre" + + "ateContextRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\022!dialogflow.googleapis.com/Context\0229\n\007" + + "context\030\002 \001(\0132#.google.cloud.dialogflow." + + "v2.ContextB\003\340A\002\"\207\001\n\024UpdateContextRequest" + + "\0229\n\007context\030\001 \001(\0132#.google.cloud.dialogf" + + "low.v2.ContextB\003\340A\002\0224\n\013update_mask\030\002 \001(\013" + + "2\032.google.protobuf.FieldMaskB\003\340A\001\"O\n\024Del" + + "eteContextRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n" + + "!dialogflow.googleapis.com/Context\"U\n\030De" + + "leteAllContextsRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\022!dialogflow.googleapis.com/Contex" + + "t2\232\r\n\010Contexts\022\202\002\n\014ListContexts\022/.google" + + ".cloud.dialogflow.v2.ListContextsRequest" + + "\0320.google.cloud.dialogflow.v2.ListContex" + + "tsResponse\"\216\001\202\323\344\223\002\177\0221/v2/{parent=project" + + "s/*/agent/sessions/*}/contextsZJ\022H/v2/{p" + + "arent=projects/*/agent/environments/*/us" + + "ers/*/sessions/*}/contexts\332A\006parent\022\357\001\n\n" + + "GetContext\022-.google.cloud.dialogflow.v2." + + "GetContextRequest\032#.google.cloud.dialogf" + + "low.v2.Context\"\214\001\202\323\344\223\002\177\0221/v2/{name=proje" + + "cts/*/agent/sessions/*/contexts/*}ZJ\022H/v" + + "2/{name=projects/*/agent/environments/*/" + + "users/*/sessions/*/contexts/*}\332A\004name\022\222\002" + + "\n\rCreateContext\0220.google.cloud.dialogflo" + + "w.v2.CreateContextRequest\032#.google.cloud" + + ".dialogflow.v2.Context\"\251\001\202\323\344\223\002\221\001\"1/v2/{p" + + "arent=projects/*/agent/sessions/*}/conte" + + "xts:\007contextZS\"H/v2/{parent=projects/*/a" + + "gent/environments/*/users/*/sessions/*}/" + + "contexts:\007context\332A\016parent,context\022\247\002\n\rU" + + "pdateContext\0220.google.cloud.dialogflow.v" + + "2.UpdateContextRequest\032#.google.cloud.di" + + "alogflow.v2.Context\"\276\001\202\323\344\223\002\241\00129/v2/{cont" + + "ext.name=projects/*/agent/sessions/*/con" + + "texts/*}:\007contextZ[2P/v2/{context.name=p" + + "rojects/*/agent/environments/*/users/*/s" + + "essions/*/contexts/*}:\007context\332A\023context" + + ",update_mask\022\350\001\n\rDeleteContext\0220.google." + + "cloud.dialogflow.v2.DeleteContextRequest" + + "\032\026.google.protobuf.Empty\"\214\001\202\323\344\223\002\177*1/v2/{" + + "name=projects/*/agent/sessions/*/context" + + "s/*}ZJ*H/v2/{name=projects/*/agent/envir" + + "onments/*/users/*/sessions/*/contexts/*}" + + "\332A\004name\022\362\001\n\021DeleteAllContexts\0224.google.c" + + "loud.dialogflow.v2.DeleteAllContextsRequ" + + "est\032\026.google.protobuf.Empty\"\216\001\202\323\344\223\002\177*1/v" + + "2/{parent=projects/*/agent/sessions/*}/c" + + "ontextsZJ*H/v2/{parent=projects/*/agent/" + + "environments/*/users/*/sessions/*}/conte" + + "xts\332A\006parent\032x\312A\031dialogflow.googleapis.c" + + "om\322AYhttps://www.googleapis.com/auth/clo" + + "ud-platform,https://www.googleapis.com/a" + + "uth/dialogflowB\233\001\n\036com.google.cloud.dial" + + "ogflow.v2B\014ContextProtoP\001ZDgoogle.golang" + + ".org/genproto/googleapis/cloud/dialogflo" + + "w/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.D" + + "ialogflow.V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java index 34a868614..85b45305a 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java @@ -245,12 +245,11 @@ public com.google.cloud.dialogflow.v2.EntityTypeOrBuilder getEntityTypeOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -272,12 +271,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -989,12 +987,11 @@ public com.google.cloud.dialogflow.v2.EntityTypeOrBuilder getEntityTypeOrBuilder * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1016,12 +1013,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1043,12 +1039,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1069,12 +1064,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1091,12 +1085,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java index c9cc29f99..c1f3bd2be 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java @@ -99,12 +99,11 @@ public interface CreateEntityTypeRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -116,12 +115,11 @@ public interface CreateEntityTypeRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java index 93a204e01..02cf6005d 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java @@ -248,12 +248,11 @@ public com.google.cloud.dialogflow.v2.IntentOrBuilder getIntentOrBuilder() { * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -275,12 +274,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1045,12 +1043,11 @@ public com.google.cloud.dialogflow.v2.IntentOrBuilder getIntentOrBuilder() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1072,12 +1069,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1099,12 +1095,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1125,12 +1120,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1147,12 +1141,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java index ced4fee8b..f57f8e34b 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java @@ -96,12 +96,11 @@ public interface CreateIntentRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -113,12 +112,11 @@ public interface CreateIntentRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java index 83a83fdc6..30975a446 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java @@ -142,7 +142,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -169,7 +171,9 @@ public java.lang.String getParent() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -599,7 +603,9 @@ public Builder mergeFrom( * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -626,7 +632,9 @@ public java.lang.String getParent() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -653,7 +661,9 @@ public com.google.protobuf.ByteString getParentBytes() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -679,7 +689,9 @@ public Builder setParent(java.lang.String value) { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -701,7 +713,9 @@ public Builder clearParent() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java index ef79c911a..bf17b33cb 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java @@ -35,7 +35,9 @@ public interface CreateSessionEntityTypeRequestOrBuilder * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -52,7 +54,9 @@ public interface CreateSessionEntityTypeRequestOrBuilder * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java index baab36386..a719c9c52 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java @@ -22,7 +22,6 @@ * * *
- * ============================================================================
  * Requests and responses for custom methods.
  * The request to detect user's intent.
  * 
@@ -713,7 +712,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * ============================================================================
    * Requests and responses for custom methods.
    * The request to detect user's intent.
    * 
diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java index dc0cb2fcf..4787c4483 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java @@ -119,125 +119,126 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "AUTO_EXPANSION_MODE_DEFAULT\020\001:]\352AZ\n$dial" + "ogflow.googleapis.com/EntityType\0222projec" + "ts/{project}/agent/entityTypes/{entity_t" - + "ype}\"\236\001\n\026ListEntityTypesRequest\0227\n\006paren" - + "t\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis.c" - + "om/Agent\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\001\022\026\n\t" - + "page_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\t" - + "B\003\340A\001\"p\n\027ListEntityTypesResponse\022<\n\014enti" - + "ty_types\030\001 \003(\0132&.google.cloud.dialogflow" - + ".v2.EntityType\022\027\n\017next_page_token\030\002 \001(\t\"" - + "n\n\024GetEntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340" - + "A\002\372A&\n$dialogflow.googleapis.com/EntityT" - + "ype\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\001\"\260\001\n\027Crea" - + "teEntityTypeRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002" - + "\372A!\n\037dialogflow.googleapis.com/Agent\022@\n\013" - + "entity_type\030\002 \001(\0132&.google.cloud.dialogf" - + "low.v2.EntityTypeB\003\340A\002\022\032\n\rlanguage_code\030" - + "\003 \001(\tB\003\340A\001\"\255\001\n\027UpdateEntityTypeRequest\022@" - + "\n\013entity_type\030\001 \001(\0132&.google.cloud.dialo" - + "gflow.v2.EntityTypeB\003\340A\002\022\032\n\rlanguage_cod" - + "e\030\002 \001(\tB\003\340A\001\0224\n\013update_mask\030\003 \001(\0132\032.goog" - + "le.protobuf.FieldMaskB\003\340A\001\"U\n\027DeleteEnti" - + "tyTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$dia" - + "logflow.googleapis.com/EntityType\"\261\002\n\035Ba" - + "tchUpdateEntityTypesRequest\0227\n\006parent\030\001 " - + "\001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis.com/A" - + "gent\022\037\n\025entity_type_batch_uri\030\002 \001(\tH\000\022O\n" - + "\030entity_type_batch_inline\030\003 \001(\0132+.google" - + ".cloud.dialogflow.v2.EntityTypeBatchH\000\022\032" - + "\n\rlanguage_code\030\004 \001(\tB\003\340A\001\0224\n\013update_mas" - + "k\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" - + "B\023\n\021entity_type_batch\"^\n\036BatchUpdateEnti" - + "tyTypesResponse\022<\n\014entity_types\030\001 \003(\0132&." - + "google.cloud.dialogflow.v2.EntityType\"x\n" - + "\035BatchDeleteEntityTypesRequest\0227\n\006parent" - + "\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis.co" - + "m/Agent\022\036\n\021entity_type_names\030\002 \003(\tB\003\340A\002\"" - + "\274\001\n\032BatchCreateEntitiesRequest\022<\n\006parent" - + "\030\001 \001(\tB,\340A\002\372A&\n$dialogflow.googleapis.co" - + "m/EntityType\022D\n\010entities\030\002 \003(\0132-.google." - + "cloud.dialogflow.v2.EntityType.EntityB\003\340" - + "A\002\022\032\n\rlanguage_code\030\003 \001(\tB\003\340A\001\"\362\001\n\032Batch" - + "UpdateEntitiesRequest\022<\n\006parent\030\001 \001(\tB,\340" - + "A\002\372A&\n$dialogflow.googleapis.com/EntityT" - + "ype\022D\n\010entities\030\002 \003(\0132-.google.cloud.dia" - + "logflow.v2.EntityType.EntityB\003\340A\002\022\032\n\rlan" - + "guage_code\030\003 \001(\tB\003\340A\001\0224\n\013update_mask\030\004 \001" - + "(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\222\001\n\032" - + "BatchDeleteEntitiesRequest\022<\n\006parent\030\001 \001" + + "ype}\"\243\001\n\026ListEntityTypesRequest\022<\n\006paren" + + "t\030\001 \001(\tB,\340A\002\372A&\022$dialogflow.googleapis.c" + + "om/EntityType\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A" + + "\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030" + + "\004 \001(\tB\003\340A\001\"p\n\027ListEntityTypesResponse\022<\n" + + "\014entity_types\030\001 \003(\0132&.google.cloud.dialo" + + "gflow.v2.EntityType\022\027\n\017next_page_token\030\002" + + " \001(\t\"n\n\024GetEntityTypeRequest\022:\n\004name\030\001 \001" + "(\tB,\340A\002\372A&\n$dialogflow.googleapis.com/En" - + "tityType\022\032\n\rentity_values\030\002 \003(\tB\003\340A\002\022\032\n\r" - + "language_code\030\003 \001(\tB\003\340A\001\"O\n\017EntityTypeBa" - + "tch\022<\n\014entity_types\030\001 \003(\0132&.google.cloud" - + ".dialogflow.v2.EntityType2\200\024\n\013EntityType" - + "s\022\315\001\n\017ListEntityTypes\0222.google.cloud.dia" - + "logflow.v2.ListEntityTypesRequest\0323.goog" - + "le.cloud.dialogflow.v2.ListEntityTypesRe" - + "sponse\"Q\202\323\344\223\002+\022)/v2/{parent=projects/*/a" - + "gent}/entityTypes\332A\006parent\332A\024parent,lang" - + "uage_code\022\270\001\n\rGetEntityType\0220.google.clo" - + "ud.dialogflow.v2.GetEntityTypeRequest\032&." - + "google.cloud.dialogflow.v2.EntityType\"M\202" - + "\323\344\223\002+\022)/v2/{name=projects/*/agent/entity" - + "Types/*}\332A\004name\332A\022name,language_code\022\347\001\n" - + "\020CreateEntityType\0223.google.cloud.dialogf" - + "low.v2.CreateEntityTypeRequest\032&.google." - + "cloud.dialogflow.v2.EntityType\"v\202\323\344\223\0028\")" - + "/v2/{parent=projects/*/agent}/entityType" - + "s:\013entity_type\332A\022parent,entity_type\332A pa" - + "rent,entity_type,language_code\022\345\001\n\020Updat" - + "eEntityType\0223.google.cloud.dialogflow.v2" - + ".UpdateEntityTypeRequest\032&.google.cloud." - + "dialogflow.v2.EntityType\"t\202\323\344\223\002D25/v2/{e" - + "ntity_type.name=projects/*/agent/entityT" - + "ypes/*}:\013entity_type\332A\013entity_type\332A\031ent" - + "ity_type,language_code\022\231\001\n\020DeleteEntityT" - + "ype\0223.google.cloud.dialogflow.v2.DeleteE" - + "ntityTypeRequest\032\026.google.protobuf.Empty" - + "\"8\202\323\344\223\002+*)/v2/{name=projects/*/agent/ent" - + "ityTypes/*}\332A\004name\022\213\002\n\026BatchUpdateEntity" - + "Types\0229.google.cloud.dialogflow.v2.Batch" - + "UpdateEntityTypesRequest\032\035.google.longru" - + "nning.Operation\"\226\001\202\323\344\223\002:\"5/v2/{parent=pr" - + "ojects/*/agent}/entityTypes:batchUpdate:" - + "\001*\312AS\n9google.cloud.dialogflow.v2.BatchU" - + "pdateEntityTypesResponse\022\026google.protobu" - + "f.Struct\022\202\002\n\026BatchDeleteEntityTypes\0229.go" - + "ogle.cloud.dialogflow.v2.BatchDeleteEnti" - + "tyTypesRequest\032\035.google.longrunning.Oper" - + "ation\"\215\001\202\323\344\223\002:\"5/v2/{parent=projects/*/a" - + "gent}/entityTypes:batchDelete:\001*\332A\030paren" - + "t,entity_type_names\312A/\n\025google.protobuf." - + "Empty\022\026google.protobuf.Struct\022\236\002\n\023BatchC" - + "reateEntities\0226.google.cloud.dialogflow." - + "v2.BatchCreateEntitiesRequest\032\035.google.l" - + "ongrunning.Operation\"\257\001\202\323\344\223\002E\"@/v2/{pare" - + "nt=projects/*/agent/entityTypes/*}/entit" - + "ies:batchCreate:\001*\332A\017parent,entities\332A\035p" - + "arent,entities,language_code\312A/\n\025google." - + "protobuf.Empty\022\026google.protobuf.Struct\022\236" - + "\002\n\023BatchUpdateEntities\0226.google.cloud.di" - + "alogflow.v2.BatchUpdateEntitiesRequest\032\035" - + ".google.longrunning.Operation\"\257\001\202\323\344\223\002E\"@" - + "/v2/{parent=projects/*/agent/entityTypes" - + "/*}/entities:batchUpdate:\001*\332A\017parent,ent" - + "ities\332A\035parent,entities,language_code\312A/" - + "\n\025google.protobuf.Empty\022\026google.protobuf" - + ".Struct\022\250\002\n\023BatchDeleteEntities\0226.google" - + ".cloud.dialogflow.v2.BatchDeleteEntities" - + "Request\032\035.google.longrunning.Operation\"\271" - + "\001\202\323\344\223\002E\"@/v2/{parent=projects/*/agent/en" - + "tityTypes/*}/entities:batchDelete:\001*\332A\024p" - + "arent,entity_values\332A\"parent,entity_valu" - + "es,language_code\312A/\n\025google.protobuf.Emp" - + "ty\022\026google.protobuf.Struct\032x\312A\031dialogflo" - + "w.googleapis.com\322AYhttps://www.googleapi" - + "s.com/auth/cloud-platform,https://www.go" - + "ogleapis.com/auth/dialogflowB\236\001\n\036com.goo" - + "gle.cloud.dialogflow.v2B\017EntityTypeProto" - + "P\001ZDgoogle.golang.org/genproto/googleapi" - + "s/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF" - + "\252\002\032Google.Cloud.Dialogflow.V2b\006proto3" + + "tityType\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\001\"\265\001\n" + + "\027CreateEntityTypeRequest\022<\n\006parent\030\001 \001(\t" + + "B,\340A\002\372A&\022$dialogflow.googleapis.com/Enti" + + "tyType\022@\n\013entity_type\030\002 \001(\0132&.google.clo" + + "ud.dialogflow.v2.EntityTypeB\003\340A\002\022\032\n\rlang" + + "uage_code\030\003 \001(\tB\003\340A\001\"\255\001\n\027UpdateEntityTyp" + + "eRequest\022@\n\013entity_type\030\001 \001(\0132&.google.c" + + "loud.dialogflow.v2.EntityTypeB\003\340A\002\022\032\n\rla" + + "nguage_code\030\002 \001(\tB\003\340A\001\0224\n\013update_mask\030\003 " + + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"U\n\027" + + "DeleteEntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340" + + "A\002\372A&\n$dialogflow.googleapis.com/EntityT" + + "ype\"\266\002\n\035BatchUpdateEntityTypesRequest\022<\n" + + "\006parent\030\001 \001(\tB,\340A\002\372A&\022$dialogflow.google" + + "apis.com/EntityType\022\037\n\025entity_type_batch" + + "_uri\030\002 \001(\tH\000\022O\n\030entity_type_batch_inline" + + "\030\003 \001(\0132+.google.cloud.dialogflow.v2.Enti" + + "tyTypeBatchH\000\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A" + + "\001\0224\n\013update_mask\030\005 \001(\0132\032.google.protobuf" + + ".FieldMaskB\003\340A\001B\023\n\021entity_type_batch\"^\n\036" + + "BatchUpdateEntityTypesResponse\022<\n\014entity" + + "_types\030\001 \003(\0132&.google.cloud.dialogflow.v" + + "2.EntityType\"}\n\035BatchDeleteEntityTypesRe" + + "quest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$dialogflo" + + "w.googleapis.com/EntityType\022\036\n\021entity_ty" + + "pe_names\030\002 \003(\tB\003\340A\002\"\274\001\n\032BatchCreateEntit" + + "iesRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$dial" + + "ogflow.googleapis.com/EntityType\022D\n\010enti" + + "ties\030\002 \003(\0132-.google.cloud.dialogflow.v2." + + "EntityType.EntityB\003\340A\002\022\032\n\rlanguage_code\030" + + "\003 \001(\tB\003\340A\001\"\362\001\n\032BatchUpdateEntitiesReques" + + "t\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$dialogflow.go" + + "ogleapis.com/EntityType\022D\n\010entities\030\002 \003(" + + "\0132-.google.cloud.dialogflow.v2.EntityTyp" + + "e.EntityB\003\340A\002\022\032\n\rlanguage_code\030\003 \001(\tB\003\340A" + + "\001\0224\n\013update_mask\030\004 \001(\0132\032.google.protobuf" + + ".FieldMaskB\003\340A\001\"\222\001\n\032BatchDeleteEntitiesR" + + "equest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$dialogfl" + + "ow.googleapis.com/EntityType\022\032\n\rentity_v" + + "alues\030\002 \003(\tB\003\340A\002\022\032\n\rlanguage_code\030\003 \001(\tB" + + "\003\340A\001\"O\n\017EntityTypeBatch\022<\n\014entity_types\030" + + "\001 \003(\0132&.google.cloud.dialogflow.v2.Entit" + + "yType2\200\024\n\013EntityTypes\022\315\001\n\017ListEntityType" + + "s\0222.google.cloud.dialogflow.v2.ListEntit" + + "yTypesRequest\0323.google.cloud.dialogflow." + + "v2.ListEntityTypesResponse\"Q\202\323\344\223\002+\022)/v2/" + + "{parent=projects/*/agent}/entityTypes\332A\006" + + "parent\332A\024parent,language_code\022\270\001\n\rGetEnt" + + "ityType\0220.google.cloud.dialogflow.v2.Get" + + "EntityTypeRequest\032&.google.cloud.dialogf" + + "low.v2.EntityType\"M\202\323\344\223\002+\022)/v2/{name=pro" + + "jects/*/agent/entityTypes/*}\332A\004name\332A\022na" + + "me,language_code\022\347\001\n\020CreateEntityType\0223." + + "google.cloud.dialogflow.v2.CreateEntityT" + + "ypeRequest\032&.google.cloud.dialogflow.v2." + + "EntityType\"v\202\323\344\223\0028\")/v2/{parent=projects" + + "/*/agent}/entityTypes:\013entity_type\332A\022par" + + "ent,entity_type\332A parent,entity_type,lan" + + "guage_code\022\345\001\n\020UpdateEntityType\0223.google" + + ".cloud.dialogflow.v2.UpdateEntityTypeReq" + + "uest\032&.google.cloud.dialogflow.v2.Entity" + + "Type\"t\202\323\344\223\002D25/v2/{entity_type.name=proj" + + "ects/*/agent/entityTypes/*}:\013entity_type" + + "\332A\013entity_type\332A\031entity_type,language_co" + + "de\022\231\001\n\020DeleteEntityType\0223.google.cloud.d" + + "ialogflow.v2.DeleteEntityTypeRequest\032\026.g" + + "oogle.protobuf.Empty\"8\202\323\344\223\002+*)/v2/{name=" + + "projects/*/agent/entityTypes/*}\332A\004name\022\213" + + "\002\n\026BatchUpdateEntityTypes\0229.google.cloud" + + ".dialogflow.v2.BatchUpdateEntityTypesReq" + + "uest\032\035.google.longrunning.Operation\"\226\001\202\323" + + "\344\223\002:\"5/v2/{parent=projects/*/agent}/enti" + + "tyTypes:batchUpdate:\001*\312AS\n9google.cloud." + + "dialogflow.v2.BatchUpdateEntityTypesResp" + + "onse\022\026google.protobuf.Struct\022\202\002\n\026BatchDe" + + "leteEntityTypes\0229.google.cloud.dialogflo" + + "w.v2.BatchDeleteEntityTypesRequest\032\035.goo" + + "gle.longrunning.Operation\"\215\001\202\323\344\223\002:\"5/v2/" + + "{parent=projects/*/agent}/entityTypes:ba" + + "tchDelete:\001*\332A\030parent,entity_type_names\312" + + "A/\n\025google.protobuf.Empty\022\026google.protob" + + "uf.Struct\022\236\002\n\023BatchCreateEntities\0226.goog" + + "le.cloud.dialogflow.v2.BatchCreateEntiti" + + "esRequest\032\035.google.longrunning.Operation" + + "\"\257\001\202\323\344\223\002E\"@/v2/{parent=projects/*/agent/" + + "entityTypes/*}/entities:batchCreate:\001*\332A" + + "\017parent,entities\332A\035parent,entities,langu" + + "age_code\312A/\n\025google.protobuf.Empty\022\026goog" + + "le.protobuf.Struct\022\236\002\n\023BatchUpdateEntiti" + + "es\0226.google.cloud.dialogflow.v2.BatchUpd" + + "ateEntitiesRequest\032\035.google.longrunning." + + "Operation\"\257\001\202\323\344\223\002E\"@/v2/{parent=projects" + + "/*/agent/entityTypes/*}/entities:batchUp" + + "date:\001*\332A\017parent,entities\332A\035parent,entit" + + "ies,language_code\312A/\n\025google.protobuf.Em" + + "pty\022\026google.protobuf.Struct\022\250\002\n\023BatchDel" + + "eteEntities\0226.google.cloud.dialogflow.v2" + + ".BatchDeleteEntitiesRequest\032\035.google.lon" + + "grunning.Operation\"\271\001\202\323\344\223\002E\"@/v2/{parent" + + "=projects/*/agent/entityTypes/*}/entitie" + + "s:batchDelete:\001*\332A\024parent,entity_values\332" + + "A\"parent,entity_values,language_code\312A/\n" + + "\025google.protobuf.Empty\022\026google.protobuf." + + "Struct\032x\312A\031dialogflow.googleapis.com\322AYh" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tform,https://www.googleapis.com/auth/di" + + "alogflowB\236\001\n\036com.google.cloud.dialogflow" + + ".v2B\017EntityTypeProtoP\001ZDgoogle.golang.or" + + "g/genproto/googleapis/cloud/dialogflow/v" + + "2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dial" + + "ogflow.V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java index 33327d71f..7caa8e2ca 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java @@ -178,12 +178,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Optional. The language to retrieve entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -205,12 +204,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language to retrieve entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -689,12 +687,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -716,12 +713,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -743,12 +739,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -769,12 +764,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -791,12 +785,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java index a03b2175a..64b12def1 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java @@ -58,12 +58,11 @@ public interface GetEntityTypeRequestOrBuilder * * *
-   * Optional. The language to retrieve entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -75,12 +74,11 @@ public interface GetEntityTypeRequestOrBuilder * * *
-   * Optional. The language to retrieve entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java index 78a284585..e29ef2450 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java @@ -186,12 +186,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Optional. The language to retrieve training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -213,12 +212,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language to retrieve training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -751,12 +749,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -778,12 +775,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -805,12 +801,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -831,12 +826,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -853,12 +847,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java index e8aeb0b19..8299d951c 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java @@ -58,12 +58,11 @@ public interface GetIntentRequestOrBuilder * * *
-   * Optional. The language to retrieve training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -75,12 +74,11 @@ public interface GetIntentRequestOrBuilder * * *
-   * Optional. The language to retrieve training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java index c48665690..25f190096 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java @@ -6036,9 +6036,7 @@ public interface MessageOrBuilder * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -6050,9 +6048,7 @@ public interface MessageOrBuilder * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -6064,9 +6060,7 @@ public interface MessageOrBuilder * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -6436,7 +6430,11 @@ public interface MessageOrBuilder * * *
-   * Corresponds to the `Response` field in the Dialogflow console.
+   * A rich response message.
+   * Corresponds to the intent `Response` field in the Dialogflow console.
+   * For more information, see
+   * [Rich response
+   * messages](https://cloud.google.com/dialogflow/docs/intents-rich-messages).
    * 
* * Protobuf type {@code google.cloud.dialogflow.v2.Intent.Message} @@ -6807,7 +6805,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Represents different platforms that a rich message can be intended for.
+     * The rich response message integration platform. See
+     * [Integrations](https://cloud.google.com/dialogflow/docs/integrations).
      * 
* * Protobuf enum {@code google.cloud.dialogflow.v2.Intent.Message.Platform} @@ -6817,7 +6816,7 @@ public enum Platform implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Not specified.
+       * Default platform.
        * 
* * PLATFORM_UNSPECIFIED = 0; @@ -6897,67 +6896,9 @@ public enum Platform implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Actions on Google.
-       * When using Actions on Google, you can choose one of the specific
-       * Intent.Message types that mention support for Actions on Google,
-       * or you can use the advanced Intent.Message.payload field.
-       * The payload field provides access to AoG features not available in the
-       * specific message types.
-       * If using the Intent.Message.payload field, it should have a structure
-       * similar to the JSON message shown here. For more information, see
-       * [Actions on Google Webhook
-       * Format](https://developers.google.com/actions/dialogflow/webhook)
-       * <pre>{
-       *   "expectUserResponse": true,
-       *   "isSsml": false,
-       *   "noInputPrompts": [],
-       *   "richResponse": {
-       *     "items": [
-       *       {
-       *         "simpleResponse": {
-       *           "displayText": "hi",
-       *           "textToSpeech": "hello"
-       *         }
-       *       }
-       *     ],
-       *     "suggestions": [
-       *       {
-       *         "title": "Say this"
-       *       },
-       *       {
-       *         "title": "or this"
-       *       }
-       *     ]
-       *   },
-       *   "systemIntent": {
-       *     "data": {
-       *       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
-       *       "listSelect": {
-       *         "items": [
-       *           {
-       *             "optionInfo": {
-       *               "key": "key1",
-       *               "synonyms": [
-       *                 "key one"
-       *               ]
-       *             },
-       *             "title": "must not be empty, but unique"
-       *           },
-       *           {
-       *             "optionInfo": {
-       *               "key": "key2",
-       *               "synonyms": [
-       *                 "key two"
-       *               ]
-       *             },
-       *             "title": "must not be empty, but unique"
-       *           }
-       *         ]
-       *       }
-       *     },
-       *     "intent": "actions.intent.OPTION"
-       *   }
-       * }</pre>
+       * Google Assistant
+       * See [Dialogflow webhook
+       * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
        * 
* * ACTIONS_ON_GOOGLE = 8; @@ -6980,7 +6921,7 @@ public enum Platform implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Not specified.
+       * Default platform.
        * 
* * PLATFORM_UNSPECIFIED = 0; @@ -7060,67 +7001,9 @@ public enum Platform implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Actions on Google.
-       * When using Actions on Google, you can choose one of the specific
-       * Intent.Message types that mention support for Actions on Google,
-       * or you can use the advanced Intent.Message.payload field.
-       * The payload field provides access to AoG features not available in the
-       * specific message types.
-       * If using the Intent.Message.payload field, it should have a structure
-       * similar to the JSON message shown here. For more information, see
-       * [Actions on Google Webhook
-       * Format](https://developers.google.com/actions/dialogflow/webhook)
-       * <pre>{
-       *   "expectUserResponse": true,
-       *   "isSsml": false,
-       *   "noInputPrompts": [],
-       *   "richResponse": {
-       *     "items": [
-       *       {
-       *         "simpleResponse": {
-       *           "displayText": "hi",
-       *           "textToSpeech": "hello"
-       *         }
-       *       }
-       *     ],
-       *     "suggestions": [
-       *       {
-       *         "title": "Say this"
-       *       },
-       *       {
-       *         "title": "or this"
-       *       }
-       *     ]
-       *   },
-       *   "systemIntent": {
-       *     "data": {
-       *       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
-       *       "listSelect": {
-       *         "items": [
-       *           {
-       *             "optionInfo": {
-       *               "key": "key1",
-       *               "synonyms": [
-       *                 "key one"
-       *               ]
-       *             },
-       *             "title": "must not be empty, but unique"
-       *           },
-       *           {
-       *             "optionInfo": {
-       *               "key": "key2",
-       *               "synonyms": [
-       *                 "key two"
-       *               ]
-       *             },
-       *             "title": "must not be empty, but unique"
-       *           }
-       *         ]
-       *       }
-       *     },
-       *     "intent": "actions.intent.OPTION"
-       *   }
-       * }</pre>
+       * Google Assistant
+       * See [Dialogflow webhook
+       * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
        * 
* * ACTIONS_ON_GOOGLE = 8; @@ -41894,9 +41777,7 @@ public com.google.cloud.dialogflow.v2.Intent.Message.CardOrBuilder getCardOrBuil * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -41910,9 +41791,7 @@ public boolean hasPayload() { * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -41929,9 +41808,7 @@ public com.google.protobuf.Struct getPayload() { * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -42829,7 +42706,11 @@ protected Builder newBuilderForType( * * *
-     * Corresponds to the `Response` field in the Dialogflow console.
+     * A rich response message.
+     * Corresponds to the intent `Response` field in the Dialogflow console.
+     * For more information, see
+     * [Rich response
+     * messages](https://cloud.google.com/dialogflow/docs/intents-rich-messages).
      * 
* * Protobuf type {@code google.cloud.dialogflow.v2.Intent.Message} @@ -44019,9 +43900,7 @@ public com.google.cloud.dialogflow.v2.Intent.Message.CardOrBuilder getCardOrBuil * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -44035,9 +43914,7 @@ public boolean hasPayload() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -44061,9 +43938,7 @@ public com.google.protobuf.Struct getPayload() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -44085,9 +43960,7 @@ public Builder setPayload(com.google.protobuf.Struct value) { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -44106,9 +43979,7 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -44137,9 +44008,7 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -44164,9 +44033,7 @@ public Builder clearPayload() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -44178,9 +44045,7 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -44199,9 +44064,7 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -47230,13 +47093,13 @@ public com.google.cloud.dialogflow.v2.Intent.FollowupIntentInfo getDefaultInstan * * *
-   * The unique identifier of this intent.
+   * Optional. The unique identifier of this intent.
    * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
    * methods.
    * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The name. */ @@ -47255,13 +47118,13 @@ public java.lang.String getName() { * * *
-   * The unique identifier of this intent.
+   * Optional. The unique identifier of this intent.
    * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
    * methods.
    * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for name. */ @@ -49113,13 +48976,13 @@ public Builder mergeFrom( * * *
-     * The unique identifier of this intent.
+     * Optional. The unique identifier of this intent.
      * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
      * methods.
      * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The name. */ @@ -49138,13 +49001,13 @@ public java.lang.String getName() { * * *
-     * The unique identifier of this intent.
+     * Optional. The unique identifier of this intent.
      * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
      * methods.
      * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for name. */ @@ -49163,13 +49026,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique identifier of this intent.
+     * Optional. The unique identifier of this intent.
      * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
      * methods.
      * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The name to set. * @return This builder for chaining. @@ -49187,13 +49050,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique identifier of this intent.
+     * Optional. The unique identifier of this intent.
      * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
      * methods.
      * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -49207,13 +49070,13 @@ public Builder clearName() { * * *
-     * The unique identifier of this intent.
+     * Optional. The unique identifier of this intent.
      * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
      * methods.
      * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java index a7ebbef92..821f8b46b 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java @@ -27,13 +27,13 @@ public interface IntentOrBuilder * * *
-   * The unique identifier of this intent.
+   * Optional. The unique identifier of this intent.
    * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
    * methods.
    * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The name. */ @@ -42,13 +42,13 @@ public interface IntentOrBuilder * * *
-   * The unique identifier of this intent.
+   * Optional. The unique identifier of this intent.
    * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
    * methods.
    * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for name. */ diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java index e473f5b95..13b998cc0 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java @@ -218,272 +218,274 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e/longrunning/operations.proto\032\036google/p" + "rotobuf/duration.proto\032\033google/protobuf/" + "empty.proto\032 google/protobuf/field_mask." - + "proto\032\034google/protobuf/struct.proto\"\3077\n\006" - + "Intent\022\014\n\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001" - + "(\tB\003\340A\002\022K\n\rwebhook_state\030\006 \001(\0162/.google." - + "cloud.dialogflow.v2.Intent.WebhookStateB" - + "\003\340A\001\022\025\n\010priority\030\003 \001(\005B\003\340A\001\022\030\n\013is_fallba" - + "ck\030\004 \001(\010B\003\340A\001\022\030\n\013ml_disabled\030\023 \001(\010B\003\340A\001\022" - + " \n\023input_context_names\030\007 \003(\tB\003\340A\001\022\023\n\006eve" - + "nts\030\010 \003(\tB\003\340A\001\022P\n\020training_phrases\030\t \003(\013" - + "21.google.cloud.dialogflow.v2.Intent.Tra" - + "iningPhraseB\003\340A\001\022\023\n\006action\030\n \001(\tB\003\340A\001\022A\n" - + "\017output_contexts\030\013 \003(\0132#.google.cloud.di" - + "alogflow.v2.ContextB\003\340A\001\022\033\n\016reset_contex" - + "ts\030\014 \001(\010B\003\340A\001\022E\n\nparameters\030\r \003(\0132,.goog" - + "le.cloud.dialogflow.v2.Intent.ParameterB" - + "\003\340A\001\022A\n\010messages\030\016 \003(\0132*.google.cloud.di" - + "alogflow.v2.Intent.MessageB\003\340A\001\022\\\n\032defau" - + "lt_response_platforms\030\017 \003(\01623.google.clo" - + "ud.dialogflow.v2.Intent.Message.Platform" - + "B\003\340A\001\022!\n\031root_followup_intent_name\030\020 \001(\t" - + "\022#\n\033parent_followup_intent_name\030\021 \001(\t\022S\n" - + "\024followup_intent_info\030\022 \003(\01325.google.clo" - + "ud.dialogflow.v2.Intent.FollowupIntentIn" - + "fo\032\361\002\n\016TrainingPhrase\022\014\n\004name\030\001 \001(\t\022I\n\004t" - + "ype\030\002 \001(\01626.google.cloud.dialogflow.v2.I" - + "ntent.TrainingPhrase.TypeB\003\340A\002\022J\n\005parts\030" - + "\003 \003(\01326.google.cloud.dialogflow.v2.Inten" - + "t.TrainingPhrase.PartB\003\340A\002\022\036\n\021times_adde" - + "d_count\030\004 \001(\005B\003\340A\001\032]\n\004Part\022\014\n\004text\030\001 \001(\t" - + "\022\030\n\013entity_type\030\002 \001(\tB\003\340A\001\022\022\n\005alias\030\003 \001(" - + "\tB\003\340A\001\022\031\n\014user_defined\030\004 \001(\010B\003\340A\001\";\n\004Typ" - + "e\022\024\n\020TYPE_UNSPECIFIED\020\000\022\013\n\007EXAMPLE\020\001\022\020\n\010" - + "TEMPLATE\020\002\032\002\010\001\032\312\001\n\tParameter\022\014\n\004name\030\001 \001" - + "(\t\022\024\n\014display_name\030\002 \001(\t\022\022\n\005value\030\003 \001(\tB" - + "\003\340A\001\022\032\n\rdefault_value\030\004 \001(\tB\003\340A\001\022%\n\030enti" - + "ty_type_display_name\030\005 \001(\tB\003\340A\001\022\026\n\tmanda" - + "tory\030\006 \001(\010B\003\340A\001\022\024\n\007prompts\030\007 \003(\tB\003\340A\001\022\024\n" - + "\007is_list\030\010 \001(\010B\003\340A\001\032\226*\n\007Message\022?\n\004text\030" - + "\001 \001(\0132/.google.cloud.dialogflow.v2.Inten" - + "t.Message.TextH\000\022A\n\005image\030\002 \001(\01320.google" - + ".cloud.dialogflow.v2.Intent.Message.Imag" - + "eH\000\022P\n\rquick_replies\030\003 \001(\01327.google.clou" - + "d.dialogflow.v2.Intent.Message.QuickRepl" - + "iesH\000\022?\n\004card\030\004 \001(\0132/.google.cloud.dialo" - + "gflow.v2.Intent.Message.CardH\000\022*\n\007payloa" - + "d\030\005 \001(\0132\027.google.protobuf.StructH\000\022V\n\020si" - + "mple_responses\030\007 \001(\0132:.google.cloud.dial" - + "ogflow.v2.Intent.Message.SimpleResponses" - + "H\000\022J\n\nbasic_card\030\010 \001(\01324.google.cloud.di" - + "alogflow.v2.Intent.Message.BasicCardH\000\022M" - + "\n\013suggestions\030\t \001(\01326.google.cloud.dialo" - + "gflow.v2.Intent.Message.SuggestionsH\000\022[\n" - + "\023link_out_suggestion\030\n \001(\0132<.google.clou" - + "d.dialogflow.v2.Intent.Message.LinkOutSu" - + "ggestionH\000\022L\n\013list_select\030\013 \001(\01325.google" - + ".cloud.dialogflow.v2.Intent.Message.List" - + "SelectH\000\022T\n\017carousel_select\030\014 \001(\01329.goog" - + "le.cloud.dialogflow.v2.Intent.Message.Ca" - + "rouselSelectH\000\022]\n\024browse_carousel_card\030\026" - + " \001(\0132=.google.cloud.dialogflow.v2.Intent" - + ".Message.BrowseCarouselCardH\000\022J\n\ntable_c" - + "ard\030\027 \001(\01324.google.cloud.dialogflow.v2.I" - + "ntent.Message.TableCardH\000\022P\n\rmedia_conte" - + "nt\030\030 \001(\01327.google.cloud.dialogflow.v2.In" - + "tent.Message.MediaContentH\000\022J\n\010platform\030" - + "\006 \001(\01623.google.cloud.dialogflow.v2.Inten" - + "t.Message.PlatformB\003\340A\001\032\031\n\004Text\022\021\n\004text\030" - + "\001 \003(\tB\003\340A\001\032@\n\005Image\022\026\n\timage_uri\030\001 \001(\tB\003" - + "\340A\001\022\037\n\022accessibility_text\030\002 \001(\tB\003\340A\001\032>\n\014" - + "QuickReplies\022\022\n\005title\030\001 \001(\tB\003\340A\001\022\032\n\rquic" - + "k_replies\030\002 \003(\tB\003\340A\001\032\313\001\n\004Card\022\022\n\005title\030\001" - + " \001(\tB\003\340A\001\022\025\n\010subtitle\030\002 \001(\tB\003\340A\001\022\026\n\timag" - + "e_uri\030\003 \001(\tB\003\340A\001\022L\n\007buttons\030\004 \003(\01326.goog" - + "le.cloud.dialogflow.v2.Intent.Message.Ca" - + "rd.ButtonB\003\340A\001\0322\n\006Button\022\021\n\004text\030\001 \001(\tB\003" - + "\340A\001\022\025\n\010postback\030\002 \001(\tB\003\340A\001\032Q\n\016SimpleResp" - + "onse\022\026\n\016text_to_speech\030\001 \001(\t\022\014\n\004ssml\030\002 \001" - + "(\t\022\031\n\014display_text\030\003 \001(\tB\003\340A\001\032k\n\017SimpleR" - + "esponses\022X\n\020simple_responses\030\001 \003(\01329.goo" - + "gle.cloud.dialogflow.v2.Intent.Message.S" - + "impleResponseB\003\340A\002\032\210\003\n\tBasicCard\022\022\n\005titl" - + "e\030\001 \001(\tB\003\340A\001\022\025\n\010subtitle\030\002 \001(\tB\003\340A\001\022\026\n\016f" - + "ormatted_text\030\003 \001(\t\022D\n\005image\030\004 \001(\01320.goo" - + "gle.cloud.dialogflow.v2.Intent.Message.I" - + "mageB\003\340A\001\022Q\n\007buttons\030\005 \003(\0132;.google.clou" - + "d.dialogflow.v2.Intent.Message.BasicCard" - + ".ButtonB\003\340A\001\032\236\001\n\006Button\022\r\n\005title\030\001 \001(\t\022g" - + "\n\017open_uri_action\030\002 \001(\0132I.google.cloud.d" - + "ialogflow.v2.Intent.Message.BasicCard.Bu" - + "tton.OpenUriActionB\003\340A\002\032\034\n\rOpenUriAction" - + "\022\013\n\003uri\030\001 \001(\t\032 \n\nSuggestion\022\022\n\005title\030\001 \001" - + "(\tB\003\340A\002\032^\n\013Suggestions\022O\n\013suggestions\030\001 " - + "\003(\01325.google.cloud.dialogflow.v2.Intent." - + "Message.SuggestionB\003\340A\002\032D\n\021LinkOutSugges" - + "tion\022\035\n\020destination_name\030\001 \001(\tB\003\340A\002\022\020\n\003u" - + "ri\030\002 \001(\tB\003\340A\002\032\322\002\n\nListSelect\022\022\n\005title\030\001 " - + "\001(\tB\003\340A\001\022N\n\005items\030\002 \003(\0132:.google.cloud.d" - + "ialogflow.v2.Intent.Message.ListSelect.I" - + "temB\003\340A\002\022\025\n\010subtitle\030\003 \001(\tB\003\340A\001\032\310\001\n\004Item" - + "\022L\n\004info\030\001 \001(\01329.google.cloud.dialogflow" - + ".v2.Intent.Message.SelectItemInfoB\003\340A\002\022\022" - + "\n\005title\030\002 \001(\tB\003\340A\002\022\030\n\013description\030\003 \001(\tB" - + "\003\340A\001\022D\n\005image\030\004 \001(\01320.google.cloud.dialo" - + "gflow.v2.Intent.Message.ImageB\003\340A\001\032\257\002\n\016C" - + "arouselSelect\022R\n\005items\030\001 \003(\0132>.google.cl" - + "oud.dialogflow.v2.Intent.Message.Carouse" - + "lSelect.ItemB\003\340A\002\032\310\001\n\004Item\022L\n\004info\030\001 \001(\013" - + "29.google.cloud.dialogflow.v2.Intent.Mes" - + "sage.SelectItemInfoB\003\340A\002\022\022\n\005title\030\002 \001(\tB" - + "\003\340A\002\022\030\n\013description\030\003 \001(\tB\003\340A\001\022D\n\005image\030" - + "\004 \001(\01320.google.cloud.dialogflow.v2.Inten" - + "t.Message.ImageB\003\340A\001\0329\n\016SelectItemInfo\022\020" - + "\n\003key\030\001 \001(\tB\003\340A\002\022\025\n\010synonyms\030\002 \003(\tB\003\340A\001\032" - + "\216\004\n\014MediaContent\022b\n\nmedia_type\030\001 \001(\0162I.g" + + "proto\032\034google/protobuf/struct.proto\"\3147\n\006" + + "Intent\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\031\n\014display_nam" + + "e\030\002 \001(\tB\003\340A\002\022K\n\rwebhook_state\030\006 \001(\0162/.go" + + "ogle.cloud.dialogflow.v2.Intent.WebhookS" + + "tateB\003\340A\001\022\025\n\010priority\030\003 \001(\005B\003\340A\001\022\030\n\013is_f" + + "allback\030\004 \001(\010B\003\340A\001\022\030\n\013ml_disabled\030\023 \001(\010B" + + "\003\340A\001\022 \n\023input_context_names\030\007 \003(\tB\003\340A\001\022\023" + + "\n\006events\030\010 \003(\tB\003\340A\001\022P\n\020training_phrases\030" + + "\t \003(\01321.google.cloud.dialogflow.v2.Inten" + + "t.TrainingPhraseB\003\340A\001\022\023\n\006action\030\n \001(\tB\003\340" + + "A\001\022A\n\017output_contexts\030\013 \003(\0132#.google.clo" + + "ud.dialogflow.v2.ContextB\003\340A\001\022\033\n\016reset_c" + + "ontexts\030\014 \001(\010B\003\340A\001\022E\n\nparameters\030\r \003(\0132," + + ".google.cloud.dialogflow.v2.Intent.Param" + + "eterB\003\340A\001\022A\n\010messages\030\016 \003(\0132*.google.clo" + + "ud.dialogflow.v2.Intent.MessageB\003\340A\001\022\\\n\032" + + "default_response_platforms\030\017 \003(\01623.googl" + + "e.cloud.dialogflow.v2.Intent.Message.Pla" + + "tformB\003\340A\001\022!\n\031root_followup_intent_name\030" + + "\020 \001(\t\022#\n\033parent_followup_intent_name\030\021 \001" + + "(\t\022S\n\024followup_intent_info\030\022 \003(\01325.googl" + + "e.cloud.dialogflow.v2.Intent.FollowupInt" + + "entInfo\032\361\002\n\016TrainingPhrase\022\014\n\004name\030\001 \001(\t" + + "\022I\n\004type\030\002 \001(\01626.google.cloud.dialogflow" + + ".v2.Intent.TrainingPhrase.TypeB\003\340A\002\022J\n\005p" + + "arts\030\003 \003(\01326.google.cloud.dialogflow.v2." + + "Intent.TrainingPhrase.PartB\003\340A\002\022\036\n\021times" + + "_added_count\030\004 \001(\005B\003\340A\001\032]\n\004Part\022\014\n\004text\030" + + "\001 \001(\t\022\030\n\013entity_type\030\002 \001(\tB\003\340A\001\022\022\n\005alias" + + "\030\003 \001(\tB\003\340A\001\022\031\n\014user_defined\030\004 \001(\010B\003\340A\001\";" + + "\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\013\n\007EXAMPLE\020" + + "\001\022\020\n\010TEMPLATE\020\002\032\002\010\001\032\312\001\n\tParameter\022\014\n\004nam" + + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\022\n\005value\030\003" + + " \001(\tB\003\340A\001\022\032\n\rdefault_value\030\004 \001(\tB\003\340A\001\022%\n" + + "\030entity_type_display_name\030\005 \001(\tB\003\340A\001\022\026\n\t" + + "mandatory\030\006 \001(\010B\003\340A\001\022\024\n\007prompts\030\007 \003(\tB\003\340" + + "A\001\022\024\n\007is_list\030\010 \001(\010B\003\340A\001\032\226*\n\007Message\022?\n\004" + + "text\030\001 \001(\0132/.google.cloud.dialogflow.v2." + + "Intent.Message.TextH\000\022A\n\005image\030\002 \001(\01320.g" + "oogle.cloud.dialogflow.v2.Intent.Message" - + ".MediaContent.ResponseMediaTypeB\003\340A\001\022b\n\r" - + "media_objects\030\002 \003(\0132K.google.cloud.dialo" - + "gflow.v2.Intent.Message.MediaContent.Res" - + "ponseMediaObject\032\360\001\n\023ResponseMediaObject" - + "\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 \001(\tB\003\340A\001" - + "\022L\n\013large_image\030\003 \001(\01320.google.cloud.dia" - + "logflow.v2.Intent.Message.ImageB\003\340A\001H\000\022E" - + "\n\004icon\030\004 \001(\01320.google.cloud.dialogflow.v" - + "2.Intent.Message.ImageB\003\340A\001H\000\022\023\n\013content" - + "_url\030\005 \001(\tB\007\n\005image\"C\n\021ResponseMediaType" - + "\022#\n\037RESPONSE_MEDIA_TYPE_UNSPECIFIED\020\000\022\t\n" - + "\005AUDIO\020\001\032\377\006\n\022BrowseCarouselCard\022c\n\005items" - + "\030\001 \003(\0132T.google.cloud.dialogflow.v2.Inte" - + "nt.Message.BrowseCarouselCard.BrowseCaro" - + "uselCardItem\022u\n\025image_display_options\030\002 " - + "\001(\0162Q.google.cloud.dialogflow.v2.Intent." - + "Message.BrowseCarouselCard.ImageDisplayO" - + "ptionsB\003\340A\001\032\224\004\n\026BrowseCarouselCardItem\022{" - + "\n\017open_uri_action\030\001 \001(\0132b.google.cloud.d" - + "ialogflow.v2.Intent.Message.BrowseCarous" - + "elCard.BrowseCarouselCardItem.OpenUrlAct" - + "ion\022\r\n\005title\030\002 \001(\t\022\030\n\013description\030\003 \001(\tB" - + "\003\340A\001\022D\n\005image\030\004 \001(\01320.google.cloud.dialo" - + "gflow.v2.Intent.Message.ImageB\003\340A\001\022\023\n\006fo" - + "oter\030\005 \001(\tB\003\340A\001\032\370\001\n\rOpenUrlAction\022\013\n\003url" - + "\030\001 \001(\t\022\212\001\n\rurl_type_hint\030\003 \001(\0162n.google." - + "cloud.dialogflow.v2.Intent.Message.Brows" - + "eCarouselCard.BrowseCarouselCardItem.Ope" - + "nUrlAction.UrlTypeHintB\003\340A\001\"M\n\013UrlTypeHi" - + "nt\022\035\n\031URL_TYPE_HINT_UNSPECIFIED\020\000\022\016\n\nAMP" - + "_ACTION\020\001\022\017\n\013AMP_CONTENT\020\002\"v\n\023ImageDispl" - + "ayOptions\022%\n!IMAGE_DISPLAY_OPTIONS_UNSPE" - + "CIFIED\020\000\022\010\n\004GRAY\020\001\022\t\n\005WHITE\020\002\022\013\n\007CROPPED" - + "\020\003\022\026\n\022BLURRED_BACKGROUND\020\004\032\363\002\n\tTableCard" - + "\022\r\n\005title\030\001 \001(\t\022\025\n\010subtitle\030\002 \001(\tB\003\340A\001\022D" - + "\n\005image\030\003 \001(\01320.google.cloud.dialogflow." - + "v2.Intent.Message.ImageB\003\340A\001\022[\n\021column_p" - + "roperties\030\004 \003(\0132;.google.cloud.dialogflo" - + "w.v2.Intent.Message.ColumnPropertiesB\003\340A" - + "\001\022J\n\004rows\030\005 \003(\01327.google.cloud.dialogflo" - + "w.v2.Intent.Message.TableCardRowB\003\340A\001\022Q\n" - + "\007buttons\030\006 \003(\0132;.google.cloud.dialogflow" - + ".v2.Intent.Message.BasicCard.ButtonB\003\340A\001" - + "\032\372\001\n\020ColumnProperties\022\016\n\006header\030\001 \001(\t\022r\n" - + "\024horizontal_alignment\030\002 \001(\0162O.google.clo" - + "ud.dialogflow.v2.Intent.Message.ColumnPr" - + "operties.HorizontalAlignmentB\003\340A\001\"b\n\023Hor" - + "izontalAlignment\022$\n HORIZONTAL_ALIGNMENT" - + "_UNSPECIFIED\020\000\022\013\n\007LEADING\020\001\022\n\n\006CENTER\020\002\022" - + "\014\n\010TRAILING\020\003\032x\n\014TableCardRow\022L\n\005cells\030\001" - + " \003(\01328.google.cloud.dialogflow.v2.Intent" - + ".Message.TableCardCellB\003\340A\001\022\032\n\rdivider_a" - + "fter\030\002 \001(\010B\003\340A\001\032\035\n\rTableCardCell\022\014\n\004text" - + "\030\001 \001(\t\"\240\001\n\010Platform\022\030\n\024PLATFORM_UNSPECIF" - + "IED\020\000\022\014\n\010FACEBOOK\020\001\022\t\n\005SLACK\020\002\022\014\n\010TELEGR" - + "AM\020\003\022\007\n\003KIK\020\004\022\t\n\005SKYPE\020\005\022\010\n\004LINE\020\006\022\t\n\005VI" - + "BER\020\007\022\025\n\021ACTIONS_ON_GOOGLE\020\010\022\023\n\017GOOGLE_H" - + "ANGOUTS\020\013B\t\n\007message\032W\n\022FollowupIntentIn" - + "fo\022\034\n\024followup_intent_name\030\001 \001(\t\022#\n\033pare" - + "nt_followup_intent_name\030\002 \001(\t\"t\n\014Webhook" - + "State\022\035\n\031WEBHOOK_STATE_UNSPECIFIED\020\000\022\031\n\025" - + "WEBHOOK_STATE_ENABLED\020\001\022*\n&WEBHOOK_STATE" - + "_ENABLED_FOR_SLOT_FILLING\020\002:P\352AM\n dialog" - + "flow.googleapis.com/Intent\022)projects/{pr" - + "oject}/agent/intents/{intent}\"\334\001\n\022ListIn" - + "tentsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037di" - + "alogflow.googleapis.com/Agent\022\032\n\rlanguag" - + "e_code\030\002 \001(\tB\003\340A\001\022@\n\013intent_view\030\003 \001(\0162&" + + ".ImageH\000\022P\n\rquick_replies\030\003 \001(\01327.google" + + ".cloud.dialogflow.v2.Intent.Message.Quic" + + "kRepliesH\000\022?\n\004card\030\004 \001(\0132/.google.cloud." + + "dialogflow.v2.Intent.Message.CardH\000\022*\n\007p" + + "ayload\030\005 \001(\0132\027.google.protobuf.StructH\000\022" + + "V\n\020simple_responses\030\007 \001(\0132:.google.cloud" + + ".dialogflow.v2.Intent.Message.SimpleResp" + + "onsesH\000\022J\n\nbasic_card\030\010 \001(\01324.google.clo" + + "ud.dialogflow.v2.Intent.Message.BasicCar" + + "dH\000\022M\n\013suggestions\030\t \001(\01326.google.cloud." + + "dialogflow.v2.Intent.Message.Suggestions" + + "H\000\022[\n\023link_out_suggestion\030\n \001(\0132<.google" + + ".cloud.dialogflow.v2.Intent.Message.Link" + + "OutSuggestionH\000\022L\n\013list_select\030\013 \001(\01325.g" + + "oogle.cloud.dialogflow.v2.Intent.Message" + + ".ListSelectH\000\022T\n\017carousel_select\030\014 \001(\01329" + + ".google.cloud.dialogflow.v2.Intent.Messa" + + "ge.CarouselSelectH\000\022]\n\024browse_carousel_c" + + "ard\030\026 \001(\0132=.google.cloud.dialogflow.v2.I" + + "ntent.Message.BrowseCarouselCardH\000\022J\n\nta" + + "ble_card\030\027 \001(\01324.google.cloud.dialogflow" + + ".v2.Intent.Message.TableCardH\000\022P\n\rmedia_" + + "content\030\030 \001(\01327.google.cloud.dialogflow." + + "v2.Intent.Message.MediaContentH\000\022J\n\010plat" + + "form\030\006 \001(\01623.google.cloud.dialogflow.v2." + + "Intent.Message.PlatformB\003\340A\001\032\031\n\004Text\022\021\n\004" + + "text\030\001 \003(\tB\003\340A\001\032@\n\005Image\022\026\n\timage_uri\030\001 " + + "\001(\tB\003\340A\001\022\037\n\022accessibility_text\030\002 \001(\tB\003\340A" + + "\001\032>\n\014QuickReplies\022\022\n\005title\030\001 \001(\tB\003\340A\001\022\032\n" + + "\rquick_replies\030\002 \003(\tB\003\340A\001\032\313\001\n\004Card\022\022\n\005ti" + + "tle\030\001 \001(\tB\003\340A\001\022\025\n\010subtitle\030\002 \001(\tB\003\340A\001\022\026\n" + + "\timage_uri\030\003 \001(\tB\003\340A\001\022L\n\007buttons\030\004 \003(\01326" + + ".google.cloud.dialogflow.v2.Intent.Messa" + + "ge.Card.ButtonB\003\340A\001\0322\n\006Button\022\021\n\004text\030\001 " + + "\001(\tB\003\340A\001\022\025\n\010postback\030\002 \001(\tB\003\340A\001\032Q\n\016Simpl" + + "eResponse\022\026\n\016text_to_speech\030\001 \001(\t\022\014\n\004ssm" + + "l\030\002 \001(\t\022\031\n\014display_text\030\003 \001(\tB\003\340A\001\032k\n\017Si" + + "mpleResponses\022X\n\020simple_responses\030\001 \003(\0132" + + "9.google.cloud.dialogflow.v2.Intent.Mess" + + "age.SimpleResponseB\003\340A\002\032\210\003\n\tBasicCard\022\022\n" + + "\005title\030\001 \001(\tB\003\340A\001\022\025\n\010subtitle\030\002 \001(\tB\003\340A\001" + + "\022\026\n\016formatted_text\030\003 \001(\t\022D\n\005image\030\004 \001(\0132" + + "0.google.cloud.dialogflow.v2.Intent.Mess" + + "age.ImageB\003\340A\001\022Q\n\007buttons\030\005 \003(\0132;.google" + + ".cloud.dialogflow.v2.Intent.Message.Basi" + + "cCard.ButtonB\003\340A\001\032\236\001\n\006Button\022\r\n\005title\030\001 " + + "\001(\t\022g\n\017open_uri_action\030\002 \001(\0132I.google.cl" + + "oud.dialogflow.v2.Intent.Message.BasicCa" + + "rd.Button.OpenUriActionB\003\340A\002\032\034\n\rOpenUriA" + + "ction\022\013\n\003uri\030\001 \001(\t\032 \n\nSuggestion\022\022\n\005titl" + + "e\030\001 \001(\tB\003\340A\002\032^\n\013Suggestions\022O\n\013suggestio" + + "ns\030\001 \003(\01325.google.cloud.dialogflow.v2.In" + + "tent.Message.SuggestionB\003\340A\002\032D\n\021LinkOutS" + + "uggestion\022\035\n\020destination_name\030\001 \001(\tB\003\340A\002" + + "\022\020\n\003uri\030\002 \001(\tB\003\340A\002\032\322\002\n\nListSelect\022\022\n\005tit" + + "le\030\001 \001(\tB\003\340A\001\022N\n\005items\030\002 \003(\0132:.google.cl" + + "oud.dialogflow.v2.Intent.Message.ListSel" + + "ect.ItemB\003\340A\002\022\025\n\010subtitle\030\003 \001(\tB\003\340A\001\032\310\001\n" + + "\004Item\022L\n\004info\030\001 \001(\01329.google.cloud.dialo" + + "gflow.v2.Intent.Message.SelectItemInfoB\003" + + "\340A\002\022\022\n\005title\030\002 \001(\tB\003\340A\002\022\030\n\013description\030\003" + + " \001(\tB\003\340A\001\022D\n\005image\030\004 \001(\01320.google.cloud." + + "dialogflow.v2.Intent.Message.ImageB\003\340A\001\032" + + "\257\002\n\016CarouselSelect\022R\n\005items\030\001 \003(\0132>.goog" + + "le.cloud.dialogflow.v2.Intent.Message.Ca" + + "rouselSelect.ItemB\003\340A\002\032\310\001\n\004Item\022L\n\004info\030" + + "\001 \001(\01329.google.cloud.dialogflow.v2.Inten" + + "t.Message.SelectItemInfoB\003\340A\002\022\022\n\005title\030\002" + + " \001(\tB\003\340A\002\022\030\n\013description\030\003 \001(\tB\003\340A\001\022D\n\005i" + + "mage\030\004 \001(\01320.google.cloud.dialogflow.v2." + + "Intent.Message.ImageB\003\340A\001\0329\n\016SelectItemI" + + "nfo\022\020\n\003key\030\001 \001(\tB\003\340A\002\022\025\n\010synonyms\030\002 \003(\tB" + + "\003\340A\001\032\216\004\n\014MediaContent\022b\n\nmedia_type\030\001 \001(" + + "\0162I.google.cloud.dialogflow.v2.Intent.Me" + + "ssage.MediaContent.ResponseMediaTypeB\003\340A" + + "\001\022b\n\rmedia_objects\030\002 \003(\0132K.google.cloud." + + "dialogflow.v2.Intent.Message.MediaConten" + + "t.ResponseMediaObject\032\360\001\n\023ResponseMediaO" + + "bject\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 \001(\t" + + "B\003\340A\001\022L\n\013large_image\030\003 \001(\01320.google.clou" + + "d.dialogflow.v2.Intent.Message.ImageB\003\340A" + + "\001H\000\022E\n\004icon\030\004 \001(\01320.google.cloud.dialogf" + + "low.v2.Intent.Message.ImageB\003\340A\001H\000\022\023\n\013co" + + "ntent_url\030\005 \001(\tB\007\n\005image\"C\n\021ResponseMedi" + + "aType\022#\n\037RESPONSE_MEDIA_TYPE_UNSPECIFIED" + + "\020\000\022\t\n\005AUDIO\020\001\032\377\006\n\022BrowseCarouselCard\022c\n\005" + + "items\030\001 \003(\0132T.google.cloud.dialogflow.v2" + + ".Intent.Message.BrowseCarouselCard.Brows" + + "eCarouselCardItem\022u\n\025image_display_optio" + + "ns\030\002 \001(\0162Q.google.cloud.dialogflow.v2.In" + + "tent.Message.BrowseCarouselCard.ImageDis" + + "playOptionsB\003\340A\001\032\224\004\n\026BrowseCarouselCardI" + + "tem\022{\n\017open_uri_action\030\001 \001(\0132b.google.cl" + + "oud.dialogflow.v2.Intent.Message.BrowseC" + + "arouselCard.BrowseCarouselCardItem.OpenU" + + "rlAction\022\r\n\005title\030\002 \001(\t\022\030\n\013description\030\003" + + " \001(\tB\003\340A\001\022D\n\005image\030\004 \001(\01320.google.cloud." + + "dialogflow.v2.Intent.Message.ImageB\003\340A\001\022" + + "\023\n\006footer\030\005 \001(\tB\003\340A\001\032\370\001\n\rOpenUrlAction\022\013" + + "\n\003url\030\001 \001(\t\022\212\001\n\rurl_type_hint\030\003 \001(\0162n.go" + + "ogle.cloud.dialogflow.v2.Intent.Message." + + "BrowseCarouselCard.BrowseCarouselCardIte" + + "m.OpenUrlAction.UrlTypeHintB\003\340A\001\"M\n\013UrlT" + + "ypeHint\022\035\n\031URL_TYPE_HINT_UNSPECIFIED\020\000\022\016" + + "\n\nAMP_ACTION\020\001\022\017\n\013AMP_CONTENT\020\002\"v\n\023Image" + + "DisplayOptions\022%\n!IMAGE_DISPLAY_OPTIONS_" + + "UNSPECIFIED\020\000\022\010\n\004GRAY\020\001\022\t\n\005WHITE\020\002\022\013\n\007CR" + + "OPPED\020\003\022\026\n\022BLURRED_BACKGROUND\020\004\032\363\002\n\tTabl" + + "eCard\022\r\n\005title\030\001 \001(\t\022\025\n\010subtitle\030\002 \001(\tB\003" + + "\340A\001\022D\n\005image\030\003 \001(\01320.google.cloud.dialog" + + "flow.v2.Intent.Message.ImageB\003\340A\001\022[\n\021col" + + "umn_properties\030\004 \003(\0132;.google.cloud.dial" + + "ogflow.v2.Intent.Message.ColumnPropertie" + + "sB\003\340A\001\022J\n\004rows\030\005 \003(\01327.google.cloud.dial" + + "ogflow.v2.Intent.Message.TableCardRowB\003\340" + + "A\001\022Q\n\007buttons\030\006 \003(\0132;.google.cloud.dialo" + + "gflow.v2.Intent.Message.BasicCard.Button" + + "B\003\340A\001\032\372\001\n\020ColumnProperties\022\016\n\006header\030\001 \001" + + "(\t\022r\n\024horizontal_alignment\030\002 \001(\0162O.googl" + + "e.cloud.dialogflow.v2.Intent.Message.Col" + + "umnProperties.HorizontalAlignmentB\003\340A\001\"b" + + "\n\023HorizontalAlignment\022$\n HORIZONTAL_ALIG" + + "NMENT_UNSPECIFIED\020\000\022\013\n\007LEADING\020\001\022\n\n\006CENT" + + "ER\020\002\022\014\n\010TRAILING\020\003\032x\n\014TableCardRow\022L\n\005ce" + + "lls\030\001 \003(\01328.google.cloud.dialogflow.v2.I" + + "ntent.Message.TableCardCellB\003\340A\001\022\032\n\rdivi" + + "der_after\030\002 \001(\010B\003\340A\001\032\035\n\rTableCardCell\022\014\n" + + "\004text\030\001 \001(\t\"\240\001\n\010Platform\022\030\n\024PLATFORM_UNS" + + "PECIFIED\020\000\022\014\n\010FACEBOOK\020\001\022\t\n\005SLACK\020\002\022\014\n\010T" + + "ELEGRAM\020\003\022\007\n\003KIK\020\004\022\t\n\005SKYPE\020\005\022\010\n\004LINE\020\006\022" + + "\t\n\005VIBER\020\007\022\025\n\021ACTIONS_ON_GOOGLE\020\010\022\023\n\017GOO" + + "GLE_HANGOUTS\020\013B\t\n\007message\032W\n\022FollowupInt" + + "entInfo\022\034\n\024followup_intent_name\030\001 \001(\t\022#\n" + + "\033parent_followup_intent_name\030\002 \001(\t\"t\n\014We" + + "bhookState\022\035\n\031WEBHOOK_STATE_UNSPECIFIED\020" + + "\000\022\031\n\025WEBHOOK_STATE_ENABLED\020\001\022*\n&WEBHOOK_" + + "STATE_ENABLED_FOR_SLOT_FILLING\020\002:P\352AM\n d" + + "ialogflow.googleapis.com/Intent\022)project" + + "s/{project}/agent/intents/{intent}\"\335\001\n\022L" + + "istIntentsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A" + + "\"\022 dialogflow.googleapis.com/Intent\022\032\n\rl" + + "anguage_code\030\002 \001(\tB\003\340A\001\022@\n\013intent_view\030\003" + + " \001(\0162&.google.cloud.dialogflow.v2.Intent" + + "ViewB\003\340A\001\022\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npag" + + "e_token\030\005 \001(\tB\003\340A\001\"c\n\023ListIntentsRespons" + + "e\0223\n\007intents\030\001 \003(\0132\".google.cloud.dialog" + + "flow.v2.Intent\022\027\n\017next_page_token\030\002 \001(\t\"" + + "\250\001\n\020GetIntentRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372" + + "A\"\n dialogflow.googleapis.com/Intent\022\032\n\r" + + "language_code\030\002 \001(\tB\003\340A\001\022@\n\013intent_view\030" + + "\003 \001(\0162&.google.cloud.dialogflow.v2.Inten" + + "tViewB\003\340A\001\"\346\001\n\023CreateIntentRequest\0228\n\006pa" + + "rent\030\001 \001(\tB(\340A\002\372A\"\022 dialogflow.googleapi" + + "s.com/Intent\0227\n\006intent\030\002 \001(\0132\".google.cl" + + "oud.dialogflow.v2.IntentB\003\340A\002\022\032\n\rlanguag" + + "e_code\030\003 \001(\tB\003\340A\001\022@\n\013intent_view\030\004 \001(\0162&" + ".google.cloud.dialogflow.v2.IntentViewB\003" - + "\340A\001\022\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_toke" - + "n\030\005 \001(\tB\003\340A\001\"c\n\023ListIntentsResponse\0223\n\007i" - + "ntents\030\001 \003(\0132\".google.cloud.dialogflow.v" - + "2.Intent\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\020Ge" - + "tIntentRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n di" - + "alogflow.googleapis.com/Intent\022\032\n\rlangua" - + "ge_code\030\002 \001(\tB\003\340A\001\022@\n\013intent_view\030\003 \001(\0162" - + "&.google.cloud.dialogflow.v2.IntentViewB" - + "\003\340A\001\"\345\001\n\023CreateIntentRequest\0227\n\006parent\030\001" - + " \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis.com/" - + "Agent\0227\n\006intent\030\002 \001(\0132\".google.cloud.dia" - + "logflow.v2.IntentB\003\340A\002\022\032\n\rlanguage_code\030" - + "\003 \001(\tB\003\340A\001\022@\n\013intent_view\030\004 \001(\0162&.google" - + ".cloud.dialogflow.v2.IntentViewB\003\340A\001\"\342\001\n" - + "\023UpdateIntentRequest\0227\n\006intent\030\001 \001(\0132\".g" - + "oogle.cloud.dialogflow.v2.IntentB\003\340A\002\022\032\n" - + "\rlanguage_code\030\002 \001(\tB\003\340A\001\0224\n\013update_mask" - + "\030\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022" - + "@\n\013intent_view\030\004 \001(\0162&.google.cloud.dial" - + "ogflow.v2.IntentViewB\003\340A\001\"M\n\023DeleteInten" - + "tRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n dialogfl" - + "ow.googleapis.com/Intent\"\334\002\n\031BatchUpdate" - + "IntentsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037" - + "dialogflow.googleapis.com/Agent\022\032\n\020inten" - + "t_batch_uri\030\002 \001(\tH\000\022F\n\023intent_batch_inli" - + "ne\030\003 \001(\0132\'.google.cloud.dialogflow.v2.In" - + "tentBatchH\000\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\001\022" - + "4\n\013update_mask\030\005 \001(\0132\032.google.protobuf.F" - + "ieldMaskB\003\340A\001\022@\n\013intent_view\030\006 \001(\0162&.goo" - + "gle.cloud.dialogflow.v2.IntentViewB\003\340A\001B" - + "\016\n\014intent_batch\"Q\n\032BatchUpdateIntentsRes" - + "ponse\0223\n\007intents\030\001 \003(\0132\".google.cloud.di" - + "alogflow.v2.Intent\"\216\001\n\031BatchDeleteIntent" - + "sRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037dialog" - + "flow.googleapis.com/Agent\0228\n\007intents\030\002 \003" - + "(\0132\".google.cloud.dialogflow.v2.IntentB\003" - + "\340A\002\"B\n\013IntentBatch\0223\n\007intents\030\001 \003(\0132\".go" - + "ogle.cloud.dialogflow.v2.Intent*?\n\nInten" - + "tView\022\033\n\027INTENT_VIEW_UNSPECIFIED\020\000\022\024\n\020IN" - + "TENT_VIEW_FULL\020\0012\223\014\n\007Intents\022\275\001\n\013ListInt" - + "ents\022..google.cloud.dialogflow.v2.ListIn" - + "tentsRequest\032/.google.cloud.dialogflow.v" - + "2.ListIntentsResponse\"M\202\323\344\223\002\'\022%/v2/{pare" - + "nt=projects/*/agent}/intents\332A\006parent\332A\024" - + "parent,language_code\022\250\001\n\tGetIntent\022,.goo" - + "gle.cloud.dialogflow.v2.GetIntentRequest" - + "\032\".google.cloud.dialogflow.v2.Intent\"I\202\323" - + "\344\223\002\'\022%/v2/{name=projects/*/agent/intents" - + "/*}\332A\004name\332A\022name,language_code\022\310\001\n\014Crea" - + "teIntent\022/.google.cloud.dialogflow.v2.Cr" - + "eateIntentRequest\032\".google.cloud.dialogf" - + "low.v2.Intent\"c\202\323\344\223\002/\"%/v2/{parent=proje" - + "cts/*/agent}/intents:\006intent\332A\rparent,in" - + "tent\332A\033parent,intent,language_code\022\333\001\n\014U" - + "pdateIntent\022/.google.cloud.dialogflow.v2" - + ".UpdateIntentRequest\032\".google.cloud.dial" - + "ogflow.v2.Intent\"v\202\323\344\223\00262,/v2/{intent.na" - + "me=projects/*/agent/intents/*}:\006intent\332A" - + "\024intent,language_code\332A intent,language_" - + "code,update_mask\022\215\001\n\014DeleteIntent\022/.goog" - + "le.cloud.dialogflow.v2.DeleteIntentReque" - + "st\032\026.google.protobuf.Empty\"4\202\323\344\223\002\'*%/v2/" - + "{name=projects/*/agent/intents/*}\332A\004name" - + "\022\373\001\n\022BatchUpdateIntents\0225.google.cloud.d" - + "ialogflow.v2.BatchUpdateIntentsRequest\032\035" - + ".google.longrunning.Operation\"\216\001\202\323\344\223\0026\"1" - + "/v2/{parent=projects/*/agent}/intents:ba" - + "tchUpdate:\001*\312AO\n5google.cloud.dialogflow" - + ".v2.BatchUpdateIntentsResponse\022\026google.p" - + "rotobuf.Struct\022\353\001\n\022BatchDeleteIntents\0225." - + "google.cloud.dialogflow.v2.BatchDeleteIn" - + "tentsRequest\032\035.google.longrunning.Operat" - + "ion\"\177\202\323\344\223\0026\"1/v2/{parent=projects/*/agen" - + "t}/intents:batchDelete:\001*\332A\016parent,inten" - + "ts\312A/\n\025google.protobuf.Empty\022\026google.pro" - + "tobuf.Struct\032x\312A\031dialogflow.googleapis.c" - + "om\322AYhttps://www.googleapis.com/auth/clo" - + "ud-platform,https://www.googleapis.com/a" - + "uth/dialogflowB\232\001\n\036com.google.cloud.dial" - + "ogflow.v2B\013IntentProtoP\001ZDgoogle.golang." - + "org/genproto/googleapis/cloud/dialogflow" - + "/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Di" - + "alogflow.V2b\006proto3" + + "\340A\001\"\342\001\n\023UpdateIntentRequest\0227\n\006intent\030\001 " + + "\001(\0132\".google.cloud.dialogflow.v2.IntentB" + + "\003\340A\002\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\001\0224\n\013upda" + + "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas" + + "kB\003\340A\001\022@\n\013intent_view\030\004 \001(\0162&.google.clo" + + "ud.dialogflow.v2.IntentViewB\003\340A\001\"M\n\023Dele" + + "teIntentRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n d" + + "ialogflow.googleapis.com/Intent\"\335\002\n\031Batc" + + "hUpdateIntentsRequest\0228\n\006parent\030\001 \001(\tB(\340" + + "A\002\372A\"\022 dialogflow.googleapis.com/Intent\022" + + "\032\n\020intent_batch_uri\030\002 \001(\tH\000\022F\n\023intent_ba" + + "tch_inline\030\003 \001(\0132\'.google.cloud.dialogfl" + + "ow.v2.IntentBatchH\000\022\032\n\rlanguage_code\030\004 \001" + + "(\tB\003\340A\001\0224\n\013update_mask\030\005 \001(\0132\032.google.pr" + + "otobuf.FieldMaskB\003\340A\001\022@\n\013intent_view\030\006 \001" + + "(\0162&.google.cloud.dialogflow.v2.IntentVi" + + "ewB\003\340A\001B\016\n\014intent_batch\"Q\n\032BatchUpdateIn" + + "tentsResponse\0223\n\007intents\030\001 \003(\0132\".google." + + "cloud.dialogflow.v2.Intent\"\217\001\n\031BatchDele" + + "teIntentsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"" + + "\022 dialogflow.googleapis.com/Intent\0228\n\007in" + + "tents\030\002 \003(\0132\".google.cloud.dialogflow.v2" + + ".IntentB\003\340A\002\"B\n\013IntentBatch\0223\n\007intents\030\001" + + " \003(\0132\".google.cloud.dialogflow.v2.Intent" + + "*?\n\nIntentView\022\033\n\027INTENT_VIEW_UNSPECIFIE" + + "D\020\000\022\024\n\020INTENT_VIEW_FULL\020\0012\312\014\n\007Intents\022\275\001" + + "\n\013ListIntents\022..google.cloud.dialogflow." + + "v2.ListIntentsRequest\032/.google.cloud.dia" + + "logflow.v2.ListIntentsResponse\"M\202\323\344\223\002\'\022%" + + "/v2/{parent=projects/*/agent}/intents\332A\006" + + "parent\332A\024parent,language_code\022\250\001\n\tGetInt" + + "ent\022,.google.cloud.dialogflow.v2.GetInte" + + "ntRequest\032\".google.cloud.dialogflow.v2.I" + + "ntent\"I\202\323\344\223\002\'\022%/v2/{name=projects/*/agen" + + "t/intents/*}\332A\004name\332A\022name,language_code" + + "\022\310\001\n\014CreateIntent\022/.google.cloud.dialogf" + + "low.v2.CreateIntentRequest\032\".google.clou" + + "d.dialogflow.v2.Intent\"c\202\323\344\223\002/\"%/v2/{par" + + "ent=projects/*/agent}/intents:\006intent\332A\r" + + "parent,intent\332A\033parent,intent,language_c" + + "ode\022\333\001\n\014UpdateIntent\022/.google.cloud.dial" + + "ogflow.v2.UpdateIntentRequest\032\".google.c" + + "loud.dialogflow.v2.Intent\"v\202\323\344\223\00262,/v2/{" + + "intent.name=projects/*/agent/intents/*}:" + + "\006intent\332A\024intent,language_code\332A intent," + + "language_code,update_mask\022\215\001\n\014DeleteInte" + + "nt\022/.google.cloud.dialogflow.v2.DeleteIn" + + "tentRequest\032\026.google.protobuf.Empty\"4\202\323\344" + + "\223\002\'*%/v2/{name=projects/*/agent/intents/" + + "*}\332A\004name\022\262\002\n\022BatchUpdateIntents\0225.googl" + + "e.cloud.dialogflow.v2.BatchUpdateIntents" + + "Request\032\035.google.longrunning.Operation\"\305" + + "\001\202\323\344\223\0026\"1/v2/{parent=projects/*/agent}/i" + + "ntents:batchUpdate:\001*\332A\027parent,intent_ba" + + "tch_uri\332A\032parent,intent_batch_inline\312AO\n" + + "5google.cloud.dialogflow.v2.BatchUpdateI" + + "ntentsResponse\022\026google.protobuf.Struct\022\353" + + "\001\n\022BatchDeleteIntents\0225.google.cloud.dia" + + "logflow.v2.BatchDeleteIntentsRequest\032\035.g" + + "oogle.longrunning.Operation\"\177\202\323\344\223\0026\"1/v2" + + "/{parent=projects/*/agent}/intents:batch" + + "Delete:\001*\332A\016parent,intents\312A/\n\025google.pr" + + "otobuf.Empty\022\026google.protobuf.Struct\032x\312A" + + "\031dialogflow.googleapis.com\322AYhttps://www" + + ".googleapis.com/auth/cloud-platform,http" + + "s://www.googleapis.com/auth/dialogflowB\232" + + "\001\n\036com.google.cloud.dialogflow.v2B\013Inten" + + "tProtoP\001ZDgoogle.golang.org/genproto/goo" + + "gleapis/cloud/dialogflow/v2;dialogflow\370\001" + + "\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java index d620c40ed..3833ef904 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java @@ -138,7 +138,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -165,7 +167,9 @@ public java.lang.String getParent() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -608,7 +612,9 @@ public Builder mergeFrom( * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -635,7 +641,9 @@ public java.lang.String getParent() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -662,7 +670,9 @@ public com.google.protobuf.ByteString getParentBytes() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -688,7 +698,9 @@ public Builder setParent(java.lang.String value) { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -710,7 +722,9 @@ public Builder clearParent() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java index 03c8ecd12..c0b061ddd 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java @@ -35,7 +35,9 @@ public interface ListContextsRequestOrBuilder * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -52,7 +54,9 @@ public interface ListContextsRequestOrBuilder * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java index b4e8fdae1..b4328eac6 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java @@ -191,12 +191,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. The language to list entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -218,12 +217,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language to list entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -799,12 +797,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -826,12 +823,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -853,12 +849,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -879,12 +874,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -901,12 +895,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequestOrBuilder.java index 7b11462c5..8f4b53e7b 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequestOrBuilder.java @@ -58,12 +58,11 @@ public interface ListEntityTypesRequestOrBuilder * * *
-   * Optional. The language to list entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -75,12 +74,11 @@ public interface ListEntityTypesRequestOrBuilder * * *
-   * Optional. The language to list entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java index 7e2e6cede..c18fa95a8 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java @@ -199,12 +199,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. The language to list training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -226,12 +225,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language to list training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -861,12 +859,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -888,12 +885,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -915,12 +911,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -941,12 +936,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -963,12 +957,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequestOrBuilder.java index 5b25cad83..6b2019ce0 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequestOrBuilder.java @@ -58,12 +58,11 @@ public interface ListIntentsRequestOrBuilder * * *
-   * Optional. The language to list training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -75,12 +74,11 @@ public interface ListIntentsRequestOrBuilder * * *
-   * Optional. The language to list training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java index 258bfe8d4..ea9e53081 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java @@ -138,7 +138,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -165,7 +167,9 @@ public java.lang.String getParent() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -611,7 +615,9 @@ public Builder mergeFrom( * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -638,7 +644,9 @@ public java.lang.String getParent() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -665,7 +673,9 @@ public com.google.protobuf.ByteString getParentBytes() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -691,7 +701,9 @@ public Builder setParent(java.lang.String value) { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -713,7 +725,9 @@ public Builder clearParent() { * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java index f122422c0..745b121ac 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java @@ -35,7 +35,9 @@ public interface ListSessionEntityTypesRequestOrBuilder * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -52,7 +54,9 @@ public interface ListSessionEntityTypesRequestOrBuilder * environment. If `User ID` is not specified, we assume default '-' user. * * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java index aa2492b78..2d68b248b 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java @@ -241,7 +241,8 @@ public com.google.protobuf.ByteString getVersionBytes() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -266,7 +267,8 @@ public boolean hasPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -291,7 +293,8 @@ public com.google.protobuf.Struct getPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -907,7 +910,8 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -932,7 +936,8 @@ public boolean hasPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -961,7 +966,8 @@ public com.google.protobuf.Struct getPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -994,7 +1000,8 @@ public Builder setPayload(com.google.protobuf.Struct value) { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1024,7 +1031,8 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1059,7 +1067,8 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1090,7 +1099,8 @@ public Builder clearPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1115,7 +1125,8 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1142,7 +1153,8 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequestOrBuilder.java index b77b762a1..b7fe7a9cb 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequestOrBuilder.java @@ -84,7 +84,8 @@ public interface OriginalDetectIntentRequestOrBuilder * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -107,7 +108,8 @@ public interface OriginalDetectIntentRequestOrBuilder * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -130,7 +132,8 @@ public interface OriginalDetectIntentRequestOrBuilder * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java index b6300dd6a..f0736d60a 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java @@ -460,8 +460,11 @@ public com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder getSessionEntit * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -475,8 +478,11 @@ public boolean hasPayload() { * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -490,8 +496,11 @@ public com.google.protobuf.Struct getPayload() { * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -2212,8 +2221,11 @@ public com.google.cloud.dialogflow.v2.SessionEntityType.Builder addSessionEntity * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2227,8 +2239,11 @@ public boolean hasPayload() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2246,8 +2261,11 @@ public com.google.protobuf.Struct getPayload() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2269,8 +2287,11 @@ public Builder setPayload(com.google.protobuf.Struct value) { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2289,8 +2310,11 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2314,8 +2338,11 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2335,8 +2362,11 @@ public Builder clearPayload() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2350,8 +2380,11 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2367,8 +2400,11 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParametersOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParametersOrBuilder.java index 37622cdfb..79d3fed7f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParametersOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParametersOrBuilder.java @@ -227,8 +227,11 @@ com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder getSessionEntityTypesO * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -240,8 +243,11 @@ com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder getSessionEntityTypesO * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -253,8 +259,11 @@ com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder getSessionEntityTypesO * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java index 13d8435d1..b13ba506f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java @@ -22,6 +22,8 @@ * * *
+ * ============================================================================
+ * Requests and responses for custom methods.
  * The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
  * 
* @@ -423,6 +425,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
+   * ============================================================================
+   * Requests and responses for custom methods.
    * The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
    * 
* diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java index 60402f49f..1e67654a4 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java @@ -71,7 +71,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "vior.proto\032\031google/api/resource.proto\032,g" + "oogle/cloud/dialogflow/v2/entity_type.pr" + "oto\032\033google/protobuf/empty.proto\032 google" - + "/protobuf/field_mask.proto\"\317\003\n\021SessionEn" + + "/protobuf/field_mask.proto\"\300\004\n\021SessionEn" + "tityType\022\021\n\004name\030\001 \001(\tB\003\340A\002\022c\n\024entity_ov" + "erride_mode\030\002 \001(\0162@.google.cloud.dialogf" + "low.v2.SessionEntityType.EntityOverrideM" @@ -80,76 +80,82 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001\n\022EntityOverrideMode\022$\n ENTITY_OVERRIDE" + "_MODE_UNSPECIFIED\020\000\022!\n\035ENTITY_OVERRIDE_M" + "ODE_OVERRIDE\020\001\022#\n\037ENTITY_OVERRIDE_MODE_S" - + "UPPLEMENT\020\002:w\352At\n+dialogflow.googleapis." - + "com/SessionEntityType\022Eprojects/{project" - + "}/agent/sessions/{session}/entityTypes/{" - + "entity_type}\"e\n\035ListSessionEntityTypesRe" - + "quest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030" - + "\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\206\001\n\036" - + "ListSessionEntityTypesResponse\022K\n\024sessio" - + "n_entity_types\030\001 \003(\0132-.google.cloud.dial" - + "ogflow.v2.SessionEntityType\022\027\n\017next_page" - + "_token\030\002 \001(\t\"`\n\033GetSessionEntityTypeRequ" - + "est\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+dialogflow.go" - + "ogleapis.com/SessionEntityType\"\206\001\n\036Creat" - + "eSessionEntityTypeRequest\022\023\n\006parent\030\001 \001(" - + "\tB\003\340A\002\022O\n\023session_entity_type\030\002 \001(\0132-.go" - + "ogle.cloud.dialogflow.v2.SessionEntityTy" - + "peB\003\340A\002\"\247\001\n\036UpdateSessionEntityTypeReque" - + "st\022O\n\023session_entity_type\030\001 \001(\0132-.google" - + ".cloud.dialogflow.v2.SessionEntityTypeB\003" - + "\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protob" - + "uf.FieldMaskB\003\340A\001\"Y\n\036DeleteSessionEntity" - + "TypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialo" - + "gflow.googleapis.com/Context2\274\r\n\022Session" - + "EntityTypes\022\247\002\n\026ListSessionEntityTypes\0229" - + ".google.cloud.dialogflow.v2.ListSessionE" - + "ntityTypesRequest\032:.google.cloud.dialogf" - + "low.v2.ListSessionEntityTypesResponse\"\225\001" - + "\202\323\344\223\002\205\001\0224/v2/{parent=projects/*/agent/se" - + "ssions/*}/entityTypesZM\022K/v2/{parent=pro" - + "jects/*/agent/environments/*/users/*/ses" - + "sions/*}/entityTypes\332A\006parent\022\224\002\n\024GetSes" - + "sionEntityType\0227.google.cloud.dialogflow" - + ".v2.GetSessionEntityTypeRequest\032-.google" - + ".cloud.dialogflow.v2.SessionEntityType\"\223" - + "\001\202\323\344\223\002\205\001\0224/v2/{name=projects/*/agent/ses" - + "sions/*/entityTypes/*}ZM\022K/v2/{name=proj" - + "ects/*/agent/environments/*/users/*/sess" - + "ions/*/entityTypes/*}\332A\004name\022\332\002\n\027CreateS" - + "essionEntityType\022:.google.cloud.dialogfl" - + "ow.v2.CreateSessionEntityTypeRequest\032-.g" - + "oogle.cloud.dialogflow.v2.SessionEntityT" - + "ype\"\323\001\202\323\344\223\002\257\001\"4/v2/{parent=projects/*/ag" - + "ent/sessions/*}/entityTypes:\023session_ent" - + "ity_typeZb\"K/v2/{parent=projects/*/agent" - + "/environments/*/users/*/sessions/*}/enti" - + "tyTypes:\023session_entity_type\332A\032parent,se" - + "ssion_entity_type\022\207\003\n\027UpdateSessionEntit" - + "yType\022:.google.cloud.dialogflow.v2.Updat" - + "eSessionEntityTypeRequest\032-.google.cloud" - + ".dialogflow.v2.SessionEntityType\"\200\002\202\323\344\223\002" - + "\327\0012H/v2/{session_entity_type.name=projec" - + "ts/*/agent/sessions/*/entityTypes/*}:\023se" - + "ssion_entity_typeZv2_/v2/{session_entity" - + "_type.name=projects/*/agent/environments" - + "/*/users/*/sessions/*/entityTypes/*}:\023se" - + "ssion_entity_type\332A\037session_entity_type," - + "update_mask\022\203\002\n\027DeleteSessionEntityType\022" - + ":.google.cloud.dialogflow.v2.DeleteSessi" - + "onEntityTypeRequest\032\026.google.protobuf.Em" - + "pty\"\223\001\202\323\344\223\002\205\001*4/v2/{name=projects/*/agen" - + "t/sessions/*/entityTypes/*}ZM*K/v2/{name" - + "=projects/*/agent/environments/*/users/*" - + "/sessions/*/entityTypes/*}\332A\004name\032x\312A\031di" - + "alogflow.googleapis.com\322AYhttps://www.go" - + "ogleapis.com/auth/cloud-platform,https:/" - + "/www.googleapis.com/auth/dialogflowB\245\001\n\036" - + "com.google.cloud.dialogflow.v2B\026SessionE" - + "ntityTypeProtoP\001ZDgoogle.golang.org/genp" - + "roto/googleapis/cloud/dialogflow/v2;dial" - + "ogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow" - + ".V2b\006proto3" + + "UPPLEMENT\020\002:\347\001\352A\343\001\n+dialogflow.googleapi" + + "s.com/SessionEntityType\022Eprojects/{proje" + + "ct}/agent/sessions/{session}/entityTypes" + + "/{entity_type}\022mprojects/{project}/agent" + + "/environments/{environment}/users/{user}" + + "/sessions/{session}/entityTypes/{entity_" + + "type}\"\225\001\n\035ListSessionEntityTypesRequest\022" + + "C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+dialogflow.goog" + + "leapis.com/SessionEntityType\022\026\n\tpage_siz" + + "e\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\206\001" + + "\n\036ListSessionEntityTypesResponse\022K\n\024sess" + + "ion_entity_types\030\001 \003(\0132-.google.cloud.di" + + "alogflow.v2.SessionEntityType\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"`\n\033GetSessionEntityTypeRe" + + "quest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+dialogflow." + + "googleapis.com/SessionEntityType\"\266\001\n\036Cre" + + "ateSessionEntityTypeRequest\022C\n\006parent\030\001 " + + "\001(\tB3\340A\002\372A-\022+dialogflow.googleapis.com/S" + + "essionEntityType\022O\n\023session_entity_type\030" + + "\002 \001(\0132-.google.cloud.dialogflow.v2.Sessi" + + "onEntityTypeB\003\340A\002\"\247\001\n\036UpdateSessionEntit" + + "yTypeRequest\022O\n\023session_entity_type\030\001 \001(" + + "\0132-.google.cloud.dialogflow.v2.SessionEn" + + "tityTypeB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goo" + + "gle.protobuf.FieldMaskB\003\340A\001\"c\n\036DeleteSes" + + "sionEntityTypeRequest\022A\n\004name\030\001 \001(\tB3\340A\002" + + "\372A-\n+dialogflow.googleapis.com/SessionEn" + + "tityType2\322\r\n\022SessionEntityTypes\022\247\002\n\026List" + + "SessionEntityTypes\0229.google.cloud.dialog" + + "flow.v2.ListSessionEntityTypesRequest\032:." + + "google.cloud.dialogflow.v2.ListSessionEn" + + "tityTypesResponse\"\225\001\202\323\344\223\002\205\001\0224/v2/{parent" + + "=projects/*/agent/sessions/*}/entityType" + + "sZM\022K/v2/{parent=projects/*/agent/enviro" + + "nments/*/users/*/sessions/*}/entityTypes" + + "\332A\006parent\022\224\002\n\024GetSessionEntityType\0227.goo" + + "gle.cloud.dialogflow.v2.GetSessionEntity" + + "TypeRequest\032-.google.cloud.dialogflow.v2" + + ".SessionEntityType\"\223\001\202\323\344\223\002\205\001\0224/v2/{name=" + + "projects/*/agent/sessions/*/entityTypes/" + + "*}ZM\022K/v2/{name=projects/*/agent/environ" + + "ments/*/users/*/sessions/*/entityTypes/*" + + "}\332A\004name\022\332\002\n\027CreateSessionEntityType\022:.g" + + "oogle.cloud.dialogflow.v2.CreateSessionE" + + "ntityTypeRequest\032-.google.cloud.dialogfl" + + "ow.v2.SessionEntityType\"\323\001\202\323\344\223\002\257\001\"4/v2/{" + + "parent=projects/*/agent/sessions/*}/enti" + + "tyTypes:\023session_entity_typeZb\"K/v2/{par" + + "ent=projects/*/agent/environments/*/user" + + "s/*/sessions/*}/entityTypes:\023session_ent" + + "ity_type\332A\032parent,session_entity_type\022\235\003" + + "\n\027UpdateSessionEntityType\022:.google.cloud" + + ".dialogflow.v2.UpdateSessionEntityTypeRe" + + "quest\032-.google.cloud.dialogflow.v2.Sessi" + + "onEntityType\"\226\002\202\323\344\223\002\327\0012H/v2/{session_ent" + + "ity_type.name=projects/*/agent/sessions/" + + "*/entityTypes/*}:\023session_entity_typeZv2" + + "_/v2/{session_entity_type.name=projects/" + + "*/agent/environments/*/users/*/sessions/" + + "*/entityTypes/*}:\023session_entity_type\332A\023" + + "session_entity_type\332A\037session_entity_typ" + + "e,update_mask\022\203\002\n\027DeleteSessionEntityTyp" + + "e\022:.google.cloud.dialogflow.v2.DeleteSes" + + "sionEntityTypeRequest\032\026.google.protobuf." + + "Empty\"\223\001\202\323\344\223\002\205\001*4/v2/{name=projects/*/ag" + + "ent/sessions/*/entityTypes/*}ZM*K/v2/{na" + + "me=projects/*/agent/environments/*/users" + + "/*/sessions/*/entityTypes/*}\332A\004name\032x\312A\031" + + "dialogflow.googleapis.com\322AYhttps://www." + + "googleapis.com/auth/cloud-platform,https" + + "://www.googleapis.com/auth/dialogflowB\245\001" + + "\n\036com.google.cloud.dialogflow.v2B\026Sessio" + + "nEntityTypeProtoP\001ZDgoogle.golang.org/ge" + + "nproto/googleapis/cloud/dialogflow/v2;di" + + "alogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogfl" + + "ow.V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java index 523ffbaf8..2ab54a698 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java @@ -200,15 +200,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "entResponse\"\000(\0010\001\032x\312A\031dialogflow.googlea" + "pis.com\322AYhttps://www.googleapis.com/aut" + "h/cloud-platform,https://www.googleapis." - + "com/auth/dialogflowB\261\002\n\036com.google.cloud" + + "com/auth/dialogflowB\304\002\n\036com.google.cloud" + ".dialogflow.v2B\014SessionProtoP\001ZDgoogle.g" + "olang.org/genproto/googleapis/cloud/dial" + "ogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cl" - + "oud.Dialogflow.V2\352A\222\001\n!dialogflow.google" - + "apis.com/Session\022@projects/{project}/loc" - + "ations/{location}/agent/sessions/{sessio" - + "n}\022+projects/{project}/agent/sessions/{s" - + "ession}b\006proto3" + + "oud.Dialogflow.V2\352A\245\001\n!dialogflow.google" + + "apis.com/Session\022+projects/{project}/age" + + "nt/sessions/{session}\022Sprojects/{project" + + "}/agent/environments/{environment}/users" + + "/{user}/sessions/{session}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java index e54d85fd6..4812e258f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java @@ -199,12 +199,11 @@ public com.google.cloud.dialogflow.v2.EntityTypeOrBuilder getEntityTypeOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -226,12 +225,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -880,12 +878,11 @@ public com.google.cloud.dialogflow.v2.EntityTypeOrBuilder getEntityTypeOrBuilder * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -907,12 +904,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -934,12 +930,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -960,12 +955,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -982,12 +976,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequestOrBuilder.java index ada2a23dd..8da99e3f2 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequestOrBuilder.java @@ -68,12 +68,11 @@ public interface UpdateEntityTypeRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -85,12 +84,11 @@ public interface UpdateEntityTypeRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java index 979bcc094..fb5d39c17 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java @@ -202,12 +202,11 @@ public com.google.cloud.dialogflow.v2.IntentOrBuilder getIntentOrBuilder() { * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -229,12 +228,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -936,12 +934,11 @@ public com.google.cloud.dialogflow.v2.IntentOrBuilder getIntentOrBuilder() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -963,12 +960,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -990,12 +986,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1016,12 +1011,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1038,12 +1032,11 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequestOrBuilder.java index 96cc2fd29..e14d8ece4 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequestOrBuilder.java @@ -65,12 +65,11 @@ public interface UpdateIntentRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -82,12 +81,11 @@ public interface UpdateIntentRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java index 2979f550a..07c25638e 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java @@ -381,28 +381,16 @@ public com.google.protobuf.ByteString getSourceBytes() { * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the API
+   * caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * `QueryResult.webhook_payload` sent to the API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -416,28 +404,16 @@ public boolean hasPayload() { * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the API
+   * caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * `QueryResult.webhook_payload` sent to the API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -451,28 +427,16 @@ public com.google.protobuf.Struct getPayload() { * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the API
+   * caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * `QueryResult.webhook_payload` sent to the API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -1862,28 +1826,16 @@ public Builder setSourceBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the API
+     * caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * `QueryResult.webhook_payload` sent to the API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -1897,28 +1849,16 @@ public boolean hasPayload() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the API
+     * caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * `QueryResult.webhook_payload` sent to the API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -1936,28 +1876,16 @@ public com.google.protobuf.Struct getPayload() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the API
+     * caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * `QueryResult.webhook_payload` sent to the API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -1979,28 +1907,16 @@ public Builder setPayload(com.google.protobuf.Struct value) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the API
+     * caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * `QueryResult.webhook_payload` sent to the API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2019,28 +1935,16 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the API
+     * caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * `QueryResult.webhook_payload` sent to the API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2064,28 +1968,16 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the API
+     * caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * `QueryResult.webhook_payload` sent to the API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2105,28 +1997,16 @@ public Builder clearPayload() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the API
+     * caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * `QueryResult.webhook_payload` sent to the API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2140,28 +2020,16 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the API
+     * caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * `QueryResult.webhook_payload` sent to the API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2177,28 +2045,16 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the API
+     * caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * `QueryResult.webhook_payload` sent to the API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java index 17f792c17..30d0d367e 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java @@ -136,28 +136,16 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the API
+   * caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * `QueryResult.webhook_payload` sent to the API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -169,28 +157,16 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the API
+   * caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * `QueryResult.webhook_payload` sent to the API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -202,28 +178,16 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the API
+   * caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * `QueryResult.webhook_payload` sent to the API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto index 8c74629da..d88058f2a 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto @@ -302,7 +302,7 @@ message GetAgentRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "dialogflow.googleapis.com/Agent" } ]; } @@ -323,11 +323,13 @@ message DeleteAgentRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "dialogflow.googleapis.com/Agent" } ]; } +// ============================================================================ +// Requests and responses for custom methods. // The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents]. message SearchAgentsRequest { // Required. The project to list agents from. @@ -335,7 +337,7 @@ message SearchAgentsRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "dialogflow.googleapis.com/Agent" } ]; @@ -365,7 +367,7 @@ message TrainAgentRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "dialogflow.googleapis.com/Agent" } ]; } @@ -377,7 +379,7 @@ message ExportAgentRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "dialogflow.googleapis.com/Agent" } ]; @@ -408,7 +410,7 @@ message ImportAgentRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "dialogflow.googleapis.com/Agent" } ]; @@ -430,7 +432,7 @@ message RestoreAgentRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "dialogflow.googleapis.com/Agent" } ]; @@ -452,7 +454,7 @@ message GetValidationResultRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "dialogflow.googleapis.com/Agent" } ]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto index ebad7cd67..5c85b3c2f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto @@ -134,6 +134,7 @@ message Context { option (google.api.resource) = { type: "dialogflow.googleapis.com/Context" pattern: "projects/{project}/agent/sessions/{session}/contexts/{context}" + pattern: "projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}" }; // Required. The unique identifier of the context. Format: @@ -156,15 +157,26 @@ message Context { string name = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. The number of conversational query requests after which the - // context expires. If set to `0` (the default) the context expires + // context expires. The default is `0`. If set to `0`, the context expires // immediately. Contexts expire automatically after 20 minutes if there // are no matching queries. int32 lifespan_count = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The collection of parameters associated with this context. - // Refer to [this - // doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) - // for syntax. + // + // Depending on your protocol or client library language, this is a + // map, associative array, symbol table, dictionary, or JSON object + // composed of a collection of (MapKey, MapValue) pairs: + // + // - MapKey type: string + // - MapKey value: parameter name + // - MapValue type: + // - If parameter's entity type is a composite entity: map + // - Else: string + // - MapValue value: + // - If parameter's entity type is a composite entity: + // map from composite entity property names to property values + // - Else: parameter value google.protobuf.Struct parameters = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -176,7 +188,12 @@ message ListContextsRequest { // ID>/sessions/`. // If `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' user. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Context" + } + ]; // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto index 7c15d742b..5c0273724 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/entity_type.proto @@ -290,16 +290,15 @@ message ListEntityTypesRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Agent" + child_type: "dialogflow.googleapis.com/EntityType" } ]; - // Optional. The language to list entity synonyms for. If not specified, - // the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of items to return in a single page. By @@ -332,12 +331,11 @@ message GetEntityTypeRequest { } ]; - // Optional. The language to retrieve entity synonyms for. If not specified, - // the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -348,19 +346,18 @@ message CreateEntityTypeRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Agent" + child_type: "dialogflow.googleapis.com/EntityType" } ]; // Required. The entity type to create. EntityType entity_type = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. The language of entity synonyms defined in `entity_type`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -369,12 +366,11 @@ message UpdateEntityTypeRequest { // Required. The entity type to update. EntityType entity_type = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The language of entity synonyms defined in `entity_type`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. @@ -400,7 +396,7 @@ message BatchUpdateEntityTypesRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Agent" + child_type: "dialogflow.googleapis.com/EntityType" } ]; @@ -421,12 +417,11 @@ message BatchUpdateEntityTypesRequest { EntityTypeBatch entity_type_batch_inline = 3; } - // Optional. The language of entity synonyms defined in `entity_types`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. @@ -446,7 +441,7 @@ message BatchDeleteEntityTypesRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Agent" + child_type: "dialogflow.googleapis.com/EntityType" } ]; @@ -469,12 +464,11 @@ message BatchCreateEntitiesRequest { // Required. The entities to create. repeated EntityType.Entity entities = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -492,12 +486,11 @@ message BatchUpdateEntitiesRequest { // Required. The entities to update or create. repeated EntityType.Entity entities = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. @@ -520,12 +513,11 @@ message BatchDeleteEntitiesRequest { // `projects/`. repeated string entity_values = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto index f9a4fbcec..d206bcd65 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/intent.proto @@ -128,6 +128,8 @@ service Intents { post: "/v2/{parent=projects/*/agent}/intents:batchUpdate" body: "*" }; + option (google.api.method_signature) = "parent,intent_batch_uri"; + option (google.api.method_signature) = "parent,intent_batch_inline"; option (google.longrunning.operation_info) = { response_type: "google.cloud.dialogflow.v2.BatchUpdateIntentsResponse" metadata_type: "google.protobuf.Struct" @@ -273,7 +275,11 @@ message Intent { bool is_list = 8 [(google.api.field_behavior) = OPTIONAL]; } - // Corresponds to the `Response` field in the Dialogflow console. + // A rich response message. + // Corresponds to the intent `Response` field in the Dialogflow console. + // For more information, see + // [Rich response + // messages](https://cloud.google.com/dialogflow/docs/intents-rich-messages). message Message { // The text response message. message Text { @@ -649,9 +655,10 @@ message Intent { string text = 1; } - // Represents different platforms that a rich message can be intended for. + // The rich response message integration platform. See + // [Integrations](https://cloud.google.com/dialogflow/docs/integrations). enum Platform { - // Not specified. + // Default platform. PLATFORM_UNSPECIFIED = 0; // Facebook. @@ -675,67 +682,9 @@ message Intent { // Viber. VIBER = 7; - // Actions on Google. - // When using Actions on Google, you can choose one of the specific - // Intent.Message types that mention support for Actions on Google, - // or you can use the advanced Intent.Message.payload field. - // The payload field provides access to AoG features not available in the - // specific message types. - // If using the Intent.Message.payload field, it should have a structure - // similar to the JSON message shown here. For more information, see - // [Actions on Google Webhook - // Format](https://developers.google.com/actions/dialogflow/webhook) - //
{
-      //   "expectUserResponse": true,
-      //   "isSsml": false,
-      //   "noInputPrompts": [],
-      //   "richResponse": {
-      //     "items": [
-      //       {
-      //         "simpleResponse": {
-      //           "displayText": "hi",
-      //           "textToSpeech": "hello"
-      //         }
-      //       }
-      //     ],
-      //     "suggestions": [
-      //       {
-      //         "title": "Say this"
-      //       },
-      //       {
-      //         "title": "or this"
-      //       }
-      //     ]
-      //   },
-      //   "systemIntent": {
-      //     "data": {
-      //       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
-      //       "listSelect": {
-      //         "items": [
-      //           {
-      //             "optionInfo": {
-      //               "key": "key1",
-      //               "synonyms": [
-      //                 "key one"
-      //               ]
-      //             },
-      //             "title": "must not be empty, but unique"
-      //           },
-      //           {
-      //             "optionInfo": {
-      //               "key": "key2",
-      //               "synonyms": [
-      //                 "key two"
-      //               ]
-      //             },
-      //             "title": "must not be empty, but unique"
-      //           }
-      //         ]
-      //       }
-      //     },
-      //     "intent": "actions.intent.OPTION"
-      //   }
-      // }
+ // Google Assistant + // See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) ACTIONS_ON_GOOGLE = 8; // Google Hangouts. @@ -756,9 +705,7 @@ message Intent { // The card response. Card card = 4; - // Returns a response containing a custom, platform-specific payload. - // See the Intent.Message.Platform type for a description of the - // structure that may be required for your platform. + // A custom platform-specific response. google.protobuf.Struct payload = 5; // The voice and text-only responses for Actions on Google. @@ -817,11 +764,11 @@ message Intent { WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING = 2; } - // The unique identifier of this intent. + // Optional. The unique identifier of this intent. // Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] // methods. // Format: `projects//agent/intents/`. - string name = 1; + string name = 1 [(google.api.field_behavior) = OPTIONAL]; // Required. The name of this intent. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; @@ -918,16 +865,15 @@ message ListIntentsRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Agent" + child_type: "dialogflow.googleapis.com/Intent" } ]; - // Optional. The language to list training phrases, parameters and rich - // messages for. If not specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The resource view to apply to the returned intent. @@ -963,12 +909,11 @@ message GetIntentRequest { } ]; - // Optional. The language to retrieve training phrases, parameters and rich - // messages for. If not specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The resource view to apply to the returned intent. @@ -982,19 +927,18 @@ message CreateIntentRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Agent" + child_type: "dialogflow.googleapis.com/Intent" } ]; // Required. The intent to create. Intent intent = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. The language of training phrases, parameters and rich messages - // defined in `intent`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The resource view to apply to the returned intent. @@ -1006,12 +950,11 @@ message UpdateIntentRequest { // Required. The intent to update. Intent intent = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The language of training phrases, parameters and rich messages - // defined in `intent`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. @@ -1034,14 +977,13 @@ message DeleteIntentRequest { ]; } -// The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]. message BatchUpdateIntentsRequest { // Required. The name of the agent to update or create intents in. // Format: `projects//agent`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Agent" + child_type: "dialogflow.googleapis.com/Intent" } ]; @@ -1056,12 +998,11 @@ message BatchUpdateIntentsRequest { IntentBatch intent_batch_inline = 3; } - // Optional. The language of training phrases, parameters and rich messages - // defined in `intents`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). string language_code = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. @@ -1084,7 +1025,7 @@ message BatchDeleteIntentsRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Agent" + child_type: "dialogflow.googleapis.com/Intent" } ]; diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto index 550c6f4ca..ba53833d3 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto @@ -39,8 +39,8 @@ option java_package = "com.google.cloud.dialogflow.v2"; option objc_class_prefix = "DF"; option (google.api.resource_definition) = { type: "dialogflow.googleapis.com/Session" - pattern: "projects/{project}/locations/{location}/agent/sessions/{session}" pattern: "projects/{project}/agent/sessions/{session}" + pattern: "projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}" }; // A session represents an interaction with a user. You retrieve user input @@ -76,7 +76,6 @@ service Sessions { } } -// ============================================================================ // Requests and responses for custom methods. // The request to detect user's intent. message DetectIntentRequest { @@ -177,8 +176,11 @@ message QueryParameters { // for the session of this query. repeated SessionEntityType session_entity_types = 5; - // This field can be used to pass custom data into the webhook - // associated with the agent. Arbitrary JSON objects are supported. + // This field can be used to pass custom data to your webhook. + // Arbitrary JSON objects are supported. + // If supplied, the value is used to populate the + // `WebhookRequest.original_detect_intent_request.payload` + // field sent to your webhook. google.protobuf.Struct payload = 6; // Configures the type of sentiment analysis to perform. If not diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session_entity_type.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session_entity_type.proto index ca59b5028..9a16a5583 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session_entity_type.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session_entity_type.proto @@ -119,6 +119,7 @@ service SessionEntityTypes { body: "session_entity_type" } }; + option (google.api.method_signature) = "session_entity_type"; option (google.api.method_signature) = "session_entity_type,update_mask"; } @@ -149,6 +150,7 @@ message SessionEntityType { option (google.api.resource) = { type: "dialogflow.googleapis.com/SessionEntityType" pattern: "projects/{project}/agent/sessions/{session}/entityTypes/{entity_type}" + pattern: "projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/entityTypes/{entity_type}" }; // The types of modifications for a session entity type. @@ -201,7 +203,12 @@ message ListSessionEntityTypesRequest { // sessions/`. // If `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' user. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/SessionEntityType" + } + ]; // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. @@ -247,7 +254,12 @@ message CreateSessionEntityTypeRequest { // sessions/`. // If `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' user. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/SessionEntityType" + } + ]; // Required. The session entity type to create. SessionEntityType session_entity_type = 2 [(google.api.field_behavior) = REQUIRED]; @@ -274,7 +286,7 @@ message DeleteSessionEntityTypeRequest { string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Context" + type: "dialogflow.googleapis.com/SessionEntityType" } ]; } diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/webhook.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/webhook.proto index 9b9d4ce8b..94a373c75 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/webhook.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/webhook.proto @@ -79,29 +79,16 @@ message WebhookResponse { // Optional. This value is passed directly to `QueryResult.webhook_source`. string source = 3; - // Optional. This value is passed directly to `QueryResult.webhook_payload`. - // See the related `fulfillment_messages[i].payload field`, which may be used - // as an alternative to this field. - // - // This field can be used for Actions on Google responses. - // It should have a structure similar to the JSON message shown here. For more - // information, see - // [Actions on Google Webhook - // Format](https://developers.google.com/actions/dialogflow/webhook) - //
{
-  //   "google": {
-  //     "expectUserResponse": true,
-  //     "richResponse": {
-  //       "items": [
-  //         {
-  //           "simpleResponse": {
-  //             "textToSpeech": "this is a simple response"
-  //           }
-  //         }
-  //       ]
-  //     }
-  //   }
-  // }
+ // Optional. This field can be used to pass custom data from your webhook to the API + // caller. Arbitrary JSON objects are supported. + // When provided, Dialogflow uses this field to populate + // `QueryResult.webhook_payload` sent to the API caller. + // This field is also used by the + // [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog) + // for rich response messages. + // See the format definition at [Google Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) google.protobuf.Struct payload = 4; // Optional. The collection of output contexts. This value is passed directly @@ -137,7 +124,8 @@ message OriginalDetectIntentRequest { // field passed in the request. Some integrations that query a Dialogflow // agent may provide additional information in the payload. // - // In particular for the Telephony Gateway this field has the form: + // In particular, for the Dialogflow Phone Gateway integration, this field has + // the form: //
{
   //  "telephony": {
   //    "caller_id": "+18558363987"
diff --git a/synth.metadata b/synth.metadata
index 303fb0671..dd3ea8993 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -1,20 +1,21 @@
 {
-  "updateTime": "2020-04-01T22:43:23.301561Z",
+  "updateTime": "2020-04-03T21:57:26.600813Z",
   "sources": [
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "fd83ab212176a1042e8d45ea90766b3bf59ac679",
-        "internalRef": "302913609"
+        "sha": "3d52f3c126fbfc31f067a7f54737b7f0dfbce163",
+        "internalRef": "304635286"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "fd83ab212176a1042e8d45ea90766b3bf59ac679",
-        "internalRef": "302913609"
+        "sha": "3d52f3c126fbfc31f067a7f54737b7f0dfbce163",
+        "internalRef": "304635286",
+        "log": "3d52f3c126fbfc31f067a7f54737b7f0dfbce163\nDialogflow weekly v2 library update:\n- Change `parent` field's resource_reference to specify child_type instead of type per client library generation requirement;\n- Change Session with its child resource pattern to support both projects/{project}/agent/sessions/{session} and projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session};\n- Fix `method_signature`\n- Regular documentation update\n\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 304635286\n\n4a6a01ce0ead505c245d11a2ce156de34800c58f\ndocs: change a relative URL to an absolute URL to fix broken links.\n\nPiperOrigin-RevId: 304633630\n\n1b969c28a6579265e89cd35e6c2ecacc89970e2d\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 304620317\n\n5378173a889f9c7d83e36e52d38a6267190de692\nAdd v1beta2 SubmitJobAsOperation RPC to Dataproc.\n\nPiperOrigin-RevId: 304594381\n\n3d5d228a58bdf875e6147b228db3159010c735ee\nEnable visibility on the GetSnapshot and GetTopicSnapshots methods\n\nPiperOrigin-RevId: 304500143\n\n1346f5c11a0376bc82c5c03259b304de52671518\nRefresh public client library for Cloud Monitoring.\nIncrease default ListTimeSeries deadline to 90s.\n\nPiperOrigin-RevId: 304467075\n\n4a6cfccb4a32cb28db7366295d90078c6af3112f\ndocs: Fix link in monitoring summary description.\n\nPiperOrigin-RevId: 304438717\n\n6e2ea9a4b63a264090f1bd4b5b25766a3f634f3a\nfix: add interface name overrides back to logging gapic config.\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 304438432\n\n01f3ccbaa66cf3ae4e3b9fd140b1ecfbe54a3ed0\nFix: Add package/namespace options for C#, Ruby and PHP in remaining protos.\n\nPiperOrigin-RevId: 304416658\n\nb89abbf12cd3c086abddcd79adb0a653349f960a\nchore(google/maps): Rename nox.py to noxfile.py\n\nupstream wip fix here: https://github.com/googleapis/gapic-generator/pull/3156\n\nPiperOrigin-RevId: 304411146\n\nbbf26d7f11fae7789b13959bf100983c496c9807\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 304409906\n\n75047719f704d61f405cac6d7439637ab36c1232\nfix Dataproc: add missing `REQUIRED` annotation.\n\nPiperOrigin-RevId: 304305096\n\n7e1b880fd5d477176cf9b0bb9b137b9bea56e787\nAdd Ruby/PHP namespace options\n\nPiperOrigin-RevId: 304288402\n\naba342359b6743353195ca53f944fe71e6fb6cd4\nchore: add java assembly target for accesscontextmanager BUILD.bazel\n\nPiperOrigin-RevId: 304207684\n\ndc65f39f33cb139b3a2244199a3e722a4d94b679\nFor Secret Manager v1 and v1beta1, noted Secret ID character limitations.\n\nPiperOrigin-RevId: 304035052\n\n2ee8c4d06db823c29a127709e66c35e38b6e98ab\nchore(deps): Update gax-java dependency\nThis is to integrate java11 incompatibility fix\n\nPiperOrigin-RevId: 304032057\n\nb5c94cec71ea9b840dc0110a0275323313ecc85a\nchore: add java assembly target for orgpolicy BUILD.bazel\n\nPiperOrigin-RevId: 304021854\n\n690f4d6344197fde775230cec165a9db3b3929c7\nchore: use the latest protoc-java-resource-name-plugin in third_party/googleapis WORKSPACE.\n- trace up only one level when calculating parent types with singleton resource names\n\nPiperOrigin-RevId: 304007414\n\n87144228bd9920b824996355f27891310fad5a32\nEnable gapic v2 for DLP.\n\nCommitter: @hzyi-google\nPiperOrigin-RevId: 303999064\n\n17cfae00f2bb51cb1683f017da7e295a1b0f01a8\nAdd a new AuthorizationType for Data Source Definition.\n\nPiperOrigin-RevId: 303992863\n\n6da3d64919c006ef40cad2026f1e39084253afe2\nfix(google/maps): Change importpath to developers.google.com/maps/go.\n\nPiperOrigin-RevId: 303976942\n\n2983dccde54f0ce31793e1e628379616c468aea0\nbuild(google/maps): only modify root build.gradle with ext plugin\n\nPiperOrigin-RevId: 303975876\n\n00f0a285f2716ce57e98afe500e450b17b556ff8\nfix: Integerate gapic-generator java_gapic rules Java11 fix\n\nPiperOrigin-RevId: 303899179\n\na62857d26bd2ae15aec13a9244989e4104195b63\nfix: add proto_package to the artman config of dataproc v1beta2 to make artman smoketest pass.\n\nPiperOrigin-RevId: 303853989\n\nf260ba248df934fd4ddc22950fb529a59d79e0b5\nchore: use the latest gapic-generator in googleapis WORKSPACE.\n- PHP multi-pattern resource name support.\n- Trace up only one level when calculating parent types with singleton resource names\n\nPiperOrigin-RevId: 303836059\n\n89c7d455fffa5d8a7e73c2f4da43a74605ed72a6\nfeat: Add client library options to OsConfigService v1 patch APIs.\n\nPiperOrigin-RevId: 303831150\n\na45b0a2a8f6f497547ab531a4da978c76441d076\ndataproc: add back non-default retry parameters.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303830177\n\nad895ce95f1f6d2261fbbc3e8897958294e4f017\nenable gapic v2 for containeranalysis.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303821111\n\nbaf83e521834b67397839bcbe2d7864b49e38787\nAdding \"resource_reference\" annotations to services.\n\nPiperOrigin-RevId: 303791704\n\n7be2811ad17013a5ea24cd75dfd9e399dd6e18fe\nfix: Update gapic-generator version to pickup discogapic fixes\n\nPiperOrigin-RevId: 303545940\n\nb655808b3481a92f478ae2f828a6ce8220e40f32\ncloudasset: add org policy and access context manager protos to client libraries.\n\nPiperOrigin-RevId: 303527638\n\nd8c5da9a9471659b51d5862dd2ea7ad3c4bc49ef\nPopulate BAZEL.build files for AccessContextManager.\n\nPiperOrigin-RevId: 303526825\n\ncf9db7161cb9d4dbef06cd8bf5354ec485e51e2d\nPopulate BAZEL.build files for OrgPolicy.\n\nPiperOrigin-RevId: 303526702\n\n558b800ed594acc02555cc560fbb39c0e42bc438\nchore: turn on gapic v2 for Dataproc API.\nfix:\n- add missing method signatures\n- remove resource_reference not on a string field\n- adjust resource name pattern orders\n\nPiperOrigin-RevId: 303431167\n\n8eb444cf5ff63f68d826acbb37b2ac3da58655fb\nAdd logging protos for Recommender v1beta1.\n\nPiperOrigin-RevId: 303426030\n\n48a166ce9f6e2a88b10947341b37336fe9dd3478\nPush of PHP, C# and Ruby namespaces\n\nPiperOrigin-RevId: 303302813\n\n42f77489b300df2e27c84a7b65c4e8f04da20981\nThis is first release of the API protos and Bazel BUILD files for the Analytics Management API V1alpha.\n\nPiperOrigin-RevId: 303241805\n\n8bea81bfa461698981b3d3a488a95633d2f6e9ff\nchore: use latest protoc-java-resource-name-plugin in bazel WORKSPACE.\nnew commits:\n- fix: stop generating `parseList` and `toStringList` if a multi-pattern resource name has subclasses (#79)\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 303197602\n\nb14af92e565264675d6b12cd2c0ded6c94ddd7f8\nfix talent API incorrect placeholders in two resource name patterns.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303189497\n\n8e22db908ae09e1f7e2802c03b4563fd6b524e0e\nchore(google/maps): Update postprocessing script for Java.\n\n- Update root build.gradle to load local plugin\n- Change com.google.api.grpc group to com.google.maps\n\nPiperOrigin-RevId: 303176850\n\n65816afa71e588252b7119dc723592abe51ea106\nbazel: update gapic-generator-go to v0.12.5 and gapic-generator hash\n\nChanges to gapic-generator-go include:\n* feat: strip invalid link references in comments\n* chore: updating Go deps in bazel repositories\n\nChanges to gapic-generator include:\n* fix: bazel go build gen check for cloud in proto pkg name\n* Revert \"feat: allow static substitution for group name\"\n\nPiperOrigin-RevId: 303150338\n\nd4aa417ed2bba89c2d216900282bddfdafef6128\nFix incorrect retry config in gapic v2 for kms.\n\nPiperOrigin-RevId: 303010132\n\nfd08334533204fdd1b33f79fcb263dbb5bf13de0\nfix: osconfig/v1 update go_gapic_library target to microgen interface\n\nPiperOrigin-RevId: 303007866\n\ne2c0f2a0e06d86b50aba98f67f9f291587d986b3\nUpdate comments for google/rpc/error_details.proto.\n\nPiperOrigin-RevId: 303002528\n\nf786c7586748e78a286b1620ff3ddbf7b4dcab92\nfeat: Add OsConfigService v1 patch APIs.\n\nPiperOrigin-RevId: 302999346\n\n0341fa3fc2f4073a1b1f260d37b2ce620799f545\nTurn on gapic config v2 for kms.\n\nCommitter: @hzyi-google\nPiperOrigin-RevId: 302980301\n\n32dc6e832039b61ac3fb82c72eb0a27570aebcd6\nredis: v1beta1 enables REDIS_5_0 as an option for redis_version field and adds two new redis configs --stream-node-max-entries --stream-node-max-bytes\n\nPiperOrigin-RevId: 302958009\n\n685f16483cc4d87c35051f21f8f13ef4fdc919b4\nredis: v1 enables REDIS_5_0 as an option for redis_version field and adds two new redis configs --stream-node-max-entries --stream-node-max-bytes\n\nPiperOrigin-RevId: 302957729\n\n733cb282ae5e64673ef86c9a5dff647df803d8b7\nAdd GAPIC cofiguration for v1 client library genetration.\n\nPiperOrigin-RevId: 302928200\n\n1b0fff5f2ec6dc4a9443d9b50e70e9c94c30c45b\ndocs: remove an internal lint declaration\n\nPiperOrigin-RevId: 302928106\n\n2be23f3f3036a6f7ce0844def3d2d3da74e5d415\nfix(google/maps): Add post-processing rules for Google Maps APIs\n\nPiperOrigin-RevId: 302925222\n\n"
       }
     },
     {

From 58fe433eefa2cae7ad06353dda5702968e161f84 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Tue, 7 Apr 2020 00:54:44 +0200
Subject: [PATCH 25/43] deps: update core dependencies (#108)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.27.2` -> `1.28.1` |
| [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | minor | `1.54.0` -> `1.56.0` |
| [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | minor | `1.54.0` -> `1.56.0` |
| [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | patch | `1.93.1` -> `1.93.3` |

---

### Release Notes

grpc/grpc-java ### [`v1.28.1`](https://togithub.com/grpc/grpc-java/releases/v1.28.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.28.0...v1.28.1) #### Bug Fixes - xds: implement more clear specifications for locality filtering (allow localities with 0 endpoint, ignore localities with 0 weight, check for locality priority continuity). ([#​6875](https://togithub.com/grpc/grpc-java/issues/6875)) ### [`v1.28.0`](https://togithub.com/grpc/grpc-java/releases/v1.28.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.27.2...v1.28.0) #### gRPC Java 1.28.0 Release Notes #### API Changes - core: service config parsing now validates the final config object via `LoadBalancerProvider#parseLoadBalancingPolicyConfig`. LoadBalancer developers should use parsed config(`loadBalancingPolicyConfig`) in `ResolvedAddresses` instead of deprecated attribute `io.grpc.LoadBalancer.ATTR_LOAD_BALANCING_CONFIG`. - core: remove stickiness from round robin ([#​6698](https://togithub.com/grpc/grpc-java/issues/6698)) #### Behavioral Changes - core, grpclb: change policy selection strategy for Grpclb policy (take one: eliminate special logic for deciding grpclb policy in core) ([#​6637](https://togithub.com/grpc/grpc-java/issues/6637)) - gRPCLB policy selection is being stabilized according to [this gRFC](https://togithub.com/grpc/proposal/blob/master/A26-grpclb-selection.md). gRPCLB policy will not be automatically selected even if there are SRV addresses resolved. You need to explicitly specify the selection by service config (in TXT records, or via `ManagedChannelBuilder#defaultServiceConfig` or `ManagedChannelBuilder#defaultLoadBalancingPolicy`). #### New Features - This release adds an experimental client side implementation of [xDSv2](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api) APIs. This allows a gRPC client written in Java to receive configuration from an xDSv2 API compatible server and use that configuration to load balance RPCs. In this release, only the virtual host matching and cluster route action is supported. More features will be added in future. #### Bug Fixes - netty: fix a deadlock on start gRPC server ([#​6601](https://togithub.com/grpc/grpc-java/issues/6601)) - netty: negotiated application level protocol is now checked against the correct ALPN list in the SslContext settings - okhttp: fix incorrect connection-level flow control handling at beginning of connection. - alts: Fix using the wrong way of checking if Conscrypt is available ([#​6672](https://togithub.com/grpc/grpc-java/issues/6672)) - grpclb: grpclb can handle empty address from LoadBalancer instead of throwing exception - alts: do not exclude opencensus-api from google-oauth2's transitive dependencies ([#​6607](https://togithub.com/grpc/grpc-java/issues/6607)) - grpc-alts was broken since 1.27.0 release for missing opencensus-api used in google-oauth2. This was due to opencensus-api dependency was eliminated from grpc-core. Now it should be included. #### Documentation - stub,examples: Clarify CallStreamObserver's Javadoc ([#​6561](https://togithub.com/grpc/grpc-java/issues/6561)) #### Dependencies - Bump Netty to 4.1.45.Final and tcnative to 2.0.28.Final - Bump okhttp to 2.7.4 - Bump google-auth-library-credentials and google-auth-library-oauth2-http to 0.20.0 #### Acknowledgements [@​chrisschek](https://togithub.com/chrisschek) [@​cushon](https://togithub.com/cushon) Liam Miller-Cushon [@​elharo](https://togithub.com/elharo) Elliotte Rusty Harold [@​gfelbing](https://togithub.com/gfelbing) Georg Welzel [@​hatahet](https://togithub.com/hatahet) Ziad Hatahet [@​leventov](https://togithub.com/leventov) Roman Leventov [@​sourabhsparkala](https://togithub.com/sourabhsparkala) Sourabh Sarvotham Parkala [@​ZhenLian](https://togithub.com/ZhenLian) Zhen Lian
googleapis/gax-java ### [`v1.56.0`](https://togithub.com/googleapis/gax-java/releases/v1.56.0) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.55.0...v1.56.0) 04-06-2020 10:29 PDT ##### New Features - Add ability to partially update retry settings ([#​993](https://togithub.com/googleapis/gax-java/pull/993)) ##### Dependencies - Update grpc to 1.28.1 ([#​1013](https://togithub.com/googleapis/gax-java/pull/1013)) - Update com.google.api:api-common to 1.9.0 ([#​992](https://togithub.com/googleapis/gax-java/pull/992)) - Add javax.annotations dependency in bazel build to gax-grpc ([#​1000](https://togithub.com/googleapis/gax-java/pull/1000)) ##### Internal / Testing Changes - test: make it easier to debug failures in SettingsTest ([#​994](https://togithub.com/googleapis/gax-java/pull/994)) - build: update dependency gradle.plugin.com.dorongold.plugins:task-tree to v1.5 ([#​995](https://togithub.com/googleapis/gax-java/pull/995)) - test: update dependency com.google.api.grpc:grpc-google-cloud-pubsub-v1 to v1.86.0 ([#​1008](https://togithub.com/googleapis/gax-java/pull/1008)) ### [`v1.55.0`](https://togithub.com/googleapis/gax-java/releases/v1.55.0) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.54.0...v1.55.0) 03-27-2020 08:33 PDT ##### New Features - Allow client authors to create their own callable chains ([#​891](https://togithub.com/googleapis/gax-java/pull/891)) ##### Dependencies - Update org.threeten:threetenbp to v1.4.1 ([#​890](https://togithub.com/googleapis/gax-java/pull/890)) ##### Internal / Testing Changes - chore(deps): update dependency com.google.api.grpc:grpc-google-cloud-bigtable-v2 to v1 ([#​953](https://togithub.com/googleapis/gax-java/pull/953)) - chore(deps): update dependency com.google.api.grpc:grpc-google-cloud-pubsub-v1 to v1 ([#​970](https://togithub.com/googleapis/gax-java/pull/970)) - remove unused property ([#​887](https://togithub.com/googleapis/gax-java/pull/887))
googleapis/java-core ### [`v1.93.3`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1933-httpswwwgithubcomgoogleapisjava-corecomparev1932v1933-2020-03-16) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.93.2...v1.93.3) ### [`v1.93.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1932-httpswwwgithubcomgoogleapisjava-corecomparev1931v1932-2020-03-10) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.93.1...v1.93.2)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/config-help/issues) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 8595803b8..073254fa8 100644 --- a/pom.xml +++ b/pom.xml @@ -63,11 +63,11 @@ UTF-8 github google-cloud-dialogflow-parent - 1.93.1 + 1.93.3 1.9.0 1.17.0 - 1.54.0 - 1.27.2 + 1.56.0 + 1.28.1 3.11.4 4.13 28.2-android From cb6ed7aec331a9033804bfe2471240c370771306 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 7 Apr 2020 01:08:41 +0200 Subject: [PATCH 26/43] deps: update dependency com.google.cloud:google-cloud-core to v1.93.4 (#138) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | patch | `1.93.3` -> `1.93.4` | --- ### Release Notes
googleapis/java-core ### [`v1.93.4`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1934-httpswwwgithubcomgoogleapisjava-corecomparev1933v1934-2020-04-06) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.93.3...v1.93.4)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 073254fa8..ef1ff593f 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ UTF-8 github google-cloud-dialogflow-parent - 1.93.3 + 1.93.4 1.9.0 1.17.0 1.56.0 From cbca1b81babc933b0c693325f0d86113a0d791af Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 7 Apr 2020 10:38:30 -0700 Subject: [PATCH 27/43] chore: update libraries-bom to 4.4.1 (#139) This git repo (https://github.com/googleapis/java-dialogflow.git) Git repo https://github.com/googleapis/googleapis.git Git repo https://github.com/googleapis/synthtool.git --- README.md | 2 +- synth.metadata | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index db1544242..83a435c8d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.4.0 + 4.4.1 pom import diff --git a/synth.metadata b/synth.metadata index dd3ea8993..fd9b7baec 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-04-03T21:57:26.600813Z", + "updateTime": "2020-04-06T23:21:47.380749Z", "sources": [ { "git": { @@ -14,8 +14,7 @@ "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", "sha": "3d52f3c126fbfc31f067a7f54737b7f0dfbce163", - "internalRef": "304635286", - "log": "3d52f3c126fbfc31f067a7f54737b7f0dfbce163\nDialogflow weekly v2 library update:\n- Change `parent` field's resource_reference to specify child_type instead of type per client library generation requirement;\n- Change Session with its child resource pattern to support both projects/{project}/agent/sessions/{session} and projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session};\n- Fix `method_signature`\n- Regular documentation update\n\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 304635286\n\n4a6a01ce0ead505c245d11a2ce156de34800c58f\ndocs: change a relative URL to an absolute URL to fix broken links.\n\nPiperOrigin-RevId: 304633630\n\n1b969c28a6579265e89cd35e6c2ecacc89970e2d\nchore: set Ruby namespace in proto options\n\nPiperOrigin-RevId: 304620317\n\n5378173a889f9c7d83e36e52d38a6267190de692\nAdd v1beta2 SubmitJobAsOperation RPC to Dataproc.\n\nPiperOrigin-RevId: 304594381\n\n3d5d228a58bdf875e6147b228db3159010c735ee\nEnable visibility on the GetSnapshot and GetTopicSnapshots methods\n\nPiperOrigin-RevId: 304500143\n\n1346f5c11a0376bc82c5c03259b304de52671518\nRefresh public client library for Cloud Monitoring.\nIncrease default ListTimeSeries deadline to 90s.\n\nPiperOrigin-RevId: 304467075\n\n4a6cfccb4a32cb28db7366295d90078c6af3112f\ndocs: Fix link in monitoring summary description.\n\nPiperOrigin-RevId: 304438717\n\n6e2ea9a4b63a264090f1bd4b5b25766a3f634f3a\nfix: add interface name overrides back to logging gapic config.\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 304438432\n\n01f3ccbaa66cf3ae4e3b9fd140b1ecfbe54a3ed0\nFix: Add package/namespace options for C#, Ruby and PHP in remaining protos.\n\nPiperOrigin-RevId: 304416658\n\nb89abbf12cd3c086abddcd79adb0a653349f960a\nchore(google/maps): Rename nox.py to noxfile.py\n\nupstream wip fix here: https://github.com/googleapis/gapic-generator/pull/3156\n\nPiperOrigin-RevId: 304411146\n\nbbf26d7f11fae7789b13959bf100983c496c9807\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 304409906\n\n75047719f704d61f405cac6d7439637ab36c1232\nfix Dataproc: add missing `REQUIRED` annotation.\n\nPiperOrigin-RevId: 304305096\n\n7e1b880fd5d477176cf9b0bb9b137b9bea56e787\nAdd Ruby/PHP namespace options\n\nPiperOrigin-RevId: 304288402\n\naba342359b6743353195ca53f944fe71e6fb6cd4\nchore: add java assembly target for accesscontextmanager BUILD.bazel\n\nPiperOrigin-RevId: 304207684\n\ndc65f39f33cb139b3a2244199a3e722a4d94b679\nFor Secret Manager v1 and v1beta1, noted Secret ID character limitations.\n\nPiperOrigin-RevId: 304035052\n\n2ee8c4d06db823c29a127709e66c35e38b6e98ab\nchore(deps): Update gax-java dependency\nThis is to integrate java11 incompatibility fix\n\nPiperOrigin-RevId: 304032057\n\nb5c94cec71ea9b840dc0110a0275323313ecc85a\nchore: add java assembly target for orgpolicy BUILD.bazel\n\nPiperOrigin-RevId: 304021854\n\n690f4d6344197fde775230cec165a9db3b3929c7\nchore: use the latest protoc-java-resource-name-plugin in third_party/googleapis WORKSPACE.\n- trace up only one level when calculating parent types with singleton resource names\n\nPiperOrigin-RevId: 304007414\n\n87144228bd9920b824996355f27891310fad5a32\nEnable gapic v2 for DLP.\n\nCommitter: @hzyi-google\nPiperOrigin-RevId: 303999064\n\n17cfae00f2bb51cb1683f017da7e295a1b0f01a8\nAdd a new AuthorizationType for Data Source Definition.\n\nPiperOrigin-RevId: 303992863\n\n6da3d64919c006ef40cad2026f1e39084253afe2\nfix(google/maps): Change importpath to developers.google.com/maps/go.\n\nPiperOrigin-RevId: 303976942\n\n2983dccde54f0ce31793e1e628379616c468aea0\nbuild(google/maps): only modify root build.gradle with ext plugin\n\nPiperOrigin-RevId: 303975876\n\n00f0a285f2716ce57e98afe500e450b17b556ff8\nfix: Integerate gapic-generator java_gapic rules Java11 fix\n\nPiperOrigin-RevId: 303899179\n\na62857d26bd2ae15aec13a9244989e4104195b63\nfix: add proto_package to the artman config of dataproc v1beta2 to make artman smoketest pass.\n\nPiperOrigin-RevId: 303853989\n\nf260ba248df934fd4ddc22950fb529a59d79e0b5\nchore: use the latest gapic-generator in googleapis WORKSPACE.\n- PHP multi-pattern resource name support.\n- Trace up only one level when calculating parent types with singleton resource names\n\nPiperOrigin-RevId: 303836059\n\n89c7d455fffa5d8a7e73c2f4da43a74605ed72a6\nfeat: Add client library options to OsConfigService v1 patch APIs.\n\nPiperOrigin-RevId: 303831150\n\na45b0a2a8f6f497547ab531a4da978c76441d076\ndataproc: add back non-default retry parameters.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303830177\n\nad895ce95f1f6d2261fbbc3e8897958294e4f017\nenable gapic v2 for containeranalysis.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303821111\n\nbaf83e521834b67397839bcbe2d7864b49e38787\nAdding \"resource_reference\" annotations to services.\n\nPiperOrigin-RevId: 303791704\n\n7be2811ad17013a5ea24cd75dfd9e399dd6e18fe\nfix: Update gapic-generator version to pickup discogapic fixes\n\nPiperOrigin-RevId: 303545940\n\nb655808b3481a92f478ae2f828a6ce8220e40f32\ncloudasset: add org policy and access context manager protos to client libraries.\n\nPiperOrigin-RevId: 303527638\n\nd8c5da9a9471659b51d5862dd2ea7ad3c4bc49ef\nPopulate BAZEL.build files for AccessContextManager.\n\nPiperOrigin-RevId: 303526825\n\ncf9db7161cb9d4dbef06cd8bf5354ec485e51e2d\nPopulate BAZEL.build files for OrgPolicy.\n\nPiperOrigin-RevId: 303526702\n\n558b800ed594acc02555cc560fbb39c0e42bc438\nchore: turn on gapic v2 for Dataproc API.\nfix:\n- add missing method signatures\n- remove resource_reference not on a string field\n- adjust resource name pattern orders\n\nPiperOrigin-RevId: 303431167\n\n8eb444cf5ff63f68d826acbb37b2ac3da58655fb\nAdd logging protos for Recommender v1beta1.\n\nPiperOrigin-RevId: 303426030\n\n48a166ce9f6e2a88b10947341b37336fe9dd3478\nPush of PHP, C# and Ruby namespaces\n\nPiperOrigin-RevId: 303302813\n\n42f77489b300df2e27c84a7b65c4e8f04da20981\nThis is first release of the API protos and Bazel BUILD files for the Analytics Management API V1alpha.\n\nPiperOrigin-RevId: 303241805\n\n8bea81bfa461698981b3d3a488a95633d2f6e9ff\nchore: use latest protoc-java-resource-name-plugin in bazel WORKSPACE.\nnew commits:\n- fix: stop generating `parseList` and `toStringList` if a multi-pattern resource name has subclasses (#79)\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 303197602\n\nb14af92e565264675d6b12cd2c0ded6c94ddd7f8\nfix talent API incorrect placeholders in two resource name patterns.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303189497\n\n8e22db908ae09e1f7e2802c03b4563fd6b524e0e\nchore(google/maps): Update postprocessing script for Java.\n\n- Update root build.gradle to load local plugin\n- Change com.google.api.grpc group to com.google.maps\n\nPiperOrigin-RevId: 303176850\n\n65816afa71e588252b7119dc723592abe51ea106\nbazel: update gapic-generator-go to v0.12.5 and gapic-generator hash\n\nChanges to gapic-generator-go include:\n* feat: strip invalid link references in comments\n* chore: updating Go deps in bazel repositories\n\nChanges to gapic-generator include:\n* fix: bazel go build gen check for cloud in proto pkg name\n* Revert \"feat: allow static substitution for group name\"\n\nPiperOrigin-RevId: 303150338\n\nd4aa417ed2bba89c2d216900282bddfdafef6128\nFix incorrect retry config in gapic v2 for kms.\n\nPiperOrigin-RevId: 303010132\n\nfd08334533204fdd1b33f79fcb263dbb5bf13de0\nfix: osconfig/v1 update go_gapic_library target to microgen interface\n\nPiperOrigin-RevId: 303007866\n\ne2c0f2a0e06d86b50aba98f67f9f291587d986b3\nUpdate comments for google/rpc/error_details.proto.\n\nPiperOrigin-RevId: 303002528\n\nf786c7586748e78a286b1620ff3ddbf7b4dcab92\nfeat: Add OsConfigService v1 patch APIs.\n\nPiperOrigin-RevId: 302999346\n\n0341fa3fc2f4073a1b1f260d37b2ce620799f545\nTurn on gapic config v2 for kms.\n\nCommitter: @hzyi-google\nPiperOrigin-RevId: 302980301\n\n32dc6e832039b61ac3fb82c72eb0a27570aebcd6\nredis: v1beta1 enables REDIS_5_0 as an option for redis_version field and adds two new redis configs --stream-node-max-entries --stream-node-max-bytes\n\nPiperOrigin-RevId: 302958009\n\n685f16483cc4d87c35051f21f8f13ef4fdc919b4\nredis: v1 enables REDIS_5_0 as an option for redis_version field and adds two new redis configs --stream-node-max-entries --stream-node-max-bytes\n\nPiperOrigin-RevId: 302957729\n\n733cb282ae5e64673ef86c9a5dff647df803d8b7\nAdd GAPIC cofiguration for v1 client library genetration.\n\nPiperOrigin-RevId: 302928200\n\n1b0fff5f2ec6dc4a9443d9b50e70e9c94c30c45b\ndocs: remove an internal lint declaration\n\nPiperOrigin-RevId: 302928106\n\n2be23f3f3036a6f7ce0844def3d2d3da74e5d415\nfix(google/maps): Add post-processing rules for Google Maps APIs\n\nPiperOrigin-RevId: 302925222\n\n" + "internalRef": "304635286" } }, { From 8b3eb24820cc77710e5cbf9158663f5f7b35fac7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 8 Apr 2020 06:46:44 +0200 Subject: [PATCH 28/43] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.5.0 (#140) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.4.0` -> `0.5.0` | --- ### Release Notes
googleapis/java-shared-config ### [`v0.5.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​050-httpswwwgithubcomgoogleapisjava-shared-configcomparev040v050-2020-04-07) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.4.0...v0.5.0) ##### Features - add ban duplicate classes rule ([#​126](https://www.github.com/googleapis/java-shared-config/issues/126)) ([e38a7cc](https://www.github.com/googleapis/java-shared-config/commit/e38a7cc949396f8f5696e62cd060e0c076047b8d)) - add devsite javadoc profile ([#​121](https://www.github.com/googleapis/java-shared-config/issues/121)) ([7f452fb](https://www.github.com/googleapis/java-shared-config/commit/7f452fb6c5704f6ce0f731085479a28fb99ebcb9)) - add maven flatten plugin ([#​127](https://www.github.com/googleapis/java-shared-config/issues/127)) ([fb00799](https://www.github.com/googleapis/java-shared-config/commit/fb00799c416d324d68da5b660a26f7ef595c26d9)) ##### Bug Fixes - declare com.coveo:fmt-maven-plugin version/configuration ([#​90](https://www.github.com/googleapis/java-shared-config/issues/90)) ([5cf71a6](https://www.github.com/googleapis/java-shared-config/commit/5cf71a6ed699907082756e70c2fdee6ad3632f38)) ##### Dependencies - update dependency com.google.cloud.samples:shared-configuration to v1.0.13 ([#​118](https://www.github.com/googleapis/java-shared-config/issues/118)) ([58ae69e](https://www.github.com/googleapis/java-shared-config/commit/58ae69eb5ba037963cdaed0c2b0e30663bc873eb)) - update dependency com.puppycrawl.tools:checkstyle to v8.29 ([f62292d](https://www.github.com/googleapis/java-shared-config/commit/f62292dab75699a75f8a7d499fe2ccfb7ee93783)) - update dependency org.apache.maven.plugins:maven-antrun-plugin to v1.8 ([#​124](https://www.github.com/googleapis/java-shared-config/issues/124)) ([a681536](https://www.github.com/googleapis/java-shared-config/commit/a68153643400c3f3b5c5959cda4dc3b552336427)) - update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.1.2 ([#​107](https://www.github.com/googleapis/java-shared-config/issues/107)) ([c9b096b](https://www.github.com/googleapis/java-shared-config/commit/c9b096b81b1f4f8dc2d1302f259f0321722e1ca5)) - update dependency org.apache.maven.plugins:maven-site-plugin to v3.9.0 ([#​103](https://www.github.com/googleapis/java-shared-config/issues/103)) ([abe7140](https://www.github.com/googleapis/java-shared-config/commit/abe714060e858c70a83888fb34438c45d97b1168)) - update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.1.0 ([#​101](https://www.github.com/googleapis/java-shared-config/issues/101)) ([ac69572](https://www.github.com/googleapis/java-shared-config/commit/ac69572be76e4462fdf65fa6e7f0935c3d51d827))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- google-cloud-dialogflow-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-dialogflow-bom/pom.xml b/google-cloud-dialogflow-bom/pom.xml index da89b2f2b..711364123 100644 --- a/google-cloud-dialogflow-bom/pom.xml +++ b/google-cloud-dialogflow-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.4.0 + 0.5.0 Google Cloud dialogflow BOM diff --git a/pom.xml b/pom.xml index ef1ff593f..706a483a7 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.4.0 + 0.5.0 From 4cc38acd1e5554570f8985270ba5a406bcfaa808 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 9 Apr 2020 21:56:07 -0700 Subject: [PATCH 29/43] chore: update common templates (#144) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d6bf982d-3f70-479b-8cc3-60d7907932a0/targets --- .kokoro/common.sh | 14 ++++++++++++-- .kokoro/nightly/integration.cfg | 15 +++++++++++++++ README.md | 4 ++-- synth.metadata | 11 +++++++++-- 4 files changed, 38 insertions(+), 6 deletions(-) diff --git a/.kokoro/common.sh b/.kokoro/common.sh index a3bbc5f67..8f09de5d3 100644 --- a/.kokoro/common.sh +++ b/.kokoro/common.sh @@ -13,18 +13,28 @@ # See the License for the specific language governing permissions and # limitations under the License. -# set -eo pipefail - function retry_with_backoff { attempts_left=$1 sleep_seconds=$2 shift 2 command=$@ + + # store current flag state + flags=$- + + # allow a failures to continue + set +e echo "${command}" ${command} exit_code=$? + # restore "e" flag + if [[ ${flags} =~ e ]] + then set -e + else set +e + fi + if [[ $exit_code == 0 ]] then return 0 diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg index 8bf59c02e..ca0274800 100644 --- a/.kokoro/nightly/integration.cfg +++ b/.kokoro/nightly/integration.cfg @@ -6,11 +6,26 @@ env_vars: { value: "gcr.io/cloud-devrel-kokoro-resources/java8" } +env_vars: { + key: "JOB_TYPE" + value: "integration" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + env_vars: { key: "ENABLE_BUILD_COP" value: "true" } +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + before_action { fetch_keystore { keystore_resource { diff --git a/README.md b/README.md index 83a435c8d..ce8910099 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file ``` -[//]: # ({x-version-update-start:google-cloud-dialogflow:released}) - If you are using Maven without BOM, add this to your dependencies: ```xml @@ -45,6 +43,8 @@ If you are using Maven without BOM, add this to your dependencies: ``` +[//]: # ({x-version-update-start:google-cloud-dialogflow:released}) + If you are using Gradle, add this to your dependencies ```Groovy compile 'com.google.cloud:google-cloud-dialogflow:1.0.0' diff --git a/synth.metadata b/synth.metadata index fd9b7baec..1a577f228 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,6 +1,12 @@ { - "updateTime": "2020-04-06T23:21:47.380749Z", "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-dialogflow.git", + "sha": "cbca1b81babc933b0c693325f0d86113a0d791af" + } + }, { "git": { "name": "googleapis", @@ -21,7 +27,8 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e36822bfa0acb355502dab391b8ef9c4f30208d8" + "sha": "7f8e62aa3edd225f76347a16f92e400661fdfb52", + "log": "7f8e62aa3edd225f76347a16f92e400661fdfb52\nchore(java): release-please only updates non maven versions in README (#476)\n\nPrevent release-please and synthtool from fighting over the released library version. Synthtool updates the install snippets from the samples pom.xml files so the bots fight if they are temporarily out of sync after a release.\nc7e0e517d7f46f77bebd27da2e5afcaa6eee7e25\nbuild(java): fix nightly integration test config to run integrations (#465)\n\nThis was only running the units.\nbd69a2aa7b70875f3c988e269706b22fefbef40e\nbuild(java): fix retry_with_backoff when -e option set (#475)\n\n\nd9b173c427bfa0c6cca818233562e7e8841a357c\nfix: record version of working repo in synth.metadata (#473)\n\nPartial revert of b37cf74d12e9a42b9de9e61a4f26133d7cd9c168.\nf73a541770d95a609e5be6bf6b3b220d17cefcbe\nfeat(discogapic): allow local discovery-artifact-manager (#474)\n\n\n8cf0f5d93a70c3dcb0b4999d3152c46d4d9264bf\ndoc: describe the Autosynth & Synthtool protocol (#472)\n\n* doc: describe the Autosynth & Synthtool protocol\n\n* Accommodate review comments.\n980baaa738a1ad8fa02b4fdbd56be075ee77ece5\nfix: pin sphinx to <3.0.0 as new version causes new error (#471)\n\nThe error `toctree contains reference to document changlelog that doesn't have a title: no link will be generated` occurs as of 3.0.0. Pinning to 2.x until we address the docs build issue.\n\nTowards #470\n\nI did this manually for python-datastore https://github.com/googleapis/python-datastore/pull/22\n928b2998ac5023e7c7e254ab935f9ef022455aad\nchore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#466)\n\nCo-authored-by: Jeffrey Rennie \n188f1b1d53181f739b98f8aa5d40cfe99eb90c47\nfix: allow local and external deps to be specified (#469)\n\nModify noxfile.py to allow local and external dependencies for\nsystem tests to be specified.\n1df68ed6735ddce6797d0f83641a731c3c3f75b4\nfix: apache license URL (#468)\n\n\nf4a59efa54808c4b958263de87bc666ce41e415f\nfeat: Add discogapic support for GAPICBazel generation (#459)\n\n* feat: Add discogapic support for GAPICBazel generation\n\n* reformat with black\n\n* Rename source repository variable\n\nCo-authored-by: Jeffrey Rennie \n99820243d348191bc9c634f2b48ddf65096285ed\nfix: update template files for Node.js libraries (#463)\n\n\n3cbe6bcd5623139ac9834c43818424ddca5430cb\nfix(ruby): remove dead troubleshooting link from generated auth guide (#462)\n\n\na003d8655d3ebec2bbbd5fc3898e91e152265c67\ndocs: remove \"install stable\" instructions (#461)\n\nThe package hasn't been released to PyPI in some time\nf5e8c88d9870d8aa4eb43fa0b39f07e02bfbe4df\nchore(python): add license headers to config files; make small tweaks to templates (#458)\n\n\n" } } ], From 6910777ec2d0ddb52b4f7eef849923eac15e68f1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Apr 2020 20:02:16 +0200 Subject: [PATCH 30/43] chore(deps): update dependency com.google.cloud:libraries-bom to v5 (#147) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `4.4.1` -> `5.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 71546573b..66386cc09 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.4.1 + 5.1.0 pom import From 143b2993924b527e1a11835aa630be2b3265bc58 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Apr 2020 22:12:18 +0200 Subject: [PATCH 31/43] deps: update dependency com.google.guava:guava-bom to v29 (#145) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.guava:guava-bom](https://togithub.com/google/guava) | major | `28.2-android` -> `29.0-android` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 706a483a7..b424a2d96 100644 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,7 @@ 1.28.1 3.11.4 4.13 - 28.2-android + 29.0-android 1.4.3 1.3.2 1.18 From c4be3e0f1604a8e4c810ea9fd715eea49bbead2d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 15 Apr 2020 22:42:32 -0700 Subject: [PATCH 32/43] chore: update common templates (#156) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/a8b4de14-bbed-43a8-a032-34b2812821a8/targets --- .kokoro/common.sh | 5 ++++ .kokoro/dependencies.sh | 48 +++++++++++++++++++++++++++++++ .kokoro/nightly/integration.cfg | 11 +++++-- .kokoro/nightly/samples.cfg | 8 +++++- .kokoro/presubmit/integration.cfg | 14 ++++++--- .kokoro/presubmit/samples.cfg | 14 ++++++--- synth.metadata | 3 +- 7 files changed, 89 insertions(+), 14 deletions(-) diff --git a/.kokoro/common.sh b/.kokoro/common.sh index 8f09de5d3..a8d0ea04d 100644 --- a/.kokoro/common.sh +++ b/.kokoro/common.sh @@ -52,3 +52,8 @@ function retry_with_backoff { return $exit_code } + +## Helper functionss +function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } +function msg() { println "$*" >&2; } +function println() { printf '%s\n' "$(now) $*"; } \ No newline at end of file diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 0aade871c..cf3bb4347 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -36,3 +36,51 @@ retry_with_backoff 3 10 \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true + +echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" +## Run dependency list completeness check +function completenessCheck() { + # Output dep list with compile scope generated using the original pom + msg "Generating dependency list using original pom..." + mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt + + # Output dep list generated using the flattened pom (test scope deps are ommitted) + msg "Generating dependency list using flattened pom..." + mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt + + # Compare two dependency lists + msg "Comparing dependency lists..." + diff .org-list.txt .new-list.txt >.diff.txt + if [[ $? == 0 ]] + then + msg "Success. No diff!" + else + msg "Diff found. See below: " + msg "You can also check .diff.txt file located in $1." + cat .diff.txt + return 1 + fi +} + +# Allow failures to continue running the script +set +e + +error_count=0 +for path in $(find -name ".flattened-pom.xml") +do + # Check flattened pom in each dir that contains it for completeness + dir=$(dirname "$path") + pushd "$dir" + completenessCheck "$dir" + error_count=$(($error_count + $?)) + popd +done + +if [[ $error_count == 0 ]] +then + msg "All checks passed." + exit 0 +else + msg "Errors found. See log statements above." + exit 1 +fi diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg index ca0274800..40c4abb7b 100644 --- a/.kokoro/nightly/integration.cfg +++ b/.kokoro/nightly/integration.cfg @@ -10,20 +10,25 @@ env_vars: { key: "JOB_TYPE" value: "integration" } - +# TODO: remove this after we've migrated all tests and scripts env_vars: { key: "GCLOUD_PROJECT" value: "gcloud-devel" } +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + env_vars: { key: "ENABLE_BUILD_COP" value: "true" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" } before_action { diff --git a/.kokoro/nightly/samples.cfg b/.kokoro/nightly/samples.cfg index b4b051cd0..20aabd55d 100644 --- a/.kokoro/nightly/samples.cfg +++ b/.kokoro/nightly/samples.cfg @@ -11,9 +11,15 @@ env_vars: { value: "samples" } +# TODO: remove this after we've migrated all tests and scripts env_vars: { key: "GCLOUD_PROJECT" - value: "gcloud-devel" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" } env_vars: { diff --git a/.kokoro/presubmit/integration.cfg b/.kokoro/presubmit/integration.cfg index 141f90c13..522e5b101 100644 --- a/.kokoro/presubmit/integration.cfg +++ b/.kokoro/presubmit/integration.cfg @@ -11,14 +11,20 @@ env_vars: { value: "integration" } +# TODO: remove this after we've migrated all tests and scripts env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" + key: "GCLOUD_PROJECT" + value: "gcloud-devel" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" } before_action { diff --git a/.kokoro/presubmit/samples.cfg b/.kokoro/presubmit/samples.cfg index fa7b493d0..1171aead0 100644 --- a/.kokoro/presubmit/samples.cfg +++ b/.kokoro/presubmit/samples.cfg @@ -11,14 +11,20 @@ env_vars: { value: "samples" } +# TODO: remove this after we've migrated all tests and scripts env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" + key: "GCLOUD_PROJECT" + value: "java-docs-samples-testing" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" } before_action { diff --git a/synth.metadata b/synth.metadata index 1a577f228..6647eefb4 100644 --- a/synth.metadata +++ b/synth.metadata @@ -27,8 +27,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7f8e62aa3edd225f76347a16f92e400661fdfb52", - "log": "7f8e62aa3edd225f76347a16f92e400661fdfb52\nchore(java): release-please only updates non maven versions in README (#476)\n\nPrevent release-please and synthtool from fighting over the released library version. Synthtool updates the install snippets from the samples pom.xml files so the bots fight if they are temporarily out of sync after a release.\nc7e0e517d7f46f77bebd27da2e5afcaa6eee7e25\nbuild(java): fix nightly integration test config to run integrations (#465)\n\nThis was only running the units.\nbd69a2aa7b70875f3c988e269706b22fefbef40e\nbuild(java): fix retry_with_backoff when -e option set (#475)\n\n\nd9b173c427bfa0c6cca818233562e7e8841a357c\nfix: record version of working repo in synth.metadata (#473)\n\nPartial revert of b37cf74d12e9a42b9de9e61a4f26133d7cd9c168.\nf73a541770d95a609e5be6bf6b3b220d17cefcbe\nfeat(discogapic): allow local discovery-artifact-manager (#474)\n\n\n8cf0f5d93a70c3dcb0b4999d3152c46d4d9264bf\ndoc: describe the Autosynth & Synthtool protocol (#472)\n\n* doc: describe the Autosynth & Synthtool protocol\n\n* Accommodate review comments.\n980baaa738a1ad8fa02b4fdbd56be075ee77ece5\nfix: pin sphinx to <3.0.0 as new version causes new error (#471)\n\nThe error `toctree contains reference to document changlelog that doesn't have a title: no link will be generated` occurs as of 3.0.0. Pinning to 2.x until we address the docs build issue.\n\nTowards #470\n\nI did this manually for python-datastore https://github.com/googleapis/python-datastore/pull/22\n928b2998ac5023e7c7e254ab935f9ef022455aad\nchore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#466)\n\nCo-authored-by: Jeffrey Rennie \n188f1b1d53181f739b98f8aa5d40cfe99eb90c47\nfix: allow local and external deps to be specified (#469)\n\nModify noxfile.py to allow local and external dependencies for\nsystem tests to be specified.\n1df68ed6735ddce6797d0f83641a731c3c3f75b4\nfix: apache license URL (#468)\n\n\nf4a59efa54808c4b958263de87bc666ce41e415f\nfeat: Add discogapic support for GAPICBazel generation (#459)\n\n* feat: Add discogapic support for GAPICBazel generation\n\n* reformat with black\n\n* Rename source repository variable\n\nCo-authored-by: Jeffrey Rennie \n99820243d348191bc9c634f2b48ddf65096285ed\nfix: update template files for Node.js libraries (#463)\n\n\n3cbe6bcd5623139ac9834c43818424ddca5430cb\nfix(ruby): remove dead troubleshooting link from generated auth guide (#462)\n\n\na003d8655d3ebec2bbbd5fc3898e91e152265c67\ndocs: remove \"install stable\" instructions (#461)\n\nThe package hasn't been released to PyPI in some time\nf5e8c88d9870d8aa4eb43fa0b39f07e02bfbe4df\nchore(python): add license headers to config files; make small tweaks to templates (#458)\n\n\n" + "sha": "52638600f387deb98efb5f9c85fec39e82aa9052" } } ], From 669c2f02dfe964559e2a30ccb926d1f4b8b7e1f2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 16 Apr 2020 18:46:08 +0200 Subject: [PATCH 33/43] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.16 (#153) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.15` -> `1.0.16` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.16`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.16) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.15...v1.0.16) Add a few SpotBugs exclusions: - `RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE` - existing - codegen bug - `UPM_UNCALLED_PRIVATE_METHOD` - probably SpotBug issue - `NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE` - likely SpotBug issue - `CLI_CONSTANT_LIST_INDEX` - style issue particular to our samples - `OBL_UNSATISFIED_OBLIGATION` - issue for SQL clients
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/install-without-bom/pom.xml | 2 +- samples/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 4bd744160..0b3060ac0 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.15 + 1.0.16 diff --git a/samples/pom.xml b/samples/pom.xml index 3615b24d2..375f5d0a1 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.15 + 1.0.16 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 8b552e25f..ed22fc4d7 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.15 + 1.0.16 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 66386cc09..a315cf5cd 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.15 + 1.0.16 From 1847528b59636c57b991c8a5303962c02402ca70 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 17 Apr 2020 08:48:40 +0200 Subject: [PATCH 34/43] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.17 (#159) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.16` -> `1.0.17` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.17`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.17) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.16...v1.0.17) - require -P lint Lets not burden customers with our development rules. - Move Checkstyle, ErrorProne, PMD, and SpotBugs to only run w/ -P lint - Update the Readme - spotbugs-annotations 4.0.2
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/install-without-bom/pom.xml | 2 +- samples/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 0b3060ac0..b07309a17 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.16 + 1.0.17 diff --git a/samples/pom.xml b/samples/pom.xml index 375f5d0a1..6010228b3 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.16 + 1.0.17 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index ed22fc4d7..5c70d8a69 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.16 + 1.0.17 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index a315cf5cd..dd242520b 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.16 + 1.0.17 From 2ea5957bf672ee42300c11e69e36e765fae40e92 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 17 Apr 2020 00:26:07 -0700 Subject: [PATCH 35/43] chore: regenerate README (#157) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/01a7440e-1f0c-4d68-a4a7-71ae1d8c3c3a/targets --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ce8910099..df8f16039 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.4.1 + 5.1.0 pom import diff --git a/synth.metadata b/synth.metadata index 6647eefb4..3c82ea90d 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow.git", - "sha": "cbca1b81babc933b0c693325f0d86113a0d791af" + "sha": "6910777ec2d0ddb52b4f7eef849923eac15e68f1" } }, { From 16dce89c219597df334469f3aef69ad7682add02 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 20 Apr 2020 10:23:48 -0700 Subject: [PATCH 36/43] chore(java): allow overriding the versioning section of the Java README (#495) (#160) Allows setting a `versioning` section in `.readme-partials.yaml` to override the versioning section. Source-Author: Jeff Ching Source-Date: Fri Apr 17 10:04:04 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: f8a9933e5e98202b04ef427f28d1d79221190fa4 Source-Link: https://github.com/googleapis/synthtool/commit/f8a9933e5e98202b04ef427f28d1d79221190fa4 --- README.md | 2 +- synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index df8f16039..a0e0c8e76 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,8 @@ Java 7 or above is required for using this client. ## Versioning -This library follows [Semantic Versioning](http://semver.org/). +This library follows [Semantic Versioning](http://semver.org/). ## Contributing diff --git a/synth.metadata b/synth.metadata index 3c82ea90d..665bac20a 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow.git", - "sha": "6910777ec2d0ddb52b4f7eef849923eac15e68f1" + "sha": "2ea5957bf672ee42300c11e69e36e765fae40e92" } }, { @@ -27,7 +27,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "52638600f387deb98efb5f9c85fec39e82aa9052" + "sha": "f8a9933e5e98202b04ef427f28d1d79221190fa4" } } ], From fe90a7ee41cb6f62856ff5b85187405a32b4638d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 23 Apr 2020 22:32:37 +0200 Subject: [PATCH 37/43] chore(deps): update dependency com.google.cloud:libraries-bom to v5.2.0 (#163) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.1.0` -> `5.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index dd242520b..2b3cdf0dc 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.1.0 + 5.2.0 pom import From 26a4fc41fd364fa0031317367ca34577ba24ee8d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 24 Apr 2020 14:57:18 -0700 Subject: [PATCH 38/43] chore: regenerate README autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0e0c8e76..d0846265b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.1.0 + 5.2.0 pom import diff --git a/synth.metadata b/synth.metadata index 665bac20a..4a195a3a5 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow.git", - "sha": "2ea5957bf672ee42300c11e69e36e765fae40e92" + "sha": "fe90a7ee41cb6f62856ff5b85187405a32b4638d" } }, { From 6650bfcd74c189881752053db1c25975676fa40d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 25 Apr 2020 00:58:59 +0200 Subject: [PATCH 39/43] deps: update dependency io.grpc:grpc-bom to v1.29.0 (#161) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.28.1` -> `1.29.0` | --- ### Release Notes
grpc/grpc-java ### [`v1.29.0`](https://togithub.com/grpc/grpc-java/releases/v1.29.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.28.1...v1.29.0) #### Behavioral Changes - core, grpclb: change policy selection strategy for Grpclb policy (move logic of querying SRV into Grpclb's own resolver) ([#​6723](https://togithub.com/grpc/grpc-java/issues/6723)). System property `io.grpc.internal.DnsNameResolverProvider.enable_grpclb` is eliminated, grpc-grpclb dependency implicitly enables querying SRV records since v1.24.2 #### New Features - core: `ServerInterceptors.useInputStreamMessages()` now preserves the `KnownLength` interface when wrapping InputStream ([#​6852](https://togithub.com/grpc/grpc-java/issues/6852)). This should prevent certain optimizations from being disabled when using useInputStreamMessages - core: `ServerInterceptors.useInputStreamMessages()` and `useMarshalledMessages()` now preserve the SchemaDescriptor, so the methods are now compatible with the reflection service ([#​6851](https://togithub.com/grpc/grpc-java/issues/6851)) #### Bug Fixes - core: Fix IllegalStateException if remote-specified decompressor is unknown ([#​6864](https://togithub.com/grpc/grpc-java/issues/6864)) - core: keep round_robin lb subchannel in TRANSIENT_FAILURE until becoming READY ([#​6657](https://togithub.com/grpc/grpc-java/issues/6657)). This avoids RPC being indefinitely queued when subchannels are bouncing back and forth between CONNECTING and TRANSIENT_FAILURE - netty: fixed a bug when grpc-netty and grpc-netty-shaded were both used, which could result in "ClassCastException: io.netty.util.AsciiString cannot be cast to io.grpc.netty.shaded.io.netty.util.AsciiString" ([#​6765](https://togithub.com/grpc/grpc-java/issues/6765)) - netty: Prevent thread interruption during server start from leaking socket ([#​6867](https://togithub.com/grpc/grpc-java/issues/6867)) - okhttp: fix incorrect connection-level flow control handling at beginning of connection ([#​6742](https://togithub.com/grpc/grpc-java/issues/6742)). This only impacted users of `OkHttpChannelBuilder.flowControlWindow()`, who seem to be few since this bug was not reported sooner - core: A Java 9+ ABI compatibility issue with java.nio.ByteBuffer is fixed ([#​6839](https://togithub.com/grpc/grpc-java/issues/6839)). This only impacted users manually compiling grpc-java with JDK 9+ and then using it as a library for applications that run with JDK 8- (e.g., on Android). This does not impact the pre-built JARs on Maven Central - core: fixed a bug in health check config propagation. ([#​6804](https://togithub.com/grpc/grpc-java/issues/6804)) - benchmarks: some netty benchmarks failed to start and are now fixed ([#​6877](https://togithub.com/grpc/grpc-java/issues/6877)). This was a regression introduced in v1.23.0 #### Documentation - Add Javadoc for grpc-services and grpc-grpclb to the grpc-all project. This increases the number of classes shown at - examples: Add a JWT authentication example ([#​5915](https://togithub.com/grpc/grpc-java/issues/5915)) #### Dependencies - Bump guava to 28.2-android ([#​6772](https://togithub.com/grpc/grpc-java/issues/6772)) - Bump netty to 4.1.48.Final, bump tcnative to 2.0.30.Final ([#​6845](https://togithub.com/grpc/grpc-java/issues/6845)) - Bump truth version to 1.0.1 ([#​6754](https://togithub.com/grpc/grpc-java/issues/6754)) #### Compiling - android: add grpc-android into main build ([#​6793](https://togithub.com/grpc/grpc-java/issues/6793)). Compiling with `-PskipAndroid=false` (default) includes building grpc-android module, which requires Android SDK #### Acknowledgements [@​chrisschek](https://togithub.com/chrisschek) [@​elharo](https://togithub.com/elharo) Elliotte Rusty Harold [@​herbyderby](https://togithub.com/herbyderby) Chris Nokleberg [@​markb74](https://togithub.com/markb74) [@​ST-DDT](https://togithub.com/ST-DDT)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b424a2d96..4ad663c01 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ 1.9.0 1.17.0 1.56.0 - 1.28.1 + 1.29.0 3.11.4 4.13 29.0-android From 58e9e2f79a9b5dfb0811271480cbb8a94759463f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 27 Apr 2020 18:36:35 +0200 Subject: [PATCH 40/43] deps: update dependency org.threeten:threetenbp to v1.4.4 (#166) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | patch | `1.4.3` -> `1.4.4` | --- ### Release Notes
ThreeTen/threetenbp ### [`v1.4.4`](https://togithub.com/ThreeTen/threetenbp/releases/v1.4.4) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.4.3...v1.4.4) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4ad663c01..64cefeabd 100644 --- a/pom.xml +++ b/pom.xml @@ -71,7 +71,7 @@ 3.11.4 4.13 29.0-android - 1.4.3 + 1.4.4 1.3.2 1.18
From ed5bbf503cc6d00dbeebee057d87e5ae560bcd67 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 27 Apr 2020 09:51:31 -0700 Subject: [PATCH 41/43] feat(v2)!: add ListEnvironments (#167) BREAKING CHANGE: Resource name usage has changed: * `ProjectAgentName` is removed. Please use `AgentName` instead. * `AgentName` previously existed, but was unused. It now matches the behavior of the old `ProjectAgentName` class * `ContextsClient.update` now requires a `FieldMask` argument. * Migrate dialogflow from gapic v1 to gapic v2. Including breaking changes (resource pattern change) introduced in cl/304043500. committer: @hzyi-google PiperOrigin-RevId: 305358314 Source-Author: Google APIs Source-Date: Tue Apr 7 16:00:25 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 83d7f20c06182cb6ada9a3b47daf17b2fd22b020 Source-Link: https://github.com/googleapis/googleapis/commit/83d7f20c06182cb6ada9a3b47daf17b2fd22b020 * Dialogflow weekly v2/v2beta1 library update: - Update documentation on various resources. - Add LRO info to CreateDocument method. PiperOrigin-RevId: 305810283 Source-Author: Google APIs Source-Date: Thu Apr 9 19:42:44 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 41d5dee23527df3fc9127838a027df393d79ff3c Source-Link: https://github.com/googleapis/googleapis/commit/41d5dee23527df3fc9127838a027df393d79ff3c * Dialogflow weekly v2/v2beta1 library update: - Update comments on Contexts and Sessions resources. PiperOrigin-RevId: 305919798 Source-Author: Google APIs Source-Date: Fri Apr 10 12:09:05 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 1e92c343790ae63f88817afde60bd2d5bc775f36 Source-Link: https://github.com/googleapis/googleapis/commit/1e92c343790ae63f88817afde60bd2d5bc775f36 * feat: Publish ListEnvironments for Dialogflow v2/v2beta1 library. docs: Clarify WebhookResponse fields for Dialogflow v2/v2beta1 library. PiperOrigin-RevId: 307849529 Source-Author: Google APIs Source-Date: Wed Apr 22 10:48:21 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 1d520eaa7bbd8b40f53942ff03b5496fff887b53 Source-Link: https://github.com/googleapis/googleapis/commit/1d520eaa7bbd8b40f53942ff03b5496fff887b53 * feat: integrate gapic generator change in googleapis PiperOrigin-RevId: 308294748 Source-Author: Google APIs Source-Date: Fri Apr 24 11:44:16 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 28e76243c23cc282efbb288cb558c174e3e5e9ee Source-Link: https://github.com/googleapis/googleapis/commit/28e76243c23cc282efbb288cb558c174e3e5e9ee * chore: allow breaking change to AgentName class * chore: allow breaking resource name changes * chore: allow breaking resource name changes Co-authored-by: Jeff Ching --- .../clirr-ignored-differences.xml | 22 + .../cloud/dialogflow/v2/AgentsClient.java | 282 +-- .../cloud/dialogflow/v2/AgentsSettings.java | 70 +- .../cloud/dialogflow/v2/ContextsClient.java | 434 ++--- .../cloud/dialogflow/v2/ContextsSettings.java | 46 +- .../dialogflow/v2/EntityTypesClient.java | 1021 +++++----- .../dialogflow/v2/EntityTypesSettings.java | 136 +- .../dialogflow/v2/EnvironmentsClient.java | 355 ++++ .../dialogflow/v2/EnvironmentsSettings.java | 186 ++ .../cloud/dialogflow/v2/IntentsClient.java | 556 ++++-- .../cloud/dialogflow/v2/IntentsSettings.java | 80 +- .../v2/SessionEntityTypesClient.java | 276 +-- .../v2/SessionEntityTypesSettings.java | 30 +- .../cloud/dialogflow/v2/SessionsClient.java | 14 +- .../cloud/dialogflow/v2/package-info.java | 32 +- .../cloud/dialogflow/v2/stub/AgentsStub.java | 24 +- .../v2/stub/AgentsStubSettings.java | 146 +- .../dialogflow/v2/stub/ContextsStub.java | 16 +- .../v2/stub/ContextsStubSettings.java | 104 +- .../dialogflow/v2/stub/EntityTypesStub.java | 52 +- .../v2/stub/EntityTypesStubSettings.java | 292 +-- .../dialogflow/v2/stub/EnvironmentsStub.java | 49 + .../v2/stub/EnvironmentsStubSettings.java | 350 ++++ .../dialogflow/v2/stub/GrpcAgentsStub.java | 128 +- .../dialogflow/v2/stub/GrpcContextsStub.java | 120 +- .../v2/stub/GrpcEntityTypesStub.java | 248 +-- .../stub/GrpcEnvironmentsCallableFactory.java | 115 ++ .../v2/stub/GrpcEnvironmentsStub.java | 169 ++ .../dialogflow/v2/stub/GrpcIntentsStub.java | 148 +- .../v2/stub/GrpcSessionEntityTypesStub.java | 70 +- .../cloud/dialogflow/v2/stub/IntentsStub.java | 30 +- .../v2/stub/IntentsStubSettings.java | 174 +- .../v2/stub/SessionEntityTypesStub.java | 8 +- .../stub/SessionEntityTypesStubSettings.java | 64 +- .../dialogflow/v2beta1/DocumentsClient.java | 48 - .../dialogflow/v2beta1/EntityTypesClient.java | 104 +- .../v2beta1/EnvironmentsClient.java | 215 +++ .../v2beta1/EnvironmentsSettings.java | 181 ++ .../dialogflow/v2beta1/IntentsClient.java | 64 +- .../v2beta1/SessionEntityTypesClient.java | 7 +- .../dialogflow/v2beta1/package-info.java | 15 + .../v2beta1/stub/EnvironmentsStub.java | 42 + .../stub/EnvironmentsStubSettings.java | 277 +++ .../stub/GrpcEnvironmentsCallableFactory.java | 115 ++ .../v2beta1/stub/GrpcEnvironmentsStub.java | 157 ++ .../cloud/dialogflow/v2/AgentsClientTest.java | 168 +- .../dialogflow/v2/ContextsClientTest.java | 166 +- .../dialogflow/v2/EntityTypesClientTest.java | 411 ++-- .../dialogflow/v2/EnvironmentsClientTest.java | 151 ++ .../dialogflow/v2/IntentsClientTest.java | 195 +- .../cloud/dialogflow/v2/MockEnvironments.java | 57 + .../dialogflow/v2/MockEnvironmentsImpl.java | 73 + .../cloud/dialogflow/v2/MockSessionsImpl.java | 3 +- .../v2/SessionEntityTypesClientTest.java | 95 +- .../dialogflow/v2/SessionsClientTest.java | 15 +- .../dialogflow/v2beta1/AgentsClientTest.java | 3 + .../v2beta1/ContextsClientTest.java | 3 + .../v2beta1/DocumentsClientTest.java | 3 + .../v2beta1/EntityTypesClientTest.java | 3 + .../v2beta1/EnvironmentsClientTest.java | 141 ++ .../dialogflow/v2beta1/IntentsClientTest.java | 3 + .../v2beta1/KnowledgeBasesClientTest.java | 3 + .../dialogflow/v2beta1/MockEnvironments.java | 57 + .../v2beta1/MockEnvironmentsImpl.java | 73 + .../dialogflow/v2beta1/MockSessionsImpl.java | 3 +- .../v2beta1/SessionEntityTypesClientTest.java | 3 + .../v2beta1/SessionsClientTest.java | 3 + .../cloud/dialogflow/v2/EnvironmentsGrpc.java | 366 ++++ .../dialogflow/v2beta1/DocumentsGrpc.java | 32 - .../dialogflow/v2beta1/EnvironmentsGrpc.java | 367 ++++ .../clirr-ignored-differences.xml | 16 + .../google/cloud/dialogflow/v2/AgentName.java | 36 +- .../google/cloud/dialogflow/v2/Context.java | 24 +- .../cloud/dialogflow/v2/ContextName.java | 252 ++- .../cloud/dialogflow/v2/ContextOrBuilder.java | 6 +- .../dialogflow/v2/DetectIntentRequest.java | 2 - .../cloud/dialogflow/v2/Environment.java | 1663 ++++++++++++++++ .../cloud/dialogflow/v2/EnvironmentName.java | 182 ++ .../dialogflow/v2/EnvironmentOrBuilder.java | 180 ++ .../cloud/dialogflow/v2/EnvironmentProto.java | 144 ++ .../cloud/dialogflow/v2/EventInput.java | 144 ++ .../dialogflow/v2/EventInputOrBuilder.java | 36 + .../v2/ListEnvironmentsRequest.java | 925 +++++++++ .../v2/ListEnvironmentsRequestOrBuilder.java | 95 + .../v2/ListEnvironmentsResponse.java | 1155 +++++++++++ .../v2/ListEnvironmentsResponseOrBuilder.java | 109 ++ .../cloud/dialogflow/v2/QueryResult.java | 144 ++ .../dialogflow/v2/QueryResultOrBuilder.java | 36 + .../dialogflow/v2/SearchAgentsRequest.java | 4 - .../dialogflow/v2/SessionEntityTypeName.java | 255 ++- .../cloud/dialogflow/v2/SessionName.java | 210 +- .../cloud/dialogflow/v2/WebhookResponse.java | 576 +++--- .../v2/WebhookResponseOrBuilder.java | 134 +- .../google/cloud/dialogflow/v2/agent.proto | 2 - .../google/cloud/dialogflow/v2/context.proto | 2 +- .../cloud/dialogflow/v2/environment.proto | 126 ++ .../google/cloud/dialogflow/v2/session.proto | 29 +- .../google/cloud/dialogflow/v2/webhook.proto | 37 +- .../cloud/dialogflow/v2beta1/AgentProto.java | 207 +- .../dialogflow/v2beta1/AudioConfigProto.java | 84 +- .../v2beta1/BatchCreateEntitiesRequest.java | 91 +- .../BatchCreateEntitiesRequestOrBuilder.java | 26 +- .../v2beta1/BatchDeleteEntitiesRequest.java | 91 +- .../BatchDeleteEntitiesRequestOrBuilder.java | 26 +- .../v2beta1/BatchUpdateEntitiesRequest.java | 91 +- .../BatchUpdateEntitiesRequestOrBuilder.java | 26 +- .../BatchUpdateEntityTypesRequest.java | 91 +- ...atchUpdateEntityTypesRequestOrBuilder.java | 26 +- .../v2beta1/BatchUpdateIntentsRequest.java | 91 +- .../BatchUpdateIntentsRequestOrBuilder.java | 26 +- .../cloud/dialogflow/v2beta1/Context.java | 188 +- .../dialogflow/v2beta1/ContextOrBuilder.java | 47 +- .../v2beta1/CreateEntityTypeRequest.java | 91 +- .../CreateEntityTypeRequestOrBuilder.java | 26 +- .../v2beta1/CreateIntentRequest.java | 91 +- .../v2beta1/CreateIntentRequestOrBuilder.java | 26 +- .../v2beta1/DetectIntentRequest.java | 4 - .../dialogflow/v2beta1/DocumentProto.java | 67 +- .../dialogflow/v2beta1/EntityTypeProto.java | 78 +- .../cloud/dialogflow/v2beta1/Environment.java | 1682 +++++++++++++++++ .../v2beta1/EnvironmentOrBuilder.java | 184 ++ .../dialogflow/v2beta1/EnvironmentProto.java | 151 ++ .../cloud/dialogflow/v2beta1/EventInput.java | 144 ++ .../v2beta1/EventInputOrBuilder.java | 36 + .../v2beta1/GetEntityTypeRequest.java | 91 +- .../GetEntityTypeRequestOrBuilder.java | 26 +- .../dialogflow/v2beta1/GetIntentRequest.java | 91 +- .../v2beta1/GetIntentRequestOrBuilder.java | 26 +- .../dialogflow/v2beta1/InputAudioConfig.java | 168 +- .../v2beta1/InputAudioConfigOrBuilder.java | 46 +- .../cloud/dialogflow/v2beta1/Intent.java | 249 +-- .../dialogflow/v2beta1/IntentOrBuilder.java | 4 + .../cloud/dialogflow/v2beta1/IntentProto.java | 175 +- .../v2beta1/ListEntityTypesRequest.java | 91 +- .../ListEntityTypesRequestOrBuilder.java | 26 +- .../v2beta1/ListEnvironmentsRequest.java | 925 +++++++++ .../ListEnvironmentsRequestOrBuilder.java | 95 + .../v2beta1/ListEnvironmentsResponse.java | 1164 ++++++++++++ .../ListEnvironmentsResponseOrBuilder.java | 109 ++ .../v2beta1/ListIntentsRequest.java | 91 +- .../v2beta1/ListIntentsRequestOrBuilder.java | 26 +- .../v2beta1/OriginalDetectIntentRequest.java | 36 +- .../OriginalDetectIntentRequestOrBuilder.java | 9 +- .../dialogflow/v2beta1/QueryParameters.java | 84 +- .../v2beta1/QueryParametersOrBuilder.java | 21 +- .../cloud/dialogflow/v2beta1/QueryResult.java | 144 ++ .../v2beta1/QueryResultOrBuilder.java | 36 + .../v2beta1/ReloadDocumentRequest.java | 36 +- .../ReloadDocumentRequestOrBuilder.java | 9 +- .../v2beta1/UpdateEntityTypeRequest.java | 91 +- .../UpdateEntityTypeRequestOrBuilder.java | 26 +- .../v2beta1/UpdateIntentRequest.java | 91 +- .../v2beta1/UpdateIntentRequestOrBuilder.java | 26 +- .../UpdateSessionEntityTypeRequest.java | 84 +- ...dateSessionEntityTypeRequestOrBuilder.java | 21 +- .../dialogflow/v2beta1/WebhookResponse.java | 888 ++++----- .../v2beta1/WebhookResponseOrBuilder.java | 212 +-- .../cloud/dialogflow/v2beta1/agent.proto | 1 + .../dialogflow/v2beta1/audio_config.proto | 17 +- .../cloud/dialogflow/v2beta1/context.proto | 19 +- .../cloud/dialogflow/v2beta1/document.proto | 31 +- .../dialogflow/v2beta1/entity_type.proto | 104 +- .../dialogflow/v2beta1/environment.proto | 135 ++ .../cloud/dialogflow/v2beta1/intent.proto | 158 +- .../cloud/dialogflow/v2beta1/session.proto | 37 +- .../v2beta1/session_entity_type.proto | 7 +- .../cloud/dialogflow/v2beta1/webhook.proto | 67 +- synth.metadata | 10 +- 168 files changed, 19744 insertions(+), 5743 deletions(-) create mode 100644 google-cloud-dialogflow/clirr-ignored-differences.xml create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsSettings.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStub.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStubSettings.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEnvironmentsCallableFactory.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEnvironmentsStub.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsSettings.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStub.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStubSettings.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEnvironmentsCallableFactory.java create mode 100644 google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEnvironmentsStub.java create mode 100644 google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EnvironmentsClientTest.java create mode 100644 google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEnvironments.java create mode 100644 google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEnvironmentsImpl.java create mode 100644 google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClientTest.java create mode 100644 google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEnvironments.java create mode 100644 google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEnvironmentsImpl.java create mode 100644 grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsGrpc.java create mode 100644 grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsGrpc.java create mode 100644 proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Environment.java create mode 100644 proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentName.java create mode 100644 proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentProto.java create mode 100644 proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsRequest.java create mode 100644 proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsRequestOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsResponse.java create mode 100644 proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsResponseOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/environment.proto create mode 100644 proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Environment.java create mode 100644 proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentProto.java create mode 100644 proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequest.java create mode 100644 proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequestOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponse.java create mode 100644 proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponseOrBuilder.java create mode 100644 proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/environment.proto diff --git a/google-cloud-dialogflow/clirr-ignored-differences.xml b/google-cloud-dialogflow/clirr-ignored-differences.xml new file mode 100644 index 000000000..32e14bca8 --- /dev/null +++ b/google-cloud-dialogflow/clirr-ignored-differences.xml @@ -0,0 +1,22 @@ + + + + + + 7004 + com/google/cloud/dialogflow/v2/ContextsClient + com.google.cloud.dialogflow.v2.Context updateContext(com.google.cloud.dialogflow.v2.Context) + + + 7005 + com/google/cloud/dialogflow/v2/EntityTypesClient + * *EntityType*(com.google.cloud.dialogflow.v2.ProjectAgentName*) + * *EntityType*(com.google.cloud.dialogflow.v2.AgentName*) + + + 7005 + com/google/cloud/dialogflow/v2/IntentsClient + * *Intent*(com.google.cloud.dialogflow.v2.ProjectAgentName*) + * *Intent*(com.google.cloud.dialogflow.v2.AgentName*) + + diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java index 526eeff97..85500ba2f 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java @@ -351,96 +351,6 @@ public final UnaryCallable deleteAgentCallable() { return stub.deleteAgentCallable(); } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Retrieves the specified agent. - * - *

Sample code: - * - *


-   * try (AgentsClient agentsClient = AgentsClient.create()) {
-   *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   Agent response = agentsClient.getAgent(parent);
-   * }
-   * 
- * - * @param parent Required. The project that the agent to fetch is associated with. Format: - * `projects/<Project ID>`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Agent getAgent(ProjectName parent) { - GetAgentRequest request = - GetAgentRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build(); - return getAgent(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Retrieves the specified agent. - * - *

Sample code: - * - *


-   * try (AgentsClient agentsClient = AgentsClient.create()) {
-   *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   Agent response = agentsClient.getAgent(parent.toString());
-   * }
-   * 
- * - * @param parent Required. The project that the agent to fetch is associated with. Format: - * `projects/<Project ID>`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Agent getAgent(String parent) { - GetAgentRequest request = GetAgentRequest.newBuilder().setParent(parent).build(); - return getAgent(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Retrieves the specified agent. - * - *

Sample code: - * - *


-   * try (AgentsClient agentsClient = AgentsClient.create()) {
-   *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   GetAgentRequest request = GetAgentRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .build();
-   *   Agent response = agentsClient.getAgent(request);
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Agent getAgent(GetAgentRequest request) { - return getAgentCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Retrieves the specified agent. - * - *

Sample code: - * - *


-   * try (AgentsClient agentsClient = AgentsClient.create()) {
-   *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   GetAgentRequest request = GetAgentRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .build();
-   *   ApiFuture<Agent> future = agentsClient.getAgentCallable().futureCall(request);
-   *   // Do something
-   *   Agent response = future.get();
-   * }
-   * 
- */ - public final UnaryCallable getAgentCallable() { - return stub.getAgentCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Returns the list of agents. @@ -796,8 +706,10 @@ public final OperationFuture exportAgentAsync(Strin *

    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   String agentUri = "";
    *   ExportAgentRequest request = ExportAgentRequest.newBuilder()
    *     .setParent(parent.toString())
+   *     .setAgentUri(agentUri)
    *     .build();
    *   ExportAgentResponse response = agentsClient.exportAgentAsync(request).get();
    * }
@@ -825,8 +737,10 @@ public final OperationFuture exportAgentAsync(
    * 

    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   String agentUri = "";
    *   ExportAgentRequest request = ExportAgentRequest.newBuilder()
    *     .setParent(parent.toString())
+   *     .setAgentUri(agentUri)
    *     .build();
    *   OperationFuture<ExportAgentResponse, Struct> future = agentsClient.exportAgentOperationCallable().futureCall(request);
    *   // Do something
@@ -852,8 +766,10 @@ public final OperationFuture exportAgentAsync(
    * 

    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   String agentUri = "";
    *   ExportAgentRequest request = ExportAgentRequest.newBuilder()
    *     .setParent(parent.toString())
+   *     .setAgentUri(agentUri)
    *     .build();
    *   ApiFuture<Operation> future = agentsClient.exportAgentCallable().futureCall(request);
    *   // Do something
@@ -867,10 +783,10 @@ public final UnaryCallable exportAgentCallable()
 
   // AUTO-GENERATED DOCUMENTATION AND METHOD
   /**
-   * Imports the specified agent from a ZIP file.
+   * Restores the specified agent from a ZIP file.
    *
-   * 

Uploads new intents and entity types without deleting the existing ones. Intents and entity - * types with the same name are replaced with the new versions from ImportAgentRequest. + *

Replaces the current agent version with a new one. All the intents and entity types in the + * older version are deleted. * *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> * @@ -879,10 +795,10 @@ public final UnaryCallable exportAgentCallable() *


    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   ImportAgentRequest request = ImportAgentRequest.newBuilder()
+   *   RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
-   *   agentsClient.importAgentAsync(request).get();
+   *   agentsClient.restoreAgentAsync(request).get();
    * }
    * 
* @@ -891,16 +807,16 @@ public final UnaryCallable exportAgentCallable() */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture importAgentAsync(ImportAgentRequest request) { - return importAgentOperationCallable().futureCall(request); + public final OperationFuture restoreAgentAsync(RestoreAgentRequest request) { + return restoreAgentOperationCallable().futureCall(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Imports the specified agent from a ZIP file. + * Restores the specified agent from a ZIP file. * - *

Uploads new intents and entity types without deleting the existing ones. Intents and entity - * types with the same name are replaced with the new versions from ImportAgentRequest. + *

Replaces the current agent version with a new one. All the intents and entity types in the + * older version are deleted. * *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> * @@ -909,26 +825,27 @@ public final OperationFuture importAgentAsync(ImportAgentRequest *


    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   ImportAgentRequest request = ImportAgentRequest.newBuilder()
+   *   RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
-   *   OperationFuture<Empty, Struct> future = agentsClient.importAgentOperationCallable().futureCall(request);
+   *   OperationFuture<Empty, Struct> future = agentsClient.restoreAgentOperationCallable().futureCall(request);
    *   // Do something
    *   future.get();
    * }
    * 
*/ @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public final OperationCallable importAgentOperationCallable() { - return stub.importAgentOperationCallable(); + public final OperationCallable + restoreAgentOperationCallable() { + return stub.restoreAgentOperationCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Imports the specified agent from a ZIP file. + * Restores the specified agent from a ZIP file. * - *

Uploads new intents and entity types without deleting the existing ones. Intents and entity - * types with the same name are replaced with the new versions from ImportAgentRequest. + *

Replaces the current agent version with a new one. All the intents and entity types in the + * older version are deleted. * *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> * @@ -937,25 +854,115 @@ public final OperationCallable importAgentOpe *


    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   ImportAgentRequest request = ImportAgentRequest.newBuilder()
+   *   RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
-   *   ApiFuture<Operation> future = agentsClient.importAgentCallable().futureCall(request);
+   *   ApiFuture<Operation> future = agentsClient.restoreAgentCallable().futureCall(request);
    *   // Do something
    *   future.get();
    * }
    * 
*/ - public final UnaryCallable importAgentCallable() { - return stub.importAgentCallable(); + public final UnaryCallable restoreAgentCallable() { + return stub.restoreAgentCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Restores the specified agent from a ZIP file. + * Retrieves the specified agent. * - *

Replaces the current agent version with a new one. All the intents and entity types in the - * older version are deleted. + *

Sample code: + * + *


+   * try (AgentsClient agentsClient = AgentsClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   Agent response = agentsClient.getAgent(parent);
+   * }
+   * 
+ * + * @param parent Required. The project that the agent to fetch is associated with. Format: + * `projects/<Project ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Agent getAgent(ProjectName parent) { + GetAgentRequest request = + GetAgentRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build(); + return getAgent(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Retrieves the specified agent. + * + *

Sample code: + * + *


+   * try (AgentsClient agentsClient = AgentsClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   Agent response = agentsClient.getAgent(parent.toString());
+   * }
+   * 
+ * + * @param parent Required. The project that the agent to fetch is associated with. Format: + * `projects/<Project ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Agent getAgent(String parent) { + GetAgentRequest request = GetAgentRequest.newBuilder().setParent(parent).build(); + return getAgent(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Retrieves the specified agent. + * + *

Sample code: + * + *


+   * try (AgentsClient agentsClient = AgentsClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   GetAgentRequest request = GetAgentRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .build();
+   *   Agent response = agentsClient.getAgent(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Agent getAgent(GetAgentRequest request) { + return getAgentCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Retrieves the specified agent. + * + *

Sample code: + * + *


+   * try (AgentsClient agentsClient = AgentsClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   GetAgentRequest request = GetAgentRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .build();
+   *   ApiFuture<Agent> future = agentsClient.getAgentCallable().futureCall(request);
+   *   // Do something
+   *   Agent response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable getAgentCallable() { + return stub.getAgentCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Imports the specified agent from a ZIP file. + * + *

Uploads new intents and entity types without deleting the existing ones. Intents and entity + * types with the same name are replaced with the new versions from ImportAgentRequest. * *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> * @@ -964,10 +971,10 @@ public final UnaryCallable importAgentCallable() *


    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
+   *   ImportAgentRequest request = ImportAgentRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
-   *   agentsClient.restoreAgentAsync(request).get();
+   *   agentsClient.importAgentAsync(request).get();
    * }
    * 
* @@ -976,16 +983,16 @@ public final UnaryCallable importAgentCallable() */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture restoreAgentAsync(RestoreAgentRequest request) { - return restoreAgentOperationCallable().futureCall(request); + public final OperationFuture importAgentAsync(ImportAgentRequest request) { + return importAgentOperationCallable().futureCall(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Restores the specified agent from a ZIP file. + * Imports the specified agent from a ZIP file. * - *

Replaces the current agent version with a new one. All the intents and entity types in the - * older version are deleted. + *

Uploads new intents and entity types without deleting the existing ones. Intents and entity + * types with the same name are replaced with the new versions from ImportAgentRequest. * *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> * @@ -994,27 +1001,26 @@ public final OperationFuture restoreAgentAsync(RestoreAgentReques *


    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
+   *   ImportAgentRequest request = ImportAgentRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
-   *   OperationFuture<Empty, Struct> future = agentsClient.restoreAgentOperationCallable().futureCall(request);
+   *   OperationFuture<Empty, Struct> future = agentsClient.importAgentOperationCallable().futureCall(request);
    *   // Do something
    *   future.get();
    * }
    * 
*/ @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public final OperationCallable - restoreAgentOperationCallable() { - return stub.restoreAgentOperationCallable(); + public final OperationCallable importAgentOperationCallable() { + return stub.importAgentOperationCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Restores the specified agent from a ZIP file. + * Imports the specified agent from a ZIP file. * - *

Replaces the current agent version with a new one. All the intents and entity types in the - * older version are deleted. + *

Uploads new intents and entity types without deleting the existing ones. Intents and entity + * types with the same name are replaced with the new versions from ImportAgentRequest. * *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> * @@ -1023,17 +1029,17 @@ public final OperationFuture restoreAgentAsync(RestoreAgentReques *


    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   RestoreAgentRequest request = RestoreAgentRequest.newBuilder()
+   *   ImportAgentRequest request = ImportAgentRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
-   *   ApiFuture<Operation> future = agentsClient.restoreAgentCallable().futureCall(request);
+   *   ApiFuture<Operation> future = agentsClient.importAgentCallable().futureCall(request);
    *   // Do something
    *   future.get();
    * }
    * 
*/ - public final UnaryCallable restoreAgentCallable() { - return stub.restoreAgentCallable(); + public final UnaryCallable importAgentCallable() { + return stub.importAgentCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD @@ -1045,7 +1051,10 @@ public final UnaryCallable restoreAgentCallable( * *

    * try (AgentsClient agentsClient = AgentsClient.create()) {
-   *   GetValidationResultRequest request = GetValidationResultRequest.newBuilder().build();
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   GetValidationResultRequest request = GetValidationResultRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .build();
    *   ValidationResult response = agentsClient.getValidationResult(request);
    * }
    * 
@@ -1066,7 +1075,10 @@ public final ValidationResult getValidationResult(GetValidationResultRequest req * *

    * try (AgentsClient agentsClient = AgentsClient.create()) {
-   *   GetValidationResultRequest request = GetValidationResultRequest.newBuilder().build();
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   GetValidationResultRequest request = GetValidationResultRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .build();
    *   ApiFuture<ValidationResult> future = agentsClient.getValidationResultCallable().futureCall(request);
    *   // Do something
    *   ValidationResult response = future.get();
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java
index 51b7f88b2..4cf5d0834 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java
@@ -81,11 +81,6 @@ public UnaryCallSettings deleteAgentSettings() {
     return ((AgentsStubSettings) getStubSettings()).deleteAgentSettings();
   }
 
-  /** Returns the object with the settings used for calls to getAgent. */
-  public UnaryCallSettings getAgentSettings() {
-    return ((AgentsStubSettings) getStubSettings()).getAgentSettings();
-  }
-
   /** Returns the object with the settings used for calls to searchAgents. */
   public PagedCallSettings
       searchAgentsSettings() {
@@ -117,18 +112,6 @@ public UnaryCallSettings exportAgentSettings() {
     return ((AgentsStubSettings) getStubSettings()).exportAgentOperationSettings();
   }
 
-  /** Returns the object with the settings used for calls to importAgent. */
-  public UnaryCallSettings importAgentSettings() {
-    return ((AgentsStubSettings) getStubSettings()).importAgentSettings();
-  }
-
-  /** Returns the object with the settings used for calls to importAgent. */
-  @BetaApi(
-      "The surface for long-running operations is not stable yet and may change in the future.")
-  public OperationCallSettings importAgentOperationSettings() {
-    return ((AgentsStubSettings) getStubSettings()).importAgentOperationSettings();
-  }
-
   /** Returns the object with the settings used for calls to restoreAgent. */
   public UnaryCallSettings restoreAgentSettings() {
     return ((AgentsStubSettings) getStubSettings()).restoreAgentSettings();
@@ -141,6 +124,23 @@ public OperationCallSettings restoreAgentOpe
     return ((AgentsStubSettings) getStubSettings()).restoreAgentOperationSettings();
   }
 
+  /** Returns the object with the settings used for calls to getAgent. */
+  public UnaryCallSettings getAgentSettings() {
+    return ((AgentsStubSettings) getStubSettings()).getAgentSettings();
+  }
+
+  /** Returns the object with the settings used for calls to importAgent. */
+  public UnaryCallSettings importAgentSettings() {
+    return ((AgentsStubSettings) getStubSettings()).importAgentSettings();
+  }
+
+  /** Returns the object with the settings used for calls to importAgent. */
+  @BetaApi(
+      "The surface for long-running operations is not stable yet and may change in the future.")
+  public OperationCallSettings importAgentOperationSettings() {
+    return ((AgentsStubSettings) getStubSettings()).importAgentOperationSettings();
+  }
+
   /** Returns the object with the settings used for calls to getValidationResult. */
   public UnaryCallSettings
       getValidationResultSettings() {
@@ -253,11 +253,6 @@ public UnaryCallSettings.Builder deleteAgentSettings(
       return getStubSettingsBuilder().deleteAgentSettings();
     }
 
-    /** Returns the builder for the settings used for calls to getAgent. */
-    public UnaryCallSettings.Builder getAgentSettings() {
-      return getStubSettingsBuilder().getAgentSettings();
-    }
-
     /** Returns the builder for the settings used for calls to searchAgents. */
     public PagedCallSettings.Builder<
             SearchAgentsRequest, SearchAgentsResponse, SearchAgentsPagedResponse>
@@ -291,19 +286,6 @@ public UnaryCallSettings.Builder exportAgentSetti
       return getStubSettingsBuilder().exportAgentOperationSettings();
     }
 
-    /** Returns the builder for the settings used for calls to importAgent. */
-    public UnaryCallSettings.Builder importAgentSettings() {
-      return getStubSettingsBuilder().importAgentSettings();
-    }
-
-    /** Returns the builder for the settings used for calls to importAgent. */
-    @BetaApi(
-        "The surface for long-running operations is not stable yet and may change in the future.")
-    public OperationCallSettings.Builder
-        importAgentOperationSettings() {
-      return getStubSettingsBuilder().importAgentOperationSettings();
-    }
-
     /** Returns the builder for the settings used for calls to restoreAgent. */
     public UnaryCallSettings.Builder restoreAgentSettings() {
       return getStubSettingsBuilder().restoreAgentSettings();
@@ -317,6 +299,24 @@ public UnaryCallSettings.Builder restoreAgentSet
       return getStubSettingsBuilder().restoreAgentOperationSettings();
     }
 
+    /** Returns the builder for the settings used for calls to getAgent. */
+    public UnaryCallSettings.Builder getAgentSettings() {
+      return getStubSettingsBuilder().getAgentSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to importAgent. */
+    public UnaryCallSettings.Builder importAgentSettings() {
+      return getStubSettingsBuilder().importAgentSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to importAgent. */
+    @BetaApi(
+        "The surface for long-running operations is not stable yet and may change in the future.")
+    public OperationCallSettings.Builder
+        importAgentOperationSettings() {
+      return getStubSettingsBuilder().importAgentOperationSettings();
+    }
+
     /** Returns the builder for the settings used for calls to getValidationResult. */
     public UnaryCallSettings.Builder
         getValidationResultSettings() {
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java
index 5486a95a0..6febf96ce 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java
@@ -29,6 +29,7 @@
 import com.google.cloud.dialogflow.v2.stub.ContextsStubSettings;
 import com.google.common.util.concurrent.MoreExecutors;
 import com.google.protobuf.Empty;
+import com.google.protobuf.FieldMask;
 import java.io.IOException;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
@@ -58,8 +59,8 @@
  * 
  * 
  * try (ContextsClient contextsClient = ContextsClient.create()) {
- *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
- *   Context response = contextsClient.getContext(name);
+ *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
+ *   contextsClient.deleteContext(name);
  * }
  * 
  * 
@@ -166,6 +167,203 @@ public ContextsStub getStub() { return stub; } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified context. + * + *

Sample code: + * + *


+   * try (ContextsClient contextsClient = ContextsClient.create()) {
+   *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
+   *   contextsClient.deleteContext(name);
+   * }
+   * 
+ * + * @param name Required. The name of the context to delete. Format: `projects/<Project + * ID>/agent/sessions/<Session ID>/contexts/<Context ID>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is not + * specified, we assume default 'draft' environment. If `User ID` is not specified, we assume + * default '-' user. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteContext(ContextName name) { + DeleteContextRequest request = + DeleteContextRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteContext(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified context. + * + *

Sample code: + * + *


+   * try (ContextsClient contextsClient = ContextsClient.create()) {
+   *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
+   *   contextsClient.deleteContext(name.toString());
+   * }
+   * 
+ * + * @param name Required. The name of the context to delete. Format: `projects/<Project + * ID>/agent/sessions/<Session ID>/contexts/<Context ID>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is not + * specified, we assume default 'draft' environment. If `User ID` is not specified, we assume + * default '-' user. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteContext(String name) { + DeleteContextRequest request = DeleteContextRequest.newBuilder().setName(name).build(); + deleteContext(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified context. + * + *

Sample code: + * + *


+   * try (ContextsClient contextsClient = ContextsClient.create()) {
+   *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
+   *   DeleteContextRequest request = DeleteContextRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   contextsClient.deleteContext(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteContext(DeleteContextRequest request) { + deleteContextCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified context. + * + *

Sample code: + * + *


+   * try (ContextsClient contextsClient = ContextsClient.create()) {
+   *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
+   *   DeleteContextRequest request = DeleteContextRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = contextsClient.deleteContextCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteContextCallable() { + return stub.deleteContextCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes all active contexts in the specified session. + * + *

Sample code: + * + *


+   * try (ContextsClient contextsClient = ContextsClient.create()) {
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
+   *   contextsClient.deleteAllContexts(parent);
+   * }
+   * 
+ * + * @param parent Required. The name of the session to delete all contexts from. Format: + * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified we assume default 'draft' environment. If + * `User ID` is not specified, we assume default '-' user. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAllContexts(SessionName parent) { + DeleteAllContextsRequest request = + DeleteAllContextsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + deleteAllContexts(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes all active contexts in the specified session. + * + *

Sample code: + * + *


+   * try (ContextsClient contextsClient = ContextsClient.create()) {
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
+   *   contextsClient.deleteAllContexts(parent.toString());
+   * }
+   * 
+ * + * @param parent Required. The name of the session to delete all contexts from. Format: + * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project + * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session + * ID>`. If `Environment ID` is not specified we assume default 'draft' environment. If + * `User ID` is not specified, we assume default '-' user. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAllContexts(String parent) { + DeleteAllContextsRequest request = + DeleteAllContextsRequest.newBuilder().setParent(parent).build(); + deleteAllContexts(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes all active contexts in the specified session. + * + *

Sample code: + * + *


+   * try (ContextsClient contextsClient = ContextsClient.create()) {
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
+   *   DeleteAllContextsRequest request = DeleteAllContextsRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .build();
+   *   contextsClient.deleteAllContexts(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAllContexts(DeleteAllContextsRequest request) { + deleteAllContextsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes all active contexts in the specified session. + * + *

Sample code: + * + *


+   * try (ContextsClient contextsClient = ContextsClient.create()) {
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
+   *   DeleteAllContextsRequest request = DeleteAllContextsRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .build();
+   *   ApiFuture<Void> future = contextsClient.deleteAllContextsCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteAllContextsCallable() { + return stub.deleteAllContextsCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Returns the list of all contexts in the specified session. @@ -174,7 +372,7 @@ public ContextsStub getStub() { * *

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   for (Context element : contextsClient.listContexts(parent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -204,7 +402,7 @@ public final ListContextsPagedResponse listContexts(SessionName parent) {
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   for (Context element : contextsClient.listContexts(parent.toString()).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -231,7 +429,7 @@ public final ListContextsPagedResponse listContexts(String parent) {
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   ListContextsRequest request = ListContextsRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -256,7 +454,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   ListContextsRequest request = ListContextsRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -281,7 +479,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   ListContextsRequest request = ListContextsRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -312,7 +510,7 @@ public final UnaryCallable listContex
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
+   *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
    *   Context response = contextsClient.getContext(name);
    * }
    * 
@@ -339,7 +537,7 @@ public final Context getContext(ContextName name) { * *

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
+   *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
    *   Context response = contextsClient.getContext(name.toString());
    * }
    * 
@@ -365,7 +563,7 @@ public final Context getContext(String name) { * *

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
+   *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
    *   GetContextRequest request = GetContextRequest.newBuilder()
    *     .setName(name.toString())
    *     .build();
@@ -388,7 +586,7 @@ public final Context getContext(GetContextRequest request) {
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
+   *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
    *   GetContextRequest request = GetContextRequest.newBuilder()
    *     .setName(name.toString())
    *     .build();
@@ -412,7 +610,7 @@ public final UnaryCallable getContextCallable() {
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   Context context = Context.newBuilder().build();
    *   Context response = contextsClient.createContext(parent, context);
    * }
@@ -445,7 +643,7 @@ public final Context createContext(SessionName parent, Context context) {
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   Context context = Context.newBuilder().build();
    *   Context response = contextsClient.createContext(parent.toString(), context);
    * }
@@ -475,7 +673,7 @@ public final Context createContext(String parent, Context context) {
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   Context context = Context.newBuilder().build();
    *   CreateContextRequest request = CreateContextRequest.newBuilder()
    *     .setParent(parent.toString())
@@ -502,7 +700,7 @@ public final Context createContext(CreateContextRequest request) {
    *
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   Context context = Context.newBuilder().build();
    *   CreateContextRequest request = CreateContextRequest.newBuilder()
    *     .setParent(parent.toString())
@@ -527,15 +725,18 @@ public final UnaryCallable createContextCallable(
    * 

    * try (ContextsClient contextsClient = ContextsClient.create()) {
    *   Context context = Context.newBuilder().build();
-   *   Context response = contextsClient.updateContext(context);
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Context response = contextsClient.updateContext(context, updateMask);
    * }
    * 
* * @param context Required. The context to update. + * @param updateMask Optional. The mask to control which fields get updated. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final Context updateContext(Context context) { - UpdateContextRequest request = UpdateContextRequest.newBuilder().setContext(context).build(); + public final Context updateContext(Context context, FieldMask updateMask) { + UpdateContextRequest request = + UpdateContextRequest.newBuilder().setContext(context).setUpdateMask(updateMask).build(); return updateContext(request); } @@ -584,203 +785,6 @@ public final UnaryCallable updateContextCallable( return stub.updateContextCallable(); } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified context. - * - *

Sample code: - * - *


-   * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
-   *   contextsClient.deleteContext(name);
-   * }
-   * 
- * - * @param name Required. The name of the context to delete. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/contexts/<Context ID>` or - * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User - * ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is not - * specified, we assume default 'draft' environment. If `User ID` is not specified, we assume - * default '-' user. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteContext(ContextName name) { - DeleteContextRequest request = - DeleteContextRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteContext(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified context. - * - *

Sample code: - * - *


-   * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
-   *   contextsClient.deleteContext(name.toString());
-   * }
-   * 
- * - * @param name Required. The name of the context to delete. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/contexts/<Context ID>` or - * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User - * ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is not - * specified, we assume default 'draft' environment. If `User ID` is not specified, we assume - * default '-' user. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteContext(String name) { - DeleteContextRequest request = DeleteContextRequest.newBuilder().setName(name).build(); - deleteContext(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified context. - * - *

Sample code: - * - *


-   * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
-   *   DeleteContextRequest request = DeleteContextRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   contextsClient.deleteContext(request);
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteContext(DeleteContextRequest request) { - deleteContextCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified context. - * - *

Sample code: - * - *


-   * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
-   *   DeleteContextRequest request = DeleteContextRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   ApiFuture<Void> future = contextsClient.deleteContextCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteContextCallable() { - return stub.deleteContextCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes all active contexts in the specified session. - * - *

Sample code: - * - *


-   * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
-   *   contextsClient.deleteAllContexts(parent);
-   * }
-   * 
- * - * @param parent Required. The name of the session to delete all contexts from. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project - * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session - * ID>`. If `Environment ID` is not specified we assume default 'draft' environment. If - * `User ID` is not specified, we assume default '-' user. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteAllContexts(SessionName parent) { - DeleteAllContextsRequest request = - DeleteAllContextsRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .build(); - deleteAllContexts(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes all active contexts in the specified session. - * - *

Sample code: - * - *


-   * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
-   *   contextsClient.deleteAllContexts(parent.toString());
-   * }
-   * 
- * - * @param parent Required. The name of the session to delete all contexts from. Format: - * `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project - * ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session - * ID>`. If `Environment ID` is not specified we assume default 'draft' environment. If - * `User ID` is not specified, we assume default '-' user. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteAllContexts(String parent) { - DeleteAllContextsRequest request = - DeleteAllContextsRequest.newBuilder().setParent(parent).build(); - deleteAllContexts(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes all active contexts in the specified session. - * - *

Sample code: - * - *


-   * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
-   *   DeleteAllContextsRequest request = DeleteAllContextsRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .build();
-   *   contextsClient.deleteAllContexts(request);
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteAllContexts(DeleteAllContextsRequest request) { - deleteAllContextsCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes all active contexts in the specified session. - * - *

Sample code: - * - *


-   * try (ContextsClient contextsClient = ContextsClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
-   *   DeleteAllContextsRequest request = DeleteAllContextsRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .build();
-   *   ApiFuture<Void> future = contextsClient.deleteAllContextsCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteAllContextsCallable() { - return stub.deleteAllContextsCallable(); - } - @Override public final void close() { stub.close(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java index e7fe62e37..228d06e7f 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java @@ -49,16 +49,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getContext to 30 seconds: + *

For example, to set the total timeout of deleteContext to 30 seconds: * *

  * 
  * ContextsSettings.Builder contextsSettingsBuilder =
  *     ContextsSettings.newBuilder();
  * contextsSettingsBuilder
- *     .getContextSettings()
+ *     .deleteContextSettings()
  *     .setRetrySettings(
- *         contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
+ *         contextsSettingsBuilder.deleteContextSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ContextsSettings contextsSettings = contextsSettingsBuilder.build();
@@ -68,6 +68,16 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class ContextsSettings extends ClientSettings {
+  /** Returns the object with the settings used for calls to deleteContext. */
+  public UnaryCallSettings deleteContextSettings() {
+    return ((ContextsStubSettings) getStubSettings()).deleteContextSettings();
+  }
+
+  /** Returns the object with the settings used for calls to deleteAllContexts. */
+  public UnaryCallSettings deleteAllContextsSettings() {
+    return ((ContextsStubSettings) getStubSettings()).deleteAllContextsSettings();
+  }
+
   /** Returns the object with the settings used for calls to listContexts. */
   public PagedCallSettings
       listContextsSettings() {
@@ -89,16 +99,6 @@ public UnaryCallSettings updateContextSettings()
     return ((ContextsStubSettings) getStubSettings()).updateContextSettings();
   }
 
-  /** Returns the object with the settings used for calls to deleteContext. */
-  public UnaryCallSettings deleteContextSettings() {
-    return ((ContextsStubSettings) getStubSettings()).deleteContextSettings();
-  }
-
-  /** Returns the object with the settings used for calls to deleteAllContexts. */
-  public UnaryCallSettings deleteAllContextsSettings() {
-    return ((ContextsStubSettings) getStubSettings()).deleteAllContextsSettings();
-  }
-
   public static final ContextsSettings create(ContextsStubSettings stub) throws IOException {
     return new ContextsSettings.Builder(stub.toBuilder()).build();
   }
@@ -195,6 +195,16 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
+    /** Returns the builder for the settings used for calls to deleteContext. */
+    public UnaryCallSettings.Builder deleteContextSettings() {
+      return getStubSettingsBuilder().deleteContextSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to deleteAllContexts. */
+    public UnaryCallSettings.Builder deleteAllContextsSettings() {
+      return getStubSettingsBuilder().deleteAllContextsSettings();
+    }
+
     /** Returns the builder for the settings used for calls to listContexts. */
     public PagedCallSettings.Builder<
             ListContextsRequest, ListContextsResponse, ListContextsPagedResponse>
@@ -217,16 +227,6 @@ public UnaryCallSettings.Builder updateContextSet
       return getStubSettingsBuilder().updateContextSettings();
     }
 
-    /** Returns the builder for the settings used for calls to deleteContext. */
-    public UnaryCallSettings.Builder deleteContextSettings() {
-      return getStubSettingsBuilder().deleteContextSettings();
-    }
-
-    /** Returns the builder for the settings used for calls to deleteAllContexts. */
-    public UnaryCallSettings.Builder deleteAllContextsSettings() {
-      return getStubSettingsBuilder().deleteAllContextsSettings();
-    }
-
     @Override
     public ContextsSettings build() throws IOException {
       return new ContextsSettings(this);
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java
index 199815561..3901175c2 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java
@@ -74,7 +74,7 @@
  * 
  * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
  *   EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
- *   EntityType response = entityTypesClient.getEntityType(name);
+ *   entityTypesClient.deleteEntityType(name);
  * }
  * 
  * 
@@ -195,6 +195,481 @@ public final OperationsClient getOperationsClient() { return operationsClient; } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified entity type. + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   entityTypesClient.deleteEntityType(name);
+   * }
+   * 
+ * + * @param name Required. The name of the entity type to delete. Format: `projects/<Project + * ID>/agent/entityTypes/<EntityType ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteEntityType(EntityTypeName name) { + DeleteEntityTypeRequest request = + DeleteEntityTypeRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteEntityType(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified entity type. + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   entityTypesClient.deleteEntityType(name.toString());
+   * }
+   * 
+ * + * @param name Required. The name of the entity type to delete. Format: `projects/<Project + * ID>/agent/entityTypes/<EntityType ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteEntityType(String name) { + DeleteEntityTypeRequest request = DeleteEntityTypeRequest.newBuilder().setName(name).build(); + deleteEntityType(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified entity type. + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   DeleteEntityTypeRequest request = DeleteEntityTypeRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   entityTypesClient.deleteEntityType(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteEntityType(DeleteEntityTypeRequest request) { + deleteEntityTypeCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified entity type. + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   DeleteEntityTypeRequest request = DeleteEntityTypeRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = entityTypesClient.deleteEntityTypeCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteEntityTypeCallable() { + return stub.deleteEntityTypeCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entity types in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<String> entityTypeNames = new ArrayList<>();
+   *   entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get();
+   * }
+   * 
+ * + * @param parent Required. The name of the agent to delete all entities types for. Format: + * `projects/<Project ID>/agent`. + * @param entityTypeNames Required. The names entity types to delete. All names must point to the + * same agent as `parent`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteEntityTypesAsync( + AgentName parent, List entityTypeNames) { + BatchDeleteEntityTypesRequest request = + BatchDeleteEntityTypesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .addAllEntityTypeNames(entityTypeNames) + .build(); + return batchDeleteEntityTypesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entity types in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<String> entityTypeNames = new ArrayList<>();
+   *   entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get();
+   * }
+   * 
+ * + * @param parent Required. The name of the agent to delete all entities types for. Format: + * `projects/<Project ID>/agent`. + * @param entityTypeNames Required. The names entity types to delete. All names must point to the + * same agent as `parent`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteEntityTypesAsync( + String parent, List entityTypeNames) { + BatchDeleteEntityTypesRequest request = + BatchDeleteEntityTypesRequest.newBuilder() + .setParent(parent) + .addAllEntityTypeNames(entityTypeNames) + .build(); + return batchDeleteEntityTypesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entity types in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<String> entityTypeNames = new ArrayList<>();
+   *   BatchDeleteEntityTypesRequest request = BatchDeleteEntityTypesRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .addAllEntityTypeNames(entityTypeNames)
+   *     .build();
+   *   entityTypesClient.batchDeleteEntityTypesAsync(request).get();
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteEntityTypesAsync( + BatchDeleteEntityTypesRequest request) { + return batchDeleteEntityTypesOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entity types in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<String> entityTypeNames = new ArrayList<>();
+   *   BatchDeleteEntityTypesRequest request = BatchDeleteEntityTypesRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .addAllEntityTypeNames(entityTypeNames)
+   *     .build();
+   *   OperationFuture<Empty, Struct> future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") + public final OperationCallable + batchDeleteEntityTypesOperationCallable() { + return stub.batchDeleteEntityTypesOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entity types in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<String> entityTypeNames = new ArrayList<>();
+   *   BatchDeleteEntityTypesRequest request = BatchDeleteEntityTypesRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .addAllEntityTypeNames(entityTypeNames)
+   *     .build();
+   *   ApiFuture<Operation> future = entityTypesClient.batchDeleteEntityTypesCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable + batchDeleteEntityTypesCallable() { + return stub.batchDeleteEntityTypesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entities in the specified entity type. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   List<String> entityValues = new ArrayList<>();
+   *   entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get();
+   * }
+   * 
+ * + * @param parent Required. The name of the entity type to delete entries for. Format: + * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. + * @param entityValues Required. The reference `values` of the entities to delete. Note that these + * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteEntitiesAsync( + EntityTypeName parent, List entityValues) { + BatchDeleteEntitiesRequest request = + BatchDeleteEntitiesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .addAllEntityValues(entityValues) + .build(); + return batchDeleteEntitiesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entities in the specified entity type. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   List<String> entityValues = new ArrayList<>();
+   *   entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get();
+   * }
+   * 
+ * + * @param parent Required. The name of the entity type to delete entries for. Format: + * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. + * @param entityValues Required. The reference `values` of the entities to delete. Note that these + * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteEntitiesAsync( + String parent, List entityValues) { + BatchDeleteEntitiesRequest request = + BatchDeleteEntitiesRequest.newBuilder() + .setParent(parent) + .addAllEntityValues(entityValues) + .build(); + return batchDeleteEntitiesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entities in the specified entity type. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   List<String> entityValues = new ArrayList<>();
+   *   String languageCode = "";
+   *   entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get();
+   * }
+   * 
+ * + * @param parent Required. The name of the entity type to delete entries for. Format: + * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. + * @param entityValues Required. The reference `values` of the entities to delete. Note that these + * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteEntitiesAsync( + EntityTypeName parent, List entityValues, String languageCode) { + BatchDeleteEntitiesRequest request = + BatchDeleteEntitiesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .addAllEntityValues(entityValues) + .setLanguageCode(languageCode) + .build(); + return batchDeleteEntitiesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entities in the specified entity type. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   List<String> entityValues = new ArrayList<>();
+   *   String languageCode = "";
+   *   entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get();
+   * }
+   * 
+ * + * @param parent Required. The name of the entity type to delete entries for. Format: + * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. + * @param entityValues Required. The reference `values` of the entities to delete. Note that these + * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteEntitiesAsync( + String parent, List entityValues, String languageCode) { + BatchDeleteEntitiesRequest request = + BatchDeleteEntitiesRequest.newBuilder() + .setParent(parent) + .addAllEntityValues(entityValues) + .setLanguageCode(languageCode) + .build(); + return batchDeleteEntitiesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entities in the specified entity type. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   List<String> entityValues = new ArrayList<>();
+   *   BatchDeleteEntitiesRequest request = BatchDeleteEntitiesRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .addAllEntityValues(entityValues)
+   *     .build();
+   *   entityTypesClient.batchDeleteEntitiesAsync(request).get();
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteEntitiesAsync( + BatchDeleteEntitiesRequest request) { + return batchDeleteEntitiesOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entities in the specified entity type. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   List<String> entityValues = new ArrayList<>();
+   *   BatchDeleteEntitiesRequest request = BatchDeleteEntitiesRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .addAllEntityValues(entityValues)
+   *     .build();
+   *   OperationFuture<Empty, Struct> future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") + public final OperationCallable + batchDeleteEntitiesOperationCallable() { + return stub.batchDeleteEntitiesOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes entities in the specified entity type. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
+   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
+   *   List<String> entityValues = new ArrayList<>();
+   *   BatchDeleteEntitiesRequest request = BatchDeleteEntitiesRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .addAllEntityValues(entityValues)
+   *     .build();
+   *   ApiFuture<Operation> future = entityTypesClient.batchDeleteEntitiesCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable batchDeleteEntitiesCallable() { + return stub.batchDeleteEntitiesCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Returns the list of all entity types in the specified agent. @@ -203,7 +678,7 @@ public final OperationsClient getOperationsClient() { * *

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -214,7 +689,7 @@ public final OperationsClient getOperationsClient() {
    *     ID>/agent`.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final ListEntityTypesPagedResponse listEntityTypes(ProjectAgentName parent) {
+  public final ListEntityTypesPagedResponse listEntityTypes(AgentName parent) {
     ListEntityTypesRequest request =
         ListEntityTypesRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -230,7 +705,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ProjectAgentName paren
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   for (EntityType element : entityTypesClient.listEntityTypes(parent.toString()).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -254,7 +729,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(String parent) {
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   String languageCode = "";
    *   for (EntityType element : entityTypesClient.listEntityTypes(parent, languageCode).iterateAll()) {
    *     // doThingsWith(element);
@@ -270,8 +745,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(String parent) {
    *     data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final ListEntityTypesPagedResponse listEntityTypes(
-      ProjectAgentName parent, String languageCode) {
+  public final ListEntityTypesPagedResponse listEntityTypes(AgentName parent, String languageCode) {
     ListEntityTypesRequest request =
         ListEntityTypesRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -288,7 +762,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   String languageCode = "";
    *   for (EntityType element : entityTypesClient.listEntityTypes(parent.toString(), languageCode).iterateAll()) {
    *     // doThingsWith(element);
@@ -318,7 +792,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(String parent, String
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   ListEntityTypesRequest request = ListEntityTypesRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -343,7 +817,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   ListEntityTypesRequest request = ListEntityTypesRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -368,7 +842,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   ListEntityTypesRequest request = ListEntityTypesRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -549,7 +1023,7 @@ public final UnaryCallable getEntityTypeCallab
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   EntityType entityType = EntityType.newBuilder().build();
    *   EntityType response = entityTypesClient.createEntityType(parent, entityType);
    * }
@@ -560,7 +1034,7 @@ public final UnaryCallable getEntityTypeCallab
    * @param entityType Required. The entity type to create.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final EntityType createEntityType(ProjectAgentName parent, EntityType entityType) {
+  public final EntityType createEntityType(AgentName parent, EntityType entityType) {
     CreateEntityTypeRequest request =
         CreateEntityTypeRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -577,7 +1051,7 @@ public final EntityType createEntityType(ProjectAgentName parent, EntityType ent
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   EntityType entityType = EntityType.newBuilder().build();
    *   EntityType response = entityTypesClient.createEntityType(parent.toString(), entityType);
    * }
@@ -602,7 +1076,7 @@ public final EntityType createEntityType(String parent, EntityType entityType) {
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   EntityType entityType = EntityType.newBuilder().build();
    *   String languageCode = "";
    *   EntityType response = entityTypesClient.createEntityType(parent, entityType, languageCode);
@@ -619,7 +1093,7 @@ public final EntityType createEntityType(String parent, EntityType entityType) {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final EntityType createEntityType(
-      ProjectAgentName parent, EntityType entityType, String languageCode) {
+      AgentName parent, EntityType entityType, String languageCode) {
     CreateEntityTypeRequest request =
         CreateEntityTypeRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -637,7 +1111,7 @@ public final EntityType createEntityType(
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   EntityType entityType = EntityType.newBuilder().build();
    *   String languageCode = "";
    *   EntityType response = entityTypesClient.createEntityType(parent.toString(), entityType, languageCode);
@@ -672,7 +1146,7 @@ public final EntityType createEntityType(
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   EntityType entityType = EntityType.newBuilder().build();
    *   CreateEntityTypeRequest request = CreateEntityTypeRequest.newBuilder()
    *     .setParent(parent.toString())
@@ -697,7 +1171,7 @@ public final EntityType createEntityType(CreateEntityTypeRequest request) {
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   EntityType entityType = EntityType.newBuilder().build();
    *   CreateEntityTypeRequest request = CreateEntityTypeRequest.newBuilder()
    *     .setParent(parent.toString())
@@ -810,96 +1284,6 @@ public final UnaryCallable updateEntityType
     return stub.updateEntityTypeCallable();
   }
 
-  // AUTO-GENERATED DOCUMENTATION AND METHOD
-  /**
-   * Deletes the specified entity type.
-   *
-   * 

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   entityTypesClient.deleteEntityType(name);
-   * }
-   * 
- * - * @param name Required. The name of the entity type to delete. Format: `projects/<Project - * ID>/agent/entityTypes/<EntityType ID>`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteEntityType(EntityTypeName name) { - DeleteEntityTypeRequest request = - DeleteEntityTypeRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteEntityType(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified entity type. - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   entityTypesClient.deleteEntityType(name.toString());
-   * }
-   * 
- * - * @param name Required. The name of the entity type to delete. Format: `projects/<Project - * ID>/agent/entityTypes/<EntityType ID>`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteEntityType(String name) { - DeleteEntityTypeRequest request = DeleteEntityTypeRequest.newBuilder().setName(name).build(); - deleteEntityType(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified entity type. - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   DeleteEntityTypeRequest request = DeleteEntityTypeRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   entityTypesClient.deleteEntityType(request);
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteEntityType(DeleteEntityTypeRequest request) { - deleteEntityTypeCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified entity type. - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   DeleteEntityTypeRequest request = DeleteEntityTypeRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   ApiFuture<Void> future = entityTypesClient.deleteEntityTypeCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteEntityTypeCallable() { - return stub.deleteEntityTypeCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Updates/Creates multiple entity types in the specified agent. @@ -911,7 +1295,7 @@ public final UnaryCallable deleteEntityTypeCalla * *

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -940,7 +1324,7 @@ public final OperationFuture batchUpdate
    *
    * 

    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -950,190 +1334,37 @@ public final OperationFuture batchUpdate
    * }
    * 
*/ - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public final OperationCallable< - BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, Struct> - batchUpdateEntityTypesOperationCallable() { - return stub.batchUpdateEntityTypesOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Updates/Creates multiple entity types in the specified agent. - * - *

Operation <response: - * [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .build();
-   *   ApiFuture<Operation> future = entityTypesClient.batchUpdateEntityTypesCallable().futureCall(request);
-   *   // Do something
-   *   Operation response = future.get();
-   * }
-   * 
- */ - public final UnaryCallable - batchUpdateEntityTypesCallable() { - return stub.batchUpdateEntityTypesCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entity types in the specified agent. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<String> entityTypeNames = new ArrayList<>();
-   *   entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get();
-   * }
-   * 
- * - * @param parent Required. The name of the agent to delete all entities types for. Format: - * `projects/<Project ID>/agent`. - * @param entityTypeNames Required. The names entity types to delete. All names must point to the - * same agent as `parent`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteEntityTypesAsync( - ProjectAgentName parent, List entityTypeNames) { - BatchDeleteEntityTypesRequest request = - BatchDeleteEntityTypesRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .addAllEntityTypeNames(entityTypeNames) - .build(); - return batchDeleteEntityTypesAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entity types in the specified agent. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<String> entityTypeNames = new ArrayList<>();
-   *   entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get();
-   * }
-   * 
- * - * @param parent Required. The name of the agent to delete all entities types for. Format: - * `projects/<Project ID>/agent`. - * @param entityTypeNames Required. The names entity types to delete. All names must point to the - * same agent as `parent`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteEntityTypesAsync( - String parent, List entityTypeNames) { - BatchDeleteEntityTypesRequest request = - BatchDeleteEntityTypesRequest.newBuilder() - .setParent(parent) - .addAllEntityTypeNames(entityTypeNames) - .build(); - return batchDeleteEntityTypesAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entity types in the specified agent. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<String> entityTypeNames = new ArrayList<>();
-   *   BatchDeleteEntityTypesRequest request = BatchDeleteEntityTypesRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .addAllEntityTypeNames(entityTypeNames)
-   *     .build();
-   *   entityTypesClient.batchDeleteEntityTypesAsync(request).get();
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteEntityTypesAsync( - BatchDeleteEntityTypesRequest request) { - return batchDeleteEntityTypesOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entity types in the specified agent. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<String> entityTypeNames = new ArrayList<>();
-   *   BatchDeleteEntityTypesRequest request = BatchDeleteEntityTypesRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .addAllEntityTypeNames(entityTypeNames)
-   *     .build();
-   *   OperationFuture<Empty, Struct> future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public final OperationCallable - batchDeleteEntityTypesOperationCallable() { - return stub.batchDeleteEntityTypesOperationCallable(); + @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") + public final OperationCallable< + BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, Struct> + batchUpdateEntityTypesOperationCallable() { + return stub.batchUpdateEntityTypesOperationCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Deletes entity types in the specified agent. + * Updates/Creates multiple entity types in the specified agent. * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + *

Operation <response: + * [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]> * *

Sample code: * *


    * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<String> entityTypeNames = new ArrayList<>();
-   *   BatchDeleteEntityTypesRequest request = BatchDeleteEntityTypesRequest.newBuilder()
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder()
    *     .setParent(parent.toString())
-   *     .addAllEntityTypeNames(entityTypeNames)
    *     .build();
-   *   ApiFuture<Operation> future = entityTypesClient.batchDeleteEntityTypesCallable().futureCall(request);
+   *   ApiFuture<Operation> future = entityTypesClient.batchUpdateEntityTypesCallable().futureCall(request);
    *   // Do something
-   *   future.get();
+   *   Operation response = future.get();
    * }
    * 
*/ - public final UnaryCallable - batchDeleteEntityTypesCallable() { - return stub.batchDeleteEntityTypesCallable(); + public final UnaryCallable + batchUpdateEntityTypesCallable() { + return stub.batchUpdateEntityTypesCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD @@ -1593,238 +1824,6 @@ public final UnaryCallable batchUpdateEnt return stub.batchUpdateEntitiesCallable(); } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entities in the specified entity type. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   List<String> entityValues = new ArrayList<>();
-   *   entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get();
-   * }
-   * 
- * - * @param parent Required. The name of the entity type to delete entries for. Format: - * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. - * @param entityValues Required. The reference `values` of the entities to delete. Note that these - * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteEntitiesAsync( - EntityTypeName parent, List entityValues) { - BatchDeleteEntitiesRequest request = - BatchDeleteEntitiesRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .addAllEntityValues(entityValues) - .build(); - return batchDeleteEntitiesAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entities in the specified entity type. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   List<String> entityValues = new ArrayList<>();
-   *   entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get();
-   * }
-   * 
- * - * @param parent Required. The name of the entity type to delete entries for. Format: - * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. - * @param entityValues Required. The reference `values` of the entities to delete. Note that these - * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteEntitiesAsync( - String parent, List entityValues) { - BatchDeleteEntitiesRequest request = - BatchDeleteEntitiesRequest.newBuilder() - .setParent(parent) - .addAllEntityValues(entityValues) - .build(); - return batchDeleteEntitiesAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entities in the specified entity type. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   List<String> entityValues = new ArrayList<>();
-   *   String languageCode = "";
-   *   entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get();
-   * }
-   * 
- * - * @param parent Required. The name of the entity type to delete entries for. Format: - * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. - * @param entityValues Required. The reference `values` of the entities to delete. Note that these - * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. - * @param languageCode Optional. The language used to access language-specific data. If not - * specified, the agent's default language is used. For more information, see [Multilingual - * intent and entity - * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteEntitiesAsync( - EntityTypeName parent, List entityValues, String languageCode) { - BatchDeleteEntitiesRequest request = - BatchDeleteEntitiesRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .addAllEntityValues(entityValues) - .setLanguageCode(languageCode) - .build(); - return batchDeleteEntitiesAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entities in the specified entity type. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   List<String> entityValues = new ArrayList<>();
-   *   String languageCode = "";
-   *   entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get();
-   * }
-   * 
- * - * @param parent Required. The name of the entity type to delete entries for. Format: - * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. - * @param entityValues Required. The reference `values` of the entities to delete. Note that these - * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. - * @param languageCode Optional. The language used to access language-specific data. If not - * specified, the agent's default language is used. For more information, see [Multilingual - * intent and entity - * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteEntitiesAsync( - String parent, List entityValues, String languageCode) { - BatchDeleteEntitiesRequest request = - BatchDeleteEntitiesRequest.newBuilder() - .setParent(parent) - .addAllEntityValues(entityValues) - .setLanguageCode(languageCode) - .build(); - return batchDeleteEntitiesAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entities in the specified entity type. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   List<String> entityValues = new ArrayList<>();
-   *   BatchDeleteEntitiesRequest request = BatchDeleteEntitiesRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .addAllEntityValues(entityValues)
-   *     .build();
-   *   entityTypesClient.batchDeleteEntitiesAsync(request).get();
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteEntitiesAsync( - BatchDeleteEntitiesRequest request) { - return batchDeleteEntitiesOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entities in the specified entity type. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   List<String> entityValues = new ArrayList<>();
-   *   BatchDeleteEntitiesRequest request = BatchDeleteEntitiesRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .addAllEntityValues(entityValues)
-   *     .build();
-   *   OperationFuture<Empty, Struct> future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public final OperationCallable - batchDeleteEntitiesOperationCallable() { - return stub.batchDeleteEntitiesOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes entities in the specified entity type. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
-   *   EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
-   *   List<String> entityValues = new ArrayList<>();
-   *   BatchDeleteEntitiesRequest request = BatchDeleteEntitiesRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .addAllEntityValues(entityValues)
-   *     .build();
-   *   ApiFuture<Operation> future = entityTypesClient.batchDeleteEntitiesCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable batchDeleteEntitiesCallable() { - return stub.batchDeleteEntitiesCallable(); - } - @Override public final void close() { stub.close(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java index caa415266..c268664c1 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java @@ -52,16 +52,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getEntityType to 30 seconds: + *

For example, to set the total timeout of deleteEntityType to 30 seconds: * *

  * 
  * EntityTypesSettings.Builder entityTypesSettingsBuilder =
  *     EntityTypesSettings.newBuilder();
  * entityTypesSettingsBuilder
- *     .getEntityTypeSettings()
+ *     .deleteEntityTypeSettings()
  *     .setRetrySettings(
- *         entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
+ *         entityTypesSettingsBuilder.deleteEntityTypeSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EntityTypesSettings entityTypesSettings = entityTypesSettingsBuilder.build();
@@ -71,6 +71,38 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class EntityTypesSettings extends ClientSettings {
+  /** Returns the object with the settings used for calls to deleteEntityType. */
+  public UnaryCallSettings deleteEntityTypeSettings() {
+    return ((EntityTypesStubSettings) getStubSettings()).deleteEntityTypeSettings();
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteEntityTypes. */
+  public UnaryCallSettings
+      batchDeleteEntityTypesSettings() {
+    return ((EntityTypesStubSettings) getStubSettings()).batchDeleteEntityTypesSettings();
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteEntityTypes. */
+  @BetaApi(
+      "The surface for long-running operations is not stable yet and may change in the future.")
+  public OperationCallSettings
+      batchDeleteEntityTypesOperationSettings() {
+    return ((EntityTypesStubSettings) getStubSettings()).batchDeleteEntityTypesOperationSettings();
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteEntities. */
+  public UnaryCallSettings batchDeleteEntitiesSettings() {
+    return ((EntityTypesStubSettings) getStubSettings()).batchDeleteEntitiesSettings();
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteEntities. */
+  @BetaApi(
+      "The surface for long-running operations is not stable yet and may change in the future.")
+  public OperationCallSettings
+      batchDeleteEntitiesOperationSettings() {
+    return ((EntityTypesStubSettings) getStubSettings()).batchDeleteEntitiesOperationSettings();
+  }
+
   /** Returns the object with the settings used for calls to listEntityTypes. */
   public PagedCallSettings<
           ListEntityTypesRequest, ListEntityTypesResponse, ListEntityTypesPagedResponse>
@@ -93,11 +125,6 @@ public UnaryCallSettings updateEntityTypeSe
     return ((EntityTypesStubSettings) getStubSettings()).updateEntityTypeSettings();
   }
 
-  /** Returns the object with the settings used for calls to deleteEntityType. */
-  public UnaryCallSettings deleteEntityTypeSettings() {
-    return ((EntityTypesStubSettings) getStubSettings()).deleteEntityTypeSettings();
-  }
-
   /** Returns the object with the settings used for calls to batchUpdateEntityTypes. */
   public UnaryCallSettings
       batchUpdateEntityTypesSettings() {
@@ -113,20 +140,6 @@ public UnaryCallSettings deleteEntityTypeSetting
     return ((EntityTypesStubSettings) getStubSettings()).batchUpdateEntityTypesOperationSettings();
   }
 
-  /** Returns the object with the settings used for calls to batchDeleteEntityTypes. */
-  public UnaryCallSettings
-      batchDeleteEntityTypesSettings() {
-    return ((EntityTypesStubSettings) getStubSettings()).batchDeleteEntityTypesSettings();
-  }
-
-  /** Returns the object with the settings used for calls to batchDeleteEntityTypes. */
-  @BetaApi(
-      "The surface for long-running operations is not stable yet and may change in the future.")
-  public OperationCallSettings
-      batchDeleteEntityTypesOperationSettings() {
-    return ((EntityTypesStubSettings) getStubSettings()).batchDeleteEntityTypesOperationSettings();
-  }
-
   /** Returns the object with the settings used for calls to batchCreateEntities. */
   public UnaryCallSettings batchCreateEntitiesSettings() {
     return ((EntityTypesStubSettings) getStubSettings()).batchCreateEntitiesSettings();
@@ -153,19 +166,6 @@ public UnaryCallSettings batchUpdateEntit
     return ((EntityTypesStubSettings) getStubSettings()).batchUpdateEntitiesOperationSettings();
   }
 
-  /** Returns the object with the settings used for calls to batchDeleteEntities. */
-  public UnaryCallSettings batchDeleteEntitiesSettings() {
-    return ((EntityTypesStubSettings) getStubSettings()).batchDeleteEntitiesSettings();
-  }
-
-  /** Returns the object with the settings used for calls to batchDeleteEntities. */
-  @BetaApi(
-      "The surface for long-running operations is not stable yet and may change in the future.")
-  public OperationCallSettings
-      batchDeleteEntitiesOperationSettings() {
-    return ((EntityTypesStubSettings) getStubSettings()).batchDeleteEntitiesOperationSettings();
-  }
-
   public static final EntityTypesSettings create(EntityTypesStubSettings stub) throws IOException {
     return new EntityTypesSettings.Builder(stub.toBuilder()).build();
   }
@@ -262,6 +262,39 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
+    /** Returns the builder for the settings used for calls to deleteEntityType. */
+    public UnaryCallSettings.Builder deleteEntityTypeSettings() {
+      return getStubSettingsBuilder().deleteEntityTypeSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteEntityTypes. */
+    public UnaryCallSettings.Builder
+        batchDeleteEntityTypesSettings() {
+      return getStubSettingsBuilder().batchDeleteEntityTypesSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteEntityTypes. */
+    @BetaApi(
+        "The surface for long-running operations is not stable yet and may change in the future.")
+    public OperationCallSettings.Builder
+        batchDeleteEntityTypesOperationSettings() {
+      return getStubSettingsBuilder().batchDeleteEntityTypesOperationSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteEntities. */
+    public UnaryCallSettings.Builder
+        batchDeleteEntitiesSettings() {
+      return getStubSettingsBuilder().batchDeleteEntitiesSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteEntities. */
+    @BetaApi(
+        "The surface for long-running operations is not stable yet and may change in the future.")
+    public OperationCallSettings.Builder
+        batchDeleteEntitiesOperationSettings() {
+      return getStubSettingsBuilder().batchDeleteEntitiesOperationSettings();
+    }
+
     /** Returns the builder for the settings used for calls to listEntityTypes. */
     public PagedCallSettings.Builder<
             ListEntityTypesRequest, ListEntityTypesResponse, ListEntityTypesPagedResponse>
@@ -286,11 +319,6 @@ public UnaryCallSettings.Builder getEntityType
       return getStubSettingsBuilder().updateEntityTypeSettings();
     }
 
-    /** Returns the builder for the settings used for calls to deleteEntityType. */
-    public UnaryCallSettings.Builder deleteEntityTypeSettings() {
-      return getStubSettingsBuilder().deleteEntityTypeSettings();
-    }
-
     /** Returns the builder for the settings used for calls to batchUpdateEntityTypes. */
     public UnaryCallSettings.Builder
         batchUpdateEntityTypesSettings() {
@@ -306,20 +334,6 @@ public UnaryCallSettings.Builder deleteEntityTyp
       return getStubSettingsBuilder().batchUpdateEntityTypesOperationSettings();
     }
 
-    /** Returns the builder for the settings used for calls to batchDeleteEntityTypes. */
-    public UnaryCallSettings.Builder
-        batchDeleteEntityTypesSettings() {
-      return getStubSettingsBuilder().batchDeleteEntityTypesSettings();
-    }
-
-    /** Returns the builder for the settings used for calls to batchDeleteEntityTypes. */
-    @BetaApi(
-        "The surface for long-running operations is not stable yet and may change in the future.")
-    public OperationCallSettings.Builder
-        batchDeleteEntityTypesOperationSettings() {
-      return getStubSettingsBuilder().batchDeleteEntityTypesOperationSettings();
-    }
-
     /** Returns the builder for the settings used for calls to batchCreateEntities. */
     public UnaryCallSettings.Builder
         batchCreateEntitiesSettings() {
@@ -348,20 +362,6 @@ public UnaryCallSettings.Builder deleteEntityTyp
       return getStubSettingsBuilder().batchUpdateEntitiesOperationSettings();
     }
 
-    /** Returns the builder for the settings used for calls to batchDeleteEntities. */
-    public UnaryCallSettings.Builder
-        batchDeleteEntitiesSettings() {
-      return getStubSettingsBuilder().batchDeleteEntitiesSettings();
-    }
-
-    /** Returns the builder for the settings used for calls to batchDeleteEntities. */
-    @BetaApi(
-        "The surface for long-running operations is not stable yet and may change in the future.")
-    public OperationCallSettings.Builder
-        batchDeleteEntitiesOperationSettings() {
-      return getStubSettingsBuilder().batchDeleteEntitiesOperationSettings();
-    }
-
     @Override
     public EntityTypesSettings build() throws IOException {
       return new EntityTypesSettings(this);
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java
new file mode 100644
index 000000000..bdca42bb4
--- /dev/null
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java
@@ -0,0 +1,355 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     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.
+ */
+package com.google.cloud.dialogflow.v2;
+
+import com.google.api.core.ApiFunction;
+import com.google.api.core.ApiFuture;
+import com.google.api.core.ApiFutures;
+import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.paging.AbstractFixedSizeCollection;
+import com.google.api.gax.paging.AbstractPage;
+import com.google.api.gax.paging.AbstractPagedListResponse;
+import com.google.api.gax.rpc.PageContext;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.dialogflow.v2.stub.EnvironmentsStub;
+import com.google.cloud.dialogflow.v2.stub.EnvironmentsStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
+import java.io.IOException;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND SERVICE
+/**
+ * Service Description: Manages agent environments.
+ *
+ * 

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

+ * 
+ * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
+ *   AgentName parent = AgentName.of("[PROJECT]");
+ *   ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder()
+ *     .setParent(parent.toString())
+ *     .build();
+ *   ApiFuture<ListEnvironmentsPagedResponse> future = environmentsClient.listEnvironmentsPagedCallable().futureCall(request);
+ *   // Do something
+ *   for (Environment element : future.get().iterateAll()) {
+ *     // doThingsWith(element);
+ *   }
+ * }
+ * 
+ * 
+ * + *

Note: close() needs to be called on the environmentsClient object to clean up resources such + * as threads. In the example above, try-with-resources is used, which automatically calls close(). + * + *

The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

    + *
  1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
  2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of EnvironmentsSettings to + * create(). For example: + * + *

To customize credentials: + * + *

+ * 
+ * EnvironmentsSettings environmentsSettings =
+ *     EnvironmentsSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * EnvironmentsClient environmentsClient =
+ *     EnvironmentsClient.create(environmentsSettings);
+ * 
+ * 
+ * + * To customize the endpoint: + * + *
+ * 
+ * EnvironmentsSettings environmentsSettings =
+ *     EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * EnvironmentsClient environmentsClient =
+ *     EnvironmentsClient.create(environmentsSettings);
+ * 
+ * 
+ */ +@Generated("by gapic-generator") +@BetaApi +public class EnvironmentsClient implements BackgroundResource { + private final EnvironmentsSettings settings; + private final EnvironmentsStub stub; + + /** Constructs an instance of EnvironmentsClient with default settings. */ + public static final EnvironmentsClient create() throws IOException { + return create(EnvironmentsSettings.newBuilder().build()); + } + + /** + * Constructs an instance of EnvironmentsClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final EnvironmentsClient create(EnvironmentsSettings settings) throws IOException { + return new EnvironmentsClient(settings); + } + + /** + * Constructs an instance of EnvironmentsClient, using the given stub for making calls. This is + * for advanced usage - prefer to use EnvironmentsSettings}. + */ + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public static final EnvironmentsClient create(EnvironmentsStub stub) { + return new EnvironmentsClient(stub); + } + + /** + * Constructs an instance of EnvironmentsClient, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected EnvironmentsClient(EnvironmentsSettings settings) throws IOException { + this.settings = settings; + this.stub = ((EnvironmentsStubSettings) settings.getStubSettings()).createStub(); + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + protected EnvironmentsClient(EnvironmentsStub stub) { + this.settings = null; + this.stub = stub; + } + + public final EnvironmentsSettings getSettings() { + return settings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public EnvironmentsStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Returns the list of all non-draft environments of the specified agent. + * + *

Sample code: + * + *


+   * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .build();
+   *   for (Environment element : environmentsClient.listEnvironments(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequest request) { + return listEnvironmentsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Returns the list of all non-draft environments of the specified agent. + * + *

Sample code: + * + *


+   * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .build();
+   *   ApiFuture<ListEnvironmentsPagedResponse> future = environmentsClient.listEnvironmentsPagedCallable().futureCall(request);
+   *   // Do something
+   *   for (Environment element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * 
+ */ + public final UnaryCallable + listEnvironmentsPagedCallable() { + return stub.listEnvironmentsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Returns the list of all non-draft environments of the specified agent. + * + *

Sample code: + * + *


+   * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .build();
+   *   while (true) {
+   *     ListEnvironmentsResponse response = environmentsClient.listEnvironmentsCallable().call(request);
+   *     for (Environment element : response.getEnvironmentsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * 
+ */ + public final UnaryCallable + listEnvironmentsCallable() { + return stub.listEnvironmentsCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListEnvironmentsPagedResponse + extends AbstractPagedListResponse< + ListEnvironmentsRequest, + ListEnvironmentsResponse, + Environment, + ListEnvironmentsPage, + ListEnvironmentsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListEnvironmentsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + new ApiFunction() { + @Override + public ListEnvironmentsPagedResponse apply(ListEnvironmentsPage input) { + return new ListEnvironmentsPagedResponse(input); + } + }, + MoreExecutors.directExecutor()); + } + + private ListEnvironmentsPagedResponse(ListEnvironmentsPage page) { + super(page, ListEnvironmentsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListEnvironmentsPage + extends AbstractPage< + ListEnvironmentsRequest, ListEnvironmentsResponse, Environment, ListEnvironmentsPage> { + + private ListEnvironmentsPage( + PageContext context, + ListEnvironmentsResponse response) { + super(context, response); + } + + private static ListEnvironmentsPage createEmptyPage() { + return new ListEnvironmentsPage(null, null); + } + + @Override + protected ListEnvironmentsPage createPage( + PageContext context, + ListEnvironmentsResponse response) { + return new ListEnvironmentsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListEnvironmentsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListEnvironmentsRequest, + ListEnvironmentsResponse, + Environment, + ListEnvironmentsPage, + ListEnvironmentsFixedSizeCollection> { + + private ListEnvironmentsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListEnvironmentsFixedSizeCollection createEmptyCollection() { + return new ListEnvironmentsFixedSizeCollection(null, 0); + } + + @Override + protected ListEnvironmentsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListEnvironmentsFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsSettings.java new file mode 100644 index 000000000..8131841ea --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsSettings.java @@ -0,0 +1,186 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2; + +import static com.google.cloud.dialogflow.v2.EnvironmentsClient.ListEnvironmentsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.dialogflow.v2.stub.EnvironmentsStubSettings; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * Settings class to configure an instance of {@link EnvironmentsClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (dialogflow.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of listEnvironmentsPagedCallable to 30 seconds: + * + *

+ * 
+ * EnvironmentsSettings.Builder environmentsSettingsBuilder =
+ *     EnvironmentsSettings.newBuilder();
+ * environmentsSettingsBuilder
+ *     .listEnvironmentsSettings()
+ *     .setRetrySettings(
+ *         environmentsSettingsBuilder.listEnvironmentsSettings().getRetrySettings().toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * EnvironmentsSettings environmentsSettings = environmentsSettingsBuilder.build();
+ * 
+ * 
+ */ +@Generated("by gapic-generator") +@BetaApi +public class EnvironmentsSettings extends ClientSettings { + /** Returns the object with the settings used for calls to listEnvironments. */ + public PagedCallSettings< + ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse> + listEnvironmentsSettings() { + return ((EnvironmentsStubSettings) getStubSettings()).listEnvironmentsSettings(); + } + + public static final EnvironmentsSettings create(EnvironmentsStubSettings stub) + throws IOException { + return new EnvironmentsSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return EnvironmentsStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return EnvironmentsStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return EnvironmentsStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return EnvironmentsStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return EnvironmentsStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return EnvironmentsStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return EnvironmentsStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected EnvironmentsSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for EnvironmentsSettings. */ + public static class Builder extends ClientSettings.Builder { + protected Builder() throws IOException { + this((ClientContext) null); + } + + protected Builder(ClientContext clientContext) { + super(EnvironmentsStubSettings.newBuilder(clientContext)); + } + + private static Builder createDefault() { + return new Builder(EnvironmentsStubSettings.newBuilder()); + } + + protected Builder(EnvironmentsSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(EnvironmentsStubSettings.Builder stubSettings) { + super(stubSettings); + } + + public EnvironmentsStubSettings.Builder getStubSettingsBuilder() { + return ((EnvironmentsStubSettings.Builder) getStubSettings()); + } + + // NEXT_MAJOR_VER: remove 'throws Exception' + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) throws Exception { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to listEnvironments. */ + public PagedCallSettings.Builder< + ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse> + listEnvironmentsSettings() { + return getStubSettingsBuilder().listEnvironmentsSettings(); + } + + @Override + public EnvironmentsSettings build() throws IOException { + return new EnvironmentsSettings(this); + } + } +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java index 3af5bb595..cefadc2ea 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java @@ -77,7 +77,7 @@ * * try (IntentsClient intentsClient = IntentsClient.create()) { * IntentName name = IntentName.of("[PROJECT]", "[INTENT]"); - * Intent response = intentsClient.getIntent(name); + * intentsClient.deleteIntent(name); * } * *

@@ -197,6 +197,247 @@ public final OperationsClient getOperationsClient() { return operationsClient; } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified intent and its direct or indirect followup intents. + * + *

Sample code: + * + *


+   * try (IntentsClient intentsClient = IntentsClient.create()) {
+   *   IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
+   *   intentsClient.deleteIntent(name);
+   * }
+   * 
+ * + * @param name Required. The name of the intent to delete. If this intent has direct or indirect + * followup intents, we also delete them. Format: `projects/<Project + * ID>/agent/intents/<Intent ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteIntent(IntentName name) { + DeleteIntentRequest request = + DeleteIntentRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteIntent(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified intent and its direct or indirect followup intents. + * + *

Sample code: + * + *


+   * try (IntentsClient intentsClient = IntentsClient.create()) {
+   *   IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
+   *   intentsClient.deleteIntent(name.toString());
+   * }
+   * 
+ * + * @param name Required. The name of the intent to delete. If this intent has direct or indirect + * followup intents, we also delete them. Format: `projects/<Project + * ID>/agent/intents/<Intent ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteIntent(String name) { + DeleteIntentRequest request = DeleteIntentRequest.newBuilder().setName(name).build(); + deleteIntent(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified intent and its direct or indirect followup intents. + * + *

Sample code: + * + *


+   * try (IntentsClient intentsClient = IntentsClient.create()) {
+   *   IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
+   *   DeleteIntentRequest request = DeleteIntentRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   intentsClient.deleteIntent(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteIntent(DeleteIntentRequest request) { + deleteIntentCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified intent and its direct or indirect followup intents. + * + *

Sample code: + * + *


+   * try (IntentsClient intentsClient = IntentsClient.create()) {
+   *   IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
+   *   DeleteIntentRequest request = DeleteIntentRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = intentsClient.deleteIntentCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteIntentCallable() { + return stub.deleteIntentCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes intents in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (IntentsClient intentsClient = IntentsClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<Intent> intents = new ArrayList<>();
+   *   intentsClient.batchDeleteIntentsAsync(parent, intents).get();
+   * }
+   * 
+ * + * @param parent Required. The name of the agent to delete all entities types for. Format: + * `projects/<Project ID>/agent`. + * @param intents Required. The collection of intents to delete. Only intent `name` must be filled + * in. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteIntentsAsync( + AgentName parent, List intents) { + BatchDeleteIntentsRequest request = + BatchDeleteIntentsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .addAllIntents(intents) + .build(); + return batchDeleteIntentsAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes intents in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (IntentsClient intentsClient = IntentsClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<Intent> intents = new ArrayList<>();
+   *   intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get();
+   * }
+   * 
+ * + * @param parent Required. The name of the agent to delete all entities types for. Format: + * `projects/<Project ID>/agent`. + * @param intents Required. The collection of intents to delete. Only intent `name` must be filled + * in. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteIntentsAsync( + String parent, List intents) { + BatchDeleteIntentsRequest request = + BatchDeleteIntentsRequest.newBuilder().setParent(parent).addAllIntents(intents).build(); + return batchDeleteIntentsAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes intents in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (IntentsClient intentsClient = IntentsClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<Intent> intents = new ArrayList<>();
+   *   BatchDeleteIntentsRequest request = BatchDeleteIntentsRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .addAllIntents(intents)
+   *     .build();
+   *   intentsClient.batchDeleteIntentsAsync(request).get();
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchDeleteIntentsAsync( + BatchDeleteIntentsRequest request) { + return batchDeleteIntentsOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes intents in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (IntentsClient intentsClient = IntentsClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<Intent> intents = new ArrayList<>();
+   *   BatchDeleteIntentsRequest request = BatchDeleteIntentsRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .addAllIntents(intents)
+   *     .build();
+   *   OperationFuture<Empty, Struct> future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") + public final OperationCallable + batchDeleteIntentsOperationCallable() { + return stub.batchDeleteIntentsOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes intents in the specified agent. + * + *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> + * + *

Sample code: + * + *


+   * try (IntentsClient intentsClient = IntentsClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   List<Intent> intents = new ArrayList<>();
+   *   BatchDeleteIntentsRequest request = BatchDeleteIntentsRequest.newBuilder()
+   *     .setParent(parent.toString())
+   *     .addAllIntents(intents)
+   *     .build();
+   *   ApiFuture<Operation> future = intentsClient.batchDeleteIntentsCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable batchDeleteIntentsCallable() { + return stub.batchDeleteIntentsCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Returns the list of all intents in the specified agent. @@ -205,7 +446,7 @@ public final OperationsClient getOperationsClient() { * *

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   for (Intent element : intentsClient.listIntents(parent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -216,7 +457,7 @@ public final OperationsClient getOperationsClient() {
    *     ID>/agent`.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final ListIntentsPagedResponse listIntents(ProjectAgentName parent) {
+  public final ListIntentsPagedResponse listIntents(AgentName parent) {
     ListIntentsRequest request =
         ListIntentsRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -232,7 +473,7 @@ public final ListIntentsPagedResponse listIntents(ProjectAgentName parent) {
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   for (Intent element : intentsClient.listIntents(parent.toString()).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -256,7 +497,7 @@ public final ListIntentsPagedResponse listIntents(String parent) {
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   String languageCode = "";
    *   for (Intent element : intentsClient.listIntents(parent, languageCode).iterateAll()) {
    *     // doThingsWith(element);
@@ -272,7 +513,7 @@ public final ListIntentsPagedResponse listIntents(String parent) {
    *     data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final ListIntentsPagedResponse listIntents(ProjectAgentName parent, String languageCode) {
+  public final ListIntentsPagedResponse listIntents(AgentName parent, String languageCode) {
     ListIntentsRequest request =
         ListIntentsRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -289,7 +530,7 @@ public final ListIntentsPagedResponse listIntents(ProjectAgentName parent, Strin
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   String languageCode = "";
    *   for (Intent element : intentsClient.listIntents(parent.toString(), languageCode).iterateAll()) {
    *     // doThingsWith(element);
@@ -319,7 +560,7 @@ public final ListIntentsPagedResponse listIntents(String parent, String language
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   ListIntentsRequest request = ListIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -344,7 +585,7 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest request) {
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   ListIntentsRequest request = ListIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -369,7 +610,7 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest request) {
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   ListIntentsRequest request = ListIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -549,7 +790,7 @@ public final UnaryCallable getIntentCallable() {
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   Intent intent = Intent.newBuilder().build();
    *   Intent response = intentsClient.createIntent(parent, intent);
    * }
@@ -560,7 +801,7 @@ public final UnaryCallable getIntentCallable() {
    * @param intent Required. The intent to create.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final Intent createIntent(ProjectAgentName parent, Intent intent) {
+  public final Intent createIntent(AgentName parent, Intent intent) {
     CreateIntentRequest request =
         CreateIntentRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -577,7 +818,7 @@ public final Intent createIntent(ProjectAgentName parent, Intent intent) {
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   Intent intent = Intent.newBuilder().build();
    *   Intent response = intentsClient.createIntent(parent.toString(), intent);
    * }
@@ -602,7 +843,7 @@ public final Intent createIntent(String parent, Intent intent) {
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   Intent intent = Intent.newBuilder().build();
    *   String languageCode = "";
    *   Intent response = intentsClient.createIntent(parent, intent, languageCode);
@@ -618,7 +859,7 @@ public final Intent createIntent(String parent, Intent intent) {
    *     data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final Intent createIntent(ProjectAgentName parent, Intent intent, String languageCode) {
+  public final Intent createIntent(AgentName parent, Intent intent, String languageCode) {
     CreateIntentRequest request =
         CreateIntentRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -636,7 +877,7 @@ public final Intent createIntent(ProjectAgentName parent, Intent intent, String
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   Intent intent = Intent.newBuilder().build();
    *   String languageCode = "";
    *   Intent response = intentsClient.createIntent(parent.toString(), intent, languageCode);
@@ -670,7 +911,7 @@ public final Intent createIntent(String parent, Intent intent, String languageCo
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   Intent intent = Intent.newBuilder().build();
    *   CreateIntentRequest request = CreateIntentRequest.newBuilder()
    *     .setParent(parent.toString())
@@ -695,7 +936,7 @@ public final Intent createIntent(CreateIntentRequest request) {
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   Intent intent = Intent.newBuilder().build();
    *   CreateIntentRequest request = CreateIntentRequest.newBuilder()
    *     .setParent(parent.toString())
@@ -818,94 +1059,142 @@ public final UnaryCallable updateIntentCallable() {
 
   // AUTO-GENERATED DOCUMENTATION AND METHOD
   /**
-   * Deletes the specified intent and its direct or indirect followup intents.
+   * Updates/Creates multiple intents in the specified agent.
+   *
+   * 

Operation <response: + * [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]> * *

Sample code: * *


    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
-   *   intentsClient.deleteIntent(name);
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   String intentBatchUri = "";
+   *   BatchUpdateIntentsResponse response = intentsClient.batchUpdateIntentsAsync(parent, intentBatchUri).get();
    * }
    * 
* - * @param name Required. The name of the intent to delete. If this intent has direct or indirect - * followup intents, we also delete them. Format: `projects/<Project - * ID>/agent/intents/<Intent ID>`. + * @param parent Required. The name of the agent to update or create intents in. Format: + * `projects/<Project ID>/agent`. + * @param intentBatchUri The URI to a Google Cloud Storage file containing intents to update or + * create. The file format can either be a serialized proto (of IntentBatch type) or JSON + * object. Note: The URI must start with "gs://". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final void deleteIntent(IntentName name) { - DeleteIntentRequest request = - DeleteIntentRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteIntent(request); + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchUpdateIntentsAsync( + AgentName parent, String intentBatchUri) { + BatchUpdateIntentsRequest request = + BatchUpdateIntentsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setIntentBatchUri(intentBatchUri) + .build(); + return batchUpdateIntentsAsync(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Deletes the specified intent and its direct or indirect followup intents. + * Updates/Creates multiple intents in the specified agent. + * + *

Operation <response: + * [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]> * *

Sample code: * *


    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
-   *   intentsClient.deleteIntent(name.toString());
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   String intentBatchUri = "";
+   *   BatchUpdateIntentsResponse response = intentsClient.batchUpdateIntentsAsync(parent.toString(), intentBatchUri).get();
    * }
    * 
* - * @param name Required. The name of the intent to delete. If this intent has direct or indirect - * followup intents, we also delete them. Format: `projects/<Project - * ID>/agent/intents/<Intent ID>`. + * @param parent Required. The name of the agent to update or create intents in. Format: + * `projects/<Project ID>/agent`. + * @param intentBatchUri The URI to a Google Cloud Storage file containing intents to update or + * create. The file format can either be a serialized proto (of IntentBatch type) or JSON + * object. Note: The URI must start with "gs://". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final void deleteIntent(String name) { - DeleteIntentRequest request = DeleteIntentRequest.newBuilder().setName(name).build(); - deleteIntent(request); + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchUpdateIntentsAsync( + String parent, String intentBatchUri) { + BatchUpdateIntentsRequest request = + BatchUpdateIntentsRequest.newBuilder() + .setParent(parent) + .setIntentBatchUri(intentBatchUri) + .build(); + return batchUpdateIntentsAsync(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Deletes the specified intent and its direct or indirect followup intents. + * Updates/Creates multiple intents in the specified agent. + * + *

Operation <response: + * [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]> * *

Sample code: * *


    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
-   *   DeleteIntentRequest request = DeleteIntentRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   intentsClient.deleteIntent(request);
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   IntentBatch intentBatchInline = IntentBatch.newBuilder().build();
+   *   BatchUpdateIntentsResponse response = intentsClient.batchUpdateIntentsAsync(parent, intentBatchInline).get();
    * }
    * 
* - * @param request The request object containing all of the parameters for the API call. + * @param parent Required. The name of the agent to update or create intents in. Format: + * `projects/<Project ID>/agent`. + * @param intentBatchInline The collection of intents to update or create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final void deleteIntent(DeleteIntentRequest request) { - deleteIntentCallable().call(request); + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchUpdateIntentsAsync( + AgentName parent, IntentBatch intentBatchInline) { + BatchUpdateIntentsRequest request = + BatchUpdateIntentsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setIntentBatchInline(intentBatchInline) + .build(); + return batchUpdateIntentsAsync(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Deletes the specified intent and its direct or indirect followup intents. + * Updates/Creates multiple intents in the specified agent. + * + *

Operation <response: + * [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]> * *

Sample code: * *


    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
-   *   DeleteIntentRequest request = DeleteIntentRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   ApiFuture<Void> future = intentsClient.deleteIntentCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
+   *   AgentName parent = AgentName.of("[PROJECT]");
+   *   IntentBatch intentBatchInline = IntentBatch.newBuilder().build();
+   *   BatchUpdateIntentsResponse response = intentsClient.batchUpdateIntentsAsync(parent.toString(), intentBatchInline).get();
    * }
    * 
+ * + * @param parent Required. The name of the agent to update or create intents in. Format: + * `projects/<Project ID>/agent`. + * @param intentBatchInline The collection of intents to update or create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final UnaryCallable deleteIntentCallable() { - return stub.deleteIntentCallable(); + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture batchUpdateIntentsAsync( + String parent, IntentBatch intentBatchInline) { + BatchUpdateIntentsRequest request = + BatchUpdateIntentsRequest.newBuilder() + .setParent(parent) + .setIntentBatchInline(intentBatchInline) + .build(); + return batchUpdateIntentsAsync(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD @@ -919,7 +1208,7 @@ public final UnaryCallable deleteIntentCallable() { * *

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   BatchUpdateIntentsRequest request = BatchUpdateIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -948,7 +1237,7 @@ public final OperationFuture batchUpdateInte
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   BatchUpdateIntentsRequest request = BatchUpdateIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -975,7 +1264,7 @@ public final OperationFuture batchUpdateInte
    *
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
+   *   AgentName parent = AgentName.of("[PROJECT]");
    *   BatchUpdateIntentsRequest request = BatchUpdateIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -989,155 +1278,6 @@ public final UnaryCallable batchUpdateInte
     return stub.batchUpdateIntentsCallable();
   }
 
-  // AUTO-GENERATED DOCUMENTATION AND METHOD
-  /**
-   * Deletes intents in the specified agent.
-   *
-   * 

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<Intent> intents = new ArrayList<>();
-   *   intentsClient.batchDeleteIntentsAsync(parent, intents).get();
-   * }
-   * 
- * - * @param parent Required. The name of the agent to delete all entities types for. Format: - * `projects/<Project ID>/agent`. - * @param intents Required. The collection of intents to delete. Only intent `name` must be filled - * in. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteIntentsAsync( - ProjectAgentName parent, List intents) { - BatchDeleteIntentsRequest request = - BatchDeleteIntentsRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .addAllIntents(intents) - .build(); - return batchDeleteIntentsAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes intents in the specified agent. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<Intent> intents = new ArrayList<>();
-   *   intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get();
-   * }
-   * 
- * - * @param parent Required. The name of the agent to delete all entities types for. Format: - * `projects/<Project ID>/agent`. - * @param intents Required. The collection of intents to delete. Only intent `name` must be filled - * in. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteIntentsAsync( - String parent, List intents) { - BatchDeleteIntentsRequest request = - BatchDeleteIntentsRequest.newBuilder().setParent(parent).addAllIntents(intents).build(); - return batchDeleteIntentsAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes intents in the specified agent. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<Intent> intents = new ArrayList<>();
-   *   BatchDeleteIntentsRequest request = BatchDeleteIntentsRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .addAllIntents(intents)
-   *     .build();
-   *   intentsClient.batchDeleteIntentsAsync(request).get();
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") - public final OperationFuture batchDeleteIntentsAsync( - BatchDeleteIntentsRequest request) { - return batchDeleteIntentsOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes intents in the specified agent. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<Intent> intents = new ArrayList<>();
-   *   BatchDeleteIntentsRequest request = BatchDeleteIntentsRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .addAllIntents(intents)
-   *     .build();
-   *   OperationFuture<Empty, Struct> future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public final OperationCallable - batchDeleteIntentsOperationCallable() { - return stub.batchDeleteIntentsOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes intents in the specified agent. - * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> - * - *

Sample code: - * - *


-   * try (IntentsClient intentsClient = IntentsClient.create()) {
-   *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   List<Intent> intents = new ArrayList<>();
-   *   BatchDeleteIntentsRequest request = BatchDeleteIntentsRequest.newBuilder()
-   *     .setParent(parent.toString())
-   *     .addAllIntents(intents)
-   *     .build();
-   *   ApiFuture<Operation> future = intentsClient.batchDeleteIntentsCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable batchDeleteIntentsCallable() { - return stub.batchDeleteIntentsCallable(); - } - @Override public final void close() { stub.close(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java index fec6b7a98..7d4692ec9 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java @@ -52,16 +52,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getIntent to 30 seconds: + *

For example, to set the total timeout of deleteIntent to 30 seconds: * *

  * 
  * IntentsSettings.Builder intentsSettingsBuilder =
  *     IntentsSettings.newBuilder();
  * intentsSettingsBuilder
- *     .getIntentSettings()
+ *     .deleteIntentSettings()
  *     .setRetrySettings(
- *         intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
+ *         intentsSettingsBuilder.deleteIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IntentsSettings intentsSettings = intentsSettingsBuilder.build();
@@ -71,6 +71,24 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class IntentsSettings extends ClientSettings {
+  /** Returns the object with the settings used for calls to deleteIntent. */
+  public UnaryCallSettings deleteIntentSettings() {
+    return ((IntentsStubSettings) getStubSettings()).deleteIntentSettings();
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteIntents. */
+  public UnaryCallSettings batchDeleteIntentsSettings() {
+    return ((IntentsStubSettings) getStubSettings()).batchDeleteIntentsSettings();
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteIntents. */
+  @BetaApi(
+      "The surface for long-running operations is not stable yet and may change in the future.")
+  public OperationCallSettings
+      batchDeleteIntentsOperationSettings() {
+    return ((IntentsStubSettings) getStubSettings()).batchDeleteIntentsOperationSettings();
+  }
+
   /** Returns the object with the settings used for calls to listIntents. */
   public PagedCallSettings
       listIntentsSettings() {
@@ -92,11 +110,6 @@ public UnaryCallSettings updateIntentSettings() {
     return ((IntentsStubSettings) getStubSettings()).updateIntentSettings();
   }
 
-  /** Returns the object with the settings used for calls to deleteIntent. */
-  public UnaryCallSettings deleteIntentSettings() {
-    return ((IntentsStubSettings) getStubSettings()).deleteIntentSettings();
-  }
-
   /** Returns the object with the settings used for calls to batchUpdateIntents. */
   public UnaryCallSettings batchUpdateIntentsSettings() {
     return ((IntentsStubSettings) getStubSettings()).batchUpdateIntentsSettings();
@@ -110,19 +123,6 @@ public UnaryCallSettings batchUpdateIntent
     return ((IntentsStubSettings) getStubSettings()).batchUpdateIntentsOperationSettings();
   }
 
-  /** Returns the object with the settings used for calls to batchDeleteIntents. */
-  public UnaryCallSettings batchDeleteIntentsSettings() {
-    return ((IntentsStubSettings) getStubSettings()).batchDeleteIntentsSettings();
-  }
-
-  /** Returns the object with the settings used for calls to batchDeleteIntents. */
-  @BetaApi(
-      "The surface for long-running operations is not stable yet and may change in the future.")
-  public OperationCallSettings
-      batchDeleteIntentsOperationSettings() {
-    return ((IntentsStubSettings) getStubSettings()).batchDeleteIntentsOperationSettings();
-  }
-
   public static final IntentsSettings create(IntentsStubSettings stub) throws IOException {
     return new IntentsSettings.Builder(stub.toBuilder()).build();
   }
@@ -219,6 +219,25 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
+    /** Returns the builder for the settings used for calls to deleteIntent. */
+    public UnaryCallSettings.Builder deleteIntentSettings() {
+      return getStubSettingsBuilder().deleteIntentSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteIntents. */
+    public UnaryCallSettings.Builder
+        batchDeleteIntentsSettings() {
+      return getStubSettingsBuilder().batchDeleteIntentsSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteIntents. */
+    @BetaApi(
+        "The surface for long-running operations is not stable yet and may change in the future.")
+    public OperationCallSettings.Builder
+        batchDeleteIntentsOperationSettings() {
+      return getStubSettingsBuilder().batchDeleteIntentsOperationSettings();
+    }
+
     /** Returns the builder for the settings used for calls to listIntents. */
     public PagedCallSettings.Builder<
             ListIntentsRequest, ListIntentsResponse, ListIntentsPagedResponse>
@@ -241,11 +260,6 @@ public UnaryCallSettings.Builder updateIntentSettin
       return getStubSettingsBuilder().updateIntentSettings();
     }
 
-    /** Returns the builder for the settings used for calls to deleteIntent. */
-    public UnaryCallSettings.Builder deleteIntentSettings() {
-      return getStubSettingsBuilder().deleteIntentSettings();
-    }
-
     /** Returns the builder for the settings used for calls to batchUpdateIntents. */
     public UnaryCallSettings.Builder
         batchUpdateIntentsSettings() {
@@ -261,20 +275,6 @@ public UnaryCallSettings.Builder deleteIntentSetting
       return getStubSettingsBuilder().batchUpdateIntentsOperationSettings();
     }
 
-    /** Returns the builder for the settings used for calls to batchDeleteIntents. */
-    public UnaryCallSettings.Builder
-        batchDeleteIntentsSettings() {
-      return getStubSettingsBuilder().batchDeleteIntentsSettings();
-    }
-
-    /** Returns the builder for the settings used for calls to batchDeleteIntents. */
-    @BetaApi(
-        "The surface for long-running operations is not stable yet and may change in the future.")
-    public OperationCallSettings.Builder
-        batchDeleteIntentsOperationSettings() {
-      return getStubSettingsBuilder().batchDeleteIntentsOperationSettings();
-    }
-
     @Override
     public IntentsSettings build() throws IOException {
       return new IntentsSettings(this);
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java
index 4f92e6e9f..7b7f6e8f6 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java
@@ -29,6 +29,7 @@
 import com.google.cloud.dialogflow.v2.stub.SessionEntityTypesStubSettings;
 import com.google.common.util.concurrent.MoreExecutors;
 import com.google.protobuf.Empty;
+import com.google.protobuf.FieldMask;
 import java.io.IOException;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
@@ -56,8 +57,8 @@
  * 
  * 
  * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
- *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
- *   SessionEntityType response = sessionEntityTypesClient.getSessionEntityType(name);
+ *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+ *   sessionEntityTypesClient.deleteSessionEntityType(name);
  * }
  * 
  * 
@@ -167,6 +168,120 @@ public SessionEntityTypesStub getStub() { return stub; } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified session entity type. + * + *

This method doesn't work with Google Assistant integration. Contact Dialogflow support if + * you need to use session entities with Google Assistant integration. + * + *

Sample code: + * + *


+   * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
+   *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+   *   sessionEntityTypesClient.deleteSessionEntityType(name);
+   * }
+   * 
+ * + * @param name Required. The name of the entity type to delete. Format: `projects/<Project + * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If + * `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is + * not specified, we assume default '-' user. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSessionEntityType(SessionEntityTypeName name) { + DeleteSessionEntityTypeRequest request = + DeleteSessionEntityTypeRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + deleteSessionEntityType(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified session entity type. + * + *

This method doesn't work with Google Assistant integration. Contact Dialogflow support if + * you need to use session entities with Google Assistant integration. + * + *

Sample code: + * + *


+   * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
+   *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+   *   sessionEntityTypesClient.deleteSessionEntityType(name.toString());
+   * }
+   * 
+ * + * @param name Required. The name of the entity type to delete. Format: `projects/<Project + * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` or + * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User + * ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If + * `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is + * not specified, we assume default '-' user. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSessionEntityType(String name) { + DeleteSessionEntityTypeRequest request = + DeleteSessionEntityTypeRequest.newBuilder().setName(name).build(); + deleteSessionEntityType(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified session entity type. + * + *

This method doesn't work with Google Assistant integration. Contact Dialogflow support if + * you need to use session entities with Google Assistant integration. + * + *

Sample code: + * + *


+   * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
+   *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+   *   DeleteSessionEntityTypeRequest request = DeleteSessionEntityTypeRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   sessionEntityTypesClient.deleteSessionEntityType(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSessionEntityType(DeleteSessionEntityTypeRequest request) { + deleteSessionEntityTypeCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the specified session entity type. + * + *

This method doesn't work with Google Assistant integration. Contact Dialogflow support if + * you need to use session entities with Google Assistant integration. + * + *

Sample code: + * + *


+   * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
+   *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+   *   DeleteSessionEntityTypeRequest request = DeleteSessionEntityTypeRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = sessionEntityTypesClient.deleteSessionEntityTypeCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable + deleteSessionEntityTypeCallable() { + return stub.deleteSessionEntityTypeCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Returns the list of all session entity types in the specified session. @@ -178,7 +293,7 @@ public SessionEntityTypesStub getStub() { * *

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   for (SessionEntityType element : sessionEntityTypesClient.listSessionEntityTypes(parent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -211,7 +326,7 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(SessionN
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   for (SessionEntityType element : sessionEntityTypesClient.listSessionEntityTypes(parent.toString()).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -242,7 +357,7 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(String p
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   ListSessionEntityTypesRequest request = ListSessionEntityTypesRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -271,7 +386,7 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   ListSessionEntityTypesRequest request = ListSessionEntityTypesRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -299,7 +414,7 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   ListSessionEntityTypesRequest request = ListSessionEntityTypesRequest.newBuilder()
    *     .setParent(parent.toString())
    *     .build();
@@ -334,7 +449,7 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+   *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
    *   SessionEntityType response = sessionEntityTypesClient.getSessionEntityType(name);
    * }
    * 
@@ -366,7 +481,7 @@ public final SessionEntityType getSessionEntityType(SessionEntityTypeName name) * *

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+   *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
    *   SessionEntityType response = sessionEntityTypesClient.getSessionEntityType(name.toString());
    * }
    * 
@@ -396,7 +511,7 @@ public final SessionEntityType getSessionEntityType(String name) { * *

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+   *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
    *   GetSessionEntityTypeRequest request = GetSessionEntityTypeRequest.newBuilder()
    *     .setName(name.toString())
    *     .build();
@@ -422,7 +537,7 @@ public final SessionEntityType getSessionEntityType(GetSessionEntityTypeRequest
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+   *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
    *   GetSessionEntityTypeRequest request = GetSessionEntityTypeRequest.newBuilder()
    *     .setName(name.toString())
    *     .build();
@@ -450,7 +565,7 @@ public final SessionEntityType getSessionEntityType(GetSessionEntityTypeRequest
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
    *   SessionEntityType response = sessionEntityTypesClient.createSessionEntityType(parent, sessionEntityType);
    * }
@@ -487,7 +602,7 @@ public final SessionEntityType createSessionEntityType(
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
    *   SessionEntityType response = sessionEntityTypesClient.createSessionEntityType(parent.toString(), sessionEntityType);
    * }
@@ -524,7 +639,7 @@ public final SessionEntityType createSessionEntityType(
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
    *   CreateSessionEntityTypeRequest request = CreateSessionEntityTypeRequest.newBuilder()
    *     .setParent(parent.toString())
@@ -554,7 +669,7 @@ public final SessionEntityType createSessionEntityType(CreateSessionEntityTypeRe
    *
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
    *   CreateSessionEntityTypeRequest request = CreateSessionEntityTypeRequest.newBuilder()
    *     .setParent(parent.toString())
@@ -608,18 +723,23 @@ public final SessionEntityType updateSessionEntityType(SessionEntityType session
    * 

    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
    *   SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
-   *   UpdateSessionEntityTypeRequest request = UpdateSessionEntityTypeRequest.newBuilder()
-   *     .setSessionEntityType(sessionEntityType)
-   *     .build();
-   *   SessionEntityType response = sessionEntityTypesClient.updateSessionEntityType(request);
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   SessionEntityType response = sessionEntityTypesClient.updateSessionEntityType(sessionEntityType, updateMask);
    * }
    * 
* - * @param request The request object containing all of the parameters for the API call. + * @param sessionEntityType Required. The session entity type to update. + * @param updateMask Optional. The mask to control which fields get updated. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final SessionEntityType updateSessionEntityType(UpdateSessionEntityTypeRequest request) { - return updateSessionEntityTypeCallable().call(request); + public final SessionEntityType updateSessionEntityType( + SessionEntityType sessionEntityType, FieldMask updateMask) { + UpdateSessionEntityTypeRequest request = + UpdateSessionEntityTypeRequest.newBuilder() + .setSessionEntityType(sessionEntityType) + .setUpdateMask(updateMask) + .build(); + return updateSessionEntityType(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD @@ -637,108 +757,20 @@ public final SessionEntityType updateSessionEntityType(UpdateSessionEntityTypeRe * UpdateSessionEntityTypeRequest request = UpdateSessionEntityTypeRequest.newBuilder() * .setSessionEntityType(sessionEntityType) * .build(); - * ApiFuture<SessionEntityType> future = sessionEntityTypesClient.updateSessionEntityTypeCallable().futureCall(request); - * // Do something - * SessionEntityType response = future.get(); - * } - *
- */ - public final UnaryCallable - updateSessionEntityTypeCallable() { - return stub.updateSessionEntityTypeCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified session entity type. - * - *

This method doesn't work with Google Assistant integration. Contact Dialogflow support if - * you need to use session entities with Google Assistant integration. - * - *

Sample code: - * - *


-   * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
-   *   sessionEntityTypesClient.deleteSessionEntityType(name);
-   * }
-   * 
- * - * @param name Required. The name of the entity type to delete. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` or - * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User - * ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If - * `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is - * not specified, we assume default '-' user. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteSessionEntityType(SessionEntityTypeName name) { - DeleteSessionEntityTypeRequest request = - DeleteSessionEntityTypeRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .build(); - deleteSessionEntityType(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified session entity type. - * - *

This method doesn't work with Google Assistant integration. Contact Dialogflow support if - * you need to use session entities with Google Assistant integration. - * - *

Sample code: - * - *


-   * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
-   *   sessionEntityTypesClient.deleteSessionEntityType(name.toString());
-   * }
-   * 
- * - * @param name Required. The name of the entity type to delete. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` or - * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User - * ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If - * `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is - * not specified, we assume default '-' user. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteSessionEntityType(String name) { - DeleteSessionEntityTypeRequest request = - DeleteSessionEntityTypeRequest.newBuilder().setName(name).build(); - deleteSessionEntityType(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the specified session entity type. - * - *

This method doesn't work with Google Assistant integration. Contact Dialogflow support if - * you need to use session entities with Google Assistant integration. - * - *

Sample code: - * - *


-   * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
-   *   DeleteSessionEntityTypeRequest request = DeleteSessionEntityTypeRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   sessionEntityTypesClient.deleteSessionEntityType(request);
+   *   SessionEntityType response = sessionEntityTypesClient.updateSessionEntityType(request);
    * }
    * 
* * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final void deleteSessionEntityType(DeleteSessionEntityTypeRequest request) { - deleteSessionEntityTypeCallable().call(request); + public final SessionEntityType updateSessionEntityType(UpdateSessionEntityTypeRequest request) { + return updateSessionEntityTypeCallable().call(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Deletes the specified session entity type. + * Updates the specified session entity type. * *

This method doesn't work with Google Assistant integration. Contact Dialogflow support if * you need to use session entities with Google Assistant integration. @@ -747,19 +779,19 @@ public final void deleteSessionEntityType(DeleteSessionEntityTypeRequest request * *


    * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
-   *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
-   *   DeleteSessionEntityTypeRequest request = DeleteSessionEntityTypeRequest.newBuilder()
-   *     .setName(name.toString())
+   *   SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build();
+   *   UpdateSessionEntityTypeRequest request = UpdateSessionEntityTypeRequest.newBuilder()
+   *     .setSessionEntityType(sessionEntityType)
    *     .build();
-   *   ApiFuture<Void> future = sessionEntityTypesClient.deleteSessionEntityTypeCallable().futureCall(request);
+   *   ApiFuture<SessionEntityType> future = sessionEntityTypesClient.updateSessionEntityTypeCallable().futureCall(request);
    *   // Do something
-   *   future.get();
+   *   SessionEntityType response = future.get();
    * }
    * 
*/ - public final UnaryCallable - deleteSessionEntityTypeCallable() { - return stub.deleteSessionEntityTypeCallable(); + public final UnaryCallable + updateSessionEntityTypeCallable() { + return stub.updateSessionEntityTypeCallable(); } @Override diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java index cb9f2ee6e..fb8b641c8 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java @@ -49,16 +49,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getSessionEntityType to 30 seconds: + *

For example, to set the total timeout of deleteSessionEntityType to 30 seconds: * *

  * 
  * SessionEntityTypesSettings.Builder sessionEntityTypesSettingsBuilder =
  *     SessionEntityTypesSettings.newBuilder();
  * sessionEntityTypesSettingsBuilder
- *     .getSessionEntityTypeSettings()
+ *     .deleteSessionEntityTypeSettings()
  *     .setRetrySettings(
- *         sessionEntityTypesSettingsBuilder.getSessionEntityTypeSettings().getRetrySettings().toBuilder()
+ *         sessionEntityTypesSettingsBuilder.deleteSessionEntityTypeSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SessionEntityTypesSettings sessionEntityTypesSettings = sessionEntityTypesSettingsBuilder.build();
@@ -68,6 +68,12 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class SessionEntityTypesSettings extends ClientSettings {
+  /** Returns the object with the settings used for calls to deleteSessionEntityType. */
+  public UnaryCallSettings
+      deleteSessionEntityTypeSettings() {
+    return ((SessionEntityTypesStubSettings) getStubSettings()).deleteSessionEntityTypeSettings();
+  }
+
   /** Returns the object with the settings used for calls to listSessionEntityTypes. */
   public PagedCallSettings<
           ListSessionEntityTypesRequest,
@@ -95,12 +101,6 @@ public class SessionEntityTypesSettings extends ClientSettings
-      deleteSessionEntityTypeSettings() {
-    return ((SessionEntityTypesStubSettings) getStubSettings()).deleteSessionEntityTypeSettings();
-  }
-
   public static final SessionEntityTypesSettings create(SessionEntityTypesStubSettings stub)
       throws IOException {
     return new SessionEntityTypesSettings.Builder(stub.toBuilder()).build();
@@ -198,6 +198,12 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
+    /** Returns the builder for the settings used for calls to deleteSessionEntityType. */
+    public UnaryCallSettings.Builder
+        deleteSessionEntityTypeSettings() {
+      return getStubSettingsBuilder().deleteSessionEntityTypeSettings();
+    }
+
     /** Returns the builder for the settings used for calls to listSessionEntityTypes. */
     public PagedCallSettings.Builder<
             ListSessionEntityTypesRequest,
@@ -225,12 +231,6 @@ public Builder applyToAllUnaryMethods(
       return getStubSettingsBuilder().updateSessionEntityTypeSettings();
     }
 
-    /** Returns the builder for the settings used for calls to deleteSessionEntityType. */
-    public UnaryCallSettings.Builder
-        deleteSessionEntityTypeSettings() {
-      return getStubSettingsBuilder().deleteSessionEntityTypeSettings();
-    }
-
     @Override
     public SessionEntityTypesSettings build() throws IOException {
       return new SessionEntityTypesSettings(this);
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java
index 14faf29a9..c8ae361f8 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java
@@ -38,7 +38,7 @@
  * 
  * 
  * try (SessionsClient sessionsClient = SessionsClient.create()) {
- *   SessionName session = SessionName.of("[PROJECT]", "[SESSION]");
+ *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
  *   QueryInput queryInput = QueryInput.newBuilder().build();
  *   DetectIntentResponse response = sessionsClient.detectIntent(session, queryInput);
  * }
@@ -157,7 +157,7 @@ public SessionsStub getStub() {
    *
    * 

    * try (SessionsClient sessionsClient = SessionsClient.create()) {
-   *   SessionName session = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   QueryInput queryInput = QueryInput.newBuilder().build();
    *   DetectIntentResponse response = sessionsClient.detectIntent(session, queryInput);
    * }
@@ -197,7 +197,7 @@ public final DetectIntentResponse detectIntent(SessionName session, QueryInput q
    *
    * 

    * try (SessionsClient sessionsClient = SessionsClient.create()) {
-   *   SessionName session = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   QueryInput queryInput = QueryInput.newBuilder().build();
    *   DetectIntentResponse response = sessionsClient.detectIntent(session.toString(), queryInput);
    * }
@@ -234,7 +234,7 @@ public final DetectIntentResponse detectIntent(String session, QueryInput queryI
    *
    * 

    * try (SessionsClient sessionsClient = SessionsClient.create()) {
-   *   SessionName session = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   QueryInput queryInput = QueryInput.newBuilder().build();
    *   DetectIntentRequest request = DetectIntentRequest.newBuilder()
    *     .setSession(session.toString())
@@ -261,7 +261,7 @@ public final DetectIntentResponse detectIntent(DetectIntentRequest request) {
    *
    * 

    * try (SessionsClient sessionsClient = SessionsClient.create()) {
-   *   SessionName session = SessionName.of("[PROJECT]", "[SESSION]");
+   *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   QueryInput queryInput = QueryInput.newBuilder().build();
    *   DetectIntentRequest request = DetectIntentRequest.newBuilder()
    *     .setSession(session.toString())
@@ -290,10 +290,10 @@ public final UnaryCallable detectInte
    *   BidiStream<StreamingDetectIntentRequest, StreamingDetectIntentResponse> bidiStream =
    *       sessionsClient.streamingDetectIntentCallable().call();
    *
-   *   String session = "";
+   *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
    *   QueryInput queryInput = QueryInput.newBuilder().build();
    *   StreamingDetectIntentRequest request = StreamingDetectIntentRequest.newBuilder()
-   *     .setSession(session)
+   *     .setSession(session.toString())
    *     .setQueryInput(queryInput)
    *     .build();
    *   bidiStream.send(request);
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java
index 0197ffacd..b24213259 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java
@@ -80,8 +80,8 @@
  * 
  * 
  * try (ContextsClient contextsClient = ContextsClient.create()) {
- *   ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]");
- *   Context response = contextsClient.getContext(name);
+ *   ContextName name = ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
+ *   contextsClient.deleteContext(name);
  * }
  * 
  * 
@@ -120,7 +120,25 @@ * * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); - * EntityType response = entityTypesClient.getEntityType(name); + * entityTypesClient.deleteEntityType(name); + * } + * + *
+ * + * ================== EnvironmentsClient ================== + * + *

Service Description: Manages agent environments. + * + *

Sample for EnvironmentsClient: + * + *

+ * 
+ * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
+ *   AgentName parent = AgentName.of("[PROJECT]");
+ *   ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder()
+ *     .setParent(parent.toString())
+ *     .build();
+ *   ListEnvironmentsPagedResponse response = environmentsClient.listEnvironmentsPagedCallable(request);
  * }
  * 
  * 
@@ -161,7 +179,7 @@ * * try (IntentsClient intentsClient = IntentsClient.create()) { * IntentName name = IntentName.of("[PROJECT]", "[INTENT]"); - * Intent response = intentsClient.getIntent(name); + * intentsClient.deleteIntent(name); * } * *
@@ -187,8 +205,8 @@ *
  * 
  * try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
- *   SessionEntityTypeName name = SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
- *   SessionEntityType response = sessionEntityTypesClient.getSessionEntityType(name);
+ *   SessionEntityTypeName name = SessionEntityTypeName.ofProjectSessionEntityTypeName("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
+ *   sessionEntityTypesClient.deleteSessionEntityType(name);
  * }
  * 
  * 
@@ -205,7 +223,7 @@ *
  * 
  * try (SessionsClient sessionsClient = SessionsClient.create()) {
- *   SessionName session = SessionName.of("[PROJECT]", "[SESSION]");
+ *   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
  *   QueryInput queryInput = QueryInput.newBuilder().build();
  *   DetectIntentResponse response = sessionsClient.detectIntent(session, queryInput);
  * }
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStub.java
index ec31e7dc2..e14e1b099 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStub.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStub.java
@@ -63,10 +63,6 @@ public UnaryCallable deleteAgentCallable() {
     throw new UnsupportedOperationException("Not implemented: deleteAgentCallable()");
   }
 
-  public UnaryCallable getAgentCallable() {
-    throw new UnsupportedOperationException("Not implemented: getAgentCallable()");
-  }
-
   public UnaryCallable searchAgentsPagedCallable() {
     throw new UnsupportedOperationException("Not implemented: searchAgentsPagedCallable()");
   }
@@ -95,21 +91,25 @@ public UnaryCallable exportAgentCallable() {
   }
 
   @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-  public OperationCallable importAgentOperationCallable() {
-    throw new UnsupportedOperationException("Not implemented: importAgentOperationCallable()");
+  public OperationCallable restoreAgentOperationCallable() {
+    throw new UnsupportedOperationException("Not implemented: restoreAgentOperationCallable()");
   }
 
-  public UnaryCallable importAgentCallable() {
-    throw new UnsupportedOperationException("Not implemented: importAgentCallable()");
+  public UnaryCallable restoreAgentCallable() {
+    throw new UnsupportedOperationException("Not implemented: restoreAgentCallable()");
+  }
+
+  public UnaryCallable getAgentCallable() {
+    throw new UnsupportedOperationException("Not implemented: getAgentCallable()");
   }
 
   @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-  public OperationCallable restoreAgentOperationCallable() {
-    throw new UnsupportedOperationException("Not implemented: restoreAgentOperationCallable()");
+  public OperationCallable importAgentOperationCallable() {
+    throw new UnsupportedOperationException("Not implemented: importAgentOperationCallable()");
   }
 
-  public UnaryCallable restoreAgentCallable() {
-    throw new UnsupportedOperationException("Not implemented: restoreAgentCallable()");
+  public UnaryCallable importAgentCallable() {
+    throw new UnsupportedOperationException("Not implemented: importAgentCallable()");
   }
 
   public UnaryCallable getValidationResultCallable() {
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java
index ada63ab7d..e0c378984 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java
@@ -111,7 +111,6 @@ public class AgentsStubSettings extends StubSettings {
 
   private final UnaryCallSettings setAgentSettings;
   private final UnaryCallSettings deleteAgentSettings;
-  private final UnaryCallSettings getAgentSettings;
   private final PagedCallSettings<
           SearchAgentsRequest, SearchAgentsResponse, SearchAgentsPagedResponse>
       searchAgentsSettings;
@@ -120,12 +119,13 @@ public class AgentsStubSettings extends StubSettings {
   private final UnaryCallSettings exportAgentSettings;
   private final OperationCallSettings
       exportAgentOperationSettings;
-  private final UnaryCallSettings importAgentSettings;
-  private final OperationCallSettings
-      importAgentOperationSettings;
   private final UnaryCallSettings restoreAgentSettings;
   private final OperationCallSettings
       restoreAgentOperationSettings;
+  private final UnaryCallSettings getAgentSettings;
+  private final UnaryCallSettings importAgentSettings;
+  private final OperationCallSettings
+      importAgentOperationSettings;
   private final UnaryCallSettings
       getValidationResultSettings;
 
@@ -139,11 +139,6 @@ public UnaryCallSettings deleteAgentSettings() {
     return deleteAgentSettings;
   }
 
-  /** Returns the object with the settings used for calls to getAgent. */
-  public UnaryCallSettings getAgentSettings() {
-    return getAgentSettings;
-  }
-
   /** Returns the object with the settings used for calls to searchAgents. */
   public PagedCallSettings
       searchAgentsSettings() {
@@ -173,17 +168,6 @@ public UnaryCallSettings exportAgentSettings() {
     return exportAgentOperationSettings;
   }
 
-  /** Returns the object with the settings used for calls to importAgent. */
-  public UnaryCallSettings importAgentSettings() {
-    return importAgentSettings;
-  }
-
-  /** Returns the object with the settings used for calls to importAgent. */
-  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-  public OperationCallSettings importAgentOperationSettings() {
-    return importAgentOperationSettings;
-  }
-
   /** Returns the object with the settings used for calls to restoreAgent. */
   public UnaryCallSettings restoreAgentSettings() {
     return restoreAgentSettings;
@@ -195,6 +179,22 @@ public OperationCallSettings restoreAgentOpe
     return restoreAgentOperationSettings;
   }
 
+  /** Returns the object with the settings used for calls to getAgent. */
+  public UnaryCallSettings getAgentSettings() {
+    return getAgentSettings;
+  }
+
+  /** Returns the object with the settings used for calls to importAgent. */
+  public UnaryCallSettings importAgentSettings() {
+    return importAgentSettings;
+  }
+
+  /** Returns the object with the settings used for calls to importAgent. */
+  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
+  public OperationCallSettings importAgentOperationSettings() {
+    return importAgentOperationSettings;
+  }
+
   /** Returns the object with the settings used for calls to getValidationResult. */
   public UnaryCallSettings
       getValidationResultSettings() {
@@ -271,16 +271,16 @@ protected AgentsStubSettings(Builder settingsBuilder) throws IOException {
 
     setAgentSettings = settingsBuilder.setAgentSettings().build();
     deleteAgentSettings = settingsBuilder.deleteAgentSettings().build();
-    getAgentSettings = settingsBuilder.getAgentSettings().build();
     searchAgentsSettings = settingsBuilder.searchAgentsSettings().build();
     trainAgentSettings = settingsBuilder.trainAgentSettings().build();
     trainAgentOperationSettings = settingsBuilder.trainAgentOperationSettings().build();
     exportAgentSettings = settingsBuilder.exportAgentSettings().build();
     exportAgentOperationSettings = settingsBuilder.exportAgentOperationSettings().build();
-    importAgentSettings = settingsBuilder.importAgentSettings().build();
-    importAgentOperationSettings = settingsBuilder.importAgentOperationSettings().build();
     restoreAgentSettings = settingsBuilder.restoreAgentSettings().build();
     restoreAgentOperationSettings = settingsBuilder.restoreAgentOperationSettings().build();
+    getAgentSettings = settingsBuilder.getAgentSettings().build();
+    importAgentSettings = settingsBuilder.importAgentSettings().build();
+    importAgentOperationSettings = settingsBuilder.importAgentOperationSettings().build();
     getValidationResultSettings = settingsBuilder.getValidationResultSettings().build();
   }
 
@@ -343,7 +343,6 @@ public static class Builder extends StubSettings.Builder setAgentSettings;
     private final UnaryCallSettings.Builder deleteAgentSettings;
-    private final UnaryCallSettings.Builder getAgentSettings;
     private final PagedCallSettings.Builder<
             SearchAgentsRequest, SearchAgentsResponse, SearchAgentsPagedResponse>
         searchAgentsSettings;
@@ -353,12 +352,13 @@ public static class Builder extends StubSettings.Builder exportAgentSettings;
     private final OperationCallSettings.Builder
         exportAgentOperationSettings;
-    private final UnaryCallSettings.Builder importAgentSettings;
-    private final OperationCallSettings.Builder
-        importAgentOperationSettings;
     private final UnaryCallSettings.Builder restoreAgentSettings;
     private final OperationCallSettings.Builder
         restoreAgentOperationSettings;
+    private final UnaryCallSettings.Builder getAgentSettings;
+    private final UnaryCallSettings.Builder importAgentSettings;
+    private final OperationCallSettings.Builder
+        importAgentOperationSettings;
     private final UnaryCallSettings.Builder
         getValidationResultSettings;
 
@@ -407,8 +407,6 @@ protected Builder(ClientContext clientContext) {
 
       deleteAgentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
-      getAgentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       searchAgentsSettings = PagedCallSettings.newBuilder(SEARCH_AGENTS_PAGE_STR_FACT);
 
       trainAgentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -419,26 +417,28 @@ protected Builder(ClientContext clientContext) {
 
       exportAgentOperationSettings = OperationCallSettings.newBuilder();
 
-      importAgentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
-      importAgentOperationSettings = OperationCallSettings.newBuilder();
-
       restoreAgentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       restoreAgentOperationSettings = OperationCallSettings.newBuilder();
 
+      getAgentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
+      importAgentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
+      importAgentOperationSettings = OperationCallSettings.newBuilder();
+
       getValidationResultSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
               setAgentSettings,
               deleteAgentSettings,
-              getAgentSettings,
               searchAgentsSettings,
               trainAgentSettings,
               exportAgentSettings,
-              importAgentSettings,
               restoreAgentSettings,
+              getAgentSettings,
+              importAgentSettings,
               getValidationResultSettings);
 
       initDefaults(this);
@@ -465,11 +465,6 @@ private static Builder initDefaults(Builder builder) {
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
-      builder
-          .getAgentSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .searchAgentsSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
@@ -486,15 +481,20 @@ private static Builder initDefaults(Builder builder) {
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .importAgentSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
+          .restoreAgentSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .restoreAgentSettings()
+          .getAgentSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
+      builder
+          .importAgentSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+
       builder
           .getValidationResultSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
@@ -544,10 +544,11 @@ private static Builder initDefaults(Builder builder) {
                       .setTotalTimeout(Duration.ofMillis(300000L))
                       .build()));
       builder
-          .importAgentOperationSettings()
+          .restoreAgentOperationSettings()
           .setInitialCallSettings(
-              UnaryCallSettings.newUnaryCallSettingsBuilder()
-                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
+              UnaryCallSettings
+                  .newUnaryCallSettingsBuilder()
+                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
                   .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
                   .build())
           .setResponseTransformer(
@@ -566,11 +567,10 @@ private static Builder initDefaults(Builder builder) {
                       .setTotalTimeout(Duration.ofMillis(300000L))
                       .build()));
       builder
-          .restoreAgentOperationSettings()
+          .importAgentOperationSettings()
           .setInitialCallSettings(
-              UnaryCallSettings
-                  .newUnaryCallSettingsBuilder()
-                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+              UnaryCallSettings.newUnaryCallSettingsBuilder()
+                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
                   .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
                   .build())
           .setResponseTransformer(
@@ -597,28 +597,28 @@ protected Builder(AgentsStubSettings settings) {
 
       setAgentSettings = settings.setAgentSettings.toBuilder();
       deleteAgentSettings = settings.deleteAgentSettings.toBuilder();
-      getAgentSettings = settings.getAgentSettings.toBuilder();
       searchAgentsSettings = settings.searchAgentsSettings.toBuilder();
       trainAgentSettings = settings.trainAgentSettings.toBuilder();
       trainAgentOperationSettings = settings.trainAgentOperationSettings.toBuilder();
       exportAgentSettings = settings.exportAgentSettings.toBuilder();
       exportAgentOperationSettings = settings.exportAgentOperationSettings.toBuilder();
-      importAgentSettings = settings.importAgentSettings.toBuilder();
-      importAgentOperationSettings = settings.importAgentOperationSettings.toBuilder();
       restoreAgentSettings = settings.restoreAgentSettings.toBuilder();
       restoreAgentOperationSettings = settings.restoreAgentOperationSettings.toBuilder();
+      getAgentSettings = settings.getAgentSettings.toBuilder();
+      importAgentSettings = settings.importAgentSettings.toBuilder();
+      importAgentOperationSettings = settings.importAgentOperationSettings.toBuilder();
       getValidationResultSettings = settings.getValidationResultSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
               setAgentSettings,
               deleteAgentSettings,
-              getAgentSettings,
               searchAgentsSettings,
               trainAgentSettings,
               exportAgentSettings,
-              importAgentSettings,
               restoreAgentSettings,
+              getAgentSettings,
+              importAgentSettings,
               getValidationResultSettings);
     }
 
@@ -648,11 +648,6 @@ public UnaryCallSettings.Builder deleteAgentSettings(
       return deleteAgentSettings;
     }
 
-    /** Returns the builder for the settings used for calls to getAgent. */
-    public UnaryCallSettings.Builder getAgentSettings() {
-      return getAgentSettings;
-    }
-
     /** Returns the builder for the settings used for calls to searchAgents. */
     public PagedCallSettings.Builder<
             SearchAgentsRequest, SearchAgentsResponse, SearchAgentsPagedResponse>
@@ -686,19 +681,6 @@ public UnaryCallSettings.Builder exportAgentSetti
       return exportAgentOperationSettings;
     }
 
-    /** Returns the builder for the settings used for calls to importAgent. */
-    public UnaryCallSettings.Builder importAgentSettings() {
-      return importAgentSettings;
-    }
-
-    /** Returns the builder for the settings used for calls to importAgent. */
-    @BetaApi(
-        "The surface for use by generated code is not stable yet and may change in the future.")
-    public OperationCallSettings.Builder
-        importAgentOperationSettings() {
-      return importAgentOperationSettings;
-    }
-
     /** Returns the builder for the settings used for calls to restoreAgent. */
     public UnaryCallSettings.Builder restoreAgentSettings() {
       return restoreAgentSettings;
@@ -712,6 +694,24 @@ public UnaryCallSettings.Builder restoreAgentSet
       return restoreAgentOperationSettings;
     }
 
+    /** Returns the builder for the settings used for calls to getAgent. */
+    public UnaryCallSettings.Builder getAgentSettings() {
+      return getAgentSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to importAgent. */
+    public UnaryCallSettings.Builder importAgentSettings() {
+      return importAgentSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to importAgent. */
+    @BetaApi(
+        "The surface for use by generated code is not stable yet and may change in the future.")
+    public OperationCallSettings.Builder
+        importAgentOperationSettings() {
+      return importAgentOperationSettings;
+    }
+
     /** Returns the builder for the settings used for calls to getValidationResult. */
     public UnaryCallSettings.Builder
         getValidationResultSettings() {
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStub.java
index 94220ea19..f5e34749e 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStub.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStub.java
@@ -41,6 +41,14 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public abstract class ContextsStub implements BackgroundResource {
 
+  public UnaryCallable deleteContextCallable() {
+    throw new UnsupportedOperationException("Not implemented: deleteContextCallable()");
+  }
+
+  public UnaryCallable deleteAllContextsCallable() {
+    throw new UnsupportedOperationException("Not implemented: deleteAllContextsCallable()");
+  }
+
   public UnaryCallable listContextsPagedCallable() {
     throw new UnsupportedOperationException("Not implemented: listContextsPagedCallable()");
   }
@@ -61,14 +69,6 @@ public UnaryCallable updateContextCallable() {
     throw new UnsupportedOperationException("Not implemented: updateContextCallable()");
   }
 
-  public UnaryCallable deleteContextCallable() {
-    throw new UnsupportedOperationException("Not implemented: deleteContextCallable()");
-  }
-
-  public UnaryCallable deleteAllContextsCallable() {
-    throw new UnsupportedOperationException("Not implemented: deleteAllContextsCallable()");
-  }
-
   @Override
   public abstract void close();
 }
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java
index f50de426f..d113ddf4a 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java
@@ -72,16 +72,16 @@
  * 

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getContext to 30 seconds: + *

For example, to set the total timeout of deleteContext to 30 seconds: * *

  * 
  * ContextsStubSettings.Builder contextsSettingsBuilder =
  *     ContextsStubSettings.newBuilder();
  * contextsSettingsBuilder
- *     .getContextSettings()
+ *     .deleteContextSettings()
  *     .setRetrySettings(
- *         contextsSettingsBuilder.getContextSettings().getRetrySettings().toBuilder()
+ *         contextsSettingsBuilder.deleteContextSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ContextsStubSettings contextsSettings = contextsSettingsBuilder.build();
@@ -98,14 +98,24 @@ public class ContextsStubSettings extends StubSettings {
           .add("https://www.googleapis.com/auth/dialogflow")
           .build();
 
+  private final UnaryCallSettings deleteContextSettings;
+  private final UnaryCallSettings deleteAllContextsSettings;
   private final PagedCallSettings<
           ListContextsRequest, ListContextsResponse, ListContextsPagedResponse>
       listContextsSettings;
   private final UnaryCallSettings getContextSettings;
   private final UnaryCallSettings createContextSettings;
   private final UnaryCallSettings updateContextSettings;
-  private final UnaryCallSettings deleteContextSettings;
-  private final UnaryCallSettings deleteAllContextsSettings;
+
+  /** Returns the object with the settings used for calls to deleteContext. */
+  public UnaryCallSettings deleteContextSettings() {
+    return deleteContextSettings;
+  }
+
+  /** Returns the object with the settings used for calls to deleteAllContexts. */
+  public UnaryCallSettings deleteAllContextsSettings() {
+    return deleteAllContextsSettings;
+  }
 
   /** Returns the object with the settings used for calls to listContexts. */
   public PagedCallSettings
@@ -128,16 +138,6 @@ public UnaryCallSettings updateContextSettings()
     return updateContextSettings;
   }
 
-  /** Returns the object with the settings used for calls to deleteContext. */
-  public UnaryCallSettings deleteContextSettings() {
-    return deleteContextSettings;
-  }
-
-  /** Returns the object with the settings used for calls to deleteAllContexts. */
-  public UnaryCallSettings deleteAllContextsSettings() {
-    return deleteAllContextsSettings;
-  }
-
   @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
   public ContextsStub createStub() throws IOException {
     if (getTransportChannelProvider()
@@ -206,12 +206,12 @@ public Builder toBuilder() {
   protected ContextsStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
+    deleteContextSettings = settingsBuilder.deleteContextSettings().build();
+    deleteAllContextsSettings = settingsBuilder.deleteAllContextsSettings().build();
     listContextsSettings = settingsBuilder.listContextsSettings().build();
     getContextSettings = settingsBuilder.getContextSettings().build();
     createContextSettings = settingsBuilder.createContextSettings().build();
     updateContextSettings = settingsBuilder.updateContextSettings().build();
-    deleteContextSettings = settingsBuilder.deleteContextSettings().build();
-    deleteAllContextsSettings = settingsBuilder.deleteAllContextsSettings().build();
   }
 
   private static final PagedListDescriptor
@@ -271,15 +271,15 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
+    private final UnaryCallSettings.Builder deleteContextSettings;
+    private final UnaryCallSettings.Builder
+        deleteAllContextsSettings;
     private final PagedCallSettings.Builder<
             ListContextsRequest, ListContextsResponse, ListContextsPagedResponse>
         listContextsSettings;
     private final UnaryCallSettings.Builder getContextSettings;
     private final UnaryCallSettings.Builder createContextSettings;
     private final UnaryCallSettings.Builder updateContextSettings;
-    private final UnaryCallSettings.Builder deleteContextSettings;
-    private final UnaryCallSettings.Builder
-        deleteAllContextsSettings;
 
     private static final ImmutableMap>
         RETRYABLE_CODE_DEFINITIONS;
@@ -322,6 +322,10 @@ protected Builder() {
     protected Builder(ClientContext clientContext) {
       super(clientContext);
 
+      deleteContextSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
+      deleteAllContextsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
       listContextsSettings = PagedCallSettings.newBuilder(LIST_CONTEXTS_PAGE_STR_FACT);
 
       getContextSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -330,18 +334,14 @@ protected Builder(ClientContext clientContext) {
 
       updateContextSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
-      deleteContextSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
-      deleteAllContextsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteContextSettings,
+              deleteAllContextsSettings,
               listContextsSettings,
               getContextSettings,
               createContextSettings,
-              updateContextSettings,
-              deleteContextSettings,
-              deleteAllContextsSettings);
+              updateContextSettings);
 
       initDefaults(this);
     }
@@ -358,33 +358,33 @@ private static Builder createDefault() {
     private static Builder initDefaults(Builder builder) {
 
       builder
-          .listContextsSettings()
+          .deleteContextSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .getContextSettings()
+          .deleteAllContextsSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .createContextSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
+          .listContextsSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .updateContextSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
+          .getContextSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .deleteContextSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .createContextSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .deleteAllContextsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .updateContextSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       return builder;
@@ -393,21 +393,21 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(ContextsStubSettings settings) {
       super(settings);
 
+      deleteContextSettings = settings.deleteContextSettings.toBuilder();
+      deleteAllContextsSettings = settings.deleteAllContextsSettings.toBuilder();
       listContextsSettings = settings.listContextsSettings.toBuilder();
       getContextSettings = settings.getContextSettings.toBuilder();
       createContextSettings = settings.createContextSettings.toBuilder();
       updateContextSettings = settings.updateContextSettings.toBuilder();
-      deleteContextSettings = settings.deleteContextSettings.toBuilder();
-      deleteAllContextsSettings = settings.deleteAllContextsSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteContextSettings,
+              deleteAllContextsSettings,
               listContextsSettings,
               getContextSettings,
               createContextSettings,
-              updateContextSettings,
-              deleteContextSettings,
-              deleteAllContextsSettings);
+              updateContextSettings);
     }
 
     // NEXT_MAJOR_VER: remove 'throws Exception'
@@ -426,6 +426,16 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
+    /** Returns the builder for the settings used for calls to deleteContext. */
+    public UnaryCallSettings.Builder deleteContextSettings() {
+      return deleteContextSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to deleteAllContexts. */
+    public UnaryCallSettings.Builder deleteAllContextsSettings() {
+      return deleteAllContextsSettings;
+    }
+
     /** Returns the builder for the settings used for calls to listContexts. */
     public PagedCallSettings.Builder<
             ListContextsRequest, ListContextsResponse, ListContextsPagedResponse>
@@ -448,16 +458,6 @@ public UnaryCallSettings.Builder updateContextSet
       return updateContextSettings;
     }
 
-    /** Returns the builder for the settings used for calls to deleteContext. */
-    public UnaryCallSettings.Builder deleteContextSettings() {
-      return deleteContextSettings;
-    }
-
-    /** Returns the builder for the settings used for calls to deleteAllContexts. */
-    public UnaryCallSettings.Builder deleteAllContextsSettings() {
-      return deleteAllContextsSettings;
-    }
-
     @Override
     public ContextsStubSettings build() throws IOException {
       return new ContextsStubSettings(this);
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStub.java
index 4790505c1..691e04b21 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStub.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStub.java
@@ -55,6 +55,32 @@ public OperationsStub getOperationsStub() {
     throw new UnsupportedOperationException("Not implemented: getOperationsStub()");
   }
 
+  public UnaryCallable deleteEntityTypeCallable() {
+    throw new UnsupportedOperationException("Not implemented: deleteEntityTypeCallable()");
+  }
+
+  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
+  public OperationCallable
+      batchDeleteEntityTypesOperationCallable() {
+    throw new UnsupportedOperationException(
+        "Not implemented: batchDeleteEntityTypesOperationCallable()");
+  }
+
+  public UnaryCallable batchDeleteEntityTypesCallable() {
+    throw new UnsupportedOperationException("Not implemented: batchDeleteEntityTypesCallable()");
+  }
+
+  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
+  public OperationCallable
+      batchDeleteEntitiesOperationCallable() {
+    throw new UnsupportedOperationException(
+        "Not implemented: batchDeleteEntitiesOperationCallable()");
+  }
+
+  public UnaryCallable batchDeleteEntitiesCallable() {
+    throw new UnsupportedOperationException("Not implemented: batchDeleteEntitiesCallable()");
+  }
+
   public UnaryCallable
       listEntityTypesPagedCallable() {
     throw new UnsupportedOperationException("Not implemented: listEntityTypesPagedCallable()");
@@ -76,10 +102,6 @@ public UnaryCallable updateEntityTypeCallab
     throw new UnsupportedOperationException("Not implemented: updateEntityTypeCallable()");
   }
 
-  public UnaryCallable deleteEntityTypeCallable() {
-    throw new UnsupportedOperationException("Not implemented: deleteEntityTypeCallable()");
-  }
-
   @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
   public OperationCallable
       batchUpdateEntityTypesOperationCallable() {
@@ -91,17 +113,6 @@ public UnaryCallable batchUpdateEntity
     throw new UnsupportedOperationException("Not implemented: batchUpdateEntityTypesCallable()");
   }
 
-  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-  public OperationCallable
-      batchDeleteEntityTypesOperationCallable() {
-    throw new UnsupportedOperationException(
-        "Not implemented: batchDeleteEntityTypesOperationCallable()");
-  }
-
-  public UnaryCallable batchDeleteEntityTypesCallable() {
-    throw new UnsupportedOperationException("Not implemented: batchDeleteEntityTypesCallable()");
-  }
-
   @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
   public OperationCallable
       batchCreateEntitiesOperationCallable() {
@@ -124,17 +135,6 @@ public UnaryCallable batchUpdateEntitiesC
     throw new UnsupportedOperationException("Not implemented: batchUpdateEntitiesCallable()");
   }
 
-  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-  public OperationCallable
-      batchDeleteEntitiesOperationCallable() {
-    throw new UnsupportedOperationException(
-        "Not implemented: batchDeleteEntitiesOperationCallable()");
-  }
-
-  public UnaryCallable batchDeleteEntitiesCallable() {
-    throw new UnsupportedOperationException("Not implemented: batchDeleteEntitiesCallable()");
-  }
-
   @Override
   public abstract void close();
 }
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java
index 16445bee6..16141ee8c 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java
@@ -83,16 +83,16 @@
  * 

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getEntityType to 30 seconds: + *

For example, to set the total timeout of deleteEntityType to 30 seconds: * *

  * 
  * EntityTypesStubSettings.Builder entityTypesSettingsBuilder =
  *     EntityTypesStubSettings.newBuilder();
  * entityTypesSettingsBuilder
- *     .getEntityTypeSettings()
+ *     .deleteEntityTypeSettings()
  *     .setRetrySettings(
- *         entityTypesSettingsBuilder.getEntityTypeSettings().getRetrySettings().toBuilder()
+ *         entityTypesSettingsBuilder.deleteEntityTypeSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EntityTypesStubSettings entityTypesSettings = entityTypesSettingsBuilder.build();
@@ -109,22 +109,26 @@ public class EntityTypesStubSettings extends StubSettings deleteEntityTypeSettings;
+  private final UnaryCallSettings
+      batchDeleteEntityTypesSettings;
+  private final OperationCallSettings
+      batchDeleteEntityTypesOperationSettings;
+  private final UnaryCallSettings
+      batchDeleteEntitiesSettings;
+  private final OperationCallSettings
+      batchDeleteEntitiesOperationSettings;
   private final PagedCallSettings<
           ListEntityTypesRequest, ListEntityTypesResponse, ListEntityTypesPagedResponse>
       listEntityTypesSettings;
   private final UnaryCallSettings getEntityTypeSettings;
   private final UnaryCallSettings createEntityTypeSettings;
   private final UnaryCallSettings updateEntityTypeSettings;
-  private final UnaryCallSettings deleteEntityTypeSettings;
   private final UnaryCallSettings
       batchUpdateEntityTypesSettings;
   private final OperationCallSettings<
           BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, Struct>
       batchUpdateEntityTypesOperationSettings;
-  private final UnaryCallSettings
-      batchDeleteEntityTypesSettings;
-  private final OperationCallSettings
-      batchDeleteEntityTypesOperationSettings;
   private final UnaryCallSettings
       batchCreateEntitiesSettings;
   private final OperationCallSettings
@@ -133,10 +137,36 @@ public class EntityTypesStubSettings extends StubSettings
       batchUpdateEntitiesOperationSettings;
-  private final UnaryCallSettings
-      batchDeleteEntitiesSettings;
-  private final OperationCallSettings
-      batchDeleteEntitiesOperationSettings;
+
+  /** Returns the object with the settings used for calls to deleteEntityType. */
+  public UnaryCallSettings deleteEntityTypeSettings() {
+    return deleteEntityTypeSettings;
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteEntityTypes. */
+  public UnaryCallSettings
+      batchDeleteEntityTypesSettings() {
+    return batchDeleteEntityTypesSettings;
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteEntityTypes. */
+  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
+  public OperationCallSettings
+      batchDeleteEntityTypesOperationSettings() {
+    return batchDeleteEntityTypesOperationSettings;
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteEntities. */
+  public UnaryCallSettings batchDeleteEntitiesSettings() {
+    return batchDeleteEntitiesSettings;
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteEntities. */
+  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
+  public OperationCallSettings
+      batchDeleteEntitiesOperationSettings() {
+    return batchDeleteEntitiesOperationSettings;
+  }
 
   /** Returns the object with the settings used for calls to listEntityTypes. */
   public PagedCallSettings<
@@ -160,11 +190,6 @@ public UnaryCallSettings updateEntityTypeSe
     return updateEntityTypeSettings;
   }
 
-  /** Returns the object with the settings used for calls to deleteEntityType. */
-  public UnaryCallSettings deleteEntityTypeSettings() {
-    return deleteEntityTypeSettings;
-  }
-
   /** Returns the object with the settings used for calls to batchUpdateEntityTypes. */
   public UnaryCallSettings
       batchUpdateEntityTypesSettings() {
@@ -179,19 +204,6 @@ public UnaryCallSettings deleteEntityTypeSetting
     return batchUpdateEntityTypesOperationSettings;
   }
 
-  /** Returns the object with the settings used for calls to batchDeleteEntityTypes. */
-  public UnaryCallSettings
-      batchDeleteEntityTypesSettings() {
-    return batchDeleteEntityTypesSettings;
-  }
-
-  /** Returns the object with the settings used for calls to batchDeleteEntityTypes. */
-  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-  public OperationCallSettings
-      batchDeleteEntityTypesOperationSettings() {
-    return batchDeleteEntityTypesOperationSettings;
-  }
-
   /** Returns the object with the settings used for calls to batchCreateEntities. */
   public UnaryCallSettings batchCreateEntitiesSettings() {
     return batchCreateEntitiesSettings;
@@ -216,18 +228,6 @@ public UnaryCallSettings batchUpdateEntit
     return batchUpdateEntitiesOperationSettings;
   }
 
-  /** Returns the object with the settings used for calls to batchDeleteEntities. */
-  public UnaryCallSettings batchDeleteEntitiesSettings() {
-    return batchDeleteEntitiesSettings;
-  }
-
-  /** Returns the object with the settings used for calls to batchDeleteEntities. */
-  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-  public OperationCallSettings
-      batchDeleteEntitiesOperationSettings() {
-    return batchDeleteEntitiesOperationSettings;
-  }
-
   @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
   public EntityTypesStub createStub() throws IOException {
     if (getTransportChannelProvider()
@@ -297,26 +297,26 @@ public Builder toBuilder() {
   protected EntityTypesStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
+    deleteEntityTypeSettings = settingsBuilder.deleteEntityTypeSettings().build();
+    batchDeleteEntityTypesSettings = settingsBuilder.batchDeleteEntityTypesSettings().build();
+    batchDeleteEntityTypesOperationSettings =
+        settingsBuilder.batchDeleteEntityTypesOperationSettings().build();
+    batchDeleteEntitiesSettings = settingsBuilder.batchDeleteEntitiesSettings().build();
+    batchDeleteEntitiesOperationSettings =
+        settingsBuilder.batchDeleteEntitiesOperationSettings().build();
     listEntityTypesSettings = settingsBuilder.listEntityTypesSettings().build();
     getEntityTypeSettings = settingsBuilder.getEntityTypeSettings().build();
     createEntityTypeSettings = settingsBuilder.createEntityTypeSettings().build();
     updateEntityTypeSettings = settingsBuilder.updateEntityTypeSettings().build();
-    deleteEntityTypeSettings = settingsBuilder.deleteEntityTypeSettings().build();
     batchUpdateEntityTypesSettings = settingsBuilder.batchUpdateEntityTypesSettings().build();
     batchUpdateEntityTypesOperationSettings =
         settingsBuilder.batchUpdateEntityTypesOperationSettings().build();
-    batchDeleteEntityTypesSettings = settingsBuilder.batchDeleteEntityTypesSettings().build();
-    batchDeleteEntityTypesOperationSettings =
-        settingsBuilder.batchDeleteEntityTypesOperationSettings().build();
     batchCreateEntitiesSettings = settingsBuilder.batchCreateEntitiesSettings().build();
     batchCreateEntitiesOperationSettings =
         settingsBuilder.batchCreateEntitiesOperationSettings().build();
     batchUpdateEntitiesSettings = settingsBuilder.batchUpdateEntitiesSettings().build();
     batchUpdateEntitiesOperationSettings =
         settingsBuilder.batchUpdateEntitiesOperationSettings().build();
-    batchDeleteEntitiesSettings = settingsBuilder.batchDeleteEntitiesSettings().build();
-    batchDeleteEntitiesOperationSettings =
-        settingsBuilder.batchDeleteEntitiesOperationSettings().build();
   }
 
   private static final PagedListDescriptor<
@@ -379,6 +379,16 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
+    private final UnaryCallSettings.Builder
+        deleteEntityTypeSettings;
+    private final UnaryCallSettings.Builder
+        batchDeleteEntityTypesSettings;
+    private final OperationCallSettings.Builder
+        batchDeleteEntityTypesOperationSettings;
+    private final UnaryCallSettings.Builder
+        batchDeleteEntitiesSettings;
+    private final OperationCallSettings.Builder
+        batchDeleteEntitiesOperationSettings;
     private final PagedCallSettings.Builder<
             ListEntityTypesRequest, ListEntityTypesResponse, ListEntityTypesPagedResponse>
         listEntityTypesSettings;
@@ -387,17 +397,11 @@ public static class Builder extends StubSettings.Builder
         updateEntityTypeSettings;
-    private final UnaryCallSettings.Builder
-        deleteEntityTypeSettings;
     private final UnaryCallSettings.Builder
         batchUpdateEntityTypesSettings;
     private final OperationCallSettings.Builder<
             BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, Struct>
         batchUpdateEntityTypesOperationSettings;
-    private final UnaryCallSettings.Builder
-        batchDeleteEntityTypesSettings;
-    private final OperationCallSettings.Builder
-        batchDeleteEntityTypesOperationSettings;
     private final UnaryCallSettings.Builder
         batchCreateEntitiesSettings;
     private final OperationCallSettings.Builder
@@ -406,10 +410,6 @@ public static class Builder extends StubSettings.Builder
         batchUpdateEntitiesOperationSettings;
-    private final UnaryCallSettings.Builder
-        batchDeleteEntitiesSettings;
-    private final OperationCallSettings.Builder
-        batchDeleteEntitiesOperationSettings;
 
     private static final ImmutableMap>
         RETRYABLE_CODE_DEFINITIONS;
@@ -452,6 +452,16 @@ protected Builder() {
     protected Builder(ClientContext clientContext) {
       super(clientContext);
 
+      deleteEntityTypeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
+      batchDeleteEntityTypesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
+      batchDeleteEntityTypesOperationSettings = OperationCallSettings.newBuilder();
+
+      batchDeleteEntitiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
+      batchDeleteEntitiesOperationSettings = OperationCallSettings.newBuilder();
+
       listEntityTypesSettings = PagedCallSettings.newBuilder(LIST_ENTITY_TYPES_PAGE_STR_FACT);
 
       getEntityTypeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -460,16 +470,10 @@ protected Builder(ClientContext clientContext) {
 
       updateEntityTypeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
-      deleteEntityTypeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       batchUpdateEntityTypesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       batchUpdateEntityTypesOperationSettings = OperationCallSettings.newBuilder();
 
-      batchDeleteEntityTypesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
-      batchDeleteEntityTypesOperationSettings = OperationCallSettings.newBuilder();
-
       batchCreateEntitiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       batchCreateEntitiesOperationSettings = OperationCallSettings.newBuilder();
@@ -478,22 +482,18 @@ protected Builder(ClientContext clientContext) {
 
       batchUpdateEntitiesOperationSettings = OperationCallSettings.newBuilder();
 
-      batchDeleteEntitiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
-      batchDeleteEntitiesOperationSettings = OperationCallSettings.newBuilder();
-
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteEntityTypeSettings,
+              batchDeleteEntityTypesSettings,
+              batchDeleteEntitiesSettings,
               listEntityTypesSettings,
               getEntityTypeSettings,
               createEntityTypeSettings,
               updateEntityTypeSettings,
-              deleteEntityTypeSettings,
               batchUpdateEntityTypesSettings,
-              batchDeleteEntityTypesSettings,
               batchCreateEntitiesSettings,
-              batchUpdateEntitiesSettings,
-              batchDeleteEntitiesSettings);
+              batchUpdateEntitiesSettings);
 
       initDefaults(this);
     }
@@ -510,65 +510,64 @@ private static Builder createDefault() {
     private static Builder initDefaults(Builder builder) {
 
       builder
-          .listEntityTypesSettings()
+          .deleteEntityTypeSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .getEntityTypeSettings()
+          .batchDeleteEntityTypesSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .createEntityTypeSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
+          .batchDeleteEntitiesSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .updateEntityTypeSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
+          .listEntityTypesSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .deleteEntityTypeSettings()
+          .getEntityTypeSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .batchUpdateEntityTypesSettings()
+          .createEntityTypeSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .batchDeleteEntityTypesSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .updateEntityTypeSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .batchCreateEntitiesSettings()
+          .batchUpdateEntityTypesSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .batchUpdateEntitiesSettings()
+          .batchCreateEntitiesSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .batchDeleteEntitiesSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .batchUpdateEntitiesSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
       builder
-          .batchUpdateEntityTypesOperationSettings()
+          .batchDeleteEntityTypesOperationSettings()
           .setInitialCallSettings(
               UnaryCallSettings
-                  .newUnaryCallSettingsBuilder()
-                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
+                  .newUnaryCallSettingsBuilder()
+                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
                   .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
                   .build())
           .setResponseTransformer(
-              ProtoOperationTransformers.ResponseTransformer.create(
-                  BatchUpdateEntityTypesResponse.class))
+              ProtoOperationTransformers.ResponseTransformer.create(Empty.class))
           .setMetadataTransformer(
               ProtoOperationTransformers.MetadataTransformer.create(Struct.class))
           .setPollingAlgorithm(
@@ -583,10 +582,10 @@ private static Builder initDefaults(Builder builder) {
                       .setTotalTimeout(Duration.ofMillis(300000L))
                       .build()));
       builder
-          .batchDeleteEntityTypesOperationSettings()
+          .batchDeleteEntitiesOperationSettings()
           .setInitialCallSettings(
               UnaryCallSettings
-                  .newUnaryCallSettingsBuilder()
+                  .newUnaryCallSettingsBuilder()
                   .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
                   .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
                   .build())
@@ -606,15 +605,16 @@ private static Builder initDefaults(Builder builder) {
                       .setTotalTimeout(Duration.ofMillis(300000L))
                       .build()));
       builder
-          .batchCreateEntitiesOperationSettings()
+          .batchUpdateEntityTypesOperationSettings()
           .setInitialCallSettings(
               UnaryCallSettings
-                  .newUnaryCallSettingsBuilder()
+                  .newUnaryCallSettingsBuilder()
                   .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
                   .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
                   .build())
           .setResponseTransformer(
-              ProtoOperationTransformers.ResponseTransformer.create(Empty.class))
+              ProtoOperationTransformers.ResponseTransformer.create(
+                  BatchUpdateEntityTypesResponse.class))
           .setMetadataTransformer(
               ProtoOperationTransformers.MetadataTransformer.create(Struct.class))
           .setPollingAlgorithm(
@@ -629,10 +629,10 @@ private static Builder initDefaults(Builder builder) {
                       .setTotalTimeout(Duration.ofMillis(300000L))
                       .build()));
       builder
-          .batchUpdateEntitiesOperationSettings()
+          .batchCreateEntitiesOperationSettings()
           .setInitialCallSettings(
               UnaryCallSettings
-                  .newUnaryCallSettingsBuilder()
+                  .newUnaryCallSettingsBuilder()
                   .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
                   .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
                   .build())
@@ -652,11 +652,11 @@ private static Builder initDefaults(Builder builder) {
                       .setTotalTimeout(Duration.ofMillis(300000L))
                       .build()));
       builder
-          .batchDeleteEntitiesOperationSettings()
+          .batchUpdateEntitiesOperationSettings()
           .setInitialCallSettings(
               UnaryCallSettings
-                  .newUnaryCallSettingsBuilder()
-                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+                  .newUnaryCallSettingsBuilder()
+                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
                   .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
                   .build())
           .setResponseTransformer(
@@ -681,39 +681,39 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(EntityTypesStubSettings settings) {
       super(settings);
 
+      deleteEntityTypeSettings = settings.deleteEntityTypeSettings.toBuilder();
+      batchDeleteEntityTypesSettings = settings.batchDeleteEntityTypesSettings.toBuilder();
+      batchDeleteEntityTypesOperationSettings =
+          settings.batchDeleteEntityTypesOperationSettings.toBuilder();
+      batchDeleteEntitiesSettings = settings.batchDeleteEntitiesSettings.toBuilder();
+      batchDeleteEntitiesOperationSettings =
+          settings.batchDeleteEntitiesOperationSettings.toBuilder();
       listEntityTypesSettings = settings.listEntityTypesSettings.toBuilder();
       getEntityTypeSettings = settings.getEntityTypeSettings.toBuilder();
       createEntityTypeSettings = settings.createEntityTypeSettings.toBuilder();
       updateEntityTypeSettings = settings.updateEntityTypeSettings.toBuilder();
-      deleteEntityTypeSettings = settings.deleteEntityTypeSettings.toBuilder();
       batchUpdateEntityTypesSettings = settings.batchUpdateEntityTypesSettings.toBuilder();
       batchUpdateEntityTypesOperationSettings =
           settings.batchUpdateEntityTypesOperationSettings.toBuilder();
-      batchDeleteEntityTypesSettings = settings.batchDeleteEntityTypesSettings.toBuilder();
-      batchDeleteEntityTypesOperationSettings =
-          settings.batchDeleteEntityTypesOperationSettings.toBuilder();
       batchCreateEntitiesSettings = settings.batchCreateEntitiesSettings.toBuilder();
       batchCreateEntitiesOperationSettings =
           settings.batchCreateEntitiesOperationSettings.toBuilder();
       batchUpdateEntitiesSettings = settings.batchUpdateEntitiesSettings.toBuilder();
       batchUpdateEntitiesOperationSettings =
           settings.batchUpdateEntitiesOperationSettings.toBuilder();
-      batchDeleteEntitiesSettings = settings.batchDeleteEntitiesSettings.toBuilder();
-      batchDeleteEntitiesOperationSettings =
-          settings.batchDeleteEntitiesOperationSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteEntityTypeSettings,
+              batchDeleteEntityTypesSettings,
+              batchDeleteEntitiesSettings,
               listEntityTypesSettings,
               getEntityTypeSettings,
               createEntityTypeSettings,
               updateEntityTypeSettings,
-              deleteEntityTypeSettings,
               batchUpdateEntityTypesSettings,
-              batchDeleteEntityTypesSettings,
               batchCreateEntitiesSettings,
-              batchUpdateEntitiesSettings,
-              batchDeleteEntitiesSettings);
+              batchUpdateEntitiesSettings);
     }
 
     // NEXT_MAJOR_VER: remove 'throws Exception'
@@ -732,6 +732,39 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
+    /** Returns the builder for the settings used for calls to deleteEntityType. */
+    public UnaryCallSettings.Builder deleteEntityTypeSettings() {
+      return deleteEntityTypeSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteEntityTypes. */
+    public UnaryCallSettings.Builder
+        batchDeleteEntityTypesSettings() {
+      return batchDeleteEntityTypesSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteEntityTypes. */
+    @BetaApi(
+        "The surface for use by generated code is not stable yet and may change in the future.")
+    public OperationCallSettings.Builder
+        batchDeleteEntityTypesOperationSettings() {
+      return batchDeleteEntityTypesOperationSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteEntities. */
+    public UnaryCallSettings.Builder
+        batchDeleteEntitiesSettings() {
+      return batchDeleteEntitiesSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteEntities. */
+    @BetaApi(
+        "The surface for use by generated code is not stable yet and may change in the future.")
+    public OperationCallSettings.Builder
+        batchDeleteEntitiesOperationSettings() {
+      return batchDeleteEntitiesOperationSettings;
+    }
+
     /** Returns the builder for the settings used for calls to listEntityTypes. */
     public PagedCallSettings.Builder<
             ListEntityTypesRequest, ListEntityTypesResponse, ListEntityTypesPagedResponse>
@@ -756,11 +789,6 @@ public UnaryCallSettings.Builder getEntityType
       return updateEntityTypeSettings;
     }
 
-    /** Returns the builder for the settings used for calls to deleteEntityType. */
-    public UnaryCallSettings.Builder deleteEntityTypeSettings() {
-      return deleteEntityTypeSettings;
-    }
-
     /** Returns the builder for the settings used for calls to batchUpdateEntityTypes. */
     public UnaryCallSettings.Builder
         batchUpdateEntityTypesSettings() {
@@ -776,20 +804,6 @@ public UnaryCallSettings.Builder deleteEntityTyp
       return batchUpdateEntityTypesOperationSettings;
     }
 
-    /** Returns the builder for the settings used for calls to batchDeleteEntityTypes. */
-    public UnaryCallSettings.Builder
-        batchDeleteEntityTypesSettings() {
-      return batchDeleteEntityTypesSettings;
-    }
-
-    /** Returns the builder for the settings used for calls to batchDeleteEntityTypes. */
-    @BetaApi(
-        "The surface for use by generated code is not stable yet and may change in the future.")
-    public OperationCallSettings.Builder
-        batchDeleteEntityTypesOperationSettings() {
-      return batchDeleteEntityTypesOperationSettings;
-    }
-
     /** Returns the builder for the settings used for calls to batchCreateEntities. */
     public UnaryCallSettings.Builder
         batchCreateEntitiesSettings() {
@@ -818,20 +832,6 @@ public UnaryCallSettings.Builder deleteEntityTyp
       return batchUpdateEntitiesOperationSettings;
     }
 
-    /** Returns the builder for the settings used for calls to batchDeleteEntities. */
-    public UnaryCallSettings.Builder
-        batchDeleteEntitiesSettings() {
-      return batchDeleteEntitiesSettings;
-    }
-
-    /** Returns the builder for the settings used for calls to batchDeleteEntities. */
-    @BetaApi(
-        "The surface for use by generated code is not stable yet and may change in the future.")
-    public OperationCallSettings.Builder
-        batchDeleteEntitiesOperationSettings() {
-      return batchDeleteEntitiesOperationSettings;
-    }
-
     @Override
     public EntityTypesStubSettings build() throws IOException {
       return new EntityTypesStubSettings(this);
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStub.java
new file mode 100644
index 000000000..35641d077
--- /dev/null
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStub.java
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     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.
+ */
+package com.google.cloud.dialogflow.v2.stub;
+
+import static com.google.cloud.dialogflow.v2.EnvironmentsClient.ListEnvironmentsPagedResponse;
+
+import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.dialogflow.v2.ListEnvironmentsRequest;
+import com.google.cloud.dialogflow.v2.ListEnvironmentsResponse;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * Base stub class for Dialogflow API.
+ *
+ * 

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public abstract class EnvironmentsStub implements BackgroundResource { + + public UnaryCallable + listEnvironmentsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listEnvironmentsPagedCallable()"); + } + + public UnaryCallable + listEnvironmentsCallable() { + throw new UnsupportedOperationException("Not implemented: listEnvironmentsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStubSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStubSettings.java new file mode 100644 index 000000000..c7c542a94 --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EnvironmentsStubSettings.java @@ -0,0 +1,350 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2.stub; + +import static com.google.cloud.dialogflow.v2.EnvironmentsClient.ListEnvironmentsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.v2.Environment; +import com.google.cloud.dialogflow.v2.ListEnvironmentsRequest; +import com.google.cloud.dialogflow.v2.ListEnvironmentsResponse; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * Settings class to configure an instance of {@link EnvironmentsStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (dialogflow.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of listEnvironmentsPagedCallable to 30 seconds: + * + *

+ * 
+ * EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
+ *     EnvironmentsStubSettings.newBuilder();
+ * environmentsSettingsBuilder
+ *     .listEnvironmentsSettings()
+ *     .setRetrySettings(
+ *         environmentsSettingsBuilder.listEnvironmentsSettings().getRetrySettings().toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build();
+ * 
+ * 
+ */ +@Generated("by gapic-generator") +@BetaApi +public class EnvironmentsStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/dialogflow") + .build(); + + private final PagedCallSettings< + ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse> + listEnvironmentsSettings; + + /** Returns the object with the settings used for calls to listEnvironments. */ + public PagedCallSettings< + ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse> + listEnvironmentsSettings() { + return listEnvironmentsSettings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public EnvironmentsStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcEnvironmentsStub.create(this); + } else { + throw new UnsupportedOperationException( + "Transport not supported: " + getTransportChannelProvider().getTransportName()); + } + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "dialogflow.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(EnvironmentsStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected EnvironmentsStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + listEnvironmentsSettings = settingsBuilder.listEnvironmentsSettings().build(); + } + + private static final PagedListDescriptor< + ListEnvironmentsRequest, ListEnvironmentsResponse, Environment> + LIST_ENVIRONMENTS_PAGE_STR_DESC = + new PagedListDescriptor< + ListEnvironmentsRequest, ListEnvironmentsResponse, Environment>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListEnvironmentsRequest injectToken( + ListEnvironmentsRequest payload, String token) { + return ListEnvironmentsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListEnvironmentsRequest injectPageSize( + ListEnvironmentsRequest payload, int pageSize) { + return ListEnvironmentsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListEnvironmentsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListEnvironmentsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListEnvironmentsResponse payload) { + return payload.getEnvironmentsList() != null + ? payload.getEnvironmentsList() + : ImmutableList.of(); + } + }; + + private static final PagedListResponseFactory< + ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse> + LIST_ENVIRONMENTS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListEnvironmentsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create( + callable, LIST_ENVIRONMENTS_PAGE_STR_DESC, request, context); + return ListEnvironmentsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Builder for EnvironmentsStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + + private final PagedCallSettings.Builder< + ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse> + listEnvironmentsSettings; + + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "idempotent", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(20000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(20000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("default", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this((ClientContext) null); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + listEnvironmentsSettings = PagedCallSettings.newBuilder(LIST_ENVIRONMENTS_PAGE_STR_FACT); + + unaryMethodSettingsBuilders = + ImmutableList.>of(listEnvironmentsSettings); + + initDefaults(this); + } + + private static Builder createDefault() { + Builder builder = new Builder((ClientContext) null); + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + + builder + .listEnvironmentsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + return builder; + } + + protected Builder(EnvironmentsStubSettings settings) { + super(settings); + + listEnvironmentsSettings = settings.listEnvironmentsSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of(listEnvironmentsSettings); + } + + // NEXT_MAJOR_VER: remove 'throws Exception' + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) throws Exception { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to listEnvironments. */ + public PagedCallSettings.Builder< + ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse> + listEnvironmentsSettings() { + return listEnvironmentsSettings; + } + + @Override + public EnvironmentsStubSettings build() throws IOException { + return new EnvironmentsStubSettings(this); + } + } +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsStub.java index 898dda90d..fe60f5839 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsStub.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsStub.java @@ -75,13 +75,6 @@ public class GrpcAgentsStub extends AgentsStub { .setRequestMarshaller(ProtoUtils.marshaller(DeleteAgentRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) .build(); - private static final MethodDescriptor getAgentMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.cloud.dialogflow.v2.Agents/GetAgent") - .setRequestMarshaller(ProtoUtils.marshaller(GetAgentRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Agent.getDefaultInstance())) - .build(); private static final MethodDescriptor searchAgentsMethodDescriptor = MethodDescriptor.newBuilder() @@ -105,13 +98,6 @@ public class GrpcAgentsStub extends AgentsStub { .setRequestMarshaller(ProtoUtils.marshaller(ExportAgentRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); - private static final MethodDescriptor importAgentMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.cloud.dialogflow.v2.Agents/ImportAgent") - .setRequestMarshaller(ProtoUtils.marshaller(ImportAgentRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); private static final MethodDescriptor restoreAgentMethodDescriptor = MethodDescriptor.newBuilder() @@ -120,6 +106,20 @@ public class GrpcAgentsStub extends AgentsStub { .setRequestMarshaller(ProtoUtils.marshaller(RestoreAgentRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor getAgentMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.Agents/GetAgent") + .setRequestMarshaller(ProtoUtils.marshaller(GetAgentRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Agent.getDefaultInstance())) + .build(); + private static final MethodDescriptor importAgentMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.Agents/ImportAgent") + .setRequestMarshaller(ProtoUtils.marshaller(ImportAgentRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); private static final MethodDescriptor getValidationResultMethodDescriptor = MethodDescriptor.newBuilder() @@ -135,7 +135,6 @@ public class GrpcAgentsStub extends AgentsStub { private final UnaryCallable setAgentCallable; private final UnaryCallable deleteAgentCallable; - private final UnaryCallable getAgentCallable; private final UnaryCallable searchAgentsCallable; private final UnaryCallable searchAgentsPagedCallable; @@ -144,10 +143,11 @@ public class GrpcAgentsStub extends AgentsStub { private final UnaryCallable exportAgentCallable; private final OperationCallable exportAgentOperationCallable; - private final UnaryCallable importAgentCallable; - private final OperationCallable importAgentOperationCallable; private final UnaryCallable restoreAgentCallable; private final OperationCallable restoreAgentOperationCallable; + private final UnaryCallable getAgentCallable; + private final UnaryCallable importAgentCallable; + private final OperationCallable importAgentOperationCallable; private final UnaryCallable getValidationResultCallable; @@ -214,19 +214,6 @@ public Map extract(DeleteAgentRequest request) { } }) .build(); - GrpcCallSettings getAgentTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getAgentMethodDescriptor) - .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetAgentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } - }) - .build(); GrpcCallSettings searchAgentsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(searchAgentsMethodDescriptor) @@ -266,26 +253,39 @@ public Map extract(ExportAgentRequest request) { } }) .build(); - GrpcCallSettings importAgentTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(importAgentMethodDescriptor) + GrpcCallSettings restoreAgentTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(restoreAgentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { + new RequestParamsExtractor() { @Override - public Map extract(ImportAgentRequest request) { + public Map extract(RestoreAgentRequest request) { ImmutableMap.Builder params = ImmutableMap.builder(); params.put("parent", String.valueOf(request.getParent())); return params.build(); } }) .build(); - GrpcCallSettings restoreAgentTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(restoreAgentMethodDescriptor) + GrpcCallSettings getAgentTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getAgentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { + new RequestParamsExtractor() { @Override - public Map extract(RestoreAgentRequest request) { + public Map extract(GetAgentRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + } + }) + .build(); + GrpcCallSettings importAgentTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(importAgentMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(ImportAgentRequest request) { ImmutableMap.Builder params = ImmutableMap.builder(); params.put("parent", String.valueOf(request.getParent())); return params.build(); @@ -313,9 +313,6 @@ public Map extract(GetValidationResultRequest request) { this.deleteAgentCallable = callableFactory.createUnaryCallable( deleteAgentTransportSettings, settings.deleteAgentSettings(), clientContext); - this.getAgentCallable = - callableFactory.createUnaryCallable( - getAgentTransportSettings, settings.getAgentSettings(), clientContext); this.searchAgentsCallable = callableFactory.createUnaryCallable( searchAgentsTransportSettings, settings.searchAgentsSettings(), clientContext); @@ -340,15 +337,6 @@ public Map extract(GetValidationResultRequest request) { settings.exportAgentOperationSettings(), clientContext, this.operationsStub); - this.importAgentCallable = - callableFactory.createUnaryCallable( - importAgentTransportSettings, settings.importAgentSettings(), clientContext); - this.importAgentOperationCallable = - callableFactory.createOperationCallable( - importAgentTransportSettings, - settings.importAgentOperationSettings(), - clientContext, - this.operationsStub); this.restoreAgentCallable = callableFactory.createUnaryCallable( restoreAgentTransportSettings, settings.restoreAgentSettings(), clientContext); @@ -358,6 +346,18 @@ public Map extract(GetValidationResultRequest request) { settings.restoreAgentOperationSettings(), clientContext, this.operationsStub); + this.getAgentCallable = + callableFactory.createUnaryCallable( + getAgentTransportSettings, settings.getAgentSettings(), clientContext); + this.importAgentCallable = + callableFactory.createUnaryCallable( + importAgentTransportSettings, settings.importAgentSettings(), clientContext); + this.importAgentOperationCallable = + callableFactory.createOperationCallable( + importAgentTransportSettings, + settings.importAgentOperationSettings(), + clientContext, + this.operationsStub); this.getValidationResultCallable = callableFactory.createUnaryCallable( getValidationResultTransportSettings, @@ -380,10 +380,6 @@ public UnaryCallable deleteAgentCallable() { return deleteAgentCallable; } - public UnaryCallable getAgentCallable() { - return getAgentCallable; - } - public UnaryCallable searchAgentsPagedCallable() { return searchAgentsPagedCallable; } @@ -412,21 +408,25 @@ public UnaryCallable exportAgentCallable() { } @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public OperationCallable importAgentOperationCallable() { - return importAgentOperationCallable; + public OperationCallable restoreAgentOperationCallable() { + return restoreAgentOperationCallable; } - public UnaryCallable importAgentCallable() { - return importAgentCallable; + public UnaryCallable restoreAgentCallable() { + return restoreAgentCallable; + } + + public UnaryCallable getAgentCallable() { + return getAgentCallable; } @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public OperationCallable restoreAgentOperationCallable() { - return restoreAgentOperationCallable; + public OperationCallable importAgentOperationCallable() { + return importAgentOperationCallable; } - public UnaryCallable restoreAgentCallable() { - return restoreAgentCallable; + public UnaryCallable importAgentCallable() { + return importAgentCallable; } public UnaryCallable getValidationResultCallable() { diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsStub.java index adc258273..40f43495d 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsStub.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsStub.java @@ -52,6 +52,22 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public class GrpcContextsStub extends ContextsStub { + private static final MethodDescriptor deleteContextMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.Contexts/DeleteContext") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteContextRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + private static final MethodDescriptor + deleteAllContextsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.Contexts/DeleteAllContexts") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteAllContextsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); private static final MethodDescriptor listContextsMethodDescriptor = MethodDescriptor.newBuilder() @@ -86,33 +102,17 @@ public class GrpcContextsStub extends ContextsStub { ProtoUtils.marshaller(UpdateContextRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Context.getDefaultInstance())) .build(); - private static final MethodDescriptor deleteContextMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.cloud.dialogflow.v2.Contexts/DeleteContext") - .setRequestMarshaller(ProtoUtils.marshaller(DeleteContextRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); - private static final MethodDescriptor - deleteAllContextsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.cloud.dialogflow.v2.Contexts/DeleteAllContexts") - .setRequestMarshaller( - ProtoUtils.marshaller(DeleteAllContextsRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); private final BackgroundResource backgroundResources; + private final UnaryCallable deleteContextCallable; + private final UnaryCallable deleteAllContextsCallable; private final UnaryCallable listContextsCallable; private final UnaryCallable listContextsPagedCallable; private final UnaryCallable getContextCallable; private final UnaryCallable createContextCallable; private final UnaryCallable updateContextCallable; - private final UnaryCallable deleteContextCallable; - private final UnaryCallable deleteAllContextsCallable; private final GrpcStubCallableFactory callableFactory; @@ -150,6 +150,32 @@ protected GrpcContextsStub( throws IOException { this.callableFactory = callableFactory; + GrpcCallSettings deleteContextTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteContextMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(DeleteContextRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + } + }) + .build(); + GrpcCallSettings deleteAllContextsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteAllContextsMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(DeleteAllContextsRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + } + }) + .build(); GrpcCallSettings listContextsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listContextsMethodDescriptor) @@ -202,33 +228,15 @@ public Map extract(UpdateContextRequest request) { } }) .build(); - GrpcCallSettings deleteContextTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteContextMethodDescriptor) - .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteContextRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } - }) - .build(); - GrpcCallSettings deleteAllContextsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteAllContextsMethodDescriptor) - .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteAllContextsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } - }) - .build(); + this.deleteContextCallable = + callableFactory.createUnaryCallable( + deleteContextTransportSettings, settings.deleteContextSettings(), clientContext); + this.deleteAllContextsCallable = + callableFactory.createUnaryCallable( + deleteAllContextsTransportSettings, + settings.deleteAllContextsSettings(), + clientContext); this.listContextsCallable = callableFactory.createUnaryCallable( listContextsTransportSettings, settings.listContextsSettings(), clientContext); @@ -244,18 +252,18 @@ public Map extract(DeleteAllContextsRequest request) { this.updateContextCallable = callableFactory.createUnaryCallable( updateContextTransportSettings, settings.updateContextSettings(), clientContext); - this.deleteContextCallable = - callableFactory.createUnaryCallable( - deleteContextTransportSettings, settings.deleteContextSettings(), clientContext); - this.deleteAllContextsCallable = - callableFactory.createUnaryCallable( - deleteAllContextsTransportSettings, - settings.deleteAllContextsSettings(), - clientContext); backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); } + public UnaryCallable deleteContextCallable() { + return deleteContextCallable; + } + + public UnaryCallable deleteAllContextsCallable() { + return deleteAllContextsCallable; + } + public UnaryCallable listContextsPagedCallable() { return listContextsPagedCallable; } @@ -276,14 +284,6 @@ public UnaryCallable updateContextCallable() { return updateContextCallable; } - public UnaryCallable deleteContextCallable() { - return deleteContextCallable; - } - - public UnaryCallable deleteAllContextsCallable() { - return deleteAllContextsCallable; - } - @Override public final void close() { shutdown(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesStub.java index a3dd7fbb9..d5fa542f0 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesStub.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesStub.java @@ -61,6 +61,33 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public class GrpcEntityTypesStub extends EntityTypesStub { + private static final MethodDescriptor + deleteEntityTypeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.EntityTypes/DeleteEntityType") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteEntityTypeRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + private static final MethodDescriptor + batchDeleteEntityTypesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntityTypes") + .setRequestMarshaller( + ProtoUtils.marshaller(BatchDeleteEntityTypesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private static final MethodDescriptor + batchDeleteEntitiesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntities") + .setRequestMarshaller( + ProtoUtils.marshaller(BatchDeleteEntitiesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); private static final MethodDescriptor listEntityTypesMethodDescriptor = MethodDescriptor.newBuilder() @@ -98,15 +125,6 @@ public class GrpcEntityTypesStub extends EntityTypesStub { ProtoUtils.marshaller(UpdateEntityTypeRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(EntityType.getDefaultInstance())) .build(); - private static final MethodDescriptor - deleteEntityTypeMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.cloud.dialogflow.v2.EntityTypes/DeleteEntityType") - .setRequestMarshaller( - ProtoUtils.marshaller(DeleteEntityTypeRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); private static final MethodDescriptor batchUpdateEntityTypesMethodDescriptor = MethodDescriptor.newBuilder() @@ -116,15 +134,6 @@ public class GrpcEntityTypesStub extends EntityTypesStub { ProtoUtils.marshaller(BatchUpdateEntityTypesRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); - private static final MethodDescriptor - batchDeleteEntityTypesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntityTypes") - .setRequestMarshaller( - ProtoUtils.marshaller(BatchDeleteEntityTypesRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); private static final MethodDescriptor batchCreateEntitiesMethodDescriptor = MethodDescriptor.newBuilder() @@ -143,19 +152,18 @@ public class GrpcEntityTypesStub extends EntityTypesStub { ProtoUtils.marshaller(BatchUpdateEntitiesRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); - private static final MethodDescriptor - batchDeleteEntitiesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntities") - .setRequestMarshaller( - ProtoUtils.marshaller(BatchDeleteEntitiesRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; + private final UnaryCallable deleteEntityTypeCallable; + private final UnaryCallable + batchDeleteEntityTypesCallable; + private final OperationCallable + batchDeleteEntityTypesOperationCallable; + private final UnaryCallable batchDeleteEntitiesCallable; + private final OperationCallable + batchDeleteEntitiesOperationCallable; private final UnaryCallable listEntityTypesCallable; private final UnaryCallable @@ -163,25 +171,17 @@ public class GrpcEntityTypesStub extends EntityTypesStub { private final UnaryCallable getEntityTypeCallable; private final UnaryCallable createEntityTypeCallable; private final UnaryCallable updateEntityTypeCallable; - private final UnaryCallable deleteEntityTypeCallable; private final UnaryCallable batchUpdateEntityTypesCallable; private final OperationCallable< BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, Struct> batchUpdateEntityTypesOperationCallable; - private final UnaryCallable - batchDeleteEntityTypesCallable; - private final OperationCallable - batchDeleteEntityTypesOperationCallable; private final UnaryCallable batchCreateEntitiesCallable; private final OperationCallable batchCreateEntitiesOperationCallable; private final UnaryCallable batchUpdateEntitiesCallable; private final OperationCallable batchUpdateEntitiesOperationCallable; - private final UnaryCallable batchDeleteEntitiesCallable; - private final OperationCallable - batchDeleteEntitiesOperationCallable; private final GrpcStubCallableFactory callableFactory; @@ -223,6 +223,46 @@ protected GrpcEntityTypesStub( this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + GrpcCallSettings deleteEntityTypeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteEntityTypeMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(DeleteEntityTypeRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + } + }) + .build(); + GrpcCallSettings + batchDeleteEntityTypesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(batchDeleteEntityTypesMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(BatchDeleteEntityTypesRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + } + }) + .build(); + GrpcCallSettings batchDeleteEntitiesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(batchDeleteEntitiesMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(BatchDeleteEntitiesRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + } + }) + .build(); GrpcCallSettings listEntityTypesTransportSettings = GrpcCallSettings.newBuilder() @@ -277,19 +317,6 @@ public Map extract(UpdateEntityTypeRequest request) { } }) .build(); - GrpcCallSettings deleteEntityTypeTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteEntityTypeMethodDescriptor) - .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteEntityTypeRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } - }) - .build(); GrpcCallSettings batchUpdateEntityTypesTransportSettings = GrpcCallSettings.newBuilder() @@ -304,20 +331,6 @@ public Map extract(BatchUpdateEntityTypesRequest request) { } }) .build(); - GrpcCallSettings - batchDeleteEntityTypesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(batchDeleteEntityTypesMethodDescriptor) - .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(BatchDeleteEntityTypesRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } - }) - .build(); GrpcCallSettings batchCreateEntitiesTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(batchCreateEntitiesMethodDescriptor) @@ -344,20 +357,32 @@ public Map extract(BatchUpdateEntitiesRequest request) { } }) .build(); - GrpcCallSettings batchDeleteEntitiesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(batchDeleteEntitiesMethodDescriptor) - .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(BatchDeleteEntitiesRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } - }) - .build(); + this.deleteEntityTypeCallable = + callableFactory.createUnaryCallable( + deleteEntityTypeTransportSettings, settings.deleteEntityTypeSettings(), clientContext); + this.batchDeleteEntityTypesCallable = + callableFactory.createUnaryCallable( + batchDeleteEntityTypesTransportSettings, + settings.batchDeleteEntityTypesSettings(), + clientContext); + this.batchDeleteEntityTypesOperationCallable = + callableFactory.createOperationCallable( + batchDeleteEntityTypesTransportSettings, + settings.batchDeleteEntityTypesOperationSettings(), + clientContext, + this.operationsStub); + this.batchDeleteEntitiesCallable = + callableFactory.createUnaryCallable( + batchDeleteEntitiesTransportSettings, + settings.batchDeleteEntitiesSettings(), + clientContext); + this.batchDeleteEntitiesOperationCallable = + callableFactory.createOperationCallable( + batchDeleteEntitiesTransportSettings, + settings.batchDeleteEntitiesOperationSettings(), + clientContext, + this.operationsStub); this.listEntityTypesCallable = callableFactory.createUnaryCallable( listEntityTypesTransportSettings, settings.listEntityTypesSettings(), clientContext); @@ -373,9 +398,6 @@ public Map extract(BatchDeleteEntitiesRequest request) { this.updateEntityTypeCallable = callableFactory.createUnaryCallable( updateEntityTypeTransportSettings, settings.updateEntityTypeSettings(), clientContext); - this.deleteEntityTypeCallable = - callableFactory.createUnaryCallable( - deleteEntityTypeTransportSettings, settings.deleteEntityTypeSettings(), clientContext); this.batchUpdateEntityTypesCallable = callableFactory.createUnaryCallable( batchUpdateEntityTypesTransportSettings, @@ -387,17 +409,6 @@ public Map extract(BatchDeleteEntitiesRequest request) { settings.batchUpdateEntityTypesOperationSettings(), clientContext, this.operationsStub); - this.batchDeleteEntityTypesCallable = - callableFactory.createUnaryCallable( - batchDeleteEntityTypesTransportSettings, - settings.batchDeleteEntityTypesSettings(), - clientContext); - this.batchDeleteEntityTypesOperationCallable = - callableFactory.createOperationCallable( - batchDeleteEntityTypesTransportSettings, - settings.batchDeleteEntityTypesOperationSettings(), - clientContext, - this.operationsStub); this.batchCreateEntitiesCallable = callableFactory.createUnaryCallable( batchCreateEntitiesTransportSettings, @@ -420,17 +431,6 @@ public Map extract(BatchDeleteEntitiesRequest request) { settings.batchUpdateEntitiesOperationSettings(), clientContext, this.operationsStub); - this.batchDeleteEntitiesCallable = - callableFactory.createUnaryCallable( - batchDeleteEntitiesTransportSettings, - settings.batchDeleteEntitiesSettings(), - clientContext); - this.batchDeleteEntitiesOperationCallable = - callableFactory.createOperationCallable( - batchDeleteEntitiesTransportSettings, - settings.batchDeleteEntitiesOperationSettings(), - clientContext, - this.operationsStub); backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); } @@ -440,6 +440,30 @@ public GrpcOperationsStub getOperationsStub() { return operationsStub; } + public UnaryCallable deleteEntityTypeCallable() { + return deleteEntityTypeCallable; + } + + @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallable + batchDeleteEntityTypesOperationCallable() { + return batchDeleteEntityTypesOperationCallable; + } + + public UnaryCallable batchDeleteEntityTypesCallable() { + return batchDeleteEntityTypesCallable; + } + + @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallable + batchDeleteEntitiesOperationCallable() { + return batchDeleteEntitiesOperationCallable; + } + + public UnaryCallable batchDeleteEntitiesCallable() { + return batchDeleteEntitiesCallable; + } + public UnaryCallable listEntityTypesPagedCallable() { return listEntityTypesPagedCallable; @@ -461,10 +485,6 @@ public UnaryCallable updateEntityTypeCallab return updateEntityTypeCallable; } - public UnaryCallable deleteEntityTypeCallable() { - return deleteEntityTypeCallable; - } - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable batchUpdateEntityTypesOperationCallable() { @@ -475,16 +495,6 @@ public UnaryCallable batchUpdateEntity return batchUpdateEntityTypesCallable; } - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public OperationCallable - batchDeleteEntityTypesOperationCallable() { - return batchDeleteEntityTypesOperationCallable; - } - - public UnaryCallable batchDeleteEntityTypesCallable() { - return batchDeleteEntityTypesCallable; - } - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable batchCreateEntitiesOperationCallable() { @@ -505,16 +515,6 @@ public UnaryCallable batchUpdateEntitiesC return batchUpdateEntitiesCallable; } - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public OperationCallable - batchDeleteEntitiesOperationCallable() { - return batchDeleteEntitiesOperationCallable; - } - - public UnaryCallable batchDeleteEntitiesCallable() { - return batchDeleteEntitiesCallable; - } - @Override public final void close() { shutdown(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEnvironmentsCallableFactory.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEnvironmentsCallableFactory.java new file mode 100644 index 000000000..d8149066e --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEnvironmentsCallableFactory.java @@ -0,0 +1,115 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * gRPC callable factory implementation for Dialogflow API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator") +@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") +public class GrpcEnvironmentsCallableFactory implements GrpcStubCallableFactory { + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings pagedCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable( + grpcCallSettings, pagedCallSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings batchingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, batchingCallSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings operationCallSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, operationCallSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings streamingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, streamingCallSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings streamingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, streamingCallSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings streamingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, streamingCallSettings, clientContext); + } +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEnvironmentsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEnvironmentsStub.java new file mode 100644 index 000000000..d02f0a5ad --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEnvironmentsStub.java @@ -0,0 +1,169 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2.stub; + +import static com.google.cloud.dialogflow.v2.EnvironmentsClient.ListEnvironmentsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsExtractor; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.v2.ListEnvironmentsRequest; +import com.google.cloud.dialogflow.v2.ListEnvironmentsResponse; +import com.google.common.collect.ImmutableMap; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * gRPC stub implementation for Dialogflow API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public class GrpcEnvironmentsStub extends EnvironmentsStub { + + private static final MethodDescriptor + listEnvironmentsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.Environments/ListEnvironments") + .setRequestMarshaller( + ProtoUtils.marshaller(ListEnvironmentsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListEnvironmentsResponse.getDefaultInstance())) + .build(); + + private final BackgroundResource backgroundResources; + + private final UnaryCallable + listEnvironmentsCallable; + private final UnaryCallable + listEnvironmentsPagedCallable; + + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcEnvironmentsStub create(EnvironmentsStubSettings settings) + throws IOException { + return new GrpcEnvironmentsStub(settings, ClientContext.create(settings)); + } + + public static final GrpcEnvironmentsStub create(ClientContext clientContext) throws IOException { + return new GrpcEnvironmentsStub(EnvironmentsStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcEnvironmentsStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcEnvironmentsStub( + EnvironmentsStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcEnvironmentsStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcEnvironmentsCallableFactory()); + } + + /** + * Constructs an instance of GrpcEnvironmentsStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcEnvironmentsStub( + EnvironmentsStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + GrpcCallSettings + listEnvironmentsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listEnvironmentsMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(ListEnvironmentsRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + } + }) + .build(); + + this.listEnvironmentsCallable = + callableFactory.createUnaryCallable( + listEnvironmentsTransportSettings, settings.listEnvironmentsSettings(), clientContext); + this.listEnvironmentsPagedCallable = + callableFactory.createPagedCallable( + listEnvironmentsTransportSettings, settings.listEnvironmentsSettings(), clientContext); + + backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public UnaryCallable + listEnvironmentsPagedCallable() { + return listEnvironmentsPagedCallable; + } + + public UnaryCallable + listEnvironmentsCallable() { + return listEnvironmentsCallable; + } + + @Override + public final void close() { + shutdown(); + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsStub.java index bc9ef4f93..c26d5b87e 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsStub.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsStub.java @@ -58,6 +58,22 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public class GrpcIntentsStub extends IntentsStub { + private static final MethodDescriptor deleteIntentMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.Intents/DeleteIntent") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteIntentRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + private static final MethodDescriptor + batchDeleteIntentsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2.Intents/BatchDeleteIntents") + .setRequestMarshaller( + ProtoUtils.marshaller(BatchDeleteIntentsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); private static final MethodDescriptor listIntentsMethodDescriptor = MethodDescriptor.newBuilder() @@ -88,13 +104,6 @@ public class GrpcIntentsStub extends IntentsStub { .setRequestMarshaller(ProtoUtils.marshaller(UpdateIntentRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Intent.getDefaultInstance())) .build(); - private static final MethodDescriptor deleteIntentMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.cloud.dialogflow.v2.Intents/DeleteIntent") - .setRequestMarshaller(ProtoUtils.marshaller(DeleteIntentRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); private static final MethodDescriptor batchUpdateIntentsMethodDescriptor = MethodDescriptor.newBuilder() @@ -104,32 +113,23 @@ public class GrpcIntentsStub extends IntentsStub { ProtoUtils.marshaller(BatchUpdateIntentsRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); - private static final MethodDescriptor - batchDeleteIntentsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.cloud.dialogflow.v2.Intents/BatchDeleteIntents") - .setRequestMarshaller( - ProtoUtils.marshaller(BatchDeleteIntentsRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; + private final UnaryCallable deleteIntentCallable; + private final UnaryCallable batchDeleteIntentsCallable; + private final OperationCallable + batchDeleteIntentsOperationCallable; private final UnaryCallable listIntentsCallable; private final UnaryCallable listIntentsPagedCallable; private final UnaryCallable getIntentCallable; private final UnaryCallable createIntentCallable; private final UnaryCallable updateIntentCallable; - private final UnaryCallable deleteIntentCallable; private final UnaryCallable batchUpdateIntentsCallable; private final OperationCallable batchUpdateIntentsOperationCallable; - private final UnaryCallable batchDeleteIntentsCallable; - private final OperationCallable - batchDeleteIntentsOperationCallable; private final GrpcStubCallableFactory callableFactory; @@ -168,6 +168,32 @@ protected GrpcIntentsStub( this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + GrpcCallSettings deleteIntentTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteIntentMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(DeleteIntentRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + } + }) + .build(); + GrpcCallSettings batchDeleteIntentsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(batchDeleteIntentsMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(BatchDeleteIntentsRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + } + }) + .build(); GrpcCallSettings listIntentsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listIntentsMethodDescriptor) @@ -220,19 +246,6 @@ public Map extract(UpdateIntentRequest request) { } }) .build(); - GrpcCallSettings deleteIntentTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteIntentMethodDescriptor) - .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteIntentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } - }) - .build(); GrpcCallSettings batchUpdateIntentsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(batchUpdateIntentsMethodDescriptor) @@ -246,20 +259,21 @@ public Map extract(BatchUpdateIntentsRequest request) { } }) .build(); - GrpcCallSettings batchDeleteIntentsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(batchDeleteIntentsMethodDescriptor) - .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(BatchDeleteIntentsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } - }) - .build(); + this.deleteIntentCallable = + callableFactory.createUnaryCallable( + deleteIntentTransportSettings, settings.deleteIntentSettings(), clientContext); + this.batchDeleteIntentsCallable = + callableFactory.createUnaryCallable( + batchDeleteIntentsTransportSettings, + settings.batchDeleteIntentsSettings(), + clientContext); + this.batchDeleteIntentsOperationCallable = + callableFactory.createOperationCallable( + batchDeleteIntentsTransportSettings, + settings.batchDeleteIntentsOperationSettings(), + clientContext, + this.operationsStub); this.listIntentsCallable = callableFactory.createUnaryCallable( listIntentsTransportSettings, settings.listIntentsSettings(), clientContext); @@ -275,9 +289,6 @@ public Map extract(BatchDeleteIntentsRequest request) { this.updateIntentCallable = callableFactory.createUnaryCallable( updateIntentTransportSettings, settings.updateIntentSettings(), clientContext); - this.deleteIntentCallable = - callableFactory.createUnaryCallable( - deleteIntentTransportSettings, settings.deleteIntentSettings(), clientContext); this.batchUpdateIntentsCallable = callableFactory.createUnaryCallable( batchUpdateIntentsTransportSettings, @@ -289,17 +300,6 @@ public Map extract(BatchDeleteIntentsRequest request) { settings.batchUpdateIntentsOperationSettings(), clientContext, this.operationsStub); - this.batchDeleteIntentsCallable = - callableFactory.createUnaryCallable( - batchDeleteIntentsTransportSettings, - settings.batchDeleteIntentsSettings(), - clientContext); - this.batchDeleteIntentsOperationCallable = - callableFactory.createOperationCallable( - batchDeleteIntentsTransportSettings, - settings.batchDeleteIntentsOperationSettings(), - clientContext, - this.operationsStub); backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); } @@ -309,6 +309,20 @@ public GrpcOperationsStub getOperationsStub() { return operationsStub; } + public UnaryCallable deleteIntentCallable() { + return deleteIntentCallable; + } + + @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallable + batchDeleteIntentsOperationCallable() { + return batchDeleteIntentsOperationCallable; + } + + public UnaryCallable batchDeleteIntentsCallable() { + return batchDeleteIntentsCallable; + } + public UnaryCallable listIntentsPagedCallable() { return listIntentsPagedCallable; } @@ -329,10 +343,6 @@ public UnaryCallable updateIntentCallable() { return updateIntentCallable; } - public UnaryCallable deleteIntentCallable() { - return deleteIntentCallable; - } - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable batchUpdateIntentsOperationCallable() { @@ -343,16 +353,6 @@ public UnaryCallable batchUpdateIntentsCal return batchUpdateIntentsCallable; } - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public OperationCallable - batchDeleteIntentsOperationCallable() { - return batchDeleteIntentsOperationCallable; - } - - public UnaryCallable batchDeleteIntentsCallable() { - return batchDeleteIntentsCallable; - } - @Override public final void close() { shutdown(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesStub.java index d2c5ba4df..114f808d4 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesStub.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesStub.java @@ -51,6 +51,16 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public class GrpcSessionEntityTypesStub extends SessionEntityTypesStub { + private static final MethodDescriptor + deleteSessionEntityTypeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.dialogflow.v2.SessionEntityTypes/DeleteSessionEntityType") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteSessionEntityTypeRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); private static final MethodDescriptor< ListSessionEntityTypesRequest, ListSessionEntityTypesResponse> listSessionEntityTypesMethodDescriptor = @@ -94,19 +104,11 @@ public class GrpcSessionEntityTypesStub extends SessionEntityTypesStub { ProtoUtils.marshaller(UpdateSessionEntityTypeRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(SessionEntityType.getDefaultInstance())) .build(); - private static final MethodDescriptor - deleteSessionEntityTypeMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.cloud.dialogflow.v2.SessionEntityTypes/DeleteSessionEntityType") - .setRequestMarshaller( - ProtoUtils.marshaller(DeleteSessionEntityTypeRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); private final BackgroundResource backgroundResources; + private final UnaryCallable + deleteSessionEntityTypeCallable; private final UnaryCallable listSessionEntityTypesCallable; private final UnaryCallable @@ -117,8 +119,6 @@ public class GrpcSessionEntityTypesStub extends SessionEntityTypesStub { createSessionEntityTypeCallable; private final UnaryCallable updateSessionEntityTypeCallable; - private final UnaryCallable - deleteSessionEntityTypeCallable; private final GrpcStubCallableFactory callableFactory; @@ -161,6 +161,20 @@ protected GrpcSessionEntityTypesStub( throws IOException { this.callableFactory = callableFactory; + GrpcCallSettings + deleteSessionEntityTypeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteSessionEntityTypeMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(DeleteSessionEntityTypeRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + } + }) + .build(); GrpcCallSettings listSessionEntityTypesTransportSettings = GrpcCallSettings @@ -220,21 +234,12 @@ public Map extract(UpdateSessionEntityTypeRequest request) { } }) .build(); - GrpcCallSettings - deleteSessionEntityTypeTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteSessionEntityTypeMethodDescriptor) - .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteSessionEntityTypeRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } - }) - .build(); + this.deleteSessionEntityTypeCallable = + callableFactory.createUnaryCallable( + deleteSessionEntityTypeTransportSettings, + settings.deleteSessionEntityTypeSettings(), + clientContext); this.listSessionEntityTypesCallable = callableFactory.createUnaryCallable( listSessionEntityTypesTransportSettings, @@ -260,15 +265,14 @@ public Map extract(DeleteSessionEntityTypeRequest request) { updateSessionEntityTypeTransportSettings, settings.updateSessionEntityTypeSettings(), clientContext); - this.deleteSessionEntityTypeCallable = - callableFactory.createUnaryCallable( - deleteSessionEntityTypeTransportSettings, - settings.deleteSessionEntityTypeSettings(), - clientContext); backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); } + public UnaryCallable deleteSessionEntityTypeCallable() { + return deleteSessionEntityTypeCallable; + } + public UnaryCallable listSessionEntityTypesPagedCallable() { return listSessionEntityTypesPagedCallable; @@ -294,10 +298,6 @@ public Map extract(DeleteSessionEntityTypeRequest request) { return updateSessionEntityTypeCallable; } - public UnaryCallable deleteSessionEntityTypeCallable() { - return deleteSessionEntityTypeCallable; - } - @Override public final void close() { shutdown(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStub.java index 5f6e416cb..9f82de9ec 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStub.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStub.java @@ -52,6 +52,21 @@ public OperationsStub getOperationsStub() { throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); } + public UnaryCallable deleteIntentCallable() { + throw new UnsupportedOperationException("Not implemented: deleteIntentCallable()"); + } + + @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallable + batchDeleteIntentsOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: batchDeleteIntentsOperationCallable()"); + } + + public UnaryCallable batchDeleteIntentsCallable() { + throw new UnsupportedOperationException("Not implemented: batchDeleteIntentsCallable()"); + } + public UnaryCallable listIntentsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listIntentsPagedCallable()"); } @@ -72,10 +87,6 @@ public UnaryCallable updateIntentCallable() { throw new UnsupportedOperationException("Not implemented: updateIntentCallable()"); } - public UnaryCallable deleteIntentCallable() { - throw new UnsupportedOperationException("Not implemented: deleteIntentCallable()"); - } - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable batchUpdateIntentsOperationCallable() { @@ -87,17 +98,6 @@ public UnaryCallable batchUpdateIntentsCal throw new UnsupportedOperationException("Not implemented: batchUpdateIntentsCallable()"); } - @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") - public OperationCallable - batchDeleteIntentsOperationCallable() { - throw new UnsupportedOperationException( - "Not implemented: batchDeleteIntentsOperationCallable()"); - } - - public UnaryCallable batchDeleteIntentsCallable() { - throw new UnsupportedOperationException("Not implemented: batchDeleteIntentsCallable()"); - } - @Override public abstract void close(); } diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java index 02eb72392..d857053a8 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java @@ -80,16 +80,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getIntent to 30 seconds: + *

For example, to set the total timeout of deleteIntent to 30 seconds: * *

  * 
  * IntentsStubSettings.Builder intentsSettingsBuilder =
  *     IntentsStubSettings.newBuilder();
  * intentsSettingsBuilder
- *     .getIntentSettings()
+ *     .deleteIntentSettings()
  *     .setRetrySettings(
- *         intentsSettingsBuilder.getIntentSettings().getRetrySettings().toBuilder()
+ *         intentsSettingsBuilder.deleteIntentSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IntentsStubSettings intentsSettings = intentsSettingsBuilder.build();
@@ -106,18 +106,35 @@ public class IntentsStubSettings extends StubSettings {
           .add("https://www.googleapis.com/auth/dialogflow")
           .build();
 
+  private final UnaryCallSettings deleteIntentSettings;
+  private final UnaryCallSettings batchDeleteIntentsSettings;
+  private final OperationCallSettings
+      batchDeleteIntentsOperationSettings;
   private final PagedCallSettings
       listIntentsSettings;
   private final UnaryCallSettings getIntentSettings;
   private final UnaryCallSettings createIntentSettings;
   private final UnaryCallSettings updateIntentSettings;
-  private final UnaryCallSettings deleteIntentSettings;
   private final UnaryCallSettings batchUpdateIntentsSettings;
   private final OperationCallSettings
       batchUpdateIntentsOperationSettings;
-  private final UnaryCallSettings batchDeleteIntentsSettings;
-  private final OperationCallSettings
-      batchDeleteIntentsOperationSettings;
+
+  /** Returns the object with the settings used for calls to deleteIntent. */
+  public UnaryCallSettings deleteIntentSettings() {
+    return deleteIntentSettings;
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteIntents. */
+  public UnaryCallSettings batchDeleteIntentsSettings() {
+    return batchDeleteIntentsSettings;
+  }
+
+  /** Returns the object with the settings used for calls to batchDeleteIntents. */
+  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
+  public OperationCallSettings
+      batchDeleteIntentsOperationSettings() {
+    return batchDeleteIntentsOperationSettings;
+  }
 
   /** Returns the object with the settings used for calls to listIntents. */
   public PagedCallSettings
@@ -140,11 +157,6 @@ public UnaryCallSettings updateIntentSettings() {
     return updateIntentSettings;
   }
 
-  /** Returns the object with the settings used for calls to deleteIntent. */
-  public UnaryCallSettings deleteIntentSettings() {
-    return deleteIntentSettings;
-  }
-
   /** Returns the object with the settings used for calls to batchUpdateIntents. */
   public UnaryCallSettings batchUpdateIntentsSettings() {
     return batchUpdateIntentsSettings;
@@ -157,18 +169,6 @@ public UnaryCallSettings batchUpdateIntent
     return batchUpdateIntentsOperationSettings;
   }
 
-  /** Returns the object with the settings used for calls to batchDeleteIntents. */
-  public UnaryCallSettings batchDeleteIntentsSettings() {
-    return batchDeleteIntentsSettings;
-  }
-
-  /** Returns the object with the settings used for calls to batchDeleteIntents. */
-  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-  public OperationCallSettings
-      batchDeleteIntentsOperationSettings() {
-    return batchDeleteIntentsOperationSettings;
-  }
-
   @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
   public IntentsStub createStub() throws IOException {
     if (getTransportChannelProvider()
@@ -237,17 +237,17 @@ public Builder toBuilder() {
   protected IntentsStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
+    deleteIntentSettings = settingsBuilder.deleteIntentSettings().build();
+    batchDeleteIntentsSettings = settingsBuilder.batchDeleteIntentsSettings().build();
+    batchDeleteIntentsOperationSettings =
+        settingsBuilder.batchDeleteIntentsOperationSettings().build();
     listIntentsSettings = settingsBuilder.listIntentsSettings().build();
     getIntentSettings = settingsBuilder.getIntentSettings().build();
     createIntentSettings = settingsBuilder.createIntentSettings().build();
     updateIntentSettings = settingsBuilder.updateIntentSettings().build();
-    deleteIntentSettings = settingsBuilder.deleteIntentSettings().build();
     batchUpdateIntentsSettings = settingsBuilder.batchUpdateIntentsSettings().build();
     batchUpdateIntentsOperationSettings =
         settingsBuilder.batchUpdateIntentsOperationSettings().build();
-    batchDeleteIntentsSettings = settingsBuilder.batchDeleteIntentsSettings().build();
-    batchDeleteIntentsOperationSettings =
-        settingsBuilder.batchDeleteIntentsOperationSettings().build();
   }
 
   private static final PagedListDescriptor
@@ -307,22 +307,22 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
+    private final UnaryCallSettings.Builder deleteIntentSettings;
+    private final UnaryCallSettings.Builder
+        batchDeleteIntentsSettings;
+    private final OperationCallSettings.Builder
+        batchDeleteIntentsOperationSettings;
     private final PagedCallSettings.Builder<
             ListIntentsRequest, ListIntentsResponse, ListIntentsPagedResponse>
         listIntentsSettings;
     private final UnaryCallSettings.Builder getIntentSettings;
     private final UnaryCallSettings.Builder createIntentSettings;
     private final UnaryCallSettings.Builder updateIntentSettings;
-    private final UnaryCallSettings.Builder deleteIntentSettings;
     private final UnaryCallSettings.Builder
         batchUpdateIntentsSettings;
     private final OperationCallSettings.Builder<
             BatchUpdateIntentsRequest, BatchUpdateIntentsResponse, Struct>
         batchUpdateIntentsOperationSettings;
-    private final UnaryCallSettings.Builder
-        batchDeleteIntentsSettings;
-    private final OperationCallSettings.Builder
-        batchDeleteIntentsOperationSettings;
 
     private static final ImmutableMap>
         RETRYABLE_CODE_DEFINITIONS;
@@ -365,6 +365,12 @@ protected Builder() {
     protected Builder(ClientContext clientContext) {
       super(clientContext);
 
+      deleteIntentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
+      batchDeleteIntentsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
+      batchDeleteIntentsOperationSettings = OperationCallSettings.newBuilder();
+
       listIntentsSettings = PagedCallSettings.newBuilder(LIST_INTENTS_PAGE_STR_FACT);
 
       getIntentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -373,25 +379,19 @@ protected Builder(ClientContext clientContext) {
 
       updateIntentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
-      deleteIntentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       batchUpdateIntentsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       batchUpdateIntentsOperationSettings = OperationCallSettings.newBuilder();
 
-      batchDeleteIntentsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
-      batchDeleteIntentsOperationSettings = OperationCallSettings.newBuilder();
-
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteIntentSettings,
+              batchDeleteIntentsSettings,
               listIntentsSettings,
               getIntentSettings,
               createIntentSettings,
               updateIntentSettings,
-              deleteIntentSettings,
-              batchUpdateIntentsSettings,
-              batchDeleteIntentsSettings);
+              batchUpdateIntentsSettings);
 
       initDefaults(this);
     }
@@ -407,6 +407,16 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
+      builder
+          .deleteIntentSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+
+      builder
+          .batchDeleteIntentsSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+
       builder
           .listIntentsSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
@@ -427,31 +437,20 @@ private static Builder initDefaults(Builder builder) {
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
-      builder
-          .deleteIntentSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .batchUpdateIntentsSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
-      builder
-          .batchDeleteIntentsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
       builder
-          .batchUpdateIntentsOperationSettings()
+          .batchDeleteIntentsOperationSettings()
           .setInitialCallSettings(
               UnaryCallSettings
-                  .newUnaryCallSettingsBuilder()
-                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
+                  .newUnaryCallSettingsBuilder()
+                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
                   .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
                   .build())
           .setResponseTransformer(
-              ProtoOperationTransformers.ResponseTransformer.create(
-                  BatchUpdateIntentsResponse.class))
+              ProtoOperationTransformers.ResponseTransformer.create(Empty.class))
           .setMetadataTransformer(
               ProtoOperationTransformers.MetadataTransformer.create(Struct.class))
           .setPollingAlgorithm(
@@ -466,15 +465,16 @@ private static Builder initDefaults(Builder builder) {
                       .setTotalTimeout(Duration.ofMillis(300000L))
                       .build()));
       builder
-          .batchDeleteIntentsOperationSettings()
+          .batchUpdateIntentsOperationSettings()
           .setInitialCallSettings(
               UnaryCallSettings
-                  .newUnaryCallSettingsBuilder()
-                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+                  .newUnaryCallSettingsBuilder()
+                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
                   .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
                   .build())
           .setResponseTransformer(
-              ProtoOperationTransformers.ResponseTransformer.create(Empty.class))
+              ProtoOperationTransformers.ResponseTransformer.create(
+                  BatchUpdateIntentsResponse.class))
           .setMetadataTransformer(
               ProtoOperationTransformers.MetadataTransformer.create(Struct.class))
           .setPollingAlgorithm(
@@ -495,27 +495,27 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(IntentsStubSettings settings) {
       super(settings);
 
+      deleteIntentSettings = settings.deleteIntentSettings.toBuilder();
+      batchDeleteIntentsSettings = settings.batchDeleteIntentsSettings.toBuilder();
+      batchDeleteIntentsOperationSettings =
+          settings.batchDeleteIntentsOperationSettings.toBuilder();
       listIntentsSettings = settings.listIntentsSettings.toBuilder();
       getIntentSettings = settings.getIntentSettings.toBuilder();
       createIntentSettings = settings.createIntentSettings.toBuilder();
       updateIntentSettings = settings.updateIntentSettings.toBuilder();
-      deleteIntentSettings = settings.deleteIntentSettings.toBuilder();
       batchUpdateIntentsSettings = settings.batchUpdateIntentsSettings.toBuilder();
       batchUpdateIntentsOperationSettings =
           settings.batchUpdateIntentsOperationSettings.toBuilder();
-      batchDeleteIntentsSettings = settings.batchDeleteIntentsSettings.toBuilder();
-      batchDeleteIntentsOperationSettings =
-          settings.batchDeleteIntentsOperationSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteIntentSettings,
+              batchDeleteIntentsSettings,
               listIntentsSettings,
               getIntentSettings,
               createIntentSettings,
               updateIntentSettings,
-              deleteIntentSettings,
-              batchUpdateIntentsSettings,
-              batchDeleteIntentsSettings);
+              batchUpdateIntentsSettings);
     }
 
     // NEXT_MAJOR_VER: remove 'throws Exception'
@@ -534,6 +534,25 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
+    /** Returns the builder for the settings used for calls to deleteIntent. */
+    public UnaryCallSettings.Builder deleteIntentSettings() {
+      return deleteIntentSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteIntents. */
+    public UnaryCallSettings.Builder
+        batchDeleteIntentsSettings() {
+      return batchDeleteIntentsSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to batchDeleteIntents. */
+    @BetaApi(
+        "The surface for use by generated code is not stable yet and may change in the future.")
+    public OperationCallSettings.Builder
+        batchDeleteIntentsOperationSettings() {
+      return batchDeleteIntentsOperationSettings;
+    }
+
     /** Returns the builder for the settings used for calls to listIntents. */
     public PagedCallSettings.Builder<
             ListIntentsRequest, ListIntentsResponse, ListIntentsPagedResponse>
@@ -556,11 +575,6 @@ public UnaryCallSettings.Builder updateIntentSettin
       return updateIntentSettings;
     }
 
-    /** Returns the builder for the settings used for calls to deleteIntent. */
-    public UnaryCallSettings.Builder deleteIntentSettings() {
-      return deleteIntentSettings;
-    }
-
     /** Returns the builder for the settings used for calls to batchUpdateIntents. */
     public UnaryCallSettings.Builder
         batchUpdateIntentsSettings() {
@@ -576,20 +590,6 @@ public UnaryCallSettings.Builder deleteIntentSetting
       return batchUpdateIntentsOperationSettings;
     }
 
-    /** Returns the builder for the settings used for calls to batchDeleteIntents. */
-    public UnaryCallSettings.Builder
-        batchDeleteIntentsSettings() {
-      return batchDeleteIntentsSettings;
-    }
-
-    /** Returns the builder for the settings used for calls to batchDeleteIntents. */
-    @BetaApi(
-        "The surface for use by generated code is not stable yet and may change in the future.")
-    public OperationCallSettings.Builder
-        batchDeleteIntentsOperationSettings() {
-      return batchDeleteIntentsOperationSettings;
-    }
-
     @Override
     public IntentsStubSettings build() throws IOException {
       return new IntentsStubSettings(this);
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStub.java
index 55aa7d926..f3a5ae955 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStub.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStub.java
@@ -40,6 +40,10 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public abstract class SessionEntityTypesStub implements BackgroundResource {
 
+  public UnaryCallable deleteSessionEntityTypeCallable() {
+    throw new UnsupportedOperationException("Not implemented: deleteSessionEntityTypeCallable()");
+  }
+
   public UnaryCallable
       listSessionEntityTypesPagedCallable() {
     throw new UnsupportedOperationException(
@@ -66,10 +70,6 @@ public abstract class SessionEntityTypesStub implements BackgroundResource {
     throw new UnsupportedOperationException("Not implemented: updateSessionEntityTypeCallable()");
   }
 
-  public UnaryCallable deleteSessionEntityTypeCallable() {
-    throw new UnsupportedOperationException("Not implemented: deleteSessionEntityTypeCallable()");
-  }
-
   @Override
   public abstract void close();
 }
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java
index cfa7ad384..0e9c6a5a2 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java
@@ -71,16 +71,16 @@
  * 

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getSessionEntityType to 30 seconds: + *

For example, to set the total timeout of deleteSessionEntityType to 30 seconds: * *

  * 
  * SessionEntityTypesStubSettings.Builder sessionEntityTypesSettingsBuilder =
  *     SessionEntityTypesStubSettings.newBuilder();
  * sessionEntityTypesSettingsBuilder
- *     .getSessionEntityTypeSettings()
+ *     .deleteSessionEntityTypeSettings()
  *     .setRetrySettings(
- *         sessionEntityTypesSettingsBuilder.getSessionEntityTypeSettings().getRetrySettings().toBuilder()
+ *         sessionEntityTypesSettingsBuilder.deleteSessionEntityTypeSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SessionEntityTypesStubSettings sessionEntityTypesSettings = sessionEntityTypesSettingsBuilder.build();
@@ -97,6 +97,8 @@ public class SessionEntityTypesStubSettings extends StubSettings
+      deleteSessionEntityTypeSettings;
   private final PagedCallSettings<
           ListSessionEntityTypesRequest,
           ListSessionEntityTypesResponse,
@@ -108,8 +110,12 @@ public class SessionEntityTypesStubSettings extends StubSettings
       updateSessionEntityTypeSettings;
-  private final UnaryCallSettings
-      deleteSessionEntityTypeSettings;
+
+  /** Returns the object with the settings used for calls to deleteSessionEntityType. */
+  public UnaryCallSettings
+      deleteSessionEntityTypeSettings() {
+    return deleteSessionEntityTypeSettings;
+  }
 
   /** Returns the object with the settings used for calls to listSessionEntityTypes. */
   public PagedCallSettings<
@@ -138,12 +144,6 @@ public class SessionEntityTypesStubSettings extends StubSettings
-      deleteSessionEntityTypeSettings() {
-    return deleteSessionEntityTypeSettings;
-  }
-
   @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
   public SessionEntityTypesStub createStub() throws IOException {
     if (getTransportChannelProvider()
@@ -213,11 +213,11 @@ public Builder toBuilder() {
   protected SessionEntityTypesStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
+    deleteSessionEntityTypeSettings = settingsBuilder.deleteSessionEntityTypeSettings().build();
     listSessionEntityTypesSettings = settingsBuilder.listSessionEntityTypesSettings().build();
     getSessionEntityTypeSettings = settingsBuilder.getSessionEntityTypeSettings().build();
     createSessionEntityTypeSettings = settingsBuilder.createSessionEntityTypeSettings().build();
     updateSessionEntityTypeSettings = settingsBuilder.updateSessionEntityTypeSettings().build();
-    deleteSessionEntityTypeSettings = settingsBuilder.deleteSessionEntityTypeSettings().build();
   }
 
   private static final PagedListDescriptor<
@@ -295,6 +295,8 @@ public static class Builder
       extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
+    private final UnaryCallSettings.Builder
+        deleteSessionEntityTypeSettings;
     private final PagedCallSettings.Builder<
             ListSessionEntityTypesRequest,
             ListSessionEntityTypesResponse,
@@ -306,8 +308,6 @@ public static class Builder
         createSessionEntityTypeSettings;
     private final UnaryCallSettings.Builder
         updateSessionEntityTypeSettings;
-    private final UnaryCallSettings.Builder
-        deleteSessionEntityTypeSettings;
 
     private static final ImmutableMap>
         RETRYABLE_CODE_DEFINITIONS;
@@ -350,6 +350,8 @@ protected Builder() {
     protected Builder(ClientContext clientContext) {
       super(clientContext);
 
+      deleteSessionEntityTypeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
       listSessionEntityTypesSettings =
           PagedCallSettings.newBuilder(LIST_SESSION_ENTITY_TYPES_PAGE_STR_FACT);
 
@@ -359,15 +361,13 @@ protected Builder(ClientContext clientContext) {
 
       updateSessionEntityTypeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
-      deleteSessionEntityTypeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteSessionEntityTypeSettings,
               listSessionEntityTypesSettings,
               getSessionEntityTypeSettings,
               createSessionEntityTypeSettings,
-              updateSessionEntityTypeSettings,
-              deleteSessionEntityTypeSettings);
+              updateSessionEntityTypeSettings);
 
       initDefaults(this);
     }
@@ -383,6 +383,11 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
+      builder
+          .deleteSessionEntityTypeSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+
       builder
           .listSessionEntityTypesSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
@@ -403,30 +408,25 @@ private static Builder initDefaults(Builder builder) {
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
-      builder
-          .deleteSessionEntityTypeSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       return builder;
     }
 
     protected Builder(SessionEntityTypesStubSettings settings) {
       super(settings);
 
+      deleteSessionEntityTypeSettings = settings.deleteSessionEntityTypeSettings.toBuilder();
       listSessionEntityTypesSettings = settings.listSessionEntityTypesSettings.toBuilder();
       getSessionEntityTypeSettings = settings.getSessionEntityTypeSettings.toBuilder();
       createSessionEntityTypeSettings = settings.createSessionEntityTypeSettings.toBuilder();
       updateSessionEntityTypeSettings = settings.updateSessionEntityTypeSettings.toBuilder();
-      deleteSessionEntityTypeSettings = settings.deleteSessionEntityTypeSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteSessionEntityTypeSettings,
               listSessionEntityTypesSettings,
               getSessionEntityTypeSettings,
               createSessionEntityTypeSettings,
-              updateSessionEntityTypeSettings,
-              deleteSessionEntityTypeSettings);
+              updateSessionEntityTypeSettings);
     }
 
     // NEXT_MAJOR_VER: remove 'throws Exception'
@@ -445,6 +445,12 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
+    /** Returns the builder for the settings used for calls to deleteSessionEntityType. */
+    public UnaryCallSettings.Builder
+        deleteSessionEntityTypeSettings() {
+      return deleteSessionEntityTypeSettings;
+    }
+
     /** Returns the builder for the settings used for calls to listSessionEntityTypes. */
     public PagedCallSettings.Builder<
             ListSessionEntityTypesRequest,
@@ -472,12 +478,6 @@ public Builder applyToAllUnaryMethods(
       return updateSessionEntityTypeSettings;
     }
 
-    /** Returns the builder for the settings used for calls to deleteSessionEntityType. */
-    public UnaryCallSettings.Builder
-        deleteSessionEntityTypeSettings() {
-      return deleteSessionEntityTypeSettings;
-    }
-
     @Override
     public SessionEntityTypesStubSettings build() throws IOException {
       return new SessionEntityTypesStubSettings(this);
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java
index e5d90c982..99ac1c9fe 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java
@@ -425,9 +425,6 @@ public final UnaryCallable getDocumentCallable() {
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -462,9 +459,6 @@ public final OperationFuture createDocumen
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -496,9 +490,6 @@ public final OperationFuture createDocumen
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -530,9 +521,6 @@ public final OperationFuture createDocumen
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -562,9 +550,6 @@ public final OperationFuture createDocumen
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -592,9 +577,6 @@ public final UnaryCallable createDocumentCalla
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -624,9 +606,6 @@ public final OperationFuture deleteDocumentAs
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -654,9 +633,6 @@ public final OperationFuture deleteDocumentAs
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -686,9 +662,6 @@ public final OperationFuture deleteDocumentAs
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -716,9 +689,6 @@ public final OperationFuture deleteDocumentAs
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [google.protobuf.Empty][google.protobuf.Empty], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -744,9 +714,6 @@ public final UnaryCallable deleteDocumentCalla
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -775,9 +742,6 @@ public final OperationFuture updateDocumen
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -807,9 +771,6 @@ public final OperationFuture updateDocumen
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -837,9 +798,6 @@ public final OperationFuture updateDocumen
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -868,9 +826,6 @@ public final UnaryCallable updateDocumentCalla
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


@@ -897,9 +852,6 @@ public final Operation reloadDocument(ReloadDocumentRequest request) {
    * 

Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use * `projects.knowledgeBases.documents`. * - *

Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], metadata: - * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> - * *

Sample code: * *


diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java
index 3c4f158da..285a6bc9b 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java
@@ -264,10 +264,10 @@ public final ListEntityTypesPagedResponse listEntityTypes(String parent) {
    *
    * @param parent Required. The agent to list all entity types from. Format: `projects/<Project
    *     ID>/agent`.
-   * @param languageCode Optional. The language to list entity synonyms for. If not specified, the
-   *     agent's default language is used. [Many
-   *     languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported.
-   *     Note: languages must be enabled in the agent before they can be used.
+   * @param languageCode Optional. The language used to access language-specific data. If not
+   *     specified, the agent's default language is used. For more information, see [Multilingual
+   *     intent and entity
+   *     data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListEntityTypesPagedResponse listEntityTypes(
@@ -298,10 +298,10 @@ public final ListEntityTypesPagedResponse listEntityTypes(
    *
    * @param parent Required. The agent to list all entity types from. Format: `projects/<Project
    *     ID>/agent`.
-   * @param languageCode Optional. The language to list entity synonyms for. If not specified, the
-   *     agent's default language is used. [Many
-   *     languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported.
-   *     Note: languages must be enabled in the agent before they can be used.
+   * @param languageCode Optional. The language used to access language-specific data. If not
+   *     specified, the agent's default language is used. For more information, see [Multilingual
+   *     intent and entity
+   *     data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListEntityTypesPagedResponse listEntityTypes(String parent, String languageCode) {
@@ -453,10 +453,10 @@ public final EntityType getEntityType(String name) {
    *
    * @param name Required. The name of the entity type. Format: `projects/<Project
    *     ID>/agent/entityTypes/<EntityType ID>`.
-   * @param languageCode Optional. The language to retrieve entity synonyms for. If not specified,
-   *     the agent's default language is used. [Many
-   *     languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported.
-   *     Note: languages must be enabled in the agent before they can be used.
+   * @param languageCode Optional. The language used to access language-specific data. If not
+   *     specified, the agent's default language is used. For more information, see [Multilingual
+   *     intent and entity
+   *     data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final EntityType getEntityType(EntityTypeName name, String languageCode) {
@@ -484,10 +484,10 @@ public final EntityType getEntityType(EntityTypeName name, String languageCode)
    *
    * @param name Required. The name of the entity type. Format: `projects/<Project
    *     ID>/agent/entityTypes/<EntityType ID>`.
-   * @param languageCode Optional. The language to retrieve entity synonyms for. If not specified,
-   *     the agent's default language is used. [Many
-   *     languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported.
-   *     Note: languages must be enabled in the agent before they can be used.
+   * @param languageCode Optional. The language used to access language-specific data. If not
+   *     specified, the agent's default language is used. For more information, see [Multilingual
+   *     intent and entity
+   *     data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final EntityType getEntityType(String name, String languageCode) {
@@ -612,10 +612,10 @@ public final EntityType createEntityType(String parent, EntityType entityType) {
    * @param parent Required. The agent to create a entity type for. Format: `projects/<Project
    *     ID>/agent`.
    * @param entityType Required. The entity type to create.
-   * @param languageCode Optional. The language of entity synonyms defined in `entity_type`. If not
-   *     specified, the agent's default language is used. [Many
-   *     languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported.
-   *     Note: languages must be enabled in the agent before they can be used.
+   * @param languageCode Optional. The language used to access language-specific data. If not
+   *     specified, the agent's default language is used. For more information, see [Multilingual
+   *     intent and entity
+   *     data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final EntityType createEntityType(
@@ -647,10 +647,10 @@ public final EntityType createEntityType(
    * @param parent Required. The agent to create a entity type for. Format: `projects/<Project
    *     ID>/agent`.
    * @param entityType Required. The entity type to create.
-   * @param languageCode Optional. The language of entity synonyms defined in `entity_type`. If not
-   *     specified, the agent's default language is used. [Many
-   *     languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported.
-   *     Note: languages must be enabled in the agent before they can be used.
+   * @param languageCode Optional. The language used to access language-specific data. If not
+   *     specified, the agent's default language is used. For more information, see [Multilingual
+   *     intent and entity
+   *     data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final EntityType createEntityType(
@@ -750,10 +750,10 @@ public final EntityType updateEntityType(EntityType entityType) {
    * 
* * @param entityType Required. The entity type to update. - * @param languageCode Optional. The language of entity synonyms defined in `entity_type`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntityType updateEntityType(EntityType entityType, String languageCode) { @@ -1219,10 +1219,10 @@ public final OperationFuture batchCreateEntitiesAsync( * @param parent Required. The name of the entity type to create entities in. Format: * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entities Required. The entities to create. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1258,10 +1258,10 @@ public final OperationFuture batchCreateEntitiesAsync( * @param parent Required. The name of the entity type to create entities in. Format: * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entities Required. The entities to create. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1447,10 +1447,10 @@ public final OperationFuture batchUpdateEntitiesAsync( * @param parent Required. The name of the entity type to update or create entities in. Format: * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entities Required. The entities to update or create. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1487,10 +1487,10 @@ public final OperationFuture batchUpdateEntitiesAsync( * @param parent Required. The name of the entity type to update or create entities in. Format: * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entities Required. The entities to update or create. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1682,10 +1682,10 @@ public final OperationFuture batchDeleteEntitiesAsync( * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entityValues Required. The reference `values` of the entities to delete. Note that these * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1722,10 +1722,10 @@ public final OperationFuture batchDeleteEntitiesAsync( * `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. * @param entityValues Required. The reference `values` of the entities to delete. Note that these * are not fully-qualified names, i.e. they don't start with `projects/<Project ID>`. - * @param languageCode Optional. The language of entity synonyms defined in `entities`. If not - * specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java new file mode 100644 index 000000000..cd8cc95a2 --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java @@ -0,0 +1,215 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.v2beta1.stub.EnvironmentsStub; +import com.google.cloud.dialogflow.v2beta1.stub.EnvironmentsStubSettings; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND SERVICE +/** + * Service Description: Manages agent environments. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

+ * 
+ * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
+ *   ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder().build();
+ *   ListEnvironmentsResponse response = environmentsClient.listEnvironments(request);
+ * }
+ * 
+ * 
+ * + *

Note: close() needs to be called on the environmentsClient object to clean up resources such + * as threads. In the example above, try-with-resources is used, which automatically calls close(). + * + *

The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

    + *
  1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
  2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of EnvironmentsSettings to + * create(). For example: + * + *

To customize credentials: + * + *

+ * 
+ * EnvironmentsSettings environmentsSettings =
+ *     EnvironmentsSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * EnvironmentsClient environmentsClient =
+ *     EnvironmentsClient.create(environmentsSettings);
+ * 
+ * 
+ * + * To customize the endpoint: + * + *
+ * 
+ * EnvironmentsSettings environmentsSettings =
+ *     EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * EnvironmentsClient environmentsClient =
+ *     EnvironmentsClient.create(environmentsSettings);
+ * 
+ * 
+ */ +@Generated("by gapic-generator") +@BetaApi +public class EnvironmentsClient implements BackgroundResource { + private final EnvironmentsSettings settings; + private final EnvironmentsStub stub; + + /** Constructs an instance of EnvironmentsClient with default settings. */ + public static final EnvironmentsClient create() throws IOException { + return create(EnvironmentsSettings.newBuilder().build()); + } + + /** + * Constructs an instance of EnvironmentsClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final EnvironmentsClient create(EnvironmentsSettings settings) throws IOException { + return new EnvironmentsClient(settings); + } + + /** + * Constructs an instance of EnvironmentsClient, using the given stub for making calls. This is + * for advanced usage - prefer to use EnvironmentsSettings}. + */ + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public static final EnvironmentsClient create(EnvironmentsStub stub) { + return new EnvironmentsClient(stub); + } + + /** + * Constructs an instance of EnvironmentsClient, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected EnvironmentsClient(EnvironmentsSettings settings) throws IOException { + this.settings = settings; + this.stub = ((EnvironmentsStubSettings) settings.getStubSettings()).createStub(); + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + protected EnvironmentsClient(EnvironmentsStub stub) { + this.settings = null; + this.stub = stub; + } + + public final EnvironmentsSettings getSettings() { + return settings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public EnvironmentsStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Returns the list of all non-draft environments of the specified agent. + * + *

Sample code: + * + *


+   * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
+   *   ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder().build();
+   *   ListEnvironmentsResponse response = environmentsClient.listEnvironments(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest request) { + return listEnvironmentsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Returns the list of all non-draft environments of the specified agent. + * + *

Sample code: + * + *


+   * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
+   *   ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder().build();
+   *   ApiFuture<ListEnvironmentsResponse> future = environmentsClient.listEnvironmentsCallable().futureCall(request);
+   *   // Do something
+   *   ListEnvironmentsResponse response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable + listEnvironmentsCallable() { + return stub.listEnvironmentsCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsSettings.java new file mode 100644 index 000000000..1e8ce8e28 --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsSettings.java @@ -0,0 +1,181 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.dialogflow.v2beta1.stub.EnvironmentsStubSettings; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * Settings class to configure an instance of {@link EnvironmentsClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (dialogflow.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of listEnvironments to 30 seconds: + * + *

+ * 
+ * EnvironmentsSettings.Builder environmentsSettingsBuilder =
+ *     EnvironmentsSettings.newBuilder();
+ * environmentsSettingsBuilder
+ *     .listEnvironmentsSettings()
+ *     .setRetrySettings(
+ *         environmentsSettingsBuilder.listEnvironmentsSettings().getRetrySettings().toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * EnvironmentsSettings environmentsSettings = environmentsSettingsBuilder.build();
+ * 
+ * 
+ */ +@Generated("by gapic-generator") +@BetaApi +public class EnvironmentsSettings extends ClientSettings { + /** Returns the object with the settings used for calls to listEnvironments. */ + public UnaryCallSettings + listEnvironmentsSettings() { + return ((EnvironmentsStubSettings) getStubSettings()).listEnvironmentsSettings(); + } + + public static final EnvironmentsSettings create(EnvironmentsStubSettings stub) + throws IOException { + return new EnvironmentsSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return EnvironmentsStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return EnvironmentsStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return EnvironmentsStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return EnvironmentsStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return EnvironmentsStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return EnvironmentsStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return EnvironmentsStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected EnvironmentsSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for EnvironmentsSettings. */ + public static class Builder extends ClientSettings.Builder { + protected Builder() throws IOException { + this((ClientContext) null); + } + + protected Builder(ClientContext clientContext) { + super(EnvironmentsStubSettings.newBuilder(clientContext)); + } + + private static Builder createDefault() { + return new Builder(EnvironmentsStubSettings.newBuilder()); + } + + protected Builder(EnvironmentsSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(EnvironmentsStubSettings.Builder stubSettings) { + super(stubSettings); + } + + public EnvironmentsStubSettings.Builder getStubSettingsBuilder() { + return ((EnvironmentsStubSettings.Builder) getStubSettings()); + } + + // NEXT_MAJOR_VER: remove 'throws Exception' + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) throws Exception { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to listEnvironments. */ + public UnaryCallSettings.Builder + listEnvironmentsSettings() { + return getStubSettingsBuilder().listEnvironmentsSettings(); + } + + @Override + public EnvironmentsSettings build() throws IOException { + return new EnvironmentsSettings(this); + } + } +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java index c37460300..7bafbdb91 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java @@ -266,10 +266,10 @@ public final ListIntentsPagedResponse listIntents(String parent) { * * @param parent Required. The agent to list all intents from. Format: `projects/<Project * ID>/agent`. - * @param languageCode Optional. The language to list training phrases, parameters and rich - * messages for. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListIntentsPagedResponse listIntents(ProjectAgentName parent, String languageCode) { @@ -299,10 +299,10 @@ public final ListIntentsPagedResponse listIntents(ProjectAgentName parent, Strin * * @param parent Required. The agent to list all intents from. Format: `projects/<Project * ID>/agent`. - * @param languageCode Optional. The language to list training phrases, parameters and rich - * messages for. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListIntentsPagedResponse listIntents(String parent, String languageCode) { @@ -453,10 +453,10 @@ public final Intent getIntent(String name) { * * @param name Required. The name of the intent. Format: `projects/<Project * ID>/agent/intents/<Intent ID>`. - * @param languageCode Optional. The language to retrieve training phrases, parameters and rich - * messages for. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent getIntent(IntentName name, String languageCode) { @@ -484,10 +484,10 @@ public final Intent getIntent(IntentName name, String languageCode) { * * @param name Required. The name of the intent. Format: `projects/<Project * ID>/agent/intents/<Intent ID>`. - * @param languageCode Optional. The language to retrieve training phrases, parameters and rich - * messages for. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent getIntent(String name, String languageCode) { @@ -612,10 +612,10 @@ public final Intent createIntent(String parent, Intent intent) { * @param parent Required. The agent to create a intent for. Format: `projects/<Project * ID>/agent`. * @param intent Required. The intent to create. - * @param languageCode Optional. The language of training phrases, parameters and rich messages - * defined in `intent`. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent createIntent(ProjectAgentName parent, Intent intent, String languageCode) { @@ -646,10 +646,10 @@ public final Intent createIntent(ProjectAgentName parent, Intent intent, String * @param parent Required. The agent to create a intent for. Format: `projects/<Project * ID>/agent`. * @param intent Required. The intent to create. - * @param languageCode Optional. The language of training phrases, parameters and rich messages - * defined in `intent`. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent createIntent(String parent, Intent intent, String languageCode) { @@ -726,10 +726,10 @@ public final UnaryCallable createIntentCallable() { *

* * @param intent Required. The intent to update. - * @param languageCode Optional. The language of training phrases, parameters and rich messages - * defined in `intent`. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Intent updateIntent(Intent intent, String languageCode) { @@ -754,10 +754,10 @@ public final Intent updateIntent(Intent intent, String languageCode) { *
* * @param intent Required. The intent to update. - * @param languageCode Optional. The language of training phrases, parameters and rich messages - * defined in `intent`. If not specified, the agent's default language is used. [Many - * languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. - * Note: languages must be enabled in the agent before they can be used. + * @param languageCode Optional. The language used to access language-specific data. If not + * specified, the agent's default language is used. For more information, see [Multilingual + * intent and entity + * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). * @param updateMask Optional. The mask to control which fields get updated. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java index 4eb84d003..d6ecb1b18 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java @@ -587,12 +587,7 @@ public final SessionEntityType createSessionEntityType(CreateSessionEntityTypeRe * } *
* - * @param sessionEntityType Required. The entity type to update. Format: `projects/<Project - * ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` or - * `projects/<Project ID>/agent/environments/<Environment ID>/users/<User - * ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If - * `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is - * not specified, we assume default '-' user. + * @param sessionEntityType Required. The session entity type to update. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SessionEntityType updateSessionEntityType(SessionEntityType sessionEntityType) { diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java index 128710b5b..4ae803685 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java @@ -140,6 +140,21 @@ * *
* + * ================== EnvironmentsClient ================== + * + *

Service Description: Manages agent environments. + * + *

Sample for EnvironmentsClient: + * + *

+ * 
+ * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
+ *   ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder().build();
+ *   ListEnvironmentsResponse response = environmentsClient.listEnvironments(request);
+ * }
+ * 
+ * 
+ * * ============= IntentsClient ============= * *

Service Description: An intent represents a mapping between input from a user and an action to diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStub.java new file mode 100644 index 000000000..b6441f17f --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStub.java @@ -0,0 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest; +import com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * Base stub class for Dialogflow API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public abstract class EnvironmentsStub implements BackgroundResource { + + public UnaryCallable + listEnvironmentsCallable() { + throw new UnsupportedOperationException("Not implemented: listEnvironmentsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStubSettings.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStubSettings.java new file mode 100644 index 000000000..77bb95264 --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EnvironmentsStubSettings.java @@ -0,0 +1,277 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1.stub; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest; +import com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * Settings class to configure an instance of {@link EnvironmentsStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (dialogflow.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of listEnvironments to 30 seconds: + * + *

+ * 
+ * EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
+ *     EnvironmentsStubSettings.newBuilder();
+ * environmentsSettingsBuilder
+ *     .listEnvironmentsSettings()
+ *     .setRetrySettings(
+ *         environmentsSettingsBuilder.listEnvironmentsSettings().getRetrySettings().toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build();
+ * 
+ * 
+ */ +@Generated("by gapic-generator") +@BetaApi +public class EnvironmentsStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/dialogflow") + .build(); + + private final UnaryCallSettings + listEnvironmentsSettings; + + /** Returns the object with the settings used for calls to listEnvironments. */ + public UnaryCallSettings + listEnvironmentsSettings() { + return listEnvironmentsSettings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public EnvironmentsStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcEnvironmentsStub.create(this); + } else { + throw new UnsupportedOperationException( + "Transport not supported: " + getTransportChannelProvider().getTransportName()); + } + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "dialogflow.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(EnvironmentsStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected EnvironmentsStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + listEnvironmentsSettings = settingsBuilder.listEnvironmentsSettings().build(); + } + + /** Builder for EnvironmentsStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + + private final UnaryCallSettings.Builder + listEnvironmentsSettings; + + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "idempotent", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(20000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(20000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("default", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this((ClientContext) null); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + listEnvironmentsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of(listEnvironmentsSettings); + + initDefaults(this); + } + + private static Builder createDefault() { + Builder builder = new Builder((ClientContext) null); + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + + builder + .listEnvironmentsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + return builder; + } + + protected Builder(EnvironmentsStubSettings settings) { + super(settings); + + listEnvironmentsSettings = settings.listEnvironmentsSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of(listEnvironmentsSettings); + } + + // NEXT_MAJOR_VER: remove 'throws Exception' + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) throws Exception { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to listEnvironments. */ + public UnaryCallSettings.Builder + listEnvironmentsSettings() { + return listEnvironmentsSettings; + } + + @Override + public EnvironmentsStubSettings build() throws IOException { + return new EnvironmentsStubSettings(this); + } + } +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEnvironmentsCallableFactory.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEnvironmentsCallableFactory.java new file mode 100644 index 000000000..195d1ba0d --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEnvironmentsCallableFactory.java @@ -0,0 +1,115 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * gRPC callable factory implementation for Dialogflow API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator") +@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") +public class GrpcEnvironmentsCallableFactory implements GrpcStubCallableFactory { + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings pagedCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable( + grpcCallSettings, pagedCallSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings batchingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, batchingCallSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings operationCallSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, operationCallSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings streamingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, streamingCallSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings streamingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, streamingCallSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings streamingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, streamingCallSettings, clientContext); + } +} diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEnvironmentsStub.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEnvironmentsStub.java new file mode 100644 index 000000000..0651ec3cb --- /dev/null +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEnvironmentsStub.java @@ -0,0 +1,157 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsExtractor; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest; +import com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse; +import com.google.common.collect.ImmutableMap; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * gRPC stub implementation for Dialogflow API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public class GrpcEnvironmentsStub extends EnvironmentsStub { + + private static final MethodDescriptor + listEnvironmentsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dialogflow.v2beta1.Environments/ListEnvironments") + .setRequestMarshaller( + ProtoUtils.marshaller(ListEnvironmentsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListEnvironmentsResponse.getDefaultInstance())) + .build(); + + private final BackgroundResource backgroundResources; + + private final UnaryCallable + listEnvironmentsCallable; + + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcEnvironmentsStub create(EnvironmentsStubSettings settings) + throws IOException { + return new GrpcEnvironmentsStub(settings, ClientContext.create(settings)); + } + + public static final GrpcEnvironmentsStub create(ClientContext clientContext) throws IOException { + return new GrpcEnvironmentsStub(EnvironmentsStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcEnvironmentsStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcEnvironmentsStub( + EnvironmentsStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcEnvironmentsStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcEnvironmentsCallableFactory()); + } + + /** + * Constructs an instance of GrpcEnvironmentsStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcEnvironmentsStub( + EnvironmentsStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + GrpcCallSettings + listEnvironmentsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listEnvironmentsMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(ListEnvironmentsRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + } + }) + .build(); + + this.listEnvironmentsCallable = + callableFactory.createUnaryCallable( + listEnvironmentsTransportSettings, settings.listEnvironmentsSettings(), clientContext); + + backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public UnaryCallable + listEnvironmentsCallable() { + return listEnvironmentsCallable; + } + + @Override + public final void close() { + shutdown(); + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/AgentsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/AgentsClientTest.java index 818ee71c3..4de74f8e9 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/AgentsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/AgentsClientTest.java @@ -49,6 +49,7 @@ public class AgentsClientTest { private static MockAgents mockAgents; private static MockContexts mockContexts; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockSessionEntityTypes mockSessionEntityTypes; private static MockSessions mockSessions; @@ -61,6 +62,7 @@ public static void startStaticServer() { mockAgents = new MockAgents(); mockContexts = new MockContexts(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockSessionEntityTypes = new MockSessionEntityTypes(); mockSessions = new MockSessions(); @@ -71,6 +73,7 @@ public static void startStaticServer() { mockAgents, mockContexts, mockEntityTypes, + mockEnvironments, mockIntents, mockSessionEntityTypes, mockSessions)); @@ -102,7 +105,7 @@ public void tearDown() throws Exception { @Test @SuppressWarnings("all") public void setAgentTest() { - String parent = "parent-995424086"; + ProjectName parent = ProjectName.of("[PROJECT]"); String displayName = "displayName1615086568"; String defaultLanguageCode = "defaultLanguageCode856575222"; String timeZone = "timeZone36848094"; @@ -112,7 +115,7 @@ public void setAgentTest() { float classificationThreshold = 1.11581064E8F; Agent expectedResponse = Agent.newBuilder() - .setParent(parent) + .setParent(parent.toString()) .setDisplayName(displayName) .setDefaultLanguageCode(defaultLanguageCode) .setTimeZone(timeZone) @@ -192,62 +195,6 @@ public void deleteAgentExceptionTest() throws Exception { } } - @Test - @SuppressWarnings("all") - public void getAgentTest() { - String parent2 = "parent21175163357"; - String displayName = "displayName1615086568"; - String defaultLanguageCode = "defaultLanguageCode856575222"; - String timeZone = "timeZone36848094"; - String description = "description-1724546052"; - String avatarUri = "avatarUri-402824826"; - boolean enableLogging = false; - float classificationThreshold = 1.11581064E8F; - Agent expectedResponse = - Agent.newBuilder() - .setParent(parent2) - .setDisplayName(displayName) - .setDefaultLanguageCode(defaultLanguageCode) - .setTimeZone(timeZone) - .setDescription(description) - .setAvatarUri(avatarUri) - .setEnableLogging(enableLogging) - .setClassificationThreshold(classificationThreshold) - .build(); - mockAgents.addResponse(expectedResponse); - - ProjectName parent = ProjectName.of("[PROJECT]"); - - Agent actualResponse = client.getAgent(parent); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAgents.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetAgentRequest actualRequest = (GetAgentRequest) actualRequests.get(0); - - Assert.assertEquals(parent, ProjectName.parse(actualRequest.getParent())); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - @SuppressWarnings("all") - public void getAgentExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); - mockAgents.addException(exception); - - try { - ProjectName parent = ProjectName.of("[PROJECT]"); - - client.getAgent(parent); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception - } - } - @Test @SuppressWarnings("all") public void searchAgentsTest() { @@ -392,26 +339,26 @@ public void exportAgentExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void importAgentTest() throws Exception { + public void restoreAgentTest() throws Exception { Empty expectedResponse = Empty.newBuilder().build(); Operation resultOperation = Operation.newBuilder() - .setName("importAgentTest") + .setName("restoreAgentTest") .setDone(true) .setResponse(Any.pack(expectedResponse)) .build(); mockAgents.addResponse(resultOperation); ProjectName parent = ProjectName.of("[PROJECT]"); - ImportAgentRequest request = - ImportAgentRequest.newBuilder().setParent(parent.toString()).build(); + RestoreAgentRequest request = + RestoreAgentRequest.newBuilder().setParent(parent.toString()).build(); - Empty actualResponse = client.importAgentAsync(request).get(); + Empty actualResponse = client.restoreAgentAsync(request).get(); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockAgents.getRequests(); Assert.assertEquals(1, actualRequests.size()); - ImportAgentRequest actualRequest = (ImportAgentRequest) actualRequests.get(0); + RestoreAgentRequest actualRequest = (RestoreAgentRequest) actualRequests.get(0); Assert.assertEquals(parent, ProjectName.parse(actualRequest.getParent())); Assert.assertTrue( @@ -422,16 +369,16 @@ public void importAgentTest() throws Exception { @Test @SuppressWarnings("all") - public void importAgentExceptionTest() throws Exception { + public void restoreAgentExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockAgents.addException(exception); try { ProjectName parent = ProjectName.of("[PROJECT]"); - ImportAgentRequest request = - ImportAgentRequest.newBuilder().setParent(parent.toString()).build(); + RestoreAgentRequest request = + RestoreAgentRequest.newBuilder().setParent(parent.toString()).build(); - client.importAgentAsync(request).get(); + client.restoreAgentAsync(request).get(); Assert.fail("No exception raised"); } catch (ExecutionException e) { Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); @@ -442,26 +389,82 @@ public void importAgentExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void restoreAgentTest() throws Exception { + public void getAgentTest() { + ProjectName parent2 = ProjectName.of("[PROJECT]"); + String displayName = "displayName1615086568"; + String defaultLanguageCode = "defaultLanguageCode856575222"; + String timeZone = "timeZone36848094"; + String description = "description-1724546052"; + String avatarUri = "avatarUri-402824826"; + boolean enableLogging = false; + float classificationThreshold = 1.11581064E8F; + Agent expectedResponse = + Agent.newBuilder() + .setParent(parent2.toString()) + .setDisplayName(displayName) + .setDefaultLanguageCode(defaultLanguageCode) + .setTimeZone(timeZone) + .setDescription(description) + .setAvatarUri(avatarUri) + .setEnableLogging(enableLogging) + .setClassificationThreshold(classificationThreshold) + .build(); + mockAgents.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + Agent actualResponse = client.getAgent(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAgents.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAgentRequest actualRequest = (GetAgentRequest) actualRequests.get(0); + + Assert.assertEquals(parent, ProjectName.parse(actualRequest.getParent())); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void getAgentExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockAgents.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + + client.getAgent(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void importAgentTest() throws Exception { Empty expectedResponse = Empty.newBuilder().build(); Operation resultOperation = Operation.newBuilder() - .setName("restoreAgentTest") + .setName("importAgentTest") .setDone(true) .setResponse(Any.pack(expectedResponse)) .build(); mockAgents.addResponse(resultOperation); ProjectName parent = ProjectName.of("[PROJECT]"); - RestoreAgentRequest request = - RestoreAgentRequest.newBuilder().setParent(parent.toString()).build(); + ImportAgentRequest request = + ImportAgentRequest.newBuilder().setParent(parent.toString()).build(); - Empty actualResponse = client.restoreAgentAsync(request).get(); + Empty actualResponse = client.importAgentAsync(request).get(); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockAgents.getRequests(); Assert.assertEquals(1, actualRequests.size()); - RestoreAgentRequest actualRequest = (RestoreAgentRequest) actualRequests.get(0); + ImportAgentRequest actualRequest = (ImportAgentRequest) actualRequests.get(0); Assert.assertEquals(parent, ProjectName.parse(actualRequest.getParent())); Assert.assertTrue( @@ -472,16 +475,16 @@ public void restoreAgentTest() throws Exception { @Test @SuppressWarnings("all") - public void restoreAgentExceptionTest() throws Exception { + public void importAgentExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockAgents.addException(exception); try { ProjectName parent = ProjectName.of("[PROJECT]"); - RestoreAgentRequest request = - RestoreAgentRequest.newBuilder().setParent(parent.toString()).build(); + ImportAgentRequest request = + ImportAgentRequest.newBuilder().setParent(parent.toString()).build(); - client.restoreAgentAsync(request).get(); + client.importAgentAsync(request).get(); Assert.fail("No exception raised"); } catch (ExecutionException e) { Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); @@ -496,7 +499,9 @@ public void getValidationResultTest() { ValidationResult expectedResponse = ValidationResult.newBuilder().build(); mockAgents.addResponse(expectedResponse); - GetValidationResultRequest request = GetValidationResultRequest.newBuilder().build(); + ProjectName parent = ProjectName.of("[PROJECT]"); + GetValidationResultRequest request = + GetValidationResultRequest.newBuilder().setParent(parent.toString()).build(); ValidationResult actualResponse = client.getValidationResult(request); Assert.assertEquals(expectedResponse, actualResponse); @@ -505,6 +510,7 @@ public void getValidationResultTest() { Assert.assertEquals(1, actualRequests.size()); GetValidationResultRequest actualRequest = (GetValidationResultRequest) actualRequests.get(0); + Assert.assertEquals(parent, ProjectName.parse(actualRequest.getParent())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -518,7 +524,9 @@ public void getValidationResultExceptionTest() throws Exception { mockAgents.addException(exception); try { - GetValidationResultRequest request = GetValidationResultRequest.newBuilder().build(); + ProjectName parent = ProjectName.of("[PROJECT]"); + GetValidationResultRequest request = + GetValidationResultRequest.newBuilder().setParent(parent.toString()).build(); client.getValidationResult(request); Assert.fail("No exception raised"); diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ContextsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ContextsClientTest.java index bcb3ba47e..df44df508 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ContextsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ContextsClientTest.java @@ -27,6 +27,7 @@ import com.google.common.collect.Lists; import com.google.protobuf.AbstractMessage; import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; import io.grpc.Status; import io.grpc.StatusRuntimeException; import java.io.IOException; @@ -45,6 +46,7 @@ public class ContextsClientTest { private static MockAgents mockAgents; private static MockContexts mockContexts; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockSessionEntityTypes mockSessionEntityTypes; private static MockSessions mockSessions; @@ -57,6 +59,7 @@ public static void startStaticServer() { mockAgents = new MockAgents(); mockContexts = new MockContexts(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockSessionEntityTypes = new MockSessionEntityTypes(); mockSessions = new MockSessions(); @@ -67,6 +70,7 @@ public static void startStaticServer() { mockAgents, mockContexts, mockEntityTypes, + mockEnvironments, mockIntents, mockSessionEntityTypes, mockSessions)); @@ -97,30 +101,20 @@ public void tearDown() throws Exception { @Test @SuppressWarnings("all") - public void listContextsTest() { - String nextPageToken = ""; - Context contextsElement = Context.newBuilder().build(); - List contexts = Arrays.asList(contextsElement); - ListContextsResponse expectedResponse = - ListContextsResponse.newBuilder() - .setNextPageToken(nextPageToken) - .addAllContexts(contexts) - .build(); + public void deleteContextTest() { + Empty expectedResponse = Empty.newBuilder().build(); mockContexts.addResponse(expectedResponse); - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); - - ListContextsPagedResponse pagedListResponse = client.listContexts(parent); + ContextName name = + ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]"); - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getContextsList().get(0), resources.get(0)); + client.deleteContext(name); List actualRequests = mockContexts.getRequests(); Assert.assertEquals(1, actualRequests.size()); - ListContextsRequest actualRequest = (ListContextsRequest) actualRequests.get(0); + DeleteContextRequest actualRequest = (DeleteContextRequest) actualRequests.get(0); - Assert.assertEquals(parent, SessionName.parse(actualRequest.getParent())); + Assert.assertEquals(name, ContextName.parse(actualRequest.getName())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -129,14 +123,15 @@ public void listContextsTest() { @Test @SuppressWarnings("all") - public void listContextsExceptionTest() throws Exception { + public void deleteContextExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockContexts.addException(exception); try { - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); + ContextName name = + ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]"); - client.listContexts(parent); + client.deleteContext(name); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -145,23 +140,19 @@ public void listContextsExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void getContextTest() { - ContextName name2 = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]"); - int lifespanCount = 1178775510; - Context expectedResponse = - Context.newBuilder().setName(name2.toString()).setLifespanCount(lifespanCount).build(); + public void deleteAllContextsTest() { + Empty expectedResponse = Empty.newBuilder().build(); mockContexts.addResponse(expectedResponse); - ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]"); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); - Context actualResponse = client.getContext(name); - Assert.assertEquals(expectedResponse, actualResponse); + client.deleteAllContexts(parent); List actualRequests = mockContexts.getRequests(); Assert.assertEquals(1, actualRequests.size()); - GetContextRequest actualRequest = (GetContextRequest) actualRequests.get(0); + DeleteAllContextsRequest actualRequest = (DeleteAllContextsRequest) actualRequests.get(0); - Assert.assertEquals(name, ContextName.parse(actualRequest.getName())); + Assert.assertEquals(parent, SessionName.parse(actualRequest.getParent())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -170,14 +161,14 @@ public void getContextTest() { @Test @SuppressWarnings("all") - public void getContextExceptionTest() throws Exception { + public void deleteAllContextsExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockContexts.addException(exception); try { - ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]"); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); - client.getContext(name); + client.deleteAllContexts(parent); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -186,25 +177,30 @@ public void getContextExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void createContextTest() { - ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]"); - int lifespanCount = 1178775510; - Context expectedResponse = - Context.newBuilder().setName(name.toString()).setLifespanCount(lifespanCount).build(); + public void listContextsTest() { + String nextPageToken = ""; + Context contextsElement = Context.newBuilder().build(); + List contexts = Arrays.asList(contextsElement); + ListContextsResponse expectedResponse = + ListContextsResponse.newBuilder() + .setNextPageToken(nextPageToken) + .addAllContexts(contexts) + .build(); mockContexts.addResponse(expectedResponse); - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); - Context context = Context.newBuilder().build(); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); - Context actualResponse = client.createContext(parent, context); - Assert.assertEquals(expectedResponse, actualResponse); + ListContextsPagedResponse pagedListResponse = client.listContexts(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getContextsList().get(0), resources.get(0)); List actualRequests = mockContexts.getRequests(); Assert.assertEquals(1, actualRequests.size()); - CreateContextRequest actualRequest = (CreateContextRequest) actualRequests.get(0); + ListContextsRequest actualRequest = (ListContextsRequest) actualRequests.get(0); Assert.assertEquals(parent, SessionName.parse(actualRequest.getParent())); - Assert.assertEquals(context, actualRequest.getContext()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -213,15 +209,14 @@ public void createContextTest() { @Test @SuppressWarnings("all") - public void createContextExceptionTest() throws Exception { + public void listContextsExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockContexts.addException(exception); try { - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); - Context context = Context.newBuilder().build(); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); - client.createContext(parent, context); + client.listContexts(parent); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -230,23 +225,25 @@ public void createContextExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void updateContextTest() { - ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]"); + public void getContextTest() { + ContextName name2 = + ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]"); int lifespanCount = 1178775510; Context expectedResponse = - Context.newBuilder().setName(name.toString()).setLifespanCount(lifespanCount).build(); + Context.newBuilder().setName(name2.toString()).setLifespanCount(lifespanCount).build(); mockContexts.addResponse(expectedResponse); - Context context = Context.newBuilder().build(); + ContextName name = + ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]"); - Context actualResponse = client.updateContext(context); + Context actualResponse = client.getContext(name); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockContexts.getRequests(); Assert.assertEquals(1, actualRequests.size()); - UpdateContextRequest actualRequest = (UpdateContextRequest) actualRequests.get(0); + GetContextRequest actualRequest = (GetContextRequest) actualRequests.get(0); - Assert.assertEquals(context, actualRequest.getContext()); + Assert.assertEquals(name, ContextName.parse(actualRequest.getName())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -255,14 +252,15 @@ public void updateContextTest() { @Test @SuppressWarnings("all") - public void updateContextExceptionTest() throws Exception { + public void getContextExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockContexts.addException(exception); try { - Context context = Context.newBuilder().build(); + ContextName name = + ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]"); - client.updateContext(context); + client.getContext(name); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -271,19 +269,26 @@ public void updateContextExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void deleteContextTest() { - Empty expectedResponse = Empty.newBuilder().build(); + public void createContextTest() { + ContextName name = + ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]"); + int lifespanCount = 1178775510; + Context expectedResponse = + Context.newBuilder().setName(name.toString()).setLifespanCount(lifespanCount).build(); mockContexts.addResponse(expectedResponse); - ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]"); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); + Context context = Context.newBuilder().build(); - client.deleteContext(name); + Context actualResponse = client.createContext(parent, context); + Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockContexts.getRequests(); Assert.assertEquals(1, actualRequests.size()); - DeleteContextRequest actualRequest = (DeleteContextRequest) actualRequests.get(0); + CreateContextRequest actualRequest = (CreateContextRequest) actualRequests.get(0); - Assert.assertEquals(name, ContextName.parse(actualRequest.getName())); + Assert.assertEquals(parent, SessionName.parse(actualRequest.getParent())); + Assert.assertEquals(context, actualRequest.getContext()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -292,14 +297,15 @@ public void deleteContextTest() { @Test @SuppressWarnings("all") - public void deleteContextExceptionTest() throws Exception { + public void createContextExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockContexts.addException(exception); try { - ContextName name = ContextName.of("[PROJECT]", "[SESSION]", "[CONTEXT]"); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); + Context context = Context.newBuilder().build(); - client.deleteContext(name); + client.createContext(parent, context); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -308,19 +314,26 @@ public void deleteContextExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void deleteAllContextsTest() { - Empty expectedResponse = Empty.newBuilder().build(); + public void updateContextTest() { + ContextName name = + ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]"); + int lifespanCount = 1178775510; + Context expectedResponse = + Context.newBuilder().setName(name.toString()).setLifespanCount(lifespanCount).build(); mockContexts.addResponse(expectedResponse); - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); + Context context = Context.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); - client.deleteAllContexts(parent); + Context actualResponse = client.updateContext(context, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockContexts.getRequests(); Assert.assertEquals(1, actualRequests.size()); - DeleteAllContextsRequest actualRequest = (DeleteAllContextsRequest) actualRequests.get(0); + UpdateContextRequest actualRequest = (UpdateContextRequest) actualRequests.get(0); - Assert.assertEquals(parent, SessionName.parse(actualRequest.getParent())); + Assert.assertEquals(context, actualRequest.getContext()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -329,14 +342,15 @@ public void deleteAllContextsTest() { @Test @SuppressWarnings("all") - public void deleteAllContextsExceptionTest() throws Exception { + public void updateContextExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockContexts.addException(exception); try { - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); + Context context = Context.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); - client.deleteAllContexts(parent); + client.updateContext(context, updateMask); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EntityTypesClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EntityTypesClientTest.java index c8a604b16..f9015f237 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EntityTypesClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EntityTypesClientTest.java @@ -50,6 +50,7 @@ public class EntityTypesClientTest { private static MockAgents mockAgents; private static MockContexts mockContexts; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockSessionEntityTypes mockSessionEntityTypes; private static MockSessions mockSessions; @@ -62,6 +63,7 @@ public static void startStaticServer() { mockAgents = new MockAgents(); mockContexts = new MockContexts(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockSessionEntityTypes = new MockSessionEntityTypes(); mockSessions = new MockSessions(); @@ -72,6 +74,7 @@ public static void startStaticServer() { mockAgents, mockContexts, mockEntityTypes, + mockEnvironments, mockIntents, mockSessionEntityTypes, mockSessions)); @@ -100,6 +103,195 @@ public void tearDown() throws Exception { client.close(); } + @Test + @SuppressWarnings("all") + public void deleteEntityTypeTest() { + Empty expectedResponse = Empty.newBuilder().build(); + mockEntityTypes.addResponse(expectedResponse); + + EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); + + client.deleteEntityType(name); + + List actualRequests = mockEntityTypes.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteEntityTypeRequest actualRequest = (DeleteEntityTypeRequest) actualRequests.get(0); + + Assert.assertEquals(name, EntityTypeName.parse(actualRequest.getName())); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void deleteEntityTypeExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockEntityTypes.addException(exception); + + try { + EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); + + client.deleteEntityType(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void batchDeleteEntityTypesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("batchDeleteEntityTypesTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockEntityTypes.addResponse(resultOperation); + + AgentName parent = AgentName.of("[PROJECT]"); + List entityTypeNames = new ArrayList<>(); + + Empty actualResponse = client.batchDeleteEntityTypesAsync(parent, entityTypeNames).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEntityTypes.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BatchDeleteEntityTypesRequest actualRequest = + (BatchDeleteEntityTypesRequest) actualRequests.get(0); + + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); + Assert.assertEquals(entityTypeNames, actualRequest.getEntityTypeNamesList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void batchDeleteEntityTypesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockEntityTypes.addException(exception); + + try { + AgentName parent = AgentName.of("[PROJECT]"); + List entityTypeNames = new ArrayList<>(); + + client.batchDeleteEntityTypesAsync(parent, entityTypeNames).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + @SuppressWarnings("all") + public void batchDeleteEntitiesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("batchDeleteEntitiesTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockEntityTypes.addResponse(resultOperation); + + EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); + List entityValues = new ArrayList<>(); + + Empty actualResponse = client.batchDeleteEntitiesAsync(parent, entityValues).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEntityTypes.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BatchDeleteEntitiesRequest actualRequest = (BatchDeleteEntitiesRequest) actualRequests.get(0); + + Assert.assertEquals(parent, EntityTypeName.parse(actualRequest.getParent())); + Assert.assertEquals(entityValues, actualRequest.getEntityValuesList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void batchDeleteEntitiesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockEntityTypes.addException(exception); + + try { + EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); + List entityValues = new ArrayList<>(); + + client.batchDeleteEntitiesAsync(parent, entityValues).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + @SuppressWarnings("all") + public void batchDeleteEntitiesTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("batchDeleteEntitiesTest2") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockEntityTypes.addResponse(resultOperation); + + EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); + List entityValues = new ArrayList<>(); + String languageCode = "languageCode-412800396"; + + Empty actualResponse = + client.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEntityTypes.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BatchDeleteEntitiesRequest actualRequest = (BatchDeleteEntitiesRequest) actualRequests.get(0); + + Assert.assertEquals(parent, EntityTypeName.parse(actualRequest.getParent())); + Assert.assertEquals(entityValues, actualRequest.getEntityValuesList()); + Assert.assertEquals(languageCode, actualRequest.getLanguageCode()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void batchDeleteEntitiesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockEntityTypes.addException(exception); + + try { + EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); + List entityValues = new ArrayList<>(); + String languageCode = "languageCode-412800396"; + + client.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + @Test @SuppressWarnings("all") public void listEntityTypesTest() { @@ -113,7 +305,7 @@ public void listEntityTypesTest() { .build(); mockEntityTypes.addResponse(expectedResponse); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); ListEntityTypesPagedResponse pagedListResponse = client.listEntityTypes(parent); @@ -125,7 +317,7 @@ public void listEntityTypesTest() { Assert.assertEquals(1, actualRequests.size()); ListEntityTypesRequest actualRequest = (ListEntityTypesRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -139,7 +331,7 @@ public void listEntityTypesExceptionTest() throws Exception { mockEntityTypes.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); client.listEntityTypes(parent); Assert.fail("No exception raised"); @@ -161,7 +353,7 @@ public void listEntityTypesTest2() { .build(); mockEntityTypes.addResponse(expectedResponse); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); String languageCode = "languageCode-412800396"; ListEntityTypesPagedResponse pagedListResponse = client.listEntityTypes(parent, languageCode); @@ -174,7 +366,7 @@ public void listEntityTypesTest2() { Assert.assertEquals(1, actualRequests.size()); ListEntityTypesRequest actualRequest = (ListEntityTypesRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); Assert.assertEquals(languageCode, actualRequest.getLanguageCode()); Assert.assertTrue( channelProvider.isHeaderSent( @@ -189,7 +381,7 @@ public void listEntityTypesExceptionTest2() throws Exception { mockEntityTypes.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); String languageCode = "languageCode-412800396"; client.listEntityTypes(parent, languageCode); @@ -308,7 +500,7 @@ public void createEntityTypeTest() { .build(); mockEntityTypes.addResponse(expectedResponse); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); EntityType entityType = EntityType.newBuilder().build(); EntityType actualResponse = client.createEntityType(parent, entityType); @@ -318,7 +510,7 @@ public void createEntityTypeTest() { Assert.assertEquals(1, actualRequests.size()); CreateEntityTypeRequest actualRequest = (CreateEntityTypeRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); Assert.assertEquals(entityType, actualRequest.getEntityType()); Assert.assertTrue( channelProvider.isHeaderSent( @@ -333,7 +525,7 @@ public void createEntityTypeExceptionTest() throws Exception { mockEntityTypes.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); EntityType entityType = EntityType.newBuilder().build(); client.createEntityType(parent, entityType); @@ -357,7 +549,7 @@ public void createEntityTypeTest2() { .build(); mockEntityTypes.addResponse(expectedResponse); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); EntityType entityType = EntityType.newBuilder().build(); String languageCode = "languageCode-412800396"; @@ -368,7 +560,7 @@ public void createEntityTypeTest2() { Assert.assertEquals(1, actualRequests.size()); CreateEntityTypeRequest actualRequest = (CreateEntityTypeRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); Assert.assertEquals(entityType, actualRequest.getEntityType()); Assert.assertEquals(languageCode, actualRequest.getLanguageCode()); Assert.assertTrue( @@ -384,7 +576,7 @@ public void createEntityTypeExceptionTest2() throws Exception { mockEntityTypes.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); EntityType entityType = EntityType.newBuilder().build(); String languageCode = "languageCode-412800396"; @@ -487,43 +679,6 @@ public void updateEntityTypeExceptionTest2() throws Exception { } } - @Test - @SuppressWarnings("all") - public void deleteEntityTypeTest() { - Empty expectedResponse = Empty.newBuilder().build(); - mockEntityTypes.addResponse(expectedResponse); - - EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); - - client.deleteEntityType(name); - - List actualRequests = mockEntityTypes.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeleteEntityTypeRequest actualRequest = (DeleteEntityTypeRequest) actualRequests.get(0); - - Assert.assertEquals(name, EntityTypeName.parse(actualRequest.getName())); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - @SuppressWarnings("all") - public void deleteEntityTypeExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); - mockEntityTypes.addException(exception); - - try { - EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); - - client.deleteEntityType(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception - } - } - @Test @SuppressWarnings("all") public void batchUpdateEntityTypesTest() throws Exception { @@ -537,7 +692,7 @@ public void batchUpdateEntityTypesTest() throws Exception { .build(); mockEntityTypes.addResponse(resultOperation); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder().setParent(parent.toString()).build(); @@ -550,7 +705,7 @@ public void batchUpdateEntityTypesTest() throws Exception { BatchUpdateEntityTypesRequest actualRequest = (BatchUpdateEntityTypesRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -564,7 +719,7 @@ public void batchUpdateEntityTypesExceptionTest() throws Exception { mockEntityTypes.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder().setParent(parent.toString()).build(); @@ -577,56 +732,6 @@ public void batchUpdateEntityTypesExceptionTest() throws Exception { } } - @Test - @SuppressWarnings("all") - public void batchDeleteEntityTypesTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - Operation resultOperation = - Operation.newBuilder() - .setName("batchDeleteEntityTypesTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockEntityTypes.addResponse(resultOperation); - - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); - List entityTypeNames = new ArrayList<>(); - - Empty actualResponse = client.batchDeleteEntityTypesAsync(parent, entityTypeNames).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockEntityTypes.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - BatchDeleteEntityTypesRequest actualRequest = - (BatchDeleteEntityTypesRequest) actualRequests.get(0); - - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); - Assert.assertEquals(entityTypeNames, actualRequest.getEntityTypeNamesList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - @SuppressWarnings("all") - public void batchDeleteEntityTypesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); - mockEntityTypes.addException(exception); - - try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); - List entityTypeNames = new ArrayList<>(); - - client.batchDeleteEntityTypesAsync(parent, entityTypeNames).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - @Test @SuppressWarnings("all") public void batchCreateEntitiesTest() throws Exception { @@ -828,106 +933,4 @@ public void batchUpdateEntitiesExceptionTest2() throws Exception { Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); } } - - @Test - @SuppressWarnings("all") - public void batchDeleteEntitiesTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - Operation resultOperation = - Operation.newBuilder() - .setName("batchDeleteEntitiesTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockEntityTypes.addResponse(resultOperation); - - EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); - List entityValues = new ArrayList<>(); - - Empty actualResponse = client.batchDeleteEntitiesAsync(parent, entityValues).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockEntityTypes.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - BatchDeleteEntitiesRequest actualRequest = (BatchDeleteEntitiesRequest) actualRequests.get(0); - - Assert.assertEquals(parent, EntityTypeName.parse(actualRequest.getParent())); - Assert.assertEquals(entityValues, actualRequest.getEntityValuesList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - @SuppressWarnings("all") - public void batchDeleteEntitiesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); - mockEntityTypes.addException(exception); - - try { - EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); - List entityValues = new ArrayList<>(); - - client.batchDeleteEntitiesAsync(parent, entityValues).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - @SuppressWarnings("all") - public void batchDeleteEntitiesTest2() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - Operation resultOperation = - Operation.newBuilder() - .setName("batchDeleteEntitiesTest2") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockEntityTypes.addResponse(resultOperation); - - EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); - List entityValues = new ArrayList<>(); - String languageCode = "languageCode-412800396"; - - Empty actualResponse = - client.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockEntityTypes.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - BatchDeleteEntitiesRequest actualRequest = (BatchDeleteEntitiesRequest) actualRequests.get(0); - - Assert.assertEquals(parent, EntityTypeName.parse(actualRequest.getParent())); - Assert.assertEquals(entityValues, actualRequest.getEntityValuesList()); - Assert.assertEquals(languageCode, actualRequest.getLanguageCode()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - @SuppressWarnings("all") - public void batchDeleteEntitiesExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); - mockEntityTypes.addException(exception); - - try { - EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); - List entityValues = new ArrayList<>(); - String languageCode = "languageCode-412800396"; - - client.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } } diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EnvironmentsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EnvironmentsClientTest.java new file mode 100644 index 000000000..b6c0e75b8 --- /dev/null +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EnvironmentsClientTest.java @@ -0,0 +1,151 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2; + +import static com.google.cloud.dialogflow.v2.EnvironmentsClient.ListEnvironmentsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.common.collect.Lists; +import com.google.protobuf.AbstractMessage; +import io.grpc.Status; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@javax.annotation.Generated("by GAPIC") +public class EnvironmentsClientTest { + private static MockAgents mockAgents; + private static MockContexts mockContexts; + private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; + private static MockIntents mockIntents; + private static MockSessionEntityTypes mockSessionEntityTypes; + private static MockSessions mockSessions; + private static MockServiceHelper serviceHelper; + private EnvironmentsClient client; + private LocalChannelProvider channelProvider; + + @BeforeClass + public static void startStaticServer() { + mockAgents = new MockAgents(); + mockContexts = new MockContexts(); + mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); + mockIntents = new MockIntents(); + mockSessionEntityTypes = new MockSessionEntityTypes(); + mockSessions = new MockSessions(); + serviceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), + Arrays.asList( + mockAgents, + mockContexts, + mockEntityTypes, + mockEnvironments, + mockIntents, + mockSessionEntityTypes, + mockSessions)); + serviceHelper.start(); + } + + @AfterClass + public static void stopServer() { + serviceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + serviceHelper.reset(); + channelProvider = serviceHelper.createChannelProvider(); + EnvironmentsSettings settings = + EnvironmentsSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = EnvironmentsClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + @SuppressWarnings("all") + public void listEnvironmentsTest() { + String nextPageToken = ""; + Environment environmentsElement = Environment.newBuilder().build(); + List environments = Arrays.asList(environmentsElement); + ListEnvironmentsResponse expectedResponse = + ListEnvironmentsResponse.newBuilder() + .setNextPageToken(nextPageToken) + .addAllEnvironments(environments) + .build(); + mockEnvironments.addResponse(expectedResponse); + + AgentName parent = AgentName.of("[PROJECT]"); + ListEnvironmentsRequest request = + ListEnvironmentsRequest.newBuilder().setParent(parent.toString()).build(); + + ListEnvironmentsPagedResponse pagedListResponse = client.listEnvironments(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getEnvironmentsList().get(0), resources.get(0)); + + List actualRequests = mockEnvironments.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListEnvironmentsRequest actualRequest = (ListEnvironmentsRequest) actualRequests.get(0); + + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void listEnvironmentsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockEnvironments.addException(exception); + + try { + AgentName parent = AgentName.of("[PROJECT]"); + ListEnvironmentsRequest request = + ListEnvironmentsRequest.newBuilder().setParent(parent.toString()).build(); + + client.listEnvironments(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } +} diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/IntentsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/IntentsClientTest.java index b32dd6ff4..4c59fc56a 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/IntentsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/IntentsClientTest.java @@ -50,6 +50,7 @@ public class IntentsClientTest { private static MockAgents mockAgents; private static MockContexts mockContexts; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockSessionEntityTypes mockSessionEntityTypes; private static MockSessions mockSessions; @@ -62,6 +63,7 @@ public static void startStaticServer() { mockAgents = new MockAgents(); mockContexts = new MockContexts(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockSessionEntityTypes = new MockSessionEntityTypes(); mockSessions = new MockSessions(); @@ -72,6 +74,7 @@ public static void startStaticServer() { mockAgents, mockContexts, mockEntityTypes, + mockEnvironments, mockIntents, mockSessionEntityTypes, mockSessions)); @@ -100,6 +103,92 @@ public void tearDown() throws Exception { client.close(); } + @Test + @SuppressWarnings("all") + public void deleteIntentTest() { + Empty expectedResponse = Empty.newBuilder().build(); + mockIntents.addResponse(expectedResponse); + + IntentName name = IntentName.of("[PROJECT]", "[INTENT]"); + + client.deleteIntent(name); + + List actualRequests = mockIntents.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteIntentRequest actualRequest = (DeleteIntentRequest) actualRequests.get(0); + + Assert.assertEquals(name, IntentName.parse(actualRequest.getName())); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void deleteIntentExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockIntents.addException(exception); + + try { + IntentName name = IntentName.of("[PROJECT]", "[INTENT]"); + + client.deleteIntent(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void batchDeleteIntentsTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("batchDeleteIntentsTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockIntents.addResponse(resultOperation); + + AgentName parent = AgentName.of("[PROJECT]"); + List intents = new ArrayList<>(); + + Empty actualResponse = client.batchDeleteIntentsAsync(parent, intents).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockIntents.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BatchDeleteIntentsRequest actualRequest = (BatchDeleteIntentsRequest) actualRequests.get(0); + + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); + Assert.assertEquals(intents, actualRequest.getIntentsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void batchDeleteIntentsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockIntents.addException(exception); + + try { + AgentName parent = AgentName.of("[PROJECT]"); + List intents = new ArrayList<>(); + + client.batchDeleteIntentsAsync(parent, intents).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + @Test @SuppressWarnings("all") public void listIntentsTest() { @@ -113,7 +202,7 @@ public void listIntentsTest() { .build(); mockIntents.addResponse(expectedResponse); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); ListIntentsPagedResponse pagedListResponse = client.listIntents(parent); @@ -125,7 +214,7 @@ public void listIntentsTest() { Assert.assertEquals(1, actualRequests.size()); ListIntentsRequest actualRequest = (ListIntentsRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -139,7 +228,7 @@ public void listIntentsExceptionTest() throws Exception { mockIntents.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); client.listIntents(parent); Assert.fail("No exception raised"); @@ -161,7 +250,7 @@ public void listIntentsTest2() { .build(); mockIntents.addResponse(expectedResponse); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); String languageCode = "languageCode-412800396"; ListIntentsPagedResponse pagedListResponse = client.listIntents(parent, languageCode); @@ -174,7 +263,7 @@ public void listIntentsTest2() { Assert.assertEquals(1, actualRequests.size()); ListIntentsRequest actualRequest = (ListIntentsRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); Assert.assertEquals(languageCode, actualRequest.getLanguageCode()); Assert.assertTrue( channelProvider.isHeaderSent( @@ -189,7 +278,7 @@ public void listIntentsExceptionTest2() throws Exception { mockIntents.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); String languageCode = "languageCode-412800396"; client.listIntents(parent, languageCode); @@ -344,7 +433,7 @@ public void createIntentTest() { .build(); mockIntents.addResponse(expectedResponse); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); Intent intent = Intent.newBuilder().build(); Intent actualResponse = client.createIntent(parent, intent); @@ -354,7 +443,7 @@ public void createIntentTest() { Assert.assertEquals(1, actualRequests.size()); CreateIntentRequest actualRequest = (CreateIntentRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); Assert.assertEquals(intent, actualRequest.getIntent()); Assert.assertTrue( channelProvider.isHeaderSent( @@ -369,7 +458,7 @@ public void createIntentExceptionTest() throws Exception { mockIntents.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); Intent intent = Intent.newBuilder().build(); client.createIntent(parent, intent); @@ -405,7 +494,7 @@ public void createIntentTest2() { .build(); mockIntents.addResponse(expectedResponse); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); Intent intent = Intent.newBuilder().build(); String languageCode = "languageCode-412800396"; @@ -416,7 +505,7 @@ public void createIntentTest2() { Assert.assertEquals(1, actualRequests.size()); CreateIntentRequest actualRequest = (CreateIntentRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); Assert.assertEquals(intent, actualRequest.getIntent()); Assert.assertEquals(languageCode, actualRequest.getLanguageCode()); Assert.assertTrue( @@ -432,7 +521,7 @@ public void createIntentExceptionTest2() throws Exception { mockIntents.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); + AgentName parent = AgentName.of("[PROJECT]"); Intent intent = Intent.newBuilder().build(); String languageCode = "languageCode-412800396"; @@ -565,43 +654,6 @@ public void updateIntentExceptionTest2() throws Exception { } } - @Test - @SuppressWarnings("all") - public void deleteIntentTest() { - Empty expectedResponse = Empty.newBuilder().build(); - mockIntents.addResponse(expectedResponse); - - IntentName name = IntentName.of("[PROJECT]", "[INTENT]"); - - client.deleteIntent(name); - - List actualRequests = mockIntents.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeleteIntentRequest actualRequest = (DeleteIntentRequest) actualRequests.get(0); - - Assert.assertEquals(name, IntentName.parse(actualRequest.getName())); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - @SuppressWarnings("all") - public void deleteIntentExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); - mockIntents.addException(exception); - - try { - IntentName name = IntentName.of("[PROJECT]", "[INTENT]"); - - client.deleteIntent(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception - } - } - @Test @SuppressWarnings("all") public void batchUpdateIntentsTest() throws Exception { @@ -614,18 +666,19 @@ public void batchUpdateIntentsTest() throws Exception { .build(); mockIntents.addResponse(resultOperation); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); - BatchUpdateIntentsRequest request = - BatchUpdateIntentsRequest.newBuilder().setParent(parent.toString()).build(); + AgentName parent = AgentName.of("[PROJECT]"); + String intentBatchUri = "intentBatchUri-969851644"; - BatchUpdateIntentsResponse actualResponse = client.batchUpdateIntentsAsync(request).get(); + BatchUpdateIntentsResponse actualResponse = + client.batchUpdateIntentsAsync(parent, intentBatchUri).get(); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockIntents.getRequests(); Assert.assertEquals(1, actualRequests.size()); BatchUpdateIntentsRequest actualRequest = (BatchUpdateIntentsRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); + Assert.assertEquals(intentBatchUri, actualRequest.getIntentBatchUri()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -639,11 +692,10 @@ public void batchUpdateIntentsExceptionTest() throws Exception { mockIntents.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); - BatchUpdateIntentsRequest request = - BatchUpdateIntentsRequest.newBuilder().setParent(parent.toString()).build(); + AgentName parent = AgentName.of("[PROJECT]"); + String intentBatchUri = "intentBatchUri-969851644"; - client.batchUpdateIntentsAsync(request).get(); + client.batchUpdateIntentsAsync(parent, intentBatchUri).get(); Assert.fail("No exception raised"); } catch (ExecutionException e) { Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); @@ -654,28 +706,29 @@ public void batchUpdateIntentsExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void batchDeleteIntentsTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); + public void batchUpdateIntentsTest2() throws Exception { + BatchUpdateIntentsResponse expectedResponse = BatchUpdateIntentsResponse.newBuilder().build(); Operation resultOperation = Operation.newBuilder() - .setName("batchDeleteIntentsTest") + .setName("batchUpdateIntentsTest2") .setDone(true) .setResponse(Any.pack(expectedResponse)) .build(); mockIntents.addResponse(resultOperation); - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); - List intents = new ArrayList<>(); + AgentName parent = AgentName.of("[PROJECT]"); + IntentBatch intentBatchInline = IntentBatch.newBuilder().build(); - Empty actualResponse = client.batchDeleteIntentsAsync(parent, intents).get(); + BatchUpdateIntentsResponse actualResponse = + client.batchUpdateIntentsAsync(parent, intentBatchInline).get(); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockIntents.getRequests(); Assert.assertEquals(1, actualRequests.size()); - BatchDeleteIntentsRequest actualRequest = (BatchDeleteIntentsRequest) actualRequests.get(0); + BatchUpdateIntentsRequest actualRequest = (BatchUpdateIntentsRequest) actualRequests.get(0); - Assert.assertEquals(parent, ProjectAgentName.parse(actualRequest.getParent())); - Assert.assertEquals(intents, actualRequest.getIntentsList()); + Assert.assertEquals(parent, AgentName.parse(actualRequest.getParent())); + Assert.assertEquals(intentBatchInline, actualRequest.getIntentBatchInline()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -684,15 +737,15 @@ public void batchDeleteIntentsTest() throws Exception { @Test @SuppressWarnings("all") - public void batchDeleteIntentsExceptionTest() throws Exception { + public void batchUpdateIntentsExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockIntents.addException(exception); try { - ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); - List intents = new ArrayList<>(); + AgentName parent = AgentName.of("[PROJECT]"); + IntentBatch intentBatchInline = IntentBatch.newBuilder().build(); - client.batchDeleteIntentsAsync(parent, intents).get(); + client.batchUpdateIntentsAsync(parent, intentBatchInline).get(); Assert.fail("No exception raised"); } catch (ExecutionException e) { Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEnvironments.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEnvironments.java new file mode 100644 index 000000000..6f050d883 --- /dev/null +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEnvironments.java @@ -0,0 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; + +@javax.annotation.Generated("by GAPIC") +@BetaApi +public class MockEnvironments implements MockGrpcService { + private final MockEnvironmentsImpl serviceImpl; + + public MockEnvironments() { + serviceImpl = new MockEnvironmentsImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEnvironmentsImpl.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEnvironmentsImpl.java new file mode 100644 index 000000000..415381b1c --- /dev/null +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEnvironmentsImpl.java @@ -0,0 +1,73 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2; + +import com.google.api.core.BetaApi; +import com.google.cloud.dialogflow.v2.EnvironmentsGrpc.EnvironmentsImplBase; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; + +@javax.annotation.Generated("by GAPIC") +@BetaApi +public class MockEnvironmentsImpl extends EnvironmentsImplBase { + private List requests; + private Queue responses; + + public MockEnvironmentsImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listEnvironments( + ListEnvironmentsRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof ListEnvironmentsResponse) { + requests.add(request); + responseObserver.onNext((ListEnvironmentsResponse) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } +} diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionsImpl.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionsImpl.java index 819f7ba27..475e5d457 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionsImpl.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionsImpl.java @@ -74,11 +74,12 @@ public void detectIntent( @Override public StreamObserver streamingDetectIntent( final StreamObserver responseObserver) { - final Object response = responses.remove(); StreamObserver requestObserver = new StreamObserver() { @Override public void onNext(StreamingDetectIntentRequest value) { + requests.add(value); + final Object response = responses.remove(); if (response instanceof StreamingDetectIntentResponse) { responseObserver.onNext((StreamingDetectIntentResponse) response); } else if (response instanceof Exception) { diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClientTest.java index 38227efe1..47c0428f8 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClientTest.java @@ -45,6 +45,7 @@ public class SessionEntityTypesClientTest { private static MockAgents mockAgents; private static MockContexts mockContexts; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockSessionEntityTypes mockSessionEntityTypes; private static MockSessions mockSessions; @@ -57,6 +58,7 @@ public static void startStaticServer() { mockAgents = new MockAgents(); mockContexts = new MockContexts(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockSessionEntityTypes = new MockSessionEntityTypes(); mockSessions = new MockSessions(); @@ -67,6 +69,7 @@ public static void startStaticServer() { mockAgents, mockContexts, mockEntityTypes, + mockEnvironments, mockIntents, mockSessionEntityTypes, mockSessions)); @@ -95,6 +98,48 @@ public void tearDown() throws Exception { client.close(); } + @Test + @SuppressWarnings("all") + public void deleteSessionEntityTypeTest() { + Empty expectedResponse = Empty.newBuilder().build(); + mockSessionEntityTypes.addResponse(expectedResponse); + + SessionEntityTypeName name = + SessionEntityTypeName.ofProjectSessionEntityTypeName( + "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + + client.deleteSessionEntityType(name); + + List actualRequests = mockSessionEntityTypes.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSessionEntityTypeRequest actualRequest = + (DeleteSessionEntityTypeRequest) actualRequests.get(0); + + Assert.assertEquals(name, SessionEntityTypeName.parse(actualRequest.getName())); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void deleteSessionEntityTypeExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockSessionEntityTypes.addException(exception); + + try { + SessionEntityTypeName name = + SessionEntityTypeName.ofProjectSessionEntityTypeName( + "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + + client.deleteSessionEntityType(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + @Test @SuppressWarnings("all") public void listSessionEntityTypesTest() { @@ -108,7 +153,7 @@ public void listSessionEntityTypesTest() { .build(); mockSessionEntityTypes.addResponse(expectedResponse); - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); ListSessionEntityTypesPagedResponse pagedListResponse = client.listSessionEntityTypes(parent); @@ -135,7 +180,7 @@ public void listSessionEntityTypesExceptionTest() throws Exception { mockSessionEntityTypes.addException(exception); try { - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); client.listSessionEntityTypes(parent); Assert.fail("No exception raised"); @@ -148,13 +193,15 @@ public void listSessionEntityTypesExceptionTest() throws Exception { @SuppressWarnings("all") public void getSessionEntityTypeTest() { SessionEntityTypeName name2 = - SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + SessionEntityTypeName.ofProjectSessionEntityTypeName( + "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); SessionEntityType expectedResponse = SessionEntityType.newBuilder().setName(name2.toString()).build(); mockSessionEntityTypes.addResponse(expectedResponse); SessionEntityTypeName name = - SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + SessionEntityTypeName.ofProjectSessionEntityTypeName( + "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); SessionEntityType actualResponse = client.getSessionEntityType(name); Assert.assertEquals(expectedResponse, actualResponse); @@ -178,7 +225,8 @@ public void getSessionEntityTypeExceptionTest() throws Exception { try { SessionEntityTypeName name = - SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + SessionEntityTypeName.ofProjectSessionEntityTypeName( + "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); client.getSessionEntityType(name); Assert.fail("No exception raised"); @@ -191,12 +239,13 @@ public void getSessionEntityTypeExceptionTest() throws Exception { @SuppressWarnings("all") public void createSessionEntityTypeTest() { SessionEntityTypeName name = - SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + SessionEntityTypeName.ofProjectSessionEntityTypeName( + "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); SessionEntityType expectedResponse = SessionEntityType.newBuilder().setName(name.toString()).build(); mockSessionEntityTypes.addResponse(expectedResponse); - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build(); SessionEntityType actualResponse = client.createSessionEntityType(parent, sessionEntityType); @@ -222,7 +271,7 @@ public void createSessionEntityTypeExceptionTest() throws Exception { mockSessionEntityTypes.addException(exception); try { - SessionName parent = SessionName.of("[PROJECT]", "[SESSION]"); + SessionName parent = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build(); client.createSessionEntityType(parent, sessionEntityType); @@ -236,7 +285,8 @@ public void createSessionEntityTypeExceptionTest() throws Exception { @SuppressWarnings("all") public void updateSessionEntityTypeTest() { SessionEntityTypeName name = - SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + SessionEntityTypeName.ofProjectSessionEntityTypeName( + "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); SessionEntityType expectedResponse = SessionEntityType.newBuilder().setName(name.toString()).build(); mockSessionEntityTypes.addResponse(expectedResponse); @@ -276,21 +326,25 @@ public void updateSessionEntityTypeExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void deleteSessionEntityTypeTest() { - Empty expectedResponse = Empty.newBuilder().build(); + public void updateSessionEntityTypeTest2() { + SessionEntityTypeName name = + SessionEntityTypeName.ofProjectSessionEntityTypeName( + "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + SessionEntityType expectedResponse = + SessionEntityType.newBuilder().setName(name.toString()).build(); mockSessionEntityTypes.addResponse(expectedResponse); - SessionEntityTypeName name = - SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build(); - client.deleteSessionEntityType(name); + SessionEntityType actualResponse = client.updateSessionEntityType(sessionEntityType); + Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockSessionEntityTypes.getRequests(); Assert.assertEquals(1, actualRequests.size()); - DeleteSessionEntityTypeRequest actualRequest = - (DeleteSessionEntityTypeRequest) actualRequests.get(0); + UpdateSessionEntityTypeRequest actualRequest = + (UpdateSessionEntityTypeRequest) actualRequests.get(0); - Assert.assertEquals(name, SessionEntityTypeName.parse(actualRequest.getName())); + Assert.assertEquals(sessionEntityType, actualRequest.getSessionEntityType()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -299,15 +353,14 @@ public void deleteSessionEntityTypeTest() { @Test @SuppressWarnings("all") - public void deleteSessionEntityTypeExceptionTest() throws Exception { + public void updateSessionEntityTypeExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockSessionEntityTypes.addException(exception); try { - SessionEntityTypeName name = - SessionEntityTypeName.of("[PROJECT]", "[SESSION]", "[ENTITY_TYPE]"); + SessionEntityType sessionEntityType = SessionEntityType.newBuilder().build(); - client.deleteSessionEntityType(name); + client.updateSessionEntityType(sessionEntityType); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionsClientTest.java index cd8a7a1b2..fba6436ad 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionsClientTest.java @@ -47,6 +47,7 @@ public class SessionsClientTest { private static MockAgents mockAgents; private static MockContexts mockContexts; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockSessionEntityTypes mockSessionEntityTypes; private static MockSessions mockSessions; @@ -59,6 +60,7 @@ public static void startStaticServer() { mockAgents = new MockAgents(); mockContexts = new MockContexts(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockSessionEntityTypes = new MockSessionEntityTypes(); mockSessions = new MockSessions(); @@ -69,6 +71,7 @@ public static void startStaticServer() { mockAgents, mockContexts, mockEntityTypes, + mockEnvironments, mockIntents, mockSessionEntityTypes, mockSessions)); @@ -109,7 +112,7 @@ public void detectIntentTest() { .build(); mockSessions.addResponse(expectedResponse); - SessionName session = SessionName.of("[PROJECT]", "[SESSION]"); + SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); QueryInput queryInput = QueryInput.newBuilder().build(); DetectIntentResponse actualResponse = client.detectIntent(session, queryInput); @@ -134,7 +137,7 @@ public void detectIntentExceptionTest() throws Exception { mockSessions.addException(exception); try { - SessionName session = SessionName.of("[PROJECT]", "[SESSION]"); + SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); QueryInput queryInput = QueryInput.newBuilder().build(); client.detectIntent(session, queryInput); @@ -155,11 +158,11 @@ public void streamingDetectIntentTest() throws Exception { .setOutputAudio(outputAudio) .build(); mockSessions.addResponse(expectedResponse); - String session = "session1984987798"; + SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); QueryInput queryInput = QueryInput.newBuilder().build(); StreamingDetectIntentRequest request = StreamingDetectIntentRequest.newBuilder() - .setSession(session) + .setSession(session.toString()) .setQueryInput(queryInput) .build(); @@ -183,11 +186,11 @@ public void streamingDetectIntentTest() throws Exception { public void streamingDetectIntentExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockSessions.addException(exception); - String session = "session1984987798"; + SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]"); QueryInput queryInput = QueryInput.newBuilder().build(); StreamingDetectIntentRequest request = StreamingDetectIntentRequest.newBuilder() - .setSession(session) + .setSession(session.toString()) .setQueryInput(queryInput) .build(); diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/AgentsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/AgentsClientTest.java index aefe412bf..cde05a703 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/AgentsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/AgentsClientTest.java @@ -50,6 +50,7 @@ public class AgentsClientTest { private static MockContexts mockContexts; private static MockDocuments mockDocuments; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockKnowledgeBases mockKnowledgeBases; private static MockSessionEntityTypes mockSessionEntityTypes; @@ -64,6 +65,7 @@ public static void startStaticServer() { mockContexts = new MockContexts(); mockDocuments = new MockDocuments(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockKnowledgeBases = new MockKnowledgeBases(); mockSessionEntityTypes = new MockSessionEntityTypes(); @@ -76,6 +78,7 @@ public static void startStaticServer() { mockContexts, mockDocuments, mockEntityTypes, + mockEnvironments, mockIntents, mockKnowledgeBases, mockSessionEntityTypes, diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/ContextsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/ContextsClientTest.java index 3c00f3d3b..b106d7e2a 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/ContextsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/ContextsClientTest.java @@ -46,6 +46,7 @@ public class ContextsClientTest { private static MockContexts mockContexts; private static MockDocuments mockDocuments; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockKnowledgeBases mockKnowledgeBases; private static MockSessionEntityTypes mockSessionEntityTypes; @@ -60,6 +61,7 @@ public static void startStaticServer() { mockContexts = new MockContexts(); mockDocuments = new MockDocuments(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockKnowledgeBases = new MockKnowledgeBases(); mockSessionEntityTypes = new MockSessionEntityTypes(); @@ -72,6 +74,7 @@ public static void startStaticServer() { mockContexts, mockDocuments, mockEntityTypes, + mockEnvironments, mockIntents, mockKnowledgeBases, mockSessionEntityTypes, diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/DocumentsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/DocumentsClientTest.java index 980e36468..1829dc979 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/DocumentsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/DocumentsClientTest.java @@ -50,6 +50,7 @@ public class DocumentsClientTest { private static MockContexts mockContexts; private static MockDocuments mockDocuments; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockKnowledgeBases mockKnowledgeBases; private static MockSessionEntityTypes mockSessionEntityTypes; @@ -64,6 +65,7 @@ public static void startStaticServer() { mockContexts = new MockContexts(); mockDocuments = new MockDocuments(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockKnowledgeBases = new MockKnowledgeBases(); mockSessionEntityTypes = new MockSessionEntityTypes(); @@ -76,6 +78,7 @@ public static void startStaticServer() { mockContexts, mockDocuments, mockEntityTypes, + mockEnvironments, mockIntents, mockKnowledgeBases, mockSessionEntityTypes, diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClientTest.java index a24df5ccb..2328e49b9 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClientTest.java @@ -51,6 +51,7 @@ public class EntityTypesClientTest { private static MockContexts mockContexts; private static MockDocuments mockDocuments; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockKnowledgeBases mockKnowledgeBases; private static MockSessionEntityTypes mockSessionEntityTypes; @@ -65,6 +66,7 @@ public static void startStaticServer() { mockContexts = new MockContexts(); mockDocuments = new MockDocuments(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockKnowledgeBases = new MockKnowledgeBases(); mockSessionEntityTypes = new MockSessionEntityTypes(); @@ -77,6 +79,7 @@ public static void startStaticServer() { mockContexts, mockDocuments, mockEntityTypes, + mockEnvironments, mockIntents, mockKnowledgeBases, mockSessionEntityTypes, diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClientTest.java new file mode 100644 index 000000000..199c3ca4d --- /dev/null +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClientTest.java @@ -0,0 +1,141 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.protobuf.AbstractMessage; +import io.grpc.Status; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@javax.annotation.Generated("by GAPIC") +public class EnvironmentsClientTest { + private static MockAgents mockAgents; + private static MockContexts mockContexts; + private static MockDocuments mockDocuments; + private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; + private static MockIntents mockIntents; + private static MockKnowledgeBases mockKnowledgeBases; + private static MockSessionEntityTypes mockSessionEntityTypes; + private static MockSessions mockSessions; + private static MockServiceHelper serviceHelper; + private EnvironmentsClient client; + private LocalChannelProvider channelProvider; + + @BeforeClass + public static void startStaticServer() { + mockAgents = new MockAgents(); + mockContexts = new MockContexts(); + mockDocuments = new MockDocuments(); + mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); + mockIntents = new MockIntents(); + mockKnowledgeBases = new MockKnowledgeBases(); + mockSessionEntityTypes = new MockSessionEntityTypes(); + mockSessions = new MockSessions(); + serviceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), + Arrays.asList( + mockAgents, + mockContexts, + mockDocuments, + mockEntityTypes, + mockEnvironments, + mockIntents, + mockKnowledgeBases, + mockSessionEntityTypes, + mockSessions)); + serviceHelper.start(); + } + + @AfterClass + public static void stopServer() { + serviceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + serviceHelper.reset(); + channelProvider = serviceHelper.createChannelProvider(); + EnvironmentsSettings settings = + EnvironmentsSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = EnvironmentsClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + @SuppressWarnings("all") + public void listEnvironmentsTest() { + String nextPageToken = "nextPageToken-1530815211"; + ListEnvironmentsResponse expectedResponse = + ListEnvironmentsResponse.newBuilder().setNextPageToken(nextPageToken).build(); + mockEnvironments.addResponse(expectedResponse); + + ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder().build(); + + ListEnvironmentsResponse actualResponse = client.listEnvironments(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEnvironments.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListEnvironmentsRequest actualRequest = (ListEnvironmentsRequest) actualRequests.get(0); + + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void listEnvironmentsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockEnvironments.addException(exception); + + try { + ListEnvironmentsRequest request = ListEnvironmentsRequest.newBuilder().build(); + + client.listEnvironments(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } +} diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/IntentsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/IntentsClientTest.java index 1cf9b0307..f39f71892 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/IntentsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/IntentsClientTest.java @@ -51,6 +51,7 @@ public class IntentsClientTest { private static MockContexts mockContexts; private static MockDocuments mockDocuments; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockKnowledgeBases mockKnowledgeBases; private static MockSessionEntityTypes mockSessionEntityTypes; @@ -65,6 +66,7 @@ public static void startStaticServer() { mockContexts = new MockContexts(); mockDocuments = new MockDocuments(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockKnowledgeBases = new MockKnowledgeBases(); mockSessionEntityTypes = new MockSessionEntityTypes(); @@ -77,6 +79,7 @@ public static void startStaticServer() { mockContexts, mockDocuments, mockEntityTypes, + mockEnvironments, mockIntents, mockKnowledgeBases, mockSessionEntityTypes, diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClientTest.java index 371d84b63..bc1398d55 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClientTest.java @@ -46,6 +46,7 @@ public class KnowledgeBasesClientTest { private static MockContexts mockContexts; private static MockDocuments mockDocuments; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockKnowledgeBases mockKnowledgeBases; private static MockSessionEntityTypes mockSessionEntityTypes; @@ -60,6 +61,7 @@ public static void startStaticServer() { mockContexts = new MockContexts(); mockDocuments = new MockDocuments(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockKnowledgeBases = new MockKnowledgeBases(); mockSessionEntityTypes = new MockSessionEntityTypes(); @@ -72,6 +74,7 @@ public static void startStaticServer() { mockContexts, mockDocuments, mockEntityTypes, + mockEnvironments, mockIntents, mockKnowledgeBases, mockSessionEntityTypes, diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEnvironments.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEnvironments.java new file mode 100644 index 000000000..a0f7cf8f5 --- /dev/null +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEnvironments.java @@ -0,0 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; + +@javax.annotation.Generated("by GAPIC") +@BetaApi +public class MockEnvironments implements MockGrpcService { + private final MockEnvironmentsImpl serviceImpl; + + public MockEnvironments() { + serviceImpl = new MockEnvironmentsImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEnvironmentsImpl.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEnvironmentsImpl.java new file mode 100644 index 000000000..6484ba96c --- /dev/null +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEnvironmentsImpl.java @@ -0,0 +1,73 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1; + +import com.google.api.core.BetaApi; +import com.google.cloud.dialogflow.v2beta1.EnvironmentsGrpc.EnvironmentsImplBase; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; + +@javax.annotation.Generated("by GAPIC") +@BetaApi +public class MockEnvironmentsImpl extends EnvironmentsImplBase { + private List requests; + private Queue responses; + + public MockEnvironmentsImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listEnvironments( + ListEnvironmentsRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof ListEnvironmentsResponse) { + requests.add(request); + responseObserver.onNext((ListEnvironmentsResponse) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } +} diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionsImpl.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionsImpl.java index e647a6e08..c9724e217 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionsImpl.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionsImpl.java @@ -74,11 +74,12 @@ public void detectIntent( @Override public StreamObserver streamingDetectIntent( final StreamObserver responseObserver) { - final Object response = responses.remove(); StreamObserver requestObserver = new StreamObserver() { @Override public void onNext(StreamingDetectIntentRequest value) { + requests.add(value); + final Object response = responses.remove(); if (response instanceof StreamingDetectIntentResponse) { responseObserver.onNext((StreamingDetectIntentResponse) response); } else if (response instanceof Exception) { diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClientTest.java index 0690154dd..3fe39c948 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClientTest.java @@ -46,6 +46,7 @@ public class SessionEntityTypesClientTest { private static MockContexts mockContexts; private static MockDocuments mockDocuments; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockKnowledgeBases mockKnowledgeBases; private static MockSessionEntityTypes mockSessionEntityTypes; @@ -60,6 +61,7 @@ public static void startStaticServer() { mockContexts = new MockContexts(); mockDocuments = new MockDocuments(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockKnowledgeBases = new MockKnowledgeBases(); mockSessionEntityTypes = new MockSessionEntityTypes(); @@ -72,6 +74,7 @@ public static void startStaticServer() { mockContexts, mockDocuments, mockEntityTypes, + mockEnvironments, mockIntents, mockKnowledgeBases, mockSessionEntityTypes, diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionsClientTest.java index 4acd2ef71..3455e9150 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionsClientTest.java @@ -48,6 +48,7 @@ public class SessionsClientTest { private static MockContexts mockContexts; private static MockDocuments mockDocuments; private static MockEntityTypes mockEntityTypes; + private static MockEnvironments mockEnvironments; private static MockIntents mockIntents; private static MockKnowledgeBases mockKnowledgeBases; private static MockSessionEntityTypes mockSessionEntityTypes; @@ -62,6 +63,7 @@ public static void startStaticServer() { mockContexts = new MockContexts(); mockDocuments = new MockDocuments(); mockEntityTypes = new MockEntityTypes(); + mockEnvironments = new MockEnvironments(); mockIntents = new MockIntents(); mockKnowledgeBases = new MockKnowledgeBases(); mockSessionEntityTypes = new MockSessionEntityTypes(); @@ -74,6 +76,7 @@ public static void startStaticServer() { mockContexts, mockDocuments, mockEntityTypes, + mockEnvironments, mockIntents, mockKnowledgeBases, mockSessionEntityTypes, diff --git a/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsGrpc.java b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsGrpc.java new file mode 100644 index 000000000..67fdd7e64 --- /dev/null +++ b/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsGrpc.java @@ -0,0 +1,366 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; +import static io.grpc.stub.ClientCalls.asyncUnaryCall; +import static io.grpc.stub.ClientCalls.blockingUnaryCall; +import static io.grpc.stub.ClientCalls.futureUnaryCall; +import static io.grpc.stub.ServerCalls.asyncUnaryCall; +import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; + +/** + * + * + *
+ * Manages agent environments.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dialogflow/v2/environment.proto") +public final class EnvironmentsGrpc { + + private EnvironmentsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.dialogflow.v2.Environments"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest, + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse> + getListEnvironmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", + requestType = com.google.cloud.dialogflow.v2.ListEnvironmentsRequest.class, + responseType = com.google.cloud.dialogflow.v2.ListEnvironmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest, + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse> + getListEnvironmentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest, + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse> + getListEnvironmentsMethod; + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + EnvironmentsGrpc.getListEnvironmentsMethod = + getListEnvironmentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) + .build(); + } + } + } + return getListEnvironmentsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static EnvironmentsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + }; + return EnvironmentsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static EnvironmentsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + }; + return EnvironmentsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EnvironmentsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + }; + return EnvironmentsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Manages agent environments.
+   * 
+ */ + public abstract static class EnvironmentsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Returns the list of all non-draft environments of the specified agent.
+     * 
+ */ + public void listEnvironments( + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnimplementedUnaryCall(getListEnvironmentsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListEnvironmentsMethod(), + asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest, + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse>( + this, METHODID_LIST_ENVIRONMENTS))) + .build(); + } + } + + /** + * + * + *
+   * Manages agent environments.
+   * 
+ */ + public static final class EnvironmentsStub + extends io.grpc.stub.AbstractAsyncStub { + private EnvironmentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the list of all non-draft environments of the specified agent.
+     * 
+ */ + public void listEnvironments( + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Manages agent environments.
+   * 
+ */ + public static final class EnvironmentsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EnvironmentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the list of all non-draft environments of the specified agent.
+     * 
+ */ + public com.google.cloud.dialogflow.v2.ListEnvironmentsResponse listEnvironments( + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest request) { + return blockingUnaryCall( + getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Manages agent environments.
+   * 
+ */ + public static final class EnvironmentsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EnvironmentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the list of all non-draft environments of the specified agent.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse> + listEnvironments(com.google.cloud.dialogflow.v2.ListEnvironmentsRequest request) { + return futureUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_ENVIRONMENTS = 0; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final EnvironmentsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_ENVIRONMENTS: + serviceImpl.listEnvironments( + (com.google.cloud.dialogflow.v2.ListEnvironmentsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + EnvironmentsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dialogflow.v2.EnvironmentProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Environments"); + } + } + + private static final class EnvironmentsFileDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier { + EnvironmentsFileDescriptorSupplier() {} + } + + private static final class EnvironmentsMethodDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + EnvironmentsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (EnvironmentsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) + .addMethod(getListEnvironmentsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java index f4312a489..885552c77 100644 --- a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java @@ -398,8 +398,6 @@ public void getDocument( * Creates a new document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public void createDocument( @@ -415,8 +413,6 @@ public void createDocument( * Deletes the specified document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [google.protobuf.Empty][google.protobuf.Empty], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public void deleteDocument( @@ -432,8 +428,6 @@ public void deleteDocument( * Updates the specified document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public void updateDocument( @@ -452,8 +446,6 @@ public void updateDocument( * may be side effects because of internal implementation changes. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public void reloadDocument( @@ -568,8 +560,6 @@ public void getDocument( * Creates a new document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public void createDocument( @@ -588,8 +578,6 @@ public void createDocument( * Deletes the specified document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [google.protobuf.Empty][google.protobuf.Empty], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public void deleteDocument( @@ -608,8 +596,6 @@ public void deleteDocument( * Updates the specified document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public void updateDocument( @@ -631,8 +617,6 @@ public void updateDocument( * may be side effects because of internal implementation changes. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public void reloadDocument( @@ -699,8 +683,6 @@ public com.google.cloud.dialogflow.v2beta1.Document getDocument( * Creates a new document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public com.google.longrunning.Operation createDocument( @@ -715,8 +697,6 @@ public com.google.longrunning.Operation createDocument( * Deletes the specified document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [google.protobuf.Empty][google.protobuf.Empty], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public com.google.longrunning.Operation deleteDocument( @@ -731,8 +711,6 @@ public com.google.longrunning.Operation deleteDocument( * Updates the specified document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public com.google.longrunning.Operation updateDocument( @@ -750,8 +728,6 @@ public com.google.longrunning.Operation updateDocument( * may be side effects because of internal implementation changes. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public com.google.longrunning.Operation reloadDocument( @@ -817,8 +793,6 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * Creates a new document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public com.google.common.util.concurrent.ListenableFuture @@ -834,8 +808,6 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * Deletes the specified document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [google.protobuf.Empty][google.protobuf.Empty], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public com.google.common.util.concurrent.ListenableFuture @@ -851,8 +823,6 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * Updates the specified document. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public com.google.common.util.concurrent.ListenableFuture @@ -871,8 +841,6 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * may be side effects because of internal implementation changes. * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. - * Operation <response: [Document][google.cloud.dialogflow.v2beta1.Document], - * metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]> * */ public com.google.common.util.concurrent.ListenableFuture diff --git a/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsGrpc.java b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsGrpc.java new file mode 100644 index 000000000..47f50a292 --- /dev/null +++ b/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsGrpc.java @@ -0,0 +1,367 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +package com.google.cloud.dialogflow.v2beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; +import static io.grpc.stub.ClientCalls.asyncUnaryCall; +import static io.grpc.stub.ClientCalls.blockingUnaryCall; +import static io.grpc.stub.ClientCalls.futureUnaryCall; +import static io.grpc.stub.ServerCalls.asyncUnaryCall; +import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; + +/** + * + * + *
+ * Manages agent environments.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dialogflow/v2beta1/environment.proto") +public final class EnvironmentsGrpc { + + private EnvironmentsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.dialogflow.v2beta1.Environments"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest, + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse> + getListEnvironmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEnvironments", + requestType = com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest.class, + responseType = com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest, + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse> + getListEnvironmentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest, + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse> + getListEnvironmentsMethod; + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + synchronized (EnvironmentsGrpc.class) { + if ((getListEnvironmentsMethod = EnvironmentsGrpc.getListEnvironmentsMethod) == null) { + EnvironmentsGrpc.getListEnvironmentsMethod = + getListEnvironmentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEnvironments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EnvironmentsMethodDescriptorSupplier("ListEnvironments")) + .build(); + } + } + } + return getListEnvironmentsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static EnvironmentsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + }; + return EnvironmentsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static EnvironmentsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + }; + return EnvironmentsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EnvironmentsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnvironmentsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + }; + return EnvironmentsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Manages agent environments.
+   * 
+ */ + public abstract static class EnvironmentsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Returns the list of all non-draft environments of the specified agent.
+     * 
+ */ + public void listEnvironments( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnimplementedUnaryCall(getListEnvironmentsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListEnvironmentsMethod(), + asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest, + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse>( + this, METHODID_LIST_ENVIRONMENTS))) + .build(); + } + } + + /** + * + * + *
+   * Manages agent environments.
+   * 
+ */ + public static final class EnvironmentsStub + extends io.grpc.stub.AbstractAsyncStub { + private EnvironmentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the list of all non-draft environments of the specified agent.
+     * 
+ */ + public void listEnvironments( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Manages agent environments.
+   * 
+ */ + public static final class EnvironmentsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EnvironmentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the list of all non-draft environments of the specified agent.
+     * 
+ */ + public com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse listEnvironments( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest request) { + return blockingUnaryCall( + getChannel(), getListEnvironmentsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Manages agent environments.
+   * 
+ */ + public static final class EnvironmentsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EnvironmentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnvironmentsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnvironmentsFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the list of all non-draft environments of the specified agent.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse> + listEnvironments(com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest request) { + return futureUnaryCall( + getChannel().newCall(getListEnvironmentsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_ENVIRONMENTS = 0; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final EnvironmentsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(EnvironmentsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_ENVIRONMENTS: + serviceImpl.listEnvironments( + (com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + EnvironmentsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Environments"); + } + } + + private static final class EnvironmentsFileDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier { + EnvironmentsFileDescriptorSupplier() {} + } + + private static final class EnvironmentsMethodDescriptorSupplier + extends EnvironmentsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + EnvironmentsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (EnvironmentsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EnvironmentsFileDescriptorSupplier()) + .addMethod(getListEnvironmentsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-dialogflow-v2/clirr-ignored-differences.xml b/proto-google-cloud-dialogflow-v2/clirr-ignored-differences.xml index f239c8b85..23df8a884 100644 --- a/proto-google-cloud-dialogflow-v2/clirr-ignored-differences.xml +++ b/proto-google-cloud-dialogflow-v2/clirr-ignored-differences.xml @@ -16,4 +16,20 @@ com/google/cloud/dialogflow/v2/*OrBuilder boolean has*(*) + + + 7002 + com/google/cloud/dialogflow/v2/AgentName* + * *Agent(*) + + + 7004 + com/google/cloud/dialogflow/v2/AgentName + java.lang.String format(java.lang.String, java.lang.String) + + + 7004 + com/google/cloud/dialogflow/v2/AgentName + com.google.cloud.dialogflow.v2.AgentName of(java.lang.String, java.lang.String) + diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java index ce629396c..72f51a466 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java @@ -29,21 +29,16 @@ public class AgentName implements ResourceName { private static final PathTemplate PATH_TEMPLATE = - PathTemplate.createWithoutUrlEncoding("projects/{project}/agents/{agent}"); + PathTemplate.createWithoutUrlEncoding("projects/{project}/agent"); private volatile Map fieldValuesMap; private final String project; - private final String agent; public String getProject() { return project; } - public String getAgent() { - return agent; - } - public static Builder newBuilder() { return new Builder(); } @@ -54,15 +49,14 @@ public Builder toBuilder() { private AgentName(Builder builder) { project = Preconditions.checkNotNull(builder.getProject()); - agent = Preconditions.checkNotNull(builder.getAgent()); } - public static AgentName of(String project, String agent) { - return newBuilder().setProject(project).setAgent(agent).build(); + public static AgentName of(String project) { + return newBuilder().setProject(project).build(); } - public static String format(String project, String agent) { - return newBuilder().setProject(project).setAgent(agent).build().toString(); + public static String format(String project) { + return newBuilder().setProject(project).build().toString(); } public static AgentName parse(String formattedString) { @@ -72,7 +66,7 @@ public static AgentName parse(String formattedString) { Map matchMap = PATH_TEMPLATE.validatedMatch( formattedString, "AgentName.parse: formattedString not in valid format"); - return of(matchMap.get("project"), matchMap.get("agent")); + return of(matchMap.get("project")); } public static List parseList(List formattedStrings) { @@ -105,7 +99,6 @@ public Map getFieldValuesMap() { if (fieldValuesMap == null) { ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); fieldMapBuilder.put("project", project); - fieldMapBuilder.put("agent", agent); fieldValuesMap = fieldMapBuilder.build(); } } @@ -119,38 +112,27 @@ public String getFieldValue(String fieldName) { @Override public String toString() { - return PATH_TEMPLATE.instantiate("project", project, "agent", agent); + return PATH_TEMPLATE.instantiate("project", project); } /** Builder for AgentName. */ public static class Builder { private String project; - private String agent; public String getProject() { return project; } - public String getAgent() { - return agent; - } - public Builder setProject(String project) { this.project = project; return this; } - public Builder setAgent(String agent) { - this.agent = agent; - return this; - } - private Builder() {} private Builder(AgentName agentName) { project = agentName.project; - agent = agentName.agent; } public AgentName build() { @@ -165,7 +147,7 @@ public boolean equals(Object o) { } if (o instanceof AgentName) { AgentName that = (AgentName) o; - return (this.project.equals(that.project)) && (this.agent.equals(that.agent)); + return (this.project.equals(that.project)); } return false; } @@ -175,8 +157,6 @@ public int hashCode() { int h = 1; h *= 1000003; h ^= project.hashCode(); - h *= 1000003; - h ^= agent.hashCode(); return h; } } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java index 9f9e0d7f7..4c0a6b187 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java @@ -236,7 +236,7 @@ public int getLifespanCount() { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -262,7 +262,7 @@ public boolean hasParameters() { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -288,7 +288,7 @@ public com.google.protobuf.Struct getParameters() { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -903,7 +903,7 @@ public Builder clearLifespanCount() { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -930,7 +930,7 @@ public boolean hasParameters() { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -961,7 +961,7 @@ public com.google.protobuf.Struct getParameters() { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -996,7 +996,7 @@ public Builder setParameters(com.google.protobuf.Struct value) { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -1028,7 +1028,7 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -1065,7 +1065,7 @@ public Builder mergeParameters(com.google.protobuf.Struct value) { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -1098,7 +1098,7 @@ public Builder clearParameters() { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -1125,7 +1125,7 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -1154,7 +1154,7 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java index 8a8e822cd..59820715f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java @@ -16,27 +16,40 @@ package com.google.cloud.dialogflow.v2; +import com.google.api.core.BetaApi; import com.google.api.pathtemplate.PathTemplate; +import com.google.api.pathtemplate.ValidationException; import com.google.api.resourcenames.ResourceName; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import java.util.ArrayList; import java.util.List; import java.util.Map; +import java.util.Objects; /** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class ContextName implements ResourceName { - private static final PathTemplate PATH_TEMPLATE = + @Deprecated + protected ContextName() {} + + private static final PathTemplate PROJECT_SESSION_CONTEXT_PATH_TEMPLATE = PathTemplate.createWithoutUrlEncoding( "projects/{project}/agent/sessions/{session}/contexts/{context}"); + private static final PathTemplate PROJECT_ENVIRONMENT_USER_SESSION_CONTEXT_PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}"); private volatile Map fieldValuesMap; + private PathTemplate pathTemplate; + private String fixedValue; - private final String project; - private final String session; - private final String context; + private String project; + private String session; + private String context; + private String environment; + private String user; public String getProject() { return project; @@ -50,22 +63,77 @@ public String getContext() { return context; } - public static Builder newBuilder() { - return new Builder(); + public String getEnvironment() { + return environment; } - public Builder toBuilder() { - return new Builder(this); + public String getUser() { + return user; } private ContextName(Builder builder) { project = Preconditions.checkNotNull(builder.getProject()); session = Preconditions.checkNotNull(builder.getSession()); context = Preconditions.checkNotNull(builder.getContext()); + pathTemplate = PROJECT_SESSION_CONTEXT_PATH_TEMPLATE; + } + + private ContextName(ProjectEnvironmentUserSessionContextBuilder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + environment = Preconditions.checkNotNull(builder.getEnvironment()); + user = Preconditions.checkNotNull(builder.getUser()); + session = Preconditions.checkNotNull(builder.getSession()); + context = Preconditions.checkNotNull(builder.getContext()); + pathTemplate = PROJECT_ENVIRONMENT_USER_SESSION_CONTEXT_PATH_TEMPLATE; + } + + public static Builder newBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static Builder newProjectSessionContextBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static ProjectEnvironmentUserSessionContextBuilder + newProjectEnvironmentUserSessionContextBuilder() { + return new ProjectEnvironmentUserSessionContextBuilder(); + } + + public Builder toBuilder() { + return new Builder(this); } public static ContextName of(String project, String session, String context) { - return newBuilder().setProject(project).setSession(session).setContext(context).build(); + return newProjectSessionContextBuilder() + .setProject(project) + .setSession(session) + .setContext(context) + .build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static ContextName ofProjectSessionContextName( + String project, String session, String context) { + return newProjectSessionContextBuilder() + .setProject(project) + .setSession(session) + .setContext(context) + .build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static ContextName ofProjectEnvironmentUserSessionContextName( + String project, String environment, String user, String session, String context) { + return newProjectEnvironmentUserSessionContextBuilder() + .setProject(project) + .setEnvironment(environment) + .setUser(user) + .setSession(session) + .setContext(context) + .build(); } public static String format(String project, String session, String context) { @@ -77,14 +145,49 @@ public static String format(String project, String session, String context) { .toString(); } + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectSessionContextName( + String project, String session, String context) { + return newBuilder() + .setProject(project) + .setSession(session) + .setContext(context) + .build() + .toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectEnvironmentUserSessionContextName( + String project, String environment, String user, String session, String context) { + return newProjectEnvironmentUserSessionContextBuilder() + .setProject(project) + .setEnvironment(environment) + .setUser(user) + .setSession(session) + .setContext(context) + .build() + .toString(); + } + public static ContextName parse(String formattedString) { if (formattedString.isEmpty()) { return null; } - Map matchMap = - PATH_TEMPLATE.validatedMatch( - formattedString, "ContextName.parse: formattedString not in valid format"); - return of(matchMap.get("project"), matchMap.get("session"), matchMap.get("context")); + if (PROJECT_SESSION_CONTEXT_PATH_TEMPLATE.matches(formattedString)) { + Map matchMap = PROJECT_SESSION_CONTEXT_PATH_TEMPLATE.match(formattedString); + return ofProjectSessionContextName( + matchMap.get("project"), matchMap.get("session"), matchMap.get("context")); + } else if (PROJECT_ENVIRONMENT_USER_SESSION_CONTEXT_PATH_TEMPLATE.matches(formattedString)) { + Map matchMap = + PROJECT_ENVIRONMENT_USER_SESSION_CONTEXT_PATH_TEMPLATE.match(formattedString); + return ofProjectEnvironmentUserSessionContextName( + matchMap.get("project"), + matchMap.get("environment"), + matchMap.get("user"), + matchMap.get("session"), + matchMap.get("context")); + } + throw new ValidationException("JobName.parse: formattedString not in valid format"); } public static List parseList(List formattedStrings) { @@ -96,7 +199,7 @@ public static List parseList(List formattedStrings) { } public static List toStringList(List values) { - List list = new ArrayList(values.size()); + List list = new ArrayList<>(values.size()); for (ContextName value : values) { if (value == null) { list.add(""); @@ -108,17 +211,31 @@ public static List toStringList(List values) { } public static boolean isParsableFrom(String formattedString) { - return PATH_TEMPLATE.matches(formattedString); + return PROJECT_SESSION_CONTEXT_PATH_TEMPLATE.matches(formattedString) + || PROJECT_ENVIRONMENT_USER_SESSION_CONTEXT_PATH_TEMPLATE.matches(formattedString); } + @Override public Map getFieldValuesMap() { if (fieldValuesMap == null) { synchronized (this) { if (fieldValuesMap == null) { ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - fieldMapBuilder.put("project", project); - fieldMapBuilder.put("session", session); - fieldMapBuilder.put("context", context); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (session != null) { + fieldMapBuilder.put("session", session); + } + if (context != null) { + fieldMapBuilder.put("context", context); + } + if (environment != null) { + fieldMapBuilder.put("environment", environment); + } + if (user != null) { + fieldMapBuilder.put("user", user); + } fieldValuesMap = fieldMapBuilder.build(); } } @@ -132,16 +249,18 @@ public String getFieldValue(String fieldName) { @Override public String toString() { - return PATH_TEMPLATE.instantiate("project", project, "session", session, "context", context); + return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); } - /** Builder for ContextName. */ + /** Builder for projects/{project}/agent/sessions/{session}/contexts/{context}. */ public static class Builder { private String project; private String session; private String context; + protected Builder() {} + public String getProject() { return project; } @@ -169,9 +288,11 @@ public Builder setContext(String context) { return this; } - private Builder() {} - private Builder(ContextName contextName) { + Preconditions.checkArgument( + contextName.pathTemplate == PROJECT_SESSION_CONTEXT_PATH_TEMPLATE, + "toBuilder is only supported when ContextName has the pattern of " + + "projects/{project}/agent/sessions/{session}/contexts/{context}."); project = contextName.project; session = contextName.session; context = contextName.context; @@ -182,16 +303,83 @@ public ContextName build() { } } + /** + * Builder for + * projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}. + */ + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static class ProjectEnvironmentUserSessionContextBuilder { + + private String project; + private String environment; + private String user; + private String session; + private String context; + + private ProjectEnvironmentUserSessionContextBuilder() {} + + public String getProject() { + return project; + } + + public String getEnvironment() { + return environment; + } + + public String getUser() { + return user; + } + + public String getSession() { + return session; + } + + public String getContext() { + return context; + } + + public ProjectEnvironmentUserSessionContextBuilder setProject(String project) { + this.project = project; + return this; + } + + public ProjectEnvironmentUserSessionContextBuilder setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public ProjectEnvironmentUserSessionContextBuilder setUser(String user) { + this.user = user; + return this; + } + + public ProjectEnvironmentUserSessionContextBuilder setSession(String session) { + this.session = session; + return this; + } + + public ProjectEnvironmentUserSessionContextBuilder setContext(String context) { + this.context = context; + return this; + } + + public ContextName build() { + return new ContextName(this); + } + } + @Override public boolean equals(Object o) { if (o == this) { return true; } - if (o instanceof ContextName) { + if (o != null || getClass() == o.getClass()) { ContextName that = (ContextName) o; - return (this.project.equals(that.project)) - && (this.session.equals(that.session)) - && (this.context.equals(that.context)); + return (Objects.equals(this.project, that.project)) + && (Objects.equals(this.session, that.session)) + && (Objects.equals(this.context, that.context)) + && (Objects.equals(this.environment, that.environment)) + && (Objects.equals(this.user, that.user)); } return false; } @@ -200,11 +388,17 @@ public boolean equals(Object o) { public int hashCode() { int h = 1; h *= 1000003; - h ^= project.hashCode(); + h ^= Objects.hashCode(fixedValue); + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(session); + h *= 1000003; + h ^= Objects.hashCode(context); h *= 1000003; - h ^= session.hashCode(); + h ^= Objects.hashCode(environment); h *= 1000003; - h ^= context.hashCode(); + h ^= Objects.hashCode(user); return h; } } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java index 665fcf9c3..b3bb1f904 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java @@ -100,7 +100,7 @@ public interface ContextOrBuilder * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -124,7 +124,7 @@ public interface ContextOrBuilder * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values @@ -148,7 +148,7 @@ public interface ContextOrBuilder * - MapKey value: parameter name * - MapValue type: * - If parameter's entity type is a composite entity: map - * - Else: string + * - Else: string or number, depending on parameter value type * - MapValue value: * - If parameter's entity type is a composite entity: * map from composite entity property names to property values diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java index a719c9c52..02cb1a0ce 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java @@ -22,7 +22,6 @@ * * *
- * Requests and responses for custom methods.
  * The request to detect user's intent.
  * 
* @@ -712,7 +711,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Requests and responses for custom methods.
    * The request to detect user's intent.
    * 
* diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Environment.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Environment.java new file mode 100644 index 000000000..ddf42965d --- /dev/null +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Environment.java @@ -0,0 +1,1663 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2/environment.proto + +package com.google.cloud.dialogflow.v2; + +/** + * + * + *
+ * Represents an agent environment.
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.Environment} + */ +public final class Environment extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.Environment) + EnvironmentOrBuilder { + private static final long serialVersionUID = 0L; + // Use Environment.newBuilder() to construct. + private Environment(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Environment() { + name_ = ""; + description_ = ""; + agentVersion_ = ""; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Environment(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Environment( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + agentVersion_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_Environment_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_Environment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.Environment.class, + com.google.cloud.dialogflow.v2.Environment.Builder.class); + } + + /** + * + * + *
+   * Represents an environment state. When a environment is pointed to a new
+   * agent version, the environment is temporarily set to the `LOADING` state.
+   * During that time, the environment keeps on serving the previous version of
+   * the agent. After the new agent version is done loading, the environment is
+   * set back to the `RUNNING` state.
+   * 
+ * + * Protobuf enum {@code google.cloud.dialogflow.v2.Environment.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Not specified. This value is not used.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
+     * Stopped.
+     * 
+ * + * STOPPED = 1; + */ + STOPPED(1), + /** + * + * + *
+     * Loading.
+     * 
+ * + * LOADING = 2; + */ + LOADING(2), + /** + * + * + *
+     * Running.
+     * 
+ * + * RUNNING = 3; + */ + RUNNING(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Not specified. This value is not used.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Stopped.
+     * 
+ * + * STOPPED = 1; + */ + public static final int STOPPED_VALUE = 1; + /** + * + * + *
+     * Loading.
+     * 
+ * + * LOADING = 2; + */ + public static final int LOADING_VALUE = 2; + /** + * + * + *
+     * Running.
+     * 
+ * + * RUNNING = 3; + */ + public static final int RUNNING_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: + return STATE_UNSPECIFIED; + case 1: + return STOPPED; + case 2: + return LOADING; + case 3: + return RUNNING; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.Environment.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dialogflow.v2.Environment.State) + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Output only. The unique identifier of this agent environment.
+   * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+   * For Environment ID, "-" is reserved for 'draft' environment.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The unique identifier of this agent environment.
+   * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+   * For Environment ID, "-" is reserved for 'draft' environment.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 2; + private volatile java.lang.Object description_; + /** + * + * + *
+   * Optional. The developer-provided description for this environment.
+   * The maximum length is 500 characters. If exceeded, the request is rejected.
+   * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The developer-provided description for this environment.
+   * The maximum length is 500 characters. If exceeded, the request is rejected.
+   * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AGENT_VERSION_FIELD_NUMBER = 3; + private volatile java.lang.Object agentVersion_; + /** + * + * + *
+   * Optional. The agent version loaded into this environment.
+   * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+   * 
+ * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The agentVersion. + */ + public java.lang.String getAgentVersion() { + java.lang.Object ref = agentVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + agentVersion_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The agent version loaded into this environment.
+   * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+   * 
+ * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for agentVersion. + */ + public com.google.protobuf.ByteString getAgentVersionBytes() { + java.lang.Object ref = agentVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + agentVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_; + /** + * + * + *
+   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+   * set by create and update methods.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + public int getStateValue() { + return state_; + } + /** + * + * + *
+   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+   * set by create and update methods.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + public com.google.cloud.dialogflow.v2.Environment.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dialogflow.v2.Environment.State result = + com.google.cloud.dialogflow.v2.Environment.State.valueOf(state_); + return result == null ? com.google.cloud.dialogflow.v2.Environment.State.UNRECOGNIZED : result; + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return getUpdateTime(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!getDescriptionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + } + if (!getAgentVersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, agentVersion_); + } + if (state_ != com.google.cloud.dialogflow.v2.Environment.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(4, state_); + } + if (updateTime_ != null) { + output.writeMessage(5, getUpdateTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!getDescriptionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + } + if (!getAgentVersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, agentVersion_); + } + if (state_ != com.google.cloud.dialogflow.v2.Environment.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.Environment)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.Environment other = + (com.google.cloud.dialogflow.v2.Environment) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getAgentVersion().equals(other.getAgentVersion())) return false; + if (state_ != other.state_) return false; + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + AGENT_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getAgentVersion().hashCode(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.Environment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.Environment parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.Environment parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.dialogflow.v2.Environment prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents an agent environment.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.Environment} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.Environment) + com.google.cloud.dialogflow.v2.EnvironmentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_Environment_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_Environment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.Environment.class, + com.google.cloud.dialogflow.v2.Environment.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2.Environment.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + description_ = ""; + + agentVersion_ = ""; + + state_ = 0; + + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_Environment_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.Environment getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.Environment.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.Environment build() { + com.google.cloud.dialogflow.v2.Environment result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.Environment buildPartial() { + com.google.cloud.dialogflow.v2.Environment result = + new com.google.cloud.dialogflow.v2.Environment(this); + result.name_ = name_; + result.description_ = description_; + result.agentVersion_ = agentVersion_; + result.state_ = state_; + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.Environment) { + return mergeFrom((com.google.cloud.dialogflow.v2.Environment) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.v2.Environment other) { + if (other == com.google.cloud.dialogflow.v2.Environment.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + if (!other.getAgentVersion().isEmpty()) { + agentVersion_ = other.agentVersion_; + onChanged(); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.v2.Environment parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dialogflow.v2.Environment) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + description_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + + private java.lang.Object agentVersion_ = ""; + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The agentVersion. + */ + public java.lang.String getAgentVersion() { + java.lang.Object ref = agentVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + agentVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for agentVersion. + */ + public com.google.protobuf.ByteString getAgentVersionBytes() { + java.lang.Object ref = agentVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + agentVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The agentVersion to set. + * @return This builder for chaining. + */ + public Builder setAgentVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + agentVersion_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearAgentVersion() { + + agentVersion_ = getDefaultInstance().getAgentVersion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for agentVersion to set. + * @return This builder for chaining. + */ + public Builder setAgentVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + agentVersion_ = value; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + public int getStateValue() { + return state_; + } + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + state_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + public com.google.cloud.dialogflow.v2.Environment.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dialogflow.v2.Environment.State result = + com.google.cloud.dialogflow.v2.Environment.State.valueOf(state_); + return result == null + ? com.google.cloud.dialogflow.v2.Environment.State.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.dialogflow.v2.Environment.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + onChanged(); + } else { + updateTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.Environment) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Environment) + private static final com.google.cloud.dialogflow.v2.Environment DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.Environment(); + } + + public static com.google.cloud.dialogflow.v2.Environment getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Environment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Environment(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.Environment getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentName.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentName.java new file mode 100644 index 000000000..750aacbc2 --- /dev/null +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentName.java @@ -0,0 +1,182 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ + +package com.google.cloud.dialogflow.v2; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ +@javax.annotation.Generated("by GAPIC protoc plugin") +public class EnvironmentName implements ResourceName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding("projects/{project}/agent/environments/{environment}"); + + private volatile Map fieldValuesMap; + + private final String project; + private final String environment; + + public String getProject() { + return project; + } + + public String getEnvironment() { + return environment; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private EnvironmentName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + environment = Preconditions.checkNotNull(builder.getEnvironment()); + } + + public static EnvironmentName of(String project, String environment) { + return newBuilder().setProject(project).setEnvironment(environment).build(); + } + + public static String format(String project, String environment) { + return newBuilder().setProject(project).setEnvironment(environment).build().toString(); + } + + public static EnvironmentName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "EnvironmentName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("environment")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList(values.size()); + for (EnvironmentName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("project", project); + fieldMapBuilder.put("environment", environment); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate("project", project, "environment", environment); + } + + /** Builder for EnvironmentName. */ + public static class Builder { + + private String project; + private String environment; + + public String getProject() { + return project; + } + + public String getEnvironment() { + return environment; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setEnvironment(String environment) { + this.environment = environment; + return this; + } + + private Builder() {} + + private Builder(EnvironmentName environmentName) { + project = environmentName.project; + environment = environmentName.environment; + } + + public EnvironmentName build() { + return new EnvironmentName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof EnvironmentName) { + EnvironmentName that = (EnvironmentName) o; + return (this.project.equals(that.project)) && (this.environment.equals(that.environment)); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= project.hashCode(); + h *= 1000003; + h ^= environment.hashCode(); + return h; + } +} diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentOrBuilder.java new file mode 100644 index 000000000..82cf877ca --- /dev/null +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentOrBuilder.java @@ -0,0 +1,180 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2/environment.proto + +package com.google.cloud.dialogflow.v2; + +public interface EnvironmentOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.Environment) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The unique identifier of this agent environment.
+   * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+   * For Environment ID, "-" is reserved for 'draft' environment.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. The unique identifier of this agent environment.
+   * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+   * For Environment ID, "-" is reserved for 'draft' environment.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. The developer-provided description for this environment.
+   * The maximum length is 500 characters. If exceeded, the request is rejected.
+   * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
+   * Optional. The developer-provided description for this environment.
+   * The maximum length is 500 characters. If exceeded, the request is rejected.
+   * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+   * Optional. The agent version loaded into this environment.
+   * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+   * 
+ * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The agentVersion. + */ + java.lang.String getAgentVersion(); + /** + * + * + *
+   * Optional. The agent version loaded into this environment.
+   * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+   * 
+ * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for agentVersion. + */ + com.google.protobuf.ByteString getAgentVersionBytes(); + + /** + * + * + *
+   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+   * set by create and update methods.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * + * + *
+   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+   * set by create and update methods.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.dialogflow.v2.Environment.State getState(); + + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); +} diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentProto.java new file mode 100644 index 000000000..e03a3c1d4 --- /dev/null +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentProto.java @@ -0,0 +1,144 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2/environment.proto + +package com.google.cloud.dialogflow.v2; + +public final class EnvironmentProto { + private EnvironmentProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_Environment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_Environment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/dialogflow/v2/environment" + + ".proto\022\032google.cloud.dialogflow.v2\032\034goog" + + "le/api/annotations.proto\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\032\033google/protobuf/empty.proto\032 googl" + + "e/protobuf/field_mask.proto\032\037google/prot" + + "obuf/timestamp.proto\032\027google/api/client." + + "proto\"\367\002\n\013Environment\022\021\n\004name\030\001 \001(\tB\003\340A\003" + + "\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\032\n\ragent_vers" + + "ion\030\003 \001(\tB\003\340A\001\022A\n\005state\030\004 \001(\0162-.google.c" + + "loud.dialogflow.v2.Environment.StateB\003\340A" + + "\003\0224\n\013update_time\030\005 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\013\n\007STOPPED\020\001\022\013\n\007LOADING\020\002\022\013\n\007RUN" + + "NING\020\003:_\352A\\\n%dialogflow.googleapis.com/E" + + "nvironment\0223projects/{project}/agent/env" + + "ironments/{environment}\"\211\001\n\027ListEnvironm" + + "entsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dia" + + "logflow.googleapis.com/Environment\022\026\n\tpa" + + "ge_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003" + + "\340A\001\"r\n\030ListEnvironmentsResponse\022=\n\014envir" + + "onments\030\001 \003(\0132\'.google.cloud.dialogflow." + + "v2.Environment\022\027\n\017next_page_token\030\002 \001(\t2" + + "\274\002\n\014Environments\022\261\001\n\020ListEnvironments\0223." + + "google.cloud.dialogflow.v2.ListEnvironme" + + "ntsRequest\0324.google.cloud.dialogflow.v2." + + "ListEnvironmentsResponse\"2\202\323\344\223\002,\022*/v2/{p" + + "arent=projects/*/agent}/environments\032x\312A" + + "\031dialogflow.googleapis.com\322AYhttps://www" + + ".googleapis.com/auth/cloud-platform,http" + + "s://www.googleapis.com/auth/dialogflowB\237" + + "\001\n\036com.google.cloud.dialogflow.v2B\020Envir" + + "onmentProtoP\001ZDgoogle.golang.org/genprot" + + "o/googleapis/cloud/dialogflow/v2;dialogf" + + "low\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2" + + "b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + }); + internal_static_google_cloud_dialogflow_v2_Environment_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dialogflow_v2_Environment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_Environment_descriptor, + new java.lang.String[] { + "Name", "Description", "AgentVersion", "State", "UpdateTime", + }); + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_descriptor, + new java.lang.String[] { + "Environments", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java index 8a99b4a5f..9f8bcc8cc 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java @@ -192,6 +192,18 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -206,6 +218,18 @@ public boolean hasParameters() { * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -220,6 +244,18 @@ public com.google.protobuf.Struct getParameters() { * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -762,6 +798,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -776,6 +824,18 @@ public boolean hasParameters() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -794,6 +854,18 @@ public com.google.protobuf.Struct getParameters() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -816,6 +888,18 @@ public Builder setParameters(com.google.protobuf.Struct value) { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -835,6 +919,18 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -859,6 +955,18 @@ public Builder mergeParameters(com.google.protobuf.Struct value) { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -879,6 +987,18 @@ public Builder clearParameters() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -893,6 +1013,18 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -909,6 +1041,18 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java index f22789632..6c7257f1c 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java @@ -53,6 +53,18 @@ public interface EventInputOrBuilder * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -65,6 +77,18 @@ public interface EventInputOrBuilder * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -77,6 +101,18 @@ public interface EventInputOrBuilder * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsRequest.java new file mode 100644 index 000000000..44fd0987e --- /dev/null +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsRequest.java @@ -0,0 +1,925 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2/environment.proto + +package com.google.cloud.dialogflow.v2; + +/** + * + * + *
+ * The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2.Environments.ListEnvironments].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ListEnvironmentsRequest} + */ +public final class ListEnvironmentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.ListEnvironmentsRequest) + ListEnvironmentsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListEnvironmentsRequest.newBuilder() to construct. + private ListEnvironmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListEnvironmentsRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListEnvironmentsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListEnvironmentsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest.class, + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * Required. The agent to list all environments from.
+   * Format: `projects/<Project ID>/agent`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The agent to list all environments from.
+   * Format: `projects/<Project ID>/agent`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + * + * + *
+   * Optional. The maximum number of items to return in a single page. By default 100 and
+   * at most 1000.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getParentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!getPageTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getParentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!getPageTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.ListEnvironmentsRequest)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest other = + (com.google.cloud.dialogflow.v2.ListEnvironmentsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2.Environments.ListEnvironments].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ListEnvironmentsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.ListEnvironmentsRequest) + com.google.cloud.dialogflow.v2.ListEnvironmentsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest.class, + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2.ListEnvironmentsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ListEnvironmentsRequest getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.ListEnvironmentsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ListEnvironmentsRequest build() { + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ListEnvironmentsRequest buildPartial() { + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest result = + new com.google.cloud.dialogflow.v2.ListEnvironmentsRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.ListEnvironmentsRequest) { + return mergeFrom((com.google.cloud.dialogflow.v2.ListEnvironmentsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.v2.ListEnvironmentsRequest other) { + if (other == com.google.cloud.dialogflow.v2.ListEnvironmentsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.v2.ListEnvironmentsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.v2.ListEnvironmentsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * Optional. The maximum number of items to return in a single page. By default 100 and
+     * at most 1000.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * Optional. The maximum number of items to return in a single page. By default 100 and
+     * at most 1000.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The maximum number of items to return in a single page. By default 100 and
+     * at most 1000.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.ListEnvironmentsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ListEnvironmentsRequest) + private static final com.google.cloud.dialogflow.v2.ListEnvironmentsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.ListEnvironmentsRequest(); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ListEnvironmentsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsRequestOrBuilder.java new file mode 100644 index 000000000..a1f24da8f --- /dev/null +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2/environment.proto + +package com.google.cloud.dialogflow.v2; + +public interface ListEnvironmentsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ListEnvironmentsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The agent to list all environments from.
+   * Format: `projects/<Project ID>/agent`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The agent to list all environments from.
+   * Format: `projects/<Project ID>/agent`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Optional. The maximum number of items to return in a single page. By default 100 and
+   * at most 1000.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsResponse.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsResponse.java new file mode 100644 index 000000000..d0a825cc7 --- /dev/null +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsResponse.java @@ -0,0 +1,1155 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2/environment.proto + +package com.google.cloud.dialogflow.v2; + +/** + * + * + *
+ * The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2.Environments.ListEnvironments].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ListEnvironmentsResponse} + */ +public final class ListEnvironmentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.ListEnvironmentsResponse) + ListEnvironmentsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListEnvironmentsResponse.newBuilder() to construct. + private ListEnvironmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListEnvironmentsResponse() { + environments_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListEnvironmentsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListEnvironmentsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + environments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + environments_.add( + input.readMessage( + com.google.cloud.dialogflow.v2.Environment.parser(), extensionRegistry)); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + environments_ = java.util.Collections.unmodifiableList(environments_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse.class, + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse.Builder.class); + } + + public static final int ENVIRONMENTS_FIELD_NUMBER = 1; + private java.util.List environments_; + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public java.util.List getEnvironmentsList() { + return environments_; + } + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public java.util.List + getEnvironmentsOrBuilderList() { + return environments_; + } + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public int getEnvironmentsCount() { + return environments_.size(); + } + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2.Environment getEnvironments(int index) { + return environments_.get(index); + } + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index) { + return environments_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < environments_.size(); i++) { + output.writeMessage(1, environments_.get(i)); + } + if (!getNextPageTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < environments_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, environments_.get(i)); + } + if (!getNextPageTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.ListEnvironmentsResponse)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse other = + (com.google.cloud.dialogflow.v2.ListEnvironmentsResponse) obj; + + if (!getEnvironmentsList().equals(other.getEnvironmentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getEnvironmentsCount() > 0) { + hash = (37 * hash) + ENVIRONMENTS_FIELD_NUMBER; + hash = (53 * hash) + getEnvironmentsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2.Environments.ListEnvironments].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ListEnvironmentsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.ListEnvironmentsResponse) + com.google.cloud.dialogflow.v2.ListEnvironmentsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse.class, + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2.ListEnvironmentsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getEnvironmentsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (environmentsBuilder_ == null) { + environments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + environmentsBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2_ListEnvironmentsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ListEnvironmentsResponse getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.ListEnvironmentsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ListEnvironmentsResponse build() { + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ListEnvironmentsResponse buildPartial() { + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse result = + new com.google.cloud.dialogflow.v2.ListEnvironmentsResponse(this); + int from_bitField0_ = bitField0_; + if (environmentsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + environments_ = java.util.Collections.unmodifiableList(environments_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.environments_ = environments_; + } else { + result.environments_ = environmentsBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.ListEnvironmentsResponse) { + return mergeFrom((com.google.cloud.dialogflow.v2.ListEnvironmentsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.v2.ListEnvironmentsResponse other) { + if (other == com.google.cloud.dialogflow.v2.ListEnvironmentsResponse.getDefaultInstance()) + return this; + if (environmentsBuilder_ == null) { + if (!other.environments_.isEmpty()) { + if (environments_.isEmpty()) { + environments_ = other.environments_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureEnvironmentsIsMutable(); + environments_.addAll(other.environments_); + } + onChanged(); + } + } else { + if (!other.environments_.isEmpty()) { + if (environmentsBuilder_.isEmpty()) { + environmentsBuilder_.dispose(); + environmentsBuilder_ = null; + environments_ = other.environments_; + bitField0_ = (bitField0_ & ~0x00000001); + environmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEnvironmentsFieldBuilder() + : null; + } else { + environmentsBuilder_.addAllMessages(other.environments_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.v2.ListEnvironmentsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.v2.ListEnvironmentsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List environments_ = + java.util.Collections.emptyList(); + + private void ensureEnvironmentsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + environments_ = + new java.util.ArrayList(environments_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.v2.Environment, + com.google.cloud.dialogflow.v2.Environment.Builder, + com.google.cloud.dialogflow.v2.EnvironmentOrBuilder> + environmentsBuilder_; + + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public java.util.List getEnvironmentsList() { + if (environmentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(environments_); + } else { + return environmentsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public int getEnvironmentsCount() { + if (environmentsBuilder_ == null) { + return environments_.size(); + } else { + return environmentsBuilder_.getCount(); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2.Environment getEnvironments(int index) { + if (environmentsBuilder_ == null) { + return environments_.get(index); + } else { + return environmentsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public Builder setEnvironments(int index, com.google.cloud.dialogflow.v2.Environment value) { + if (environmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnvironmentsIsMutable(); + environments_.set(index, value); + onChanged(); + } else { + environmentsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public Builder setEnvironments( + int index, com.google.cloud.dialogflow.v2.Environment.Builder builderForValue) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.set(index, builderForValue.build()); + onChanged(); + } else { + environmentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public Builder addEnvironments(com.google.cloud.dialogflow.v2.Environment value) { + if (environmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnvironmentsIsMutable(); + environments_.add(value); + onChanged(); + } else { + environmentsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public Builder addEnvironments(int index, com.google.cloud.dialogflow.v2.Environment value) { + if (environmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnvironmentsIsMutable(); + environments_.add(index, value); + onChanged(); + } else { + environmentsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public Builder addEnvironments( + com.google.cloud.dialogflow.v2.Environment.Builder builderForValue) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.add(builderForValue.build()); + onChanged(); + } else { + environmentsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public Builder addEnvironments( + int index, com.google.cloud.dialogflow.v2.Environment.Builder builderForValue) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.add(index, builderForValue.build()); + onChanged(); + } else { + environmentsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public Builder addAllEnvironments( + java.lang.Iterable values) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, environments_); + onChanged(); + } else { + environmentsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public Builder clearEnvironments() { + if (environmentsBuilder_ == null) { + environments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + environmentsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public Builder removeEnvironments(int index) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.remove(index); + onChanged(); + } else { + environmentsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2.Environment.Builder getEnvironmentsBuilder(int index) { + return getEnvironmentsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index) { + if (environmentsBuilder_ == null) { + return environments_.get(index); + } else { + return environmentsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public java.util.List + getEnvironmentsOrBuilderList() { + if (environmentsBuilder_ != null) { + return environmentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(environments_); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2.Environment.Builder addEnvironmentsBuilder() { + return getEnvironmentsFieldBuilder() + .addBuilder(com.google.cloud.dialogflow.v2.Environment.getDefaultInstance()); + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2.Environment.Builder addEnvironmentsBuilder(int index) { + return getEnvironmentsFieldBuilder() + .addBuilder(index, com.google.cloud.dialogflow.v2.Environment.getDefaultInstance()); + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + public java.util.List + getEnvironmentsBuilderList() { + return getEnvironmentsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.v2.Environment, + com.google.cloud.dialogflow.v2.Environment.Builder, + com.google.cloud.dialogflow.v2.EnvironmentOrBuilder> + getEnvironmentsFieldBuilder() { + if (environmentsBuilder_ == null) { + environmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.v2.Environment, + com.google.cloud.dialogflow.v2.Environment.Builder, + com.google.cloud.dialogflow.v2.EnvironmentOrBuilder>( + environments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + environments_ = null; + } + return environmentsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.ListEnvironmentsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ListEnvironmentsResponse) + private static final com.google.cloud.dialogflow.v2.ListEnvironmentsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.ListEnvironmentsResponse(); + } + + public static com.google.cloud.dialogflow.v2.ListEnvironmentsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ListEnvironmentsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsResponseOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsResponseOrBuilder.java new file mode 100644 index 000000000..4e5edf4ec --- /dev/null +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEnvironmentsResponseOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2/environment.proto + +package com.google.cloud.dialogflow.v2; + +public interface ListEnvironmentsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ListEnvironmentsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + java.util.List getEnvironmentsList(); + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + com.google.cloud.dialogflow.v2.Environment getEnvironments(int index); + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + int getEnvironmentsCount(); + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + java.util.List + getEnvironmentsOrBuilderList(); + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.Environment environments = 1; + */ + com.google.cloud.dialogflow.v2.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index); + + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java index b5620b09c..ecb3ffcc9 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java @@ -460,6 +460,18 @@ public com.google.protobuf.ByteString getActionBytes() { * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -474,6 +486,18 @@ public boolean hasParameters() { * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -488,6 +512,18 @@ public com.google.protobuf.Struct getParameters() { * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -2128,6 +2164,18 @@ public Builder setActionBytes(com.google.protobuf.ByteString value) { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2142,6 +2190,18 @@ public boolean hasParameters() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2160,6 +2220,18 @@ public com.google.protobuf.Struct getParameters() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2182,6 +2254,18 @@ public Builder setParameters(com.google.protobuf.Struct value) { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2201,6 +2285,18 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2225,6 +2321,18 @@ public Builder mergeParameters(com.google.protobuf.Struct value) { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2245,6 +2353,18 @@ public Builder clearParameters() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2259,6 +2379,18 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2275,6 +2407,18 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResultOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResultOrBuilder.java index 11c1b0f42..5e2766b41 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResultOrBuilder.java @@ -143,6 +143,18 @@ public interface QueryResultOrBuilder * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -155,6 +167,18 @@ public interface QueryResultOrBuilder * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -167,6 +191,18 @@ public interface QueryResultOrBuilder * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java index b13ba506f..13d8435d1 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java @@ -22,8 +22,6 @@ * * *
- * ============================================================================
- * Requests and responses for custom methods.
  * The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
  * 
* @@ -425,8 +423,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * ============================================================================
-   * Requests and responses for custom methods.
    * The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
    * 
* diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeName.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeName.java index 079318fc7..34ddb26e4 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeName.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeName.java @@ -16,27 +16,40 @@ package com.google.cloud.dialogflow.v2; +import com.google.api.core.BetaApi; import com.google.api.pathtemplate.PathTemplate; +import com.google.api.pathtemplate.ValidationException; import com.google.api.resourcenames.ResourceName; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import java.util.ArrayList; import java.util.List; import java.util.Map; +import java.util.Objects; /** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class SessionEntityTypeName implements ResourceName { - private static final PathTemplate PATH_TEMPLATE = + @Deprecated + protected SessionEntityTypeName() {} + + private static final PathTemplate PROJECT_SESSION_ENTITY_TYPE_PATH_TEMPLATE = PathTemplate.createWithoutUrlEncoding( "projects/{project}/agent/sessions/{session}/entityTypes/{entity_type}"); + private static final PathTemplate PROJECT_ENVIRONMENT_USER_SESSION_ENTITY_TYPE_PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/entityTypes/{entity_type}"); private volatile Map fieldValuesMap; + private PathTemplate pathTemplate; + private String fixedValue; - private final String project; - private final String session; - private final String entityType; + private String project; + private String session; + private String entityType; + private String environment; + private String user; public String getProject() { return project; @@ -50,22 +63,77 @@ public String getEntityType() { return entityType; } - public static Builder newBuilder() { - return new Builder(); + public String getEnvironment() { + return environment; } - public Builder toBuilder() { - return new Builder(this); + public String getUser() { + return user; } private SessionEntityTypeName(Builder builder) { project = Preconditions.checkNotNull(builder.getProject()); session = Preconditions.checkNotNull(builder.getSession()); entityType = Preconditions.checkNotNull(builder.getEntityType()); + pathTemplate = PROJECT_SESSION_ENTITY_TYPE_PATH_TEMPLATE; + } + + private SessionEntityTypeName(ProjectEnvironmentUserSessionEntityTypeBuilder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + environment = Preconditions.checkNotNull(builder.getEnvironment()); + user = Preconditions.checkNotNull(builder.getUser()); + session = Preconditions.checkNotNull(builder.getSession()); + entityType = Preconditions.checkNotNull(builder.getEntityType()); + pathTemplate = PROJECT_ENVIRONMENT_USER_SESSION_ENTITY_TYPE_PATH_TEMPLATE; + } + + public static Builder newBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static Builder newProjectSessionEntityTypeBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static ProjectEnvironmentUserSessionEntityTypeBuilder + newProjectEnvironmentUserSessionEntityTypeBuilder() { + return new ProjectEnvironmentUserSessionEntityTypeBuilder(); + } + + public Builder toBuilder() { + return new Builder(this); } public static SessionEntityTypeName of(String project, String session, String entityType) { - return newBuilder().setProject(project).setSession(session).setEntityType(entityType).build(); + return newProjectSessionEntityTypeBuilder() + .setProject(project) + .setSession(session) + .setEntityType(entityType) + .build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static SessionEntityTypeName ofProjectSessionEntityTypeName( + String project, String session, String entityType) { + return newProjectSessionEntityTypeBuilder() + .setProject(project) + .setSession(session) + .setEntityType(entityType) + .build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static SessionEntityTypeName ofProjectEnvironmentUserSessionEntityTypeName( + String project, String environment, String user, String session, String entityType) { + return newProjectEnvironmentUserSessionEntityTypeBuilder() + .setProject(project) + .setEnvironment(environment) + .setUser(user) + .setSession(session) + .setEntityType(entityType) + .build(); } public static String format(String project, String session, String entityType) { @@ -77,14 +145,51 @@ public static String format(String project, String session, String entityType) { .toString(); } + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectSessionEntityTypeName( + String project, String session, String entityType) { + return newBuilder() + .setProject(project) + .setSession(session) + .setEntityType(entityType) + .build() + .toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectEnvironmentUserSessionEntityTypeName( + String project, String environment, String user, String session, String entityType) { + return newProjectEnvironmentUserSessionEntityTypeBuilder() + .setProject(project) + .setEnvironment(environment) + .setUser(user) + .setSession(session) + .setEntityType(entityType) + .build() + .toString(); + } + public static SessionEntityTypeName parse(String formattedString) { if (formattedString.isEmpty()) { return null; } - Map matchMap = - PATH_TEMPLATE.validatedMatch( - formattedString, "SessionEntityTypeName.parse: formattedString not in valid format"); - return of(matchMap.get("project"), matchMap.get("session"), matchMap.get("entity_type")); + if (PROJECT_SESSION_ENTITY_TYPE_PATH_TEMPLATE.matches(formattedString)) { + Map matchMap = + PROJECT_SESSION_ENTITY_TYPE_PATH_TEMPLATE.match(formattedString); + return ofProjectSessionEntityTypeName( + matchMap.get("project"), matchMap.get("session"), matchMap.get("entity_type")); + } else if (PROJECT_ENVIRONMENT_USER_SESSION_ENTITY_TYPE_PATH_TEMPLATE.matches( + formattedString)) { + Map matchMap = + PROJECT_ENVIRONMENT_USER_SESSION_ENTITY_TYPE_PATH_TEMPLATE.match(formattedString); + return ofProjectEnvironmentUserSessionEntityTypeName( + matchMap.get("project"), + matchMap.get("environment"), + matchMap.get("user"), + matchMap.get("session"), + matchMap.get("entity_type")); + } + throw new ValidationException("JobName.parse: formattedString not in valid format"); } public static List parseList(List formattedStrings) { @@ -96,7 +201,7 @@ public static List parseList(List formattedString } public static List toStringList(List values) { - List list = new ArrayList(values.size()); + List list = new ArrayList<>(values.size()); for (SessionEntityTypeName value : values) { if (value == null) { list.add(""); @@ -108,17 +213,31 @@ public static List toStringList(List values) { } public static boolean isParsableFrom(String formattedString) { - return PATH_TEMPLATE.matches(formattedString); + return PROJECT_SESSION_ENTITY_TYPE_PATH_TEMPLATE.matches(formattedString) + || PROJECT_ENVIRONMENT_USER_SESSION_ENTITY_TYPE_PATH_TEMPLATE.matches(formattedString); } + @Override public Map getFieldValuesMap() { if (fieldValuesMap == null) { synchronized (this) { if (fieldValuesMap == null) { ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - fieldMapBuilder.put("project", project); - fieldMapBuilder.put("session", session); - fieldMapBuilder.put("entityType", entityType); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (session != null) { + fieldMapBuilder.put("session", session); + } + if (entityType != null) { + fieldMapBuilder.put("entity_type", entityType); + } + if (environment != null) { + fieldMapBuilder.put("environment", environment); + } + if (user != null) { + fieldMapBuilder.put("user", user); + } fieldValuesMap = fieldMapBuilder.build(); } } @@ -132,17 +251,18 @@ public String getFieldValue(String fieldName) { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, "session", session, "entity_type", entityType); + return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); } - /** Builder for SessionEntityTypeName. */ + /** Builder for projects/{project}/agent/sessions/{session}/entityTypes/{entity_type}. */ public static class Builder { private String project; private String session; private String entityType; + protected Builder() {} + public String getProject() { return project; } @@ -170,9 +290,11 @@ public Builder setEntityType(String entityType) { return this; } - private Builder() {} - private Builder(SessionEntityTypeName sessionEntityTypeName) { + Preconditions.checkArgument( + sessionEntityTypeName.pathTemplate == PROJECT_SESSION_ENTITY_TYPE_PATH_TEMPLATE, + "toBuilder is only supported when SessionEntityTypeName has the pattern of " + + "projects/{project}/agent/sessions/{session}/entityTypes/{entity_type}."); project = sessionEntityTypeName.project; session = sessionEntityTypeName.session; entityType = sessionEntityTypeName.entityType; @@ -183,16 +305,83 @@ public SessionEntityTypeName build() { } } + /** + * Builder for + * projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/entityTypes/{entity_type}. + */ + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static class ProjectEnvironmentUserSessionEntityTypeBuilder { + + private String project; + private String environment; + private String user; + private String session; + private String entityType; + + private ProjectEnvironmentUserSessionEntityTypeBuilder() {} + + public String getProject() { + return project; + } + + public String getEnvironment() { + return environment; + } + + public String getUser() { + return user; + } + + public String getSession() { + return session; + } + + public String getEntityType() { + return entityType; + } + + public ProjectEnvironmentUserSessionEntityTypeBuilder setProject(String project) { + this.project = project; + return this; + } + + public ProjectEnvironmentUserSessionEntityTypeBuilder setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public ProjectEnvironmentUserSessionEntityTypeBuilder setUser(String user) { + this.user = user; + return this; + } + + public ProjectEnvironmentUserSessionEntityTypeBuilder setSession(String session) { + this.session = session; + return this; + } + + public ProjectEnvironmentUserSessionEntityTypeBuilder setEntityType(String entityType) { + this.entityType = entityType; + return this; + } + + public SessionEntityTypeName build() { + return new SessionEntityTypeName(this); + } + } + @Override public boolean equals(Object o) { if (o == this) { return true; } - if (o instanceof SessionEntityTypeName) { + if (o != null || getClass() == o.getClass()) { SessionEntityTypeName that = (SessionEntityTypeName) o; - return (this.project.equals(that.project)) - && (this.session.equals(that.session)) - && (this.entityType.equals(that.entityType)); + return (Objects.equals(this.project, that.project)) + && (Objects.equals(this.session, that.session)) + && (Objects.equals(this.entityType, that.entityType)) + && (Objects.equals(this.environment, that.environment)) + && (Objects.equals(this.user, that.user)); } return false; } @@ -201,11 +390,17 @@ public boolean equals(Object o) { public int hashCode() { int h = 1; h *= 1000003; - h ^= project.hashCode(); + h ^= Objects.hashCode(fixedValue); + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(session); + h *= 1000003; + h ^= Objects.hashCode(entityType); h *= 1000003; - h ^= session.hashCode(); + h ^= Objects.hashCode(environment); h *= 1000003; - h ^= entityType.hashCode(); + h ^= Objects.hashCode(user); return h; } } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionName.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionName.java index 630b17f41..26969d6cb 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionName.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionName.java @@ -16,25 +16,38 @@ package com.google.cloud.dialogflow.v2; +import com.google.api.core.BetaApi; import com.google.api.pathtemplate.PathTemplate; +import com.google.api.pathtemplate.ValidationException; import com.google.api.resourcenames.ResourceName; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import java.util.ArrayList; import java.util.List; import java.util.Map; +import java.util.Objects; /** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class SessionName implements ResourceName { - private static final PathTemplate PATH_TEMPLATE = + @Deprecated + protected SessionName() {} + + private static final PathTemplate PROJECT_SESSION_PATH_TEMPLATE = PathTemplate.createWithoutUrlEncoding("projects/{project}/agent/sessions/{session}"); + private static final PathTemplate PROJECT_ENVIRONMENT_USER_SESSION_PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}"); private volatile Map fieldValuesMap; + private PathTemplate pathTemplate; + private String fixedValue; - private final String project; - private final String session; + private String project; + private String session; + private String environment; + private String user; public String getProject() { return project; @@ -44,35 +57,104 @@ public String getSession() { return session; } - public static Builder newBuilder() { - return new Builder(); + public String getEnvironment() { + return environment; } - public Builder toBuilder() { - return new Builder(this); + public String getUser() { + return user; } private SessionName(Builder builder) { project = Preconditions.checkNotNull(builder.getProject()); session = Preconditions.checkNotNull(builder.getSession()); + pathTemplate = PROJECT_SESSION_PATH_TEMPLATE; + } + + private SessionName(ProjectEnvironmentUserSessionBuilder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + environment = Preconditions.checkNotNull(builder.getEnvironment()); + user = Preconditions.checkNotNull(builder.getUser()); + session = Preconditions.checkNotNull(builder.getSession()); + pathTemplate = PROJECT_ENVIRONMENT_USER_SESSION_PATH_TEMPLATE; + } + + public static Builder newBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static Builder newProjectSessionBuilder() { + return new Builder(); + } + + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static ProjectEnvironmentUserSessionBuilder newProjectEnvironmentUserSessionBuilder() { + return new ProjectEnvironmentUserSessionBuilder(); + } + + public Builder toBuilder() { + return new Builder(this); } public static SessionName of(String project, String session) { - return newBuilder().setProject(project).setSession(session).build(); + return newProjectSessionBuilder().setProject(project).setSession(session).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static SessionName ofProjectSessionName(String project, String session) { + return newProjectSessionBuilder().setProject(project).setSession(session).build(); + } + + @BetaApi("The static create methods are not stable yet and may be changed in the future.") + public static SessionName ofProjectEnvironmentUserSessionName( + String project, String environment, String user, String session) { + return newProjectEnvironmentUserSessionBuilder() + .setProject(project) + .setEnvironment(environment) + .setUser(user) + .setSession(session) + .build(); } public static String format(String project, String session) { return newBuilder().setProject(project).setSession(session).build().toString(); } + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectSessionName(String project, String session) { + return newBuilder().setProject(project).setSession(session).build().toString(); + } + + @BetaApi("The static format methods are not stable yet and may be changed in the future.") + public static String formatProjectEnvironmentUserSessionName( + String project, String environment, String user, String session) { + return newProjectEnvironmentUserSessionBuilder() + .setProject(project) + .setEnvironment(environment) + .setUser(user) + .setSession(session) + .build() + .toString(); + } + public static SessionName parse(String formattedString) { if (formattedString.isEmpty()) { return null; } - Map matchMap = - PATH_TEMPLATE.validatedMatch( - formattedString, "SessionName.parse: formattedString not in valid format"); - return of(matchMap.get("project"), matchMap.get("session")); + if (PROJECT_SESSION_PATH_TEMPLATE.matches(formattedString)) { + Map matchMap = PROJECT_SESSION_PATH_TEMPLATE.match(formattedString); + return ofProjectSessionName(matchMap.get("project"), matchMap.get("session")); + } else if (PROJECT_ENVIRONMENT_USER_SESSION_PATH_TEMPLATE.matches(formattedString)) { + Map matchMap = + PROJECT_ENVIRONMENT_USER_SESSION_PATH_TEMPLATE.match(formattedString); + return ofProjectEnvironmentUserSessionName( + matchMap.get("project"), + matchMap.get("environment"), + matchMap.get("user"), + matchMap.get("session")); + } + throw new ValidationException("JobName.parse: formattedString not in valid format"); } public static List parseList(List formattedStrings) { @@ -84,7 +166,7 @@ public static List parseList(List formattedStrings) { } public static List toStringList(List values) { - List list = new ArrayList(values.size()); + List list = new ArrayList<>(values.size()); for (SessionName value : values) { if (value == null) { list.add(""); @@ -96,16 +178,28 @@ public static List toStringList(List values) { } public static boolean isParsableFrom(String formattedString) { - return PATH_TEMPLATE.matches(formattedString); + return PROJECT_SESSION_PATH_TEMPLATE.matches(formattedString) + || PROJECT_ENVIRONMENT_USER_SESSION_PATH_TEMPLATE.matches(formattedString); } + @Override public Map getFieldValuesMap() { if (fieldValuesMap == null) { synchronized (this) { if (fieldValuesMap == null) { ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - fieldMapBuilder.put("project", project); - fieldMapBuilder.put("session", session); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (session != null) { + fieldMapBuilder.put("session", session); + } + if (environment != null) { + fieldMapBuilder.put("environment", environment); + } + if (user != null) { + fieldMapBuilder.put("user", user); + } fieldValuesMap = fieldMapBuilder.build(); } } @@ -119,15 +213,17 @@ public String getFieldValue(String fieldName) { @Override public String toString() { - return PATH_TEMPLATE.instantiate("project", project, "session", session); + return fixedValue != null ? fixedValue : pathTemplate.instantiate(getFieldValuesMap()); } - /** Builder for SessionName. */ + /** Builder for projects/{project}/agent/sessions/{session}. */ public static class Builder { private String project; private String session; + protected Builder() {} + public String getProject() { return project; } @@ -146,9 +242,11 @@ public Builder setSession(String session) { return this; } - private Builder() {} - private Builder(SessionName sessionName) { + Preconditions.checkArgument( + sessionName.pathTemplate == PROJECT_SESSION_PATH_TEMPLATE, + "toBuilder is only supported when SessionName has the pattern of " + + "projects/{project}/agent/sessions/{session}."); project = sessionName.project; session = sessionName.session; } @@ -158,14 +256,72 @@ public SessionName build() { } } + /** + * Builder for + * projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}. + */ + @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") + public static class ProjectEnvironmentUserSessionBuilder { + + private String project; + private String environment; + private String user; + private String session; + + private ProjectEnvironmentUserSessionBuilder() {} + + public String getProject() { + return project; + } + + public String getEnvironment() { + return environment; + } + + public String getUser() { + return user; + } + + public String getSession() { + return session; + } + + public ProjectEnvironmentUserSessionBuilder setProject(String project) { + this.project = project; + return this; + } + + public ProjectEnvironmentUserSessionBuilder setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public ProjectEnvironmentUserSessionBuilder setUser(String user) { + this.user = user; + return this; + } + + public ProjectEnvironmentUserSessionBuilder setSession(String session) { + this.session = session; + return this; + } + + public SessionName build() { + return new SessionName(this); + } + } + @Override public boolean equals(Object o) { if (o == this) { return true; } - if (o instanceof SessionName) { + if (o != null || getClass() == o.getClass()) { SessionName that = (SessionName) o; - return (this.project.equals(that.project)) && (this.session.equals(that.session)); + return (Objects.equals(this.project, that.project)) + && (Objects.equals(this.session, that.session)) + && (Objects.equals(this.environment, that.environment)) + && (Objects.equals(this.user, that.user)); } return false; } @@ -174,9 +330,15 @@ public boolean equals(Object o) { public int hashCode() { int h = 1; h *= 1000003; - h ^= project.hashCode(); + h ^= Objects.hashCode(fixedValue); + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(session); + h *= 1000003; + h ^= Objects.hashCode(environment); h *= 1000003; - h ^= session.hashCode(); + h ^= Objects.hashCode(user); return h; } } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java index 07c25638e..586659340 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java @@ -214,8 +214,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Optional. The text to be shown on the screen. This value is passed directly
-   * to `QueryResult.fulfillment_text`.
+   * Optional. The text response message intended for the end-user.
+   * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller.
    * 
* * string fulfillment_text = 1; @@ -237,8 +239,10 @@ public java.lang.String getFulfillmentText() { * * *
-   * Optional. The text to be shown on the screen. This value is passed directly
-   * to `QueryResult.fulfillment_text`.
+   * Optional. The text response message intended for the end-user.
+   * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller.
    * 
* * string fulfillment_text = 1; @@ -263,8 +267,9 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -277,8 +282,9 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -291,8 +297,9 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -304,8 +311,9 @@ public int getFulfillmentMessagesCount() { * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -317,8 +325,9 @@ public com.google.cloud.dialogflow.v2.Intent.Message getFulfillmentMessages(int * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -334,7 +343,10 @@ public com.google.cloud.dialogflow.v2.Intent.MessageOrBuilder getFulfillmentMess * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_source`.
+   * Optional. A custom field used to identify the webhook source.
+   * Arbitrary strings are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller.
    * 
* * string source = 3; @@ -356,7 +368,10 @@ public java.lang.String getSource() { * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_source`.
+   * Optional. A custom field used to identify the webhook source.
+   * Arbitrary strings are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller.
    * 
* * string source = 3; @@ -381,10 +396,10 @@ public com.google.protobuf.ByteString getSourceBytes() { * * *
-   * Optional. This field can be used to pass custom data from your webhook to the API
-   * caller. Arbitrary JSON objects are supported.
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
    * When provided, Dialogflow uses this field to populate
-   * `QueryResult.webhook_payload` sent to the API caller.
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
    * This field is also used by the
    * [Google Assistant
    * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -404,10 +419,10 @@ public boolean hasPayload() {
    *
    *
    * 
-   * Optional. This field can be used to pass custom data from your webhook to the API
-   * caller. Arbitrary JSON objects are supported.
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
    * When provided, Dialogflow uses this field to populate
-   * `QueryResult.webhook_payload` sent to the API caller.
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
    * This field is also used by the
    * [Google Assistant
    * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -427,10 +442,10 @@ public com.google.protobuf.Struct getPayload() {
    *
    *
    * 
-   * Optional. This field can be used to pass custom data from your webhook to the API
-   * caller. Arbitrary JSON objects are supported.
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
    * When provided, Dialogflow uses this field to populate
-   * `QueryResult.webhook_payload` sent to the API caller.
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
    * This field is also used by the
    * [Google Assistant
    * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -451,8 +466,10 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() {
    *
    *
    * 
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -464,8 +481,10 @@ public java.util.List getOutputContextsL * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -478,8 +497,10 @@ public java.util.List getOutputContextsL * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -491,8 +512,10 @@ public int getOutputContextsCount() { * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -504,8 +527,10 @@ public com.google.cloud.dialogflow.v2.Context getOutputContexts(int index) { * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -520,8 +545,7 @@ public com.google.cloud.dialogflow.v2.ContextOrBuilder getOutputContextsOrBuilde * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -537,8 +561,7 @@ public boolean hasFollowupEventInput() { * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -556,8 +579,7 @@ public com.google.cloud.dialogflow.v2.EventInput getFollowupEventInput() { * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -576,9 +598,9 @@ public com.google.cloud.dialogflow.v2.EventInputOrBuilder getFollowupEventInputO *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -593,9 +615,9 @@ public com.google.cloud.dialogflow.v2.EventInputOrBuilder getFollowupEventInputO *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -610,9 +632,9 @@ public com.google.cloud.dialogflow.v2.EventInputOrBuilder getFollowupEventInputO *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -626,9 +648,9 @@ public int getSessionEntityTypesCount() { *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -642,9 +664,9 @@ public com.google.cloud.dialogflow.v2.SessionEntityType getSessionEntityTypes(in *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -1225,8 +1247,10 @@ public Builder mergeFrom( * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1248,8 +1272,10 @@ public java.lang.String getFulfillmentText() { * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1271,8 +1297,10 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1293,8 +1321,10 @@ public Builder setFulfillmentText(java.lang.String value) { * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1311,8 +1341,10 @@ public Builder clearFulfillmentText() { * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1353,8 +1385,9 @@ private void ensureFulfillmentMessagesIsMutable() { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1371,8 +1404,9 @@ private void ensureFulfillmentMessagesIsMutable() { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1388,8 +1422,9 @@ public int getFulfillmentMessagesCount() { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1405,8 +1440,9 @@ public com.google.cloud.dialogflow.v2.Intent.Message getFulfillmentMessages(int * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1429,8 +1465,9 @@ public Builder setFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1450,8 +1487,9 @@ public Builder setFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1473,8 +1511,9 @@ public Builder addFulfillmentMessages(com.google.cloud.dialogflow.v2.Intent.Mess * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1497,8 +1536,9 @@ public Builder addFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1518,8 +1558,9 @@ public Builder addFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1539,8 +1580,9 @@ public Builder addFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1560,8 +1602,9 @@ public Builder addAllFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1580,8 +1623,9 @@ public Builder clearFulfillmentMessages() { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1600,8 +1644,9 @@ public Builder removeFulfillmentMessages(int index) { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1614,8 +1659,9 @@ public com.google.cloud.dialogflow.v2.Intent.Message.Builder getFulfillmentMessa * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1632,8 +1678,9 @@ public com.google.cloud.dialogflow.v2.Intent.MessageOrBuilder getFulfillmentMess * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1650,8 +1697,9 @@ public com.google.cloud.dialogflow.v2.Intent.MessageOrBuilder getFulfillmentMess * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1664,8 +1712,9 @@ public com.google.cloud.dialogflow.v2.Intent.Message.Builder addFulfillmentMessa * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1679,8 +1728,9 @@ public com.google.cloud.dialogflow.v2.Intent.Message.Builder addFulfillmentMessa * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -1715,7 +1765,10 @@ public com.google.cloud.dialogflow.v2.Intent.Message.Builder addFulfillmentMessa * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1737,7 +1790,10 @@ public java.lang.String getSource() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1759,7 +1815,10 @@ public com.google.protobuf.ByteString getSourceBytes() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1780,7 +1839,10 @@ public Builder setSource(java.lang.String value) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1797,7 +1859,10 @@ public Builder clearSource() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1826,10 +1891,10 @@ public Builder setSourceBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. This field can be used to pass custom data from your webhook to the API
-     * caller. Arbitrary JSON objects are supported.
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
      * When provided, Dialogflow uses this field to populate
-     * `QueryResult.webhook_payload` sent to the API caller.
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
      * This field is also used by the
      * [Google Assistant
      * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -1849,10 +1914,10 @@ public boolean hasPayload() {
      *
      *
      * 
-     * Optional. This field can be used to pass custom data from your webhook to the API
-     * caller. Arbitrary JSON objects are supported.
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
      * When provided, Dialogflow uses this field to populate
-     * `QueryResult.webhook_payload` sent to the API caller.
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
      * This field is also used by the
      * [Google Assistant
      * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -1876,10 +1941,10 @@ public com.google.protobuf.Struct getPayload() {
      *
      *
      * 
-     * Optional. This field can be used to pass custom data from your webhook to the API
-     * caller. Arbitrary JSON objects are supported.
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
      * When provided, Dialogflow uses this field to populate
-     * `QueryResult.webhook_payload` sent to the API caller.
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
      * This field is also used by the
      * [Google Assistant
      * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -1907,10 +1972,10 @@ public Builder setPayload(com.google.protobuf.Struct value) {
      *
      *
      * 
-     * Optional. This field can be used to pass custom data from your webhook to the API
-     * caller. Arbitrary JSON objects are supported.
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
      * When provided, Dialogflow uses this field to populate
-     * `QueryResult.webhook_payload` sent to the API caller.
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
      * This field is also used by the
      * [Google Assistant
      * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -1935,10 +2000,10 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) {
      *
      *
      * 
-     * Optional. This field can be used to pass custom data from your webhook to the API
-     * caller. Arbitrary JSON objects are supported.
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
      * When provided, Dialogflow uses this field to populate
-     * `QueryResult.webhook_payload` sent to the API caller.
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
      * This field is also used by the
      * [Google Assistant
      * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -1968,10 +2033,10 @@ public Builder mergePayload(com.google.protobuf.Struct value) {
      *
      *
      * 
-     * Optional. This field can be used to pass custom data from your webhook to the API
-     * caller. Arbitrary JSON objects are supported.
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
      * When provided, Dialogflow uses this field to populate
-     * `QueryResult.webhook_payload` sent to the API caller.
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
      * This field is also used by the
      * [Google Assistant
      * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -1997,10 +2062,10 @@ public Builder clearPayload() {
      *
      *
      * 
-     * Optional. This field can be used to pass custom data from your webhook to the API
-     * caller. Arbitrary JSON objects are supported.
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
      * When provided, Dialogflow uses this field to populate
-     * `QueryResult.webhook_payload` sent to the API caller.
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
      * This field is also used by the
      * [Google Assistant
      * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -2020,10 +2085,10 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() {
      *
      *
      * 
-     * Optional. This field can be used to pass custom data from your webhook to the API
-     * caller. Arbitrary JSON objects are supported.
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
      * When provided, Dialogflow uses this field to populate
-     * `QueryResult.webhook_payload` sent to the API caller.
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
      * This field is also used by the
      * [Google Assistant
      * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -2045,10 +2110,10 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() {
      *
      *
      * 
-     * Optional. This field can be used to pass custom data from your webhook to the API
-     * caller. Arbitrary JSON objects are supported.
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
      * When provided, Dialogflow uses this field to populate
-     * `QueryResult.webhook_payload` sent to the API caller.
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
      * This field is also used by the
      * [Google Assistant
      * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -2097,8 +2162,10 @@ private void ensureOutputContextsIsMutable() {
      *
      *
      * 
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2114,8 +2181,10 @@ public java.util.List getOutputContextsL * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2131,8 +2200,10 @@ public int getOutputContextsCount() { * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2148,8 +2219,10 @@ public com.google.cloud.dialogflow.v2.Context getOutputContexts(int index) { * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2171,8 +2244,10 @@ public Builder setOutputContexts(int index, com.google.cloud.dialogflow.v2.Conte * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2192,8 +2267,10 @@ public Builder setOutputContexts( * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2215,8 +2292,10 @@ public Builder addOutputContexts(com.google.cloud.dialogflow.v2.Context value) { * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2238,8 +2317,10 @@ public Builder addOutputContexts(int index, com.google.cloud.dialogflow.v2.Conte * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2259,8 +2340,10 @@ public Builder addOutputContexts( * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2280,8 +2363,10 @@ public Builder addOutputContexts( * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2301,8 +2386,10 @@ public Builder addAllOutputContexts( * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2321,8 +2408,10 @@ public Builder clearOutputContexts() { * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2341,8 +2430,10 @@ public Builder removeOutputContexts(int index) { * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2354,8 +2445,10 @@ public com.google.cloud.dialogflow.v2.Context.Builder getOutputContextsBuilder(i * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2371,8 +2464,10 @@ public com.google.cloud.dialogflow.v2.ContextOrBuilder getOutputContextsOrBuilde * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2389,8 +2484,10 @@ public com.google.cloud.dialogflow.v2.ContextOrBuilder getOutputContextsOrBuilde * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2403,8 +2500,10 @@ public com.google.cloud.dialogflow.v2.Context.Builder addOutputContextsBuilder() * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2417,8 +2516,10 @@ public com.google.cloud.dialogflow.v2.Context.Builder addOutputContextsBuilder(i * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -2458,8 +2559,7 @@ public com.google.cloud.dialogflow.v2.Context.Builder addOutputContextsBuilder(i * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2475,8 +2575,7 @@ public boolean hasFollowupEventInput() { * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2498,8 +2597,7 @@ public com.google.cloud.dialogflow.v2.EventInput getFollowupEventInput() { * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2523,8 +2621,7 @@ public Builder setFollowupEventInput(com.google.cloud.dialogflow.v2.EventInput v * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2546,8 +2643,7 @@ public Builder setFollowupEventInput( * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2575,8 +2671,7 @@ public Builder mergeFollowupEventInput(com.google.cloud.dialogflow.v2.EventInput * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2598,8 +2693,7 @@ public Builder clearFollowupEventInput() { * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2615,8 +2709,7 @@ public com.google.cloud.dialogflow.v2.EventInput.Builder getFollowupEventInputBu * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2636,8 +2729,7 @@ public com.google.cloud.dialogflow.v2.EventInputOrBuilder getFollowupEventInputO * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2685,9 +2777,9 @@ private void ensureSessionEntityTypesIsMutable() { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2707,9 +2799,9 @@ private void ensureSessionEntityTypesIsMutable() { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2728,9 +2820,9 @@ public int getSessionEntityTypesCount() { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2749,9 +2841,9 @@ public com.google.cloud.dialogflow.v2.SessionEntityType getSessionEntityTypes(in *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2777,9 +2869,9 @@ public Builder setSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2802,9 +2894,9 @@ public Builder setSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2829,9 +2921,9 @@ public Builder addSessionEntityTypes(com.google.cloud.dialogflow.v2.SessionEntit *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2857,9 +2949,9 @@ public Builder addSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2882,9 +2974,9 @@ public Builder addSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2907,9 +2999,9 @@ public Builder addSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2932,9 +3024,9 @@ public Builder addAllSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2956,9 +3048,9 @@ public Builder clearSessionEntityTypes() { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2980,9 +3072,9 @@ public Builder removeSessionEntityTypes(int index) { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -2998,9 +3090,9 @@ public com.google.cloud.dialogflow.v2.SessionEntityType.Builder getSessionEntity *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -3020,9 +3112,9 @@ public com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder getSessionEntit *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -3042,9 +3134,9 @@ public com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder getSessionEntit *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -3060,9 +3152,9 @@ public com.google.cloud.dialogflow.v2.SessionEntityType.Builder addSessionEntity *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -3079,9 +3171,9 @@ public com.google.cloud.dialogflow.v2.SessionEntityType.Builder addSessionEntity *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java index 30d0d367e..7ad5d980f 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java @@ -27,8 +27,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The text to be shown on the screen. This value is passed directly
-   * to `QueryResult.fulfillment_text`.
+   * Optional. The text response message intended for the end-user.
+   * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller.
    * 
* * string fulfillment_text = 1; @@ -40,8 +42,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The text to be shown on the screen. This value is passed directly
-   * to `QueryResult.fulfillment_text`.
+   * Optional. The text response message intended for the end-user.
+   * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller.
    * 
* * string fulfillment_text = 1; @@ -54,8 +58,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -65,8 +70,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -76,8 +82,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -87,8 +94,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -99,8 +107,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2; @@ -111,7 +120,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_source`.
+   * Optional. A custom field used to identify the webhook source.
+   * Arbitrary strings are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller.
    * 
* * string source = 3; @@ -123,7 +135,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_source`.
+   * Optional. A custom field used to identify the webhook source.
+   * Arbitrary strings are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller.
    * 
* * string source = 3; @@ -136,10 +151,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. This field can be used to pass custom data from your webhook to the API
-   * caller. Arbitrary JSON objects are supported.
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
    * When provided, Dialogflow uses this field to populate
-   * `QueryResult.webhook_payload` sent to the API caller.
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
    * This field is also used by the
    * [Google Assistant
    * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -157,10 +172,10 @@ public interface WebhookResponseOrBuilder
    *
    *
    * 
-   * Optional. This field can be used to pass custom data from your webhook to the API
-   * caller. Arbitrary JSON objects are supported.
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
    * When provided, Dialogflow uses this field to populate
-   * `QueryResult.webhook_payload` sent to the API caller.
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
    * This field is also used by the
    * [Google Assistant
    * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -178,10 +193,10 @@ public interface WebhookResponseOrBuilder
    *
    *
    * 
-   * Optional. This field can be used to pass custom data from your webhook to the API
-   * caller. Arbitrary JSON objects are supported.
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
    * When provided, Dialogflow uses this field to populate
-   * `QueryResult.webhook_payload` sent to the API caller.
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller.
    * This field is also used by the
    * [Google Assistant
    * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -198,8 +213,10 @@ public interface WebhookResponseOrBuilder
    *
    *
    * 
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -209,8 +226,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -220,8 +239,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -231,8 +252,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -243,8 +266,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2.Context output_contexts = 5; @@ -255,8 +280,7 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -270,8 +294,7 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -285,8 +308,7 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -301,9 +323,9 @@ public interface WebhookResponseOrBuilder *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -315,9 +337,9 @@ public interface WebhookResponseOrBuilder *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -329,9 +351,9 @@ public interface WebhookResponseOrBuilder *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -343,9 +365,9 @@ public interface WebhookResponseOrBuilder *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; @@ -358,9 +380,9 @@ public interface WebhookResponseOrBuilder *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10; diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto index d88058f2a..23a3d44f0 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/agent.proto @@ -328,8 +328,6 @@ message DeleteAgentRequest { ]; } -// ============================================================================ -// Requests and responses for custom methods. // The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents]. message SearchAgentsRequest { // Required. The project to list agents from. diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto index 5c85b3c2f..e647c4ff9 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/context.proto @@ -172,7 +172,7 @@ message Context { // - MapKey value: parameter name // - MapValue type: // - If parameter's entity type is a composite entity: map - // - Else: string + // - Else: string or number, depending on parameter value type // - MapValue value: // - If parameter's entity type is a composite entity: // map from composite entity property names to property values diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/environment.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/environment.proto new file mode 100644 index 000000000..8c3b4f170 --- /dev/null +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/environment.proto @@ -0,0 +1,126 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.dialogflow.v2; + +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/client.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.Dialogflow.V2"; +option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow"; +option java_multiple_files = true; +option java_outer_classname = "EnvironmentProto"; +option java_package = "com.google.cloud.dialogflow.v2"; +option objc_class_prefix = "DF"; + +// Manages agent environments. +service Environments { + option (google.api.default_host) = "dialogflow.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/dialogflow"; + + // Returns the list of all non-draft environments of the specified agent. + rpc ListEnvironments(ListEnvironmentsRequest) returns (ListEnvironmentsResponse) { + option (google.api.http) = { + get: "/v2/{parent=projects/*/agent}/environments" + }; + } +} + +// Represents an agent environment. +message Environment { + option (google.api.resource) = { + type: "dialogflow.googleapis.com/Environment" + pattern: "projects/{project}/agent/environments/{environment}" + }; + + // Represents an environment state. When a environment is pointed to a new + // agent version, the environment is temporarily set to the `LOADING` state. + // During that time, the environment keeps on serving the previous version of + // the agent. After the new agent version is done loading, the environment is + // set back to the `RUNNING` state. + enum State { + // Not specified. This value is not used. + STATE_UNSPECIFIED = 0; + + // Stopped. + STOPPED = 1; + + // Loading. + LOADING = 2; + + // Running. + RUNNING = 3; + } + + // Output only. The unique identifier of this agent environment. + // Format: `projects//agent/environments/`. + // For Environment ID, "-" is reserved for 'draft' environment. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The developer-provided description for this environment. + // The maximum length is 500 characters. If exceeded, the request is rejected. + string description = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The agent version loaded into this environment. + // Format: `projects//agent/versions/`. + string agent_version = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The state of this environment. This field is read-only, i.e., it cannot be + // set by create and update methods. + State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The last update time of this environment. This field is read-only, i.e., it + // cannot be set by create and update methods. + google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2.Environments.ListEnvironments]. +message ListEnvironmentsRequest { + // Required. The agent to list all environments from. + // Format: `projects//agent`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Environment" + } + ]; + + // Optional. The maximum number of items to return in a single page. By default 100 and + // at most 1000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous list request. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2.Environments.ListEnvironments]. +message ListEnvironmentsResponse { + // The list of agent environments. There will be a maximum number of items + // returned based on the page_size field in the request. + repeated Environment environments = 1; + + // Token to retrieve the next page of results, or empty if there are no + // more results in the list. + string next_page_token = 2; +} diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto index ba53833d3..47ab44b32 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto @@ -76,7 +76,6 @@ service Sessions { } } -// Requests and responses for custom methods. // The request to detect user's intent. message DetectIntentRequest { // Required. The name of the session this query is sent to. Format: @@ -244,6 +243,20 @@ message QueryResult { string action = 3; // The collection of extracted parameters. + // + // Depending on your protocol or client library language, this is a + // map, associative array, symbol table, dictionary, or JSON object + // composed of a collection of (MapKey, MapValue) pairs: + // + // - MapKey type: string + // - MapKey value: parameter name + // - MapValue type: + // - If parameter's entity type is a composite entity: map + // - Else: string or number, depending on parameter value type + // - MapValue value: + // - If parameter's entity type is a composite entity: + // map from composite entity property names to property values + // - Else: parameter value google.protobuf.Struct parameters = 4; // This field is set to: @@ -539,6 +552,20 @@ message EventInput { string name = 1 [(google.api.field_behavior) = REQUIRED]; // The collection of parameters associated with the event. + // + // Depending on your protocol or client library language, this is a + // map, associative array, symbol table, dictionary, or JSON object + // composed of a collection of (MapKey, MapValue) pairs: + // + // - MapKey type: string + // - MapKey value: parameter name + // - MapValue type: + // - If parameter's entity type is a composite entity: map + // - Else: string or number, depending on parameter value type + // - MapValue value: + // - If parameter's entity type is a composite entity: + // map from composite entity property names to property values + // - Else: parameter value google.protobuf.Struct parameters = 2; // Required. The language of this query. See [Language diff --git a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/webhook.proto b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/webhook.proto index 94a373c75..509649a74 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/webhook.proto +++ b/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/webhook.proto @@ -68,21 +68,27 @@ message WebhookRequest { // [Protocol Buffers Language // Guide](https://developers.google.com/protocol-buffers/docs/proto3#json). message WebhookResponse { - // Optional. The text to be shown on the screen. This value is passed directly - // to `QueryResult.fulfillment_text`. + // Optional. The text response message intended for the end-user. + // It is recommended to use `fulfillment_messages.text.text[0]` instead. + // When provided, Dialogflow uses this field to populate + // [QueryResult.fulfillment_text][google.cloud.dialogflow.v2.QueryResult.fulfillment_text] sent to the integration or API caller. string fulfillment_text = 1; - // Optional. The collection of rich messages to present to the user. This - // value is passed directly to `QueryResult.fulfillment_messages`. + // Optional. The rich response messages intended for the end-user. + // When provided, Dialogflow uses this field to populate + // [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2.QueryResult.fulfillment_messages] sent to the integration or API caller. repeated Intent.Message fulfillment_messages = 2; - // Optional. This value is passed directly to `QueryResult.webhook_source`. + // Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. + // When provided, Dialogflow uses this field to populate + // [QueryResult.webhook_source][google.cloud.dialogflow.v2.QueryResult.webhook_source] sent to the integration or API caller. string source = 3; - // Optional. This field can be used to pass custom data from your webhook to the API - // caller. Arbitrary JSON objects are supported. + // Optional. This field can be used to pass custom data from your webhook to the + // integration or API caller. Arbitrary JSON objects are supported. // When provided, Dialogflow uses this field to populate - // `QueryResult.webhook_payload` sent to the API caller. + // [QueryResult.webhook_payload][google.cloud.dialogflow.v2.QueryResult.webhook_payload] sent to the integration or API caller. // This field is also used by the // [Google Assistant // integration](https://cloud.google.com/dialogflow/docs/integrations/aog) @@ -91,21 +97,22 @@ message WebhookResponse { // format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) google.protobuf.Struct payload = 4; - // Optional. The collection of output contexts. This value is passed directly - // to `QueryResult.output_contexts`. + // Optional. The collection of output contexts that will overwrite currently + // active contexts for the session and reset their lifespans. + // When provided, Dialogflow uses this field to populate + // [QueryResult.output_contexts][google.cloud.dialogflow.v2.QueryResult.output_contexts] sent to the integration or API caller. repeated Context output_contexts = 5; - // Optional. Makes the platform immediately invoke another `DetectIntent` call - // internally with the specified event as input. + // Optional. Invokes the supplied events. // When this field is set, Dialogflow ignores the `fulfillment_text`, // `fulfillment_messages`, and `payload` fields. EventInput followup_event_input = 6; // Optional. Additional session entity types to replace or extend developer // entity types with. The entity synonyms apply to all languages and persist - // for the session of this query. Setting the session entity types inside - // webhook overwrites the session entity types that have been set through - // `DetectIntentRequest.query_params.session_entity_types`. + // for the session. Setting this data from a webhook overwrites + // the session entity types that have been set using `detectIntent`, + // `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] management methods. repeated SessionEntityType session_entity_types = 10; } diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java index 812549e07..92706cf0f 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java @@ -92,108 +92,109 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\022\037google.cloud.dialogflow.v2beta1\032\034" + "google/api/annotations.proto\032\037google/api" + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\0327google/cloud/dialogflow/v2beta" - + "1/validation_result.proto\032#google/longru" - + "nning/operations.proto\032\033google/protobuf/" - + "empty.proto\032 google/protobuf/field_mask." - + "proto\032\027google/api/client.proto\"\302\006\n\005Agent" - + "\022\016\n\006parent\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\035" - + "\n\025default_language_code\030\003 \001(\t\022 \n\030support" - + "ed_language_codes\030\004 \003(\t\022\021\n\ttime_zone\030\005 \001" - + "(\t\022\023\n\013description\030\006 \001(\t\022\022\n\navatar_uri\030\007 " - + "\001(\t\022\026\n\016enable_logging\030\010 \001(\010\022D\n\nmatch_mod" - + "e\030\t \001(\01620.google.cloud.dialogflow.v2beta" - + "1.Agent.MatchMode\022 \n\030classification_thre" - + "shold\030\n \001(\002\022F\n\013api_version\030\016 \001(\01621.googl" - + "e.cloud.dialogflow.v2beta1.Agent.ApiVers" - + "ion\0229\n\004tier\030\017 \001(\0162+.google.cloud.dialogf" - + "low.v2beta1.Agent.Tier\"V\n\tMatchMode\022\032\n\026M" - + "ATCH_MODE_UNSPECIFIED\020\000\022\025\n\021MATCH_MODE_HY" - + "BRID\020\001\022\026\n\022MATCH_MODE_ML_ONLY\020\002\"l\n\nApiVer" - + "sion\022\033\n\027API_VERSION_UNSPECIFIED\020\000\022\022\n\016API" - + "_VERSION_V1\020\001\022\022\n\016API_VERSION_V2\020\002\022\031\n\025API" - + "_VERSION_V2_BETA_1\020\003\"^\n\004Tier\022\024\n\020TIER_UNS" - + "PECIFIED\020\000\022\021\n\rTIER_STANDARD\020\001\022\023\n\017TIER_EN" - + "TERPRISE\020\002\022\030\n\024TIER_ENTERPRISE_PLUS\020\003:m\352A" - + "j\n\037dialogflow.googleapis.com/Agent\022\030proj" - + "ects/{project}/agent\022-projects/{project}" - + "/locations/{location}/agent\"!\n\017GetAgentR" - + "equest\022\016\n\006parent\030\001 \001(\t\"y\n\017SetAgentReques" - + "t\0225\n\005agent\030\001 \001(\0132&.google.cloud.dialogfl" - + "ow.v2beta1.Agent\022/\n\013update_mask\030\002 \001(\0132\032." - + "google.protobuf.FieldMask\"$\n\022DeleteAgent" - + "Request\022\016\n\006parent\030\001 \001(\t\"0\n\010SubAgent\022\017\n\007p" - + "roject\030\001 \001(\t\022\023\n\013environment\030\002 \001(\t\"L\n\023Sea" - + "rchAgentsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\024Searc" - + "hAgentsResponse\0226\n\006agents\030\001 \003(\0132&.google" - + ".cloud.dialogflow.v2beta1.Agent\022\027\n\017next_" - + "page_token\030\002 \001(\t\"#\n\021TrainAgentRequest\022\016\n" - + "\006parent\030\001 \001(\t\"7\n\022ExportAgentRequest\022\016\n\006p" - + "arent\030\001 \001(\t\022\021\n\tagent_uri\030\002 \001(\t\"L\n\023Export" - + "AgentResponse\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\rag" - + "ent_content\030\002 \001(\014H\000B\007\n\005agent\"[\n\022ImportAg" - + "entRequest\022\016\n\006parent\030\001 \001(\t\022\023\n\tagent_uri\030" - + "\002 \001(\tH\000\022\027\n\ragent_content\030\003 \001(\014H\000B\007\n\005agen" - + "t\"\\\n\023RestoreAgentRequest\022\016\n\006parent\030\001 \001(\t" - + "\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027\n\ragent_content\030\003" - + " \001(\014H\000B\007\n\005agent\"M\n\032GetValidationResultRe" - + "quest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rlanguage_c" - + "ode\030\003 \001(\tB\003\340A\0012\257\017\n\006Agents\022\302\001\n\010GetAgent\0220" - + ".google.cloud.dialogflow.v2beta1.GetAgen" - + "tRequest\032&.google.cloud.dialogflow.v2bet" - + "a1.Agent\"\\\202\323\344\223\002V\022\"/v2beta1/{parent=proje" - + "cts/*}/agentZ0\022./v2beta1/{parent=project" - + "s/*/locations/*}/agent\022\334\001\n\010SetAgent\0220.go" - + "ogle.cloud.dialogflow.v2beta1.SetAgentRe" - + "quest\032&.google.cloud.dialogflow.v2beta1." - + "Agent\"v\202\323\344\223\002p\"(/v2beta1/{agent.parent=pr" - + "ojects/*}/agent:\005agentZ=\"4/v2beta1/{agen" - + "t.parent=projects/*/locations/*}/agent:\005" - + "agent\022\270\001\n\013DeleteAgent\0223.google.cloud.dia" - + "logflow.v2beta1.DeleteAgentRequest\032\026.goo" - + "gle.protobuf.Empty\"\\\202\323\344\223\002V*\"/v2beta1/{pa" - + "rent=projects/*}/agentZ0*./v2beta1/{pare" - + "nt=projects/*/locations/*}/agent\022\256\001\n\014Sea" - + "rchAgents\0224.google.cloud.dialogflow.v2be" - + "ta1.SearchAgentsRequest\0325.google.cloud.d" - + "ialogflow.v2beta1.SearchAgentsResponse\"1" - + "\202\323\344\223\002+\022)/v2beta1/{parent=projects/*}/age" - + "nt:search\022\317\001\n\nTrainAgent\0222.google.cloud." - + "dialogflow.v2beta1.TrainAgentRequest\032\035.g" - + "oogle.longrunning.Operation\"n\202\323\344\223\002h\"(/v2" - + "beta1/{parent=projects/*}/agent:train:\001*" - + "Z9\"4/v2beta1/{parent=projects/*/location" - + "s/*}/agent:train:\001*\022\323\001\n\013ExportAgent\0223.go" - + "ogle.cloud.dialogflow.v2beta1.ExportAgen" - + "tRequest\032\035.google.longrunning.Operation\"" - + "p\202\323\344\223\002j\")/v2beta1/{parent=projects/*}/ag" - + "ent:export:\001*Z:\"5/v2beta1/{parent=projec" - + "ts/*/locations/*}/agent:export:\001*\022\323\001\n\013Im" - + "portAgent\0223.google.cloud.dialogflow.v2be" - + "ta1.ImportAgentRequest\032\035.google.longrunn" - + "ing.Operation\"p\202\323\344\223\002j\")/v2beta1/{parent=" - + "projects/*}/agent:import:\001*Z:\"5/v2beta1/" - + "{parent=projects/*/locations/*}/agent:im" - + "port:\001*\022\327\001\n\014RestoreAgent\0224.google.cloud." - + "dialogflow.v2beta1.RestoreAgentRequest\032\035" - + ".google.longrunning.Operation\"r\202\323\344\223\002l\"*/" - + "v2beta1/{parent=projects/*}/agent:restor" - + "e:\001*Z;\"6/v2beta1/{parent=projects/*/loca" - + "tions/*}/agent:restore:\001*\022\302\001\n\023GetValidat" - + "ionResult\022;.google.cloud.dialogflow.v2be" - + "ta1.GetValidationResultRequest\0321.google." - + "cloud.dialogflow.v2beta1.ValidationResul" - + "t\";\202\323\344\223\0025\0223/v2beta1/{parent=projects/*}/" - + "agent/validationResult\032x\312A\031dialogflow.go" - + "ogleapis.com\322AYhttps://www.googleapis.co" - + "m/auth/cloud-platform,https://www.google" - + "apis.com/auth/dialogflowB\250\001\n#com.google." - + "cloud.dialogflow.v2beta1B\nAgentProtoP\001ZI" - + "google.golang.org/genproto/googleapis/cl" - + "oud/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002D" - + "F\252\002\037Google.Cloud.Dialogflow.V2beta1b\006pro" - + "to3" + + "ce.proto\0321google/cloud/dialogflow/v2beta" + + "1/environment.proto\0327google/cloud/dialog" + + "flow/v2beta1/validation_result.proto\032#go" + + "ogle/longrunning/operations.proto\032\033googl" + + "e/protobuf/empty.proto\032 google/protobuf/" + + "field_mask.proto\032\027google/api/client.prot" + + "o\"\302\006\n\005Agent\022\016\n\006parent\030\001 \001(\t\022\024\n\014display_n" + + "ame\030\002 \001(\t\022\035\n\025default_language_code\030\003 \001(\t" + + "\022 \n\030supported_language_codes\030\004 \003(\t\022\021\n\tti" + + "me_zone\030\005 \001(\t\022\023\n\013description\030\006 \001(\t\022\022\n\nav" + + "atar_uri\030\007 \001(\t\022\026\n\016enable_logging\030\010 \001(\010\022D" + + "\n\nmatch_mode\030\t \001(\01620.google.cloud.dialog" + + "flow.v2beta1.Agent.MatchMode\022 \n\030classifi" + + "cation_threshold\030\n \001(\002\022F\n\013api_version\030\016 " + + "\001(\01621.google.cloud.dialogflow.v2beta1.Ag" + + "ent.ApiVersion\0229\n\004tier\030\017 \001(\0162+.google.cl" + + "oud.dialogflow.v2beta1.Agent.Tier\"V\n\tMat" + + "chMode\022\032\n\026MATCH_MODE_UNSPECIFIED\020\000\022\025\n\021MA" + + "TCH_MODE_HYBRID\020\001\022\026\n\022MATCH_MODE_ML_ONLY\020" + + "\002\"l\n\nApiVersion\022\033\n\027API_VERSION_UNSPECIFI" + + "ED\020\000\022\022\n\016API_VERSION_V1\020\001\022\022\n\016API_VERSION_" + + "V2\020\002\022\031\n\025API_VERSION_V2_BETA_1\020\003\"^\n\004Tier\022" + + "\024\n\020TIER_UNSPECIFIED\020\000\022\021\n\rTIER_STANDARD\020\001" + + "\022\023\n\017TIER_ENTERPRISE\020\002\022\030\n\024TIER_ENTERPRISE" + + "_PLUS\020\003:m\352Aj\n\037dialogflow.googleapis.com/" + + "Agent\022\030projects/{project}/agent\022-project" + + "s/{project}/locations/{location}/agent\"!" + + "\n\017GetAgentRequest\022\016\n\006parent\030\001 \001(\t\"y\n\017Set" + + "AgentRequest\0225\n\005agent\030\001 \001(\0132&.google.clo" + + "ud.dialogflow.v2beta1.Agent\022/\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"$\n\022" + + "DeleteAgentRequest\022\016\n\006parent\030\001 \001(\t\"0\n\010Su" + + "bAgent\022\017\n\007project\030\001 \001(\t\022\023\n\013environment\030\002" + + " \001(\t\"L\n\023SearchAgentsRequest\022\016\n\006parent\030\001 " + + "\001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\"g\n\024SearchAgentsResponse\0226\n\006agents\030\001 \003" + + "(\0132&.google.cloud.dialogflow.v2beta1.Age" + + "nt\022\027\n\017next_page_token\030\002 \001(\t\"#\n\021TrainAgen" + + "tRequest\022\016\n\006parent\030\001 \001(\t\"7\n\022ExportAgentR" + + "equest\022\016\n\006parent\030\001 \001(\t\022\021\n\tagent_uri\030\002 \001(" + + "\t\"L\n\023ExportAgentResponse\022\023\n\tagent_uri\030\001 " + + "\001(\tH\000\022\027\n\ragent_content\030\002 \001(\014H\000B\007\n\005agent\"" + + "[\n\022ImportAgentRequest\022\016\n\006parent\030\001 \001(\t\022\023\n" + + "\tagent_uri\030\002 \001(\tH\000\022\027\n\ragent_content\030\003 \001(" + + "\014H\000B\007\n\005agent\"\\\n\023RestoreAgentRequest\022\016\n\006p" + + "arent\030\001 \001(\t\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027\n\ragen" + + "t_content\030\003 \001(\014H\000B\007\n\005agent\"M\n\032GetValidat" + + "ionResultRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n" + + "\rlanguage_code\030\003 \001(\tB\003\340A\0012\257\017\n\006Agents\022\302\001\n" + + "\010GetAgent\0220.google.cloud.dialogflow.v2be" + + "ta1.GetAgentRequest\032&.google.cloud.dialo" + + "gflow.v2beta1.Agent\"\\\202\323\344\223\002V\022\"/v2beta1/{p" + + "arent=projects/*}/agentZ0\022./v2beta1/{par" + + "ent=projects/*/locations/*}/agent\022\334\001\n\010Se" + + "tAgent\0220.google.cloud.dialogflow.v2beta1" + + ".SetAgentRequest\032&.google.cloud.dialogfl" + + "ow.v2beta1.Agent\"v\202\323\344\223\002p\"(/v2beta1/{agen" + + "t.parent=projects/*}/agent:\005agentZ=\"4/v2" + + "beta1/{agent.parent=projects/*/locations" + + "/*}/agent:\005agent\022\270\001\n\013DeleteAgent\0223.googl" + + "e.cloud.dialogflow.v2beta1.DeleteAgentRe" + + "quest\032\026.google.protobuf.Empty\"\\\202\323\344\223\002V*\"/" + + "v2beta1/{parent=projects/*}/agentZ0*./v2" + + "beta1/{parent=projects/*/locations/*}/ag" + + "ent\022\256\001\n\014SearchAgents\0224.google.cloud.dial" + + "ogflow.v2beta1.SearchAgentsRequest\0325.goo" + + "gle.cloud.dialogflow.v2beta1.SearchAgent" + + "sResponse\"1\202\323\344\223\002+\022)/v2beta1/{parent=proj" + + "ects/*}/agent:search\022\317\001\n\nTrainAgent\0222.go" + + "ogle.cloud.dialogflow.v2beta1.TrainAgent" + + "Request\032\035.google.longrunning.Operation\"n" + + "\202\323\344\223\002h\"(/v2beta1/{parent=projects/*}/age" + + "nt:train:\001*Z9\"4/v2beta1/{parent=projects" + + "/*/locations/*}/agent:train:\001*\022\323\001\n\013Expor" + + "tAgent\0223.google.cloud.dialogflow.v2beta1" + + ".ExportAgentRequest\032\035.google.longrunning" + + ".Operation\"p\202\323\344\223\002j\")/v2beta1/{parent=pro" + + "jects/*}/agent:export:\001*Z:\"5/v2beta1/{pa" + + "rent=projects/*/locations/*}/agent:expor" + + "t:\001*\022\323\001\n\013ImportAgent\0223.google.cloud.dial" + + "ogflow.v2beta1.ImportAgentRequest\032\035.goog" + + "le.longrunning.Operation\"p\202\323\344\223\002j\")/v2bet" + + "a1/{parent=projects/*}/agent:import:\001*Z:" + + "\"5/v2beta1/{parent=projects/*/locations/" + + "*}/agent:import:\001*\022\327\001\n\014RestoreAgent\0224.go" + + "ogle.cloud.dialogflow.v2beta1.RestoreAge" + + "ntRequest\032\035.google.longrunning.Operation" + + "\"r\202\323\344\223\002l\"*/v2beta1/{parent=projects/*}/a" + + "gent:restore:\001*Z;\"6/v2beta1/{parent=proj" + + "ects/*/locations/*}/agent:restore:\001*\022\302\001\n" + + "\023GetValidationResult\022;.google.cloud.dial" + + "ogflow.v2beta1.GetValidationResultReques" + + "t\0321.google.cloud.dialogflow.v2beta1.Vali" + + "dationResult\";\202\323\344\223\0025\0223/v2beta1/{parent=p" + + "rojects/*}/agent/validationResult\032x\312A\031di" + + "alogflow.googleapis.com\322AYhttps://www.go" + + "ogleapis.com/auth/cloud-platform,https:/" + + "/www.googleapis.com/auth/dialogflowB\250\001\n#" + + "com.google.cloud.dialogflow.v2beta1B\nAge" + + "ntProtoP\001ZIgoogle.golang.org/genproto/go" + + "ogleapis/cloud/dialogflow/v2beta1;dialog" + + "flow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V" + + "2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -202,6 +203,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dialogflow.v2beta1.EnvironmentProto.getDescriptor(), com.google.cloud.dialogflow.v2beta1.ValidationResultProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), @@ -335,6 +337,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dialogflow.v2beta1.EnvironmentProto.getDescriptor(); com.google.cloud.dialogflow.v2beta1.ValidationResultProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java index e39c52630..52f7283a5 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java @@ -71,51 +71,51 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001(\t\022/\n\014start_offset\030\001 \001(\0132\031.google.proto" + "buf.Duration\022-\n\nend_offset\030\002 \001(\0132\031.googl" + "e.protobuf.Duration\022\022\n\nconfidence\030\004 \001(\002\"" - + "\201\003\n\020InputAudioConfig\022F\n\016audio_encoding\030\001" + + "\376\002\n\020InputAudioConfig\022F\n\016audio_encoding\030\001" + " \001(\0162..google.cloud.dialogflow.v2beta1.A" + "udioEncoding\022\031\n\021sample_rate_hertz\030\002 \001(\005\022" + "\025\n\rlanguage_code\030\003 \001(\t\022\030\n\020enable_word_in" - + "fo\030\r \001(\010\022\033\n\014phrase_hints\030\004 \003(\tB\005\030\001\340A\001\022G\n" - + "\017speech_contexts\030\013 \003(\0132..google.cloud.di" - + "alogflow.v2beta1.SpeechContext\022\r\n\005model\030" - + "\007 \001(\t\022J\n\rmodel_variant\030\n \001(\01623.google.cl" - + "oud.dialogflow.v2beta1.SpeechModelVarian" - + "t\022\030\n\020single_utterance\030\010 \001(\010\"k\n\024VoiceSele" - + "ctionParams\022\014\n\004name\030\001 \001(\t\022E\n\013ssml_gender" - + "\030\002 \001(\01620.google.cloud.dialogflow.v2beta1" - + ".SsmlVoiceGender\"\270\001\n\026SynthesizeSpeechCon" - + "fig\022\025\n\rspeaking_rate\030\001 \001(\001\022\r\n\005pitch\030\002 \001(" - + "\001\022\026\n\016volume_gain_db\030\003 \001(\001\022\032\n\022effects_pro" - + "file_id\030\005 \003(\t\022D\n\005voice\030\004 \001(\01325.google.cl" - + "oud.dialogflow.v2beta1.VoiceSelectionPar" - + "ams\"\334\001\n\021OutputAudioConfig\022Q\n\016audio_encod" - + "ing\030\001 \001(\01624.google.cloud.dialogflow.v2be" - + "ta1.OutputAudioEncodingB\003\340A\002\022\031\n\021sample_r" - + "ate_hertz\030\002 \001(\005\022Y\n\030synthesize_speech_con" - + "fig\030\003 \001(\01327.google.cloud.dialogflow.v2be" - + "ta1.SynthesizeSpeechConfig*\373\001\n\rAudioEnco" - + "ding\022\036\n\032AUDIO_ENCODING_UNSPECIFIED\020\000\022\034\n\030" - + "AUDIO_ENCODING_LINEAR_16\020\001\022\027\n\023AUDIO_ENCO" - + "DING_FLAC\020\002\022\030\n\024AUDIO_ENCODING_MULAW\020\003\022\026\n" - + "\022AUDIO_ENCODING_AMR\020\004\022\031\n\025AUDIO_ENCODING_" - + "AMR_WB\020\005\022\033\n\027AUDIO_ENCODING_OGG_OPUS\020\006\022)\n" - + "%AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE\020\007" - + "*v\n\022SpeechModelVariant\022$\n SPEECH_MODEL_V" - + "ARIANT_UNSPECIFIED\020\000\022\026\n\022USE_BEST_AVAILAB" - + "LE\020\001\022\020\n\014USE_STANDARD\020\002\022\020\n\014USE_ENHANCED\020\003" - + "*\215\001\n\017SsmlVoiceGender\022!\n\035SSML_VOICE_GENDE" - + "R_UNSPECIFIED\020\000\022\032\n\026SSML_VOICE_GENDER_MAL" - + "E\020\001\022\034\n\030SSML_VOICE_GENDER_FEMALE\020\002\022\035\n\031SSM" - + "L_VOICE_GENDER_NEUTRAL\020\003*\244\001\n\023OutputAudio" - + "Encoding\022%\n!OUTPUT_AUDIO_ENCODING_UNSPEC" - + "IFIED\020\000\022#\n\037OUTPUT_AUDIO_ENCODING_LINEAR_" - + "16\020\001\022\035\n\031OUTPUT_AUDIO_ENCODING_MP3\020\002\022\"\n\036O" - + "UTPUT_AUDIO_ENCODING_OGG_OPUS\020\003B\256\001\n#com." - + "google.cloud.dialogflow.v2beta1B\020AudioCo" - + "nfigProtoP\001ZIgoogle.golang.org/genproto/" - + "googleapis/cloud/dialogflow/v2beta1;dial" - + "ogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow" - + ".V2beta1b\006proto3" + + "fo\030\r \001(\010\022\030\n\014phrase_hints\030\004 \003(\tB\002\030\001\022G\n\017sp" + + "eech_contexts\030\013 \003(\0132..google.cloud.dialo" + + "gflow.v2beta1.SpeechContext\022\r\n\005model\030\007 \001" + + "(\t\022J\n\rmodel_variant\030\n \001(\01623.google.cloud" + + ".dialogflow.v2beta1.SpeechModelVariant\022\030" + + "\n\020single_utterance\030\010 \001(\010\"k\n\024VoiceSelecti" + + "onParams\022\014\n\004name\030\001 \001(\t\022E\n\013ssml_gender\030\002 " + + "\001(\01620.google.cloud.dialogflow.v2beta1.Ss" + + "mlVoiceGender\"\270\001\n\026SynthesizeSpeechConfig" + + "\022\025\n\rspeaking_rate\030\001 \001(\001\022\r\n\005pitch\030\002 \001(\001\022\026" + + "\n\016volume_gain_db\030\003 \001(\001\022\032\n\022effects_profil" + + "e_id\030\005 \003(\t\022D\n\005voice\030\004 \001(\01325.google.cloud" + + ".dialogflow.v2beta1.VoiceSelectionParams" + + "\"\334\001\n\021OutputAudioConfig\022Q\n\016audio_encoding" + + "\030\001 \001(\01624.google.cloud.dialogflow.v2beta1" + + ".OutputAudioEncodingB\003\340A\002\022\031\n\021sample_rate" + + "_hertz\030\002 \001(\005\022Y\n\030synthesize_speech_config" + + "\030\003 \001(\01327.google.cloud.dialogflow.v2beta1" + + ".SynthesizeSpeechConfig*\373\001\n\rAudioEncodin" + + "g\022\036\n\032AUDIO_ENCODING_UNSPECIFIED\020\000\022\034\n\030AUD" + + "IO_ENCODING_LINEAR_16\020\001\022\027\n\023AUDIO_ENCODIN" + + "G_FLAC\020\002\022\030\n\024AUDIO_ENCODING_MULAW\020\003\022\026\n\022AU" + + "DIO_ENCODING_AMR\020\004\022\031\n\025AUDIO_ENCODING_AMR" + + "_WB\020\005\022\033\n\027AUDIO_ENCODING_OGG_OPUS\020\006\022)\n%AU" + + "DIO_ENCODING_SPEEX_WITH_HEADER_BYTE\020\007*v\n" + + "\022SpeechModelVariant\022$\n SPEECH_MODEL_VARI" + + "ANT_UNSPECIFIED\020\000\022\026\n\022USE_BEST_AVAILABLE\020" + + "\001\022\020\n\014USE_STANDARD\020\002\022\020\n\014USE_ENHANCED\020\003*\215\001" + + "\n\017SsmlVoiceGender\022!\n\035SSML_VOICE_GENDER_U" + + "NSPECIFIED\020\000\022\032\n\026SSML_VOICE_GENDER_MALE\020\001" + + "\022\034\n\030SSML_VOICE_GENDER_FEMALE\020\002\022\035\n\031SSML_V" + + "OICE_GENDER_NEUTRAL\020\003*\244\001\n\023OutputAudioEnc" + + "oding\022%\n!OUTPUT_AUDIO_ENCODING_UNSPECIFI" + + "ED\020\000\022#\n\037OUTPUT_AUDIO_ENCODING_LINEAR_16\020" + + "\001\022\035\n\031OUTPUT_AUDIO_ENCODING_MP3\020\002\022\"\n\036OUTP" + + "UT_AUDIO_ENCODING_OGG_OPUS\020\003B\256\001\n#com.goo" + + "gle.cloud.dialogflow.v2beta1B\020AudioConfi" + + "gProtoP\001ZIgoogle.golang.org/genproto/goo" + + "gleapis/cloud/dialogflow/v2beta1;dialogf" + + "low\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2" + + "beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java index 2e0faf3da..69963f0be 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java @@ -258,15 +258,14 @@ public com.google.cloud.dialogflow.v2beta1.EntityType.EntityOrBuilder getEntitie * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -285,15 +284,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1180,15 +1178,14 @@ public com.google.cloud.dialogflow.v2beta1.EntityType.Entity.Builder addEntities * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -1207,15 +1204,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1234,15 +1230,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -1260,15 +1255,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1282,15 +1276,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequestOrBuilder.java index 00f53c8b4..ec9428365 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequestOrBuilder.java @@ -106,15 +106,14 @@ public interface BatchCreateEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -123,15 +122,14 @@ public interface BatchCreateEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java index da6b11d53..6adac6963 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java @@ -258,15 +258,14 @@ public com.google.protobuf.ByteString getEntityValuesBytes(int index) { * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -285,15 +284,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -985,15 +983,14 @@ public Builder addEntityValuesBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -1012,15 +1009,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1039,15 +1035,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -1065,15 +1060,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1087,15 +1081,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequestOrBuilder.java index 90f04474c..1199107cb 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequestOrBuilder.java @@ -113,15 +113,14 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -130,15 +129,14 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java index b4161bb44..20fdc9764 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java @@ -273,15 +273,14 @@ public com.google.cloud.dialogflow.v2beta1.EntityType.EntityOrBuilder getEntitie * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -300,15 +299,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1266,15 +1264,14 @@ public com.google.cloud.dialogflow.v2beta1.EntityType.Entity.Builder addEntities * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -1293,15 +1290,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1320,15 +1316,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -1346,15 +1341,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1368,15 +1362,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entities`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequestOrBuilder.java index 0ef4ac0ce..beaea989f 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequestOrBuilder.java @@ -106,15 +106,14 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -123,15 +122,14 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entities`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java index 125c502a9..fafe40502 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java @@ -374,15 +374,14 @@ public com.google.cloud.dialogflow.v2beta1.EntityTypeBatch getEntityTypeBatchInl * * *
-   * Optional. The language of entity synonyms defined in `entity_types`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -401,15 +400,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entity_types`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1380,15 +1378,14 @@ public Builder clearEntityTypeBatchInline() { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -1407,15 +1404,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1434,15 +1430,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -1460,15 +1455,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1482,15 +1476,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_types`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequestOrBuilder.java index 8d7dc7e3b..79076a2a9 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequestOrBuilder.java @@ -120,15 +120,14 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_types`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -137,15 +136,14 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_types`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java index 3a5dab7ed..0fb26aebc 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java @@ -377,15 +377,14 @@ public com.google.cloud.dialogflow.v2beta1.IntentBatchOrBuilder getIntentBatchIn * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intents`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -404,15 +403,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intents`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1421,15 +1419,14 @@ public com.google.cloud.dialogflow.v2beta1.IntentBatch.Builder getIntentBatchInl * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -1448,15 +1445,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1475,15 +1471,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -1501,15 +1496,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1523,15 +1517,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intents`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequestOrBuilder.java index 7b248289a..8f5d1b708 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequestOrBuilder.java @@ -118,15 +118,14 @@ public interface BatchUpdateIntentsRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intents`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -135,15 +134,14 @@ public interface BatchUpdateIntentsRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intents`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 4; + * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java index fa6a8ac9d..f6832a764 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * Optional. The number of conversational query requests after which the
-   * context expires. If set to `0` (the default) the context expires
+   * context expires. The default is `0`. If set to `0`, the context expires
    * immediately. Contexts expire automatically after 20 minutes if there
    * are no matching queries.
    * 
@@ -229,9 +229,18 @@ public int getLifespanCount() { * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3; @@ -246,9 +255,18 @@ public boolean hasParameters() { * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3; @@ -263,9 +281,18 @@ public com.google.protobuf.Struct getParameters() { * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3; @@ -805,7 +832,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * Optional. The number of conversational query requests after which the
-     * context expires. If set to `0` (the default) the context expires
+     * context expires. The default is `0`. If set to `0`, the context expires
      * immediately. Contexts expire automatically after 20 minutes if there
      * are no matching queries.
      * 
@@ -822,7 +849,7 @@ public int getLifespanCount() { * *
      * Optional. The number of conversational query requests after which the
-     * context expires. If set to `0` (the default) the context expires
+     * context expires. The default is `0`. If set to `0`, the context expires
      * immediately. Contexts expire automatically after 20 minutes if there
      * are no matching queries.
      * 
@@ -843,7 +870,7 @@ public Builder setLifespanCount(int value) { * *
      * Optional. The number of conversational query requests after which the
-     * context expires. If set to `0` (the default) the context expires
+     * context expires. The default is `0`. If set to `0`, the context expires
      * immediately. Contexts expire automatically after 20 minutes if there
      * are no matching queries.
      * 
@@ -870,9 +897,18 @@ public Builder clearLifespanCount() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3; @@ -887,9 +923,18 @@ public boolean hasParameters() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3; @@ -908,9 +953,18 @@ public com.google.protobuf.Struct getParameters() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3; @@ -933,9 +987,18 @@ public Builder setParameters(com.google.protobuf.Struct value) { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3; @@ -955,9 +1018,18 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3; @@ -982,9 +1054,18 @@ public Builder mergeParameters(com.google.protobuf.Struct value) { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3; @@ -1005,9 +1086,18 @@ public Builder clearParameters() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3; @@ -1022,9 +1112,18 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3; @@ -1041,9 +1140,18 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * *
      * Optional. The collection of parameters associated with this context.
-     * Refer to [this
-     * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-     * for syntax.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 3; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextOrBuilder.java index a290e8a70..ddf5b9eb4 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextOrBuilder.java @@ -77,7 +77,7 @@ public interface ContextOrBuilder * *
    * Optional. The number of conversational query requests after which the
-   * context expires. If set to `0` (the default) the context expires
+   * context expires. The default is `0`. If set to `0`, the context expires
    * immediately. Contexts expire automatically after 20 minutes if there
    * are no matching queries.
    * 
@@ -93,9 +93,18 @@ public interface ContextOrBuilder * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3; @@ -108,9 +117,18 @@ public interface ContextOrBuilder * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3; @@ -123,9 +141,18 @@ public interface ContextOrBuilder * *
    * Optional. The collection of parameters associated with this context.
-   * Refer to [this
-   * doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
-   * for syntax.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 3; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java index 5459d50ba..70c4c6f12 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java @@ -235,15 +235,14 @@ public com.google.cloud.dialogflow.v2beta1.EntityTypeOrBuilder getEntityTypeOrBu * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -262,15 +261,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -951,15 +949,14 @@ public com.google.cloud.dialogflow.v2beta1.EntityTypeOrBuilder getEntityTypeOrBu * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -978,15 +975,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1005,15 +1001,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -1031,15 +1026,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1053,15 +1047,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequestOrBuilder.java index b2eeab9ff..7c0dc0700 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequestOrBuilder.java @@ -89,15 +89,14 @@ public interface CreateEntityTypeRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -106,15 +105,14 @@ public interface CreateEntityTypeRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java index 9fa486a66..54eba4e1e 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java @@ -243,15 +243,14 @@ public com.google.cloud.dialogflow.v2beta1.IntentOrBuilder getIntentOrBuilder() * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -270,15 +269,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1009,15 +1007,14 @@ public com.google.cloud.dialogflow.v2beta1.IntentOrBuilder getIntentOrBuilder() * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -1036,15 +1033,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1063,15 +1059,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -1089,15 +1084,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1111,15 +1105,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequestOrBuilder.java index c016cbe0c..7b147e7e6 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequestOrBuilder.java @@ -89,15 +89,14 @@ public interface CreateIntentRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -106,15 +105,14 @@ public interface CreateIntentRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java index 8d6d6f849..0e809da2d 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java @@ -22,8 +22,6 @@ * * *
- * ============================================================================
- * Requests and responses for custom methods.
  * The request to detect user's intent.
  * 
* @@ -707,8 +705,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * ============================================================================
-   * Requests and responses for custom methods.
    * The request to detect user's intent.
    * 
* diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java index 0405a9fe5..b9acee555 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java @@ -108,7 +108,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "IED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020" + "\003\"q\n\025ReloadDocumentRequest\022\014\n\004name\030\001 \001(\t" + "\022@\n\ngcs_source\030\003 \001(\0132*.google.cloud.dial" - + "ogflow.v2beta1.GcsSourceH\000B\010\n\006source2\201\r\n" + + "ogflow.v2beta1.GcsSourceH\000B\010\n\006source2\262\016\n" + "\tDocuments\022\201\002\n\rListDocuments\0225.google.cl" + "oud.dialogflow.v2beta1.ListDocumentsRequ" + "est\0326.google.cloud.dialogflow.v2beta1.Li" @@ -121,41 +121,45 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gflow.v2beta1.Document\"\200\001\202\323\344\223\002z\0227/v2beta" + "1/{name=projects/*/knowledgeBases/*/docu" + "ments/*}Z?\022=/v2beta1/{name=projects/*/ag" - + "ent/knowledgeBases/*/documents/*}\022\377\001\n\016Cr" + + "ent/knowledgeBases/*/documents/*}\022\250\002\n\016Cr" + "eateDocument\0226.google.cloud.dialogflow.v" + "2beta1.CreateDocumentRequest\032\035.google.lo" - + "ngrunning.Operation\"\225\001\202\323\344\223\002\216\001\"7/v2beta1/" + + "ngrunning.Operation\"\276\001\202\323\344\223\002\216\001\"7/v2beta1/" + "{parent=projects/*/knowledgeBases/*}/doc" + "uments:\010documentZI\"=/v2beta1/{parent=pro" + "jects/*/agent/knowledgeBases/*}/document" - + "s:\010document\022\352\001\n\016DeleteDocument\0226.google." - + "cloud.dialogflow.v2beta1.DeleteDocumentR" - + "equest\032\035.google.longrunning.Operation\"\200\001" - + "\202\323\344\223\002z*7/v2beta1/{name=projects/*/knowle" - + "dgeBases/*/documents/*}Z?*=/v2beta1/{nam" - + "e=projects/*/agent/knowledgeBases/*/docu" - + "ments/*}\022\221\002\n\016UpdateDocument\0226.google.clo" - + "ud.dialogflow.v2beta1.UpdateDocumentRequ" - + "est\032\035.google.longrunning.Operation\"\247\001\202\323\344" - + "\223\002\240\0012@/v2beta1/{document.name=projects/*" - + "/knowledgeBases/*/documents/*}:\010document" - + "ZR2F/v2beta1/{document.name=projects/*/a" - + "gent/knowledgeBases/*/documents/*}:\010docu" - + "ment\022\377\001\n\016ReloadDocument\0226.google.cloud.d" - + "ialogflow.v2beta1.ReloadDocumentRequest\032" - + "\035.google.longrunning.Operation\"\225\001\202\323\344\223\002\216\001" - + "\">/v2beta1/{name=projects/*/knowledgeBas" - + "es/*/documents/*}:reload:\001*ZI\"D/v2beta1/" - + "{name=projects/*/agent/knowledgeBases/*/" - + "documents/*}:reload:\001*\032x\312A\031dialogflow.go" - + "ogleapis.com\322AYhttps://www.googleapis.co" - + "m/auth/cloud-platform,https://www.google" - + "apis.com/auth/dialogflowB\253\001\n#com.google." - + "cloud.dialogflow.v2beta1B\rDocumentProtoP" - + "\001ZIgoogle.golang.org/genproto/googleapis" - + "/cloud/dialogflow/v2beta1;dialogflow\370\001\001\242" - + "\002\002DF\252\002\037Google.Cloud.Dialogflow.V2beta1b\006" - + "proto3" + + "s:\010document\312A&\n\010Document\022\032KnowledgeOpera" + + "tionMetadata\022\240\002\n\016DeleteDocument\0226.google" + + ".cloud.dialogflow.v2beta1.DeleteDocument" + + "Request\032\035.google.longrunning.Operation\"\266" + + "\001\202\323\344\223\002z*7/v2beta1/{name=projects/*/knowl" + + "edgeBases/*/documents/*}Z?*=/v2beta1/{na" + + "me=projects/*/agent/knowledgeBases/*/doc" + + "uments/*}\312A3\n\025google.protobuf.Empty\022\032Kno" + + "wledgeOperationMetadata\022\272\002\n\016UpdateDocume" + + "nt\0226.google.cloud.dialogflow.v2beta1.Upd" + + "ateDocumentRequest\032\035.google.longrunning." + + "Operation\"\320\001\202\323\344\223\002\240\0012@/v2beta1/{document." + + "name=projects/*/knowledgeBases/*/documen" + + "ts/*}:\010documentZR2F/v2beta1/{document.na" + + "me=projects/*/agent/knowledgeBases/*/doc" + + "uments/*}:\010document\312A&\n\010Document\022\032Knowle" + + "dgeOperationMetadata\022\250\002\n\016ReloadDocument\022" + + "6.google.cloud.dialogflow.v2beta1.Reload" + + "DocumentRequest\032\035.google.longrunning.Ope" + + "ration\"\276\001\202\323\344\223\002\216\001\">/v2beta1/{name=project" + + "s/*/knowledgeBases/*/documents/*}:reload" + + ":\001*ZI\"D/v2beta1/{name=projects/*/agent/k" + + "nowledgeBases/*/documents/*}:reload:\001*\312A" + + "&\n\010Document\022\032KnowledgeOperationMetadata\032" + + "x\312A\031dialogflow.googleapis.com\322AYhttps://" + + "www.googleapis.com/auth/cloud-platform,h" + + "ttps://www.googleapis.com/auth/dialogflo" + + "wB\253\001\n#com.google.cloud.dialogflow.v2beta" + + "1B\rDocumentProtoP\001ZIgoogle.golang.org/ge" + + "nproto/googleapis/cloud/dialogflow/v2bet" + + "a1;dialogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dia" + + "logflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -255,6 +259,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ClientProto.defaultHost); registry.add(com.google.api.AnnotationsProto.http); registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java index 08998d303..780e26a35 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java @@ -116,44 +116,45 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020\000\022\014\n\010KIND_MAP\020\001\022\r\n\tKIND_LIST\020\002\022\017\n\013KIND_" + "REGEXP\020\003\"Y\n\021AutoExpansionMode\022#\n\037AUTO_EX" + "PANSION_MODE_UNSPECIFIED\020\000\022\037\n\033AUTO_EXPAN" - + "SION_MODE_DEFAULT\020\001\"f\n\026ListEntityTypesRe" - + "quest\022\016\n\006parent\030\001 \001(\t\022\025\n\rlanguage_code\030\002" - + " \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 " - + "\001(\t\"u\n\027ListEntityTypesResponse\022A\n\014entity" - + "_types\030\001 \003(\0132+.google.cloud.dialogflow.v" - + "2beta1.EntityType\022\027\n\017next_page_token\030\002 \001" - + "(\t\";\n\024GetEntityTypeRequest\022\014\n\004name\030\001 \001(\t" - + "\022\025\n\rlanguage_code\030\002 \001(\t\"\202\001\n\027CreateEntity" - + "TypeRequest\022\016\n\006parent\030\001 \001(\t\022@\n\013entity_ty" - + "pe\030\002 \001(\0132+.google.cloud.dialogflow.v2bet" - + "a1.EntityType\022\025\n\rlanguage_code\030\003 \001(\t\"\243\001\n" - + "\027UpdateEntityTypeRequest\022@\n\013entity_type\030" - + "\001 \001(\0132+.google.cloud.dialogflow.v2beta1." - + "EntityType\022\025\n\rlanguage_code\030\002 \001(\t\022/\n\013upd" - + "ate_mask\030\003 \001(\0132\032.google.protobuf.FieldMa" - + "sk\"\'\n\027DeleteEntityTypeRequest\022\014\n\004name\030\001 " - + "\001(\t\"\203\002\n\035BatchUpdateEntityTypesRequest\022\016\n" - + "\006parent\030\001 \001(\t\022\037\n\025entity_type_batch_uri\030\002" - + " \001(\tH\000\022T\n\030entity_type_batch_inline\030\003 \001(\013" - + "20.google.cloud.dialogflow.v2beta1.Entit" - + "yTypeBatchH\000\022\025\n\rlanguage_code\030\004 \001(\t\022/\n\013u" - + "pdate_mask\030\005 \001(\0132\032.google.protobuf.Field" - + "MaskB\023\n\021entity_type_batch\"c\n\036BatchUpdate" - + "EntityTypesResponse\022A\n\014entity_types\030\001 \003(" - + "\0132+.google.cloud.dialogflow.v2beta1.Enti" - + "tyType\"J\n\035BatchDeleteEntityTypesRequest\022" - + "\016\n\006parent\030\001 \001(\t\022\031\n\021entity_type_names\030\002 \003" - + "(\t\"\211\001\n\032BatchCreateEntitiesRequest\022\016\n\006par" - + "ent\030\001 \001(\t\022D\n\010entities\030\002 \003(\01322.google.clo" - + "ud.dialogflow.v2beta1.EntityType.Entity\022" - + "\025\n\rlanguage_code\030\003 \001(\t\"\272\001\n\032BatchUpdateEn" - + "titiesRequest\022\016\n\006parent\030\001 \001(\t\022D\n\010entitie" - + "s\030\002 \003(\01322.google.cloud.dialogflow.v2beta" - + "1.EntityType.Entity\022\025\n\rlanguage_code\030\003 \001" - + "(\t\022/\n\013update_mask\030\004 \001(\0132\032.google.protobu" - + "f.FieldMask\"Z\n\032BatchDeleteEntitiesReques" - + "t\022\016\n\006parent\030\001 \001(\t\022\025\n\rentity_values\030\002 \003(\t" - + "\022\025\n\rlanguage_code\030\003 \001(\t\"T\n\017EntityTypeBat" + + "SION_MODE_DEFAULT\020\001\"k\n\026ListEntityTypesRe" + + "quest\022\016\n\006parent\030\001 \001(\t\022\032\n\rlanguage_code\030\002" + + " \001(\tB\003\340A\001\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok" + + "en\030\004 \001(\t\"u\n\027ListEntityTypesResponse\022A\n\014e" + + "ntity_types\030\001 \003(\0132+.google.cloud.dialogf" + + "low.v2beta1.EntityType\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"@\n\024GetEntityTypeRequest\022\014\n\004name\030" + + "\001 \001(\t\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\001\"\207\001\n\027Cr" + + "eateEntityTypeRequest\022\016\n\006parent\030\001 \001(\t\022@\n" + + "\013entity_type\030\002 \001(\0132+.google.cloud.dialog" + + "flow.v2beta1.EntityType\022\032\n\rlanguage_code" + + "\030\003 \001(\tB\003\340A\001\"\250\001\n\027UpdateEntityTypeRequest\022" + + "@\n\013entity_type\030\001 \001(\0132+.google.cloud.dial" + + "ogflow.v2beta1.EntityType\022\032\n\rlanguage_co" + + "de\030\002 \001(\tB\003\340A\001\022/\n\013update_mask\030\003 \001(\0132\032.goo" + + "gle.protobuf.FieldMask\"\'\n\027DeleteEntityTy" + + "peRequest\022\014\n\004name\030\001 \001(\t\"\210\002\n\035BatchUpdateE" + + "ntityTypesRequest\022\016\n\006parent\030\001 \001(\t\022\037\n\025ent" + + "ity_type_batch_uri\030\002 \001(\tH\000\022T\n\030entity_typ" + + "e_batch_inline\030\003 \001(\01320.google.cloud.dial" + + "ogflow.v2beta1.EntityTypeBatchH\000\022\032\n\rlang" + + "uage_code\030\004 \001(\tB\003\340A\001\022/\n\013update_mask\030\005 \001(" + + "\0132\032.google.protobuf.FieldMaskB\023\n\021entity_" + + "type_batch\"c\n\036BatchUpdateEntityTypesResp" + + "onse\022A\n\014entity_types\030\001 \003(\0132+.google.clou" + + "d.dialogflow.v2beta1.EntityType\"J\n\035Batch" + + "DeleteEntityTypesRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\031\n\021entity_type_names\030\002 \003(\t\"\216\001\n\032BatchCre" + + "ateEntitiesRequest\022\016\n\006parent\030\001 \001(\t\022D\n\010en" + + "tities\030\002 \003(\01322.google.cloud.dialogflow.v" + + "2beta1.EntityType.Entity\022\032\n\rlanguage_cod" + + "e\030\003 \001(\tB\003\340A\001\"\277\001\n\032BatchUpdateEntitiesRequ" + + "est\022\016\n\006parent\030\001 \001(\t\022D\n\010entities\030\002 \003(\01322." + + "google.cloud.dialogflow.v2beta1.EntityTy" + + "pe.Entity\022\032\n\rlanguage_code\030\003 \001(\tB\003\340A\001\022/\n" + + "\013update_mask\030\004 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"_\n\032BatchDeleteEntitiesRequest\022\016\n\006" + + "parent\030\001 \001(\t\022\025\n\rentity_values\030\002 \003(\t\022\032\n\rl" + + "anguage_code\030\003 \001(\tB\003\340A\001\"T\n\017EntityTypeBat" + "ch\022A\n\014entity_types\030\001 \003(\0132+.google.cloud." + "dialogflow.v2beta1.EntityType2\201\026\n\013Entity" + "Types\022\372\001\n\017ListEntityTypes\0227.google.cloud" @@ -379,6 +380,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); registry.add(com.google.api.ClientProto.oauthScopes); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Environment.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Environment.java new file mode 100644 index 000000000..1c4902a03 --- /dev/null +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Environment.java @@ -0,0 +1,1682 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2beta1/environment.proto + +package com.google.cloud.dialogflow.v2beta1; + +/** + * + * + *
+ * Represents an agent environment.
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2beta1.Environment} + */ +public final class Environment extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2beta1.Environment) + EnvironmentOrBuilder { + private static final long serialVersionUID = 0L; + // Use Environment.newBuilder() to construct. + private Environment(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Environment() { + name_ = ""; + description_ = ""; + agentVersion_ = ""; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Environment(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Environment( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + agentVersion_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_Environment_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_Environment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2beta1.Environment.class, + com.google.cloud.dialogflow.v2beta1.Environment.Builder.class); + } + + /** + * + * + *
+   * Represents an environment state. When a environment is pointed to a new
+   * agent version, the environment is temporarily set to the `LOADING` state.
+   * During that time, the environment keeps on serving the previous version of
+   * the agent. After the new agent version is done loading, the environment is
+   * set back to the `RUNNING` state.
+   * 
+ * + * Protobuf enum {@code google.cloud.dialogflow.v2beta1.Environment.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Not specified. This value is not used.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
+     * Stopped.
+     * 
+ * + * STOPPED = 1; + */ + STOPPED(1), + /** + * + * + *
+     * Loading.
+     * 
+ * + * LOADING = 2; + */ + LOADING(2), + /** + * + * + *
+     * Running.
+     * 
+ * + * RUNNING = 3; + */ + RUNNING(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Not specified. This value is not used.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Stopped.
+     * 
+ * + * STOPPED = 1; + */ + public static final int STOPPED_VALUE = 1; + /** + * + * + *
+     * Loading.
+     * 
+ * + * LOADING = 2; + */ + public static final int LOADING_VALUE = 2; + /** + * + * + *
+     * Running.
+     * 
+ * + * RUNNING = 3; + */ + public static final int RUNNING_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: + return STATE_UNSPECIFIED; + case 1: + return STOPPED; + case 2: + return LOADING; + case 3: + return RUNNING; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dialogflow.v2beta1.Environment.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dialogflow.v2beta1.Environment.State) + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Output only. The unique identifier of this agent environment.
+   * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+   * For Environment ID, "-" is reserved for 'draft' environment.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The unique identifier of this agent environment.
+   * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+   * For Environment ID, "-" is reserved for 'draft' environment.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 2; + private volatile java.lang.Object description_; + /** + * + * + *
+   * Optional. The developer-provided description for this environment.
+   * The maximum length is 500 characters. If exceeded, the request is rejected.
+   * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The developer-provided description for this environment.
+   * The maximum length is 500 characters. If exceeded, the request is rejected.
+   * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AGENT_VERSION_FIELD_NUMBER = 3; + private volatile java.lang.Object agentVersion_; + /** + * + * + *
+   * Optional. The agent version loaded into this environment.
+   * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+   * 
+ * + * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The agentVersion. + */ + public java.lang.String getAgentVersion() { + java.lang.Object ref = agentVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + agentVersion_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The agent version loaded into this environment.
+   * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+   * 
+ * + * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for agentVersion. + */ + public com.google.protobuf.ByteString getAgentVersionBytes() { + java.lang.Object ref = agentVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + agentVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_; + /** + * + * + *
+   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+   * set by create and update methods.
+   * 
+ * + * + * .google.cloud.dialogflow.v2beta1.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + public int getStateValue() { + return state_; + } + /** + * + * + *
+   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+   * set by create and update methods.
+   * 
+ * + * + * .google.cloud.dialogflow.v2beta1.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + public com.google.cloud.dialogflow.v2beta1.Environment.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dialogflow.v2beta1.Environment.State result = + com.google.cloud.dialogflow.v2beta1.Environment.State.valueOf(state_); + return result == null + ? com.google.cloud.dialogflow.v2beta1.Environment.State.UNRECOGNIZED + : result; + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return getUpdateTime(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!getDescriptionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + } + if (!getAgentVersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, agentVersion_); + } + if (state_ + != com.google.cloud.dialogflow.v2beta1.Environment.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(4, state_); + } + if (updateTime_ != null) { + output.writeMessage(5, getUpdateTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!getDescriptionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + } + if (!getAgentVersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, agentVersion_); + } + if (state_ + != com.google.cloud.dialogflow.v2beta1.Environment.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2beta1.Environment)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2beta1.Environment other = + (com.google.cloud.dialogflow.v2beta1.Environment) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getAgentVersion().equals(other.getAgentVersion())) return false; + if (state_ != other.state_) return false; + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + AGENT_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getAgentVersion().hashCode(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.dialogflow.v2beta1.Environment prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents an agent environment.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2beta1.Environment} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2beta1.Environment) + com.google.cloud.dialogflow.v2beta1.EnvironmentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_Environment_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_Environment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2beta1.Environment.class, + com.google.cloud.dialogflow.v2beta1.Environment.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2beta1.Environment.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + description_ = ""; + + agentVersion_ = ""; + + state_ = 0; + + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_Environment_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.Environment getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2beta1.Environment.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.Environment build() { + com.google.cloud.dialogflow.v2beta1.Environment result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.Environment buildPartial() { + com.google.cloud.dialogflow.v2beta1.Environment result = + new com.google.cloud.dialogflow.v2beta1.Environment(this); + result.name_ = name_; + result.description_ = description_; + result.agentVersion_ = agentVersion_; + result.state_ = state_; + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2beta1.Environment) { + return mergeFrom((com.google.cloud.dialogflow.v2beta1.Environment) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.v2beta1.Environment other) { + if (other == com.google.cloud.dialogflow.v2beta1.Environment.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + if (!other.getAgentVersion().isEmpty()) { + agentVersion_ = other.agentVersion_; + onChanged(); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.v2beta1.Environment parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dialogflow.v2beta1.Environment) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The unique identifier of this agent environment.
+     * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+     * For Environment ID, "-" is reserved for 'draft' environment.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + description_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The developer-provided description for this environment.
+     * The maximum length is 500 characters. If exceeded, the request is rejected.
+     * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + + private java.lang.Object agentVersion_ = ""; + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The agentVersion. + */ + public java.lang.String getAgentVersion() { + java.lang.Object ref = agentVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + agentVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for agentVersion. + */ + public com.google.protobuf.ByteString getAgentVersionBytes() { + java.lang.Object ref = agentVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + agentVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The agentVersion to set. + * @return This builder for chaining. + */ + public Builder setAgentVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + agentVersion_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearAgentVersion() { + + agentVersion_ = getDefaultInstance().getAgentVersion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The agent version loaded into this environment.
+     * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+     * 
+ * + * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for agentVersion to set. + * @return This builder for chaining. + */ + public Builder setAgentVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + agentVersion_ = value; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2beta1.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + public int getStateValue() { + return state_; + } + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2beta1.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + state_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2beta1.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + public com.google.cloud.dialogflow.v2beta1.Environment.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dialogflow.v2beta1.Environment.State result = + com.google.cloud.dialogflow.v2beta1.Environment.State.valueOf(state_); + return result == null + ? com.google.cloud.dialogflow.v2beta1.Environment.State.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2beta1.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.dialogflow.v2beta1.Environment.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+     * set by create and update methods.
+     * 
+ * + * + * .google.cloud.dialogflow.v2beta1.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + onChanged(); + } else { + updateTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } + } + /** + * + * + *
+     * Output only. The last update time of this environment. This field is read-only, i.e., it
+     * cannot be set by create and update methods.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2beta1.Environment) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.Environment) + private static final com.google.cloud.dialogflow.v2beta1.Environment DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2beta1.Environment(); + } + + public static com.google.cloud.dialogflow.v2beta1.Environment getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Environment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Environment(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.Environment getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentOrBuilder.java new file mode 100644 index 000000000..9268a33ec --- /dev/null +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentOrBuilder.java @@ -0,0 +1,184 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2beta1/environment.proto + +package com.google.cloud.dialogflow.v2beta1; + +public interface EnvironmentOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.Environment) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The unique identifier of this agent environment.
+   * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+   * For Environment ID, "-" is reserved for 'draft' environment.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. The unique identifier of this agent environment.
+   * Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
+   * For Environment ID, "-" is reserved for 'draft' environment.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. The developer-provided description for this environment.
+   * The maximum length is 500 characters. If exceeded, the request is rejected.
+   * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
+   * Optional. The developer-provided description for this environment.
+   * The maximum length is 500 characters. If exceeded, the request is rejected.
+   * 
+ * + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+   * Optional. The agent version loaded into this environment.
+   * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+   * 
+ * + * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The agentVersion. + */ + java.lang.String getAgentVersion(); + /** + * + * + *
+   * Optional. The agent version loaded into this environment.
+   * Format: `projects/<Project ID>/agent/versions/<Version ID>`.
+   * 
+ * + * + * string agent_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for agentVersion. + */ + com.google.protobuf.ByteString getAgentVersionBytes(); + + /** + * + * + *
+   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+   * set by create and update methods.
+   * 
+ * + * + * .google.cloud.dialogflow.v2beta1.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * + * + *
+   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
+   * set by create and update methods.
+   * 
+ * + * + * .google.cloud.dialogflow.v2beta1.Environment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.dialogflow.v2beta1.Environment.State getState(); + + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * Output only. The last update time of this environment. This field is read-only, i.e., it
+   * cannot be set by create and update methods.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); +} diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentProto.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentProto.java new file mode 100644 index 000000000..1a27b117a --- /dev/null +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentProto.java @@ -0,0 +1,151 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2beta1/environment.proto + +package com.google.cloud.dialogflow.v2beta1; + +public final class EnvironmentProto { + private EnvironmentProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2beta1_Environment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2beta1_Environment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/dialogflow/v2beta1/enviro" + + "nment.proto\022\037google.cloud.dialogflow.v2b" + + "eta1\032\034google/api/annotations.proto\032\037goog" + + "le/api/field_behavior.proto\032\031google/api/" + + "resource.proto\0322google/cloud/dialogflow/" + + "v2beta1/audio_config.proto\032\033google/proto" + + "buf/empty.proto\032 google/protobuf/field_m" + + "ask.proto\032\037google/protobuf/timestamp.pro" + + "to\032\027google/api/client.proto\"\242\003\n\013Environm" + + "ent\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\030\n\013description\030\002 " + + "\001(\tB\003\340A\001\022@\n\ragent_version\030\003 \001(\tB)\340A\001\372A#\n" + + "!dialogflow.googleapis.com/Version\022F\n\005st" + + "ate\030\004 \001(\01622.google.cloud.dialogflow.v2be" + + "ta1.Environment.StateB\003\340A\003\0224\n\013update_tim" + + "e\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\"E\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007STOP" + + "PED\020\001\022\013\n\007LOADING\020\002\022\013\n\007RUNNING\020\003:_\352A\\\n%di" + + "alogflow.googleapis.com/Environment\0223pro" + + "jects/{project}/agent/environments/{envi" + + "ronment}\"\211\001\n\027ListEnvironmentsRequest\022=\n\006" + + "parent\030\001 \001(\tB-\340A\002\372A\'\022%dialogflow.googlea" + + "pis.com/Environment\022\026\n\tpage_size\030\002 \001(\005B\003" + + "\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"w\n\030ListEnvi" + + "ronmentsResponse\022B\n\014environments\030\001 \003(\0132," + + ".google.cloud.dialogflow.v2beta1.Environ" + + "ment\022\027\n\017next_page_token\030\002 \001(\t2\212\003\n\014Enviro" + + "nments\022\377\001\n\020ListEnvironments\0228.google.clo" + + "ud.dialogflow.v2beta1.ListEnvironmentsRe" + + "quest\0329.google.cloud.dialogflow.v2beta1." + + "ListEnvironmentsResponse\"v\202\323\344\223\002p\022//v2bet" + + "a1/{parent=projects/*/agent}/environment" + + "sZ=\022;/v2beta1/{parent=projects/*/locatio" + + "ns/*/agent}/environments\032x\312A\031dialogflow." + + "googleapis.com\322AYhttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/dialogflowB\256\001\n#com.googl" + + "e.cloud.dialogflow.v2beta1B\020EnvironmentP" + + "rotoP\001ZIgoogle.golang.org/genproto/googl" + + "eapis/cloud/dialogflow/v2beta1;dialogflo" + + "w\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2be" + + "ta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dialogflow.v2beta1.AudioConfigProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + }); + internal_static_google_cloud_dialogflow_v2beta1_Environment_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dialogflow_v2beta1_Environment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2beta1_Environment_descriptor, + new java.lang.String[] { + "Name", "Description", "AgentVersion", "State", "UpdateTime", + }); + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_descriptor, + new java.lang.String[] { + "Environments", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dialogflow.v2beta1.AudioConfigProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java index f148c2f54..2f16bb943 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java @@ -192,6 +192,18 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -206,6 +218,18 @@ public boolean hasParameters() { * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -220,6 +244,18 @@ public com.google.protobuf.Struct getParameters() { * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -762,6 +798,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -776,6 +824,18 @@ public boolean hasParameters() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -794,6 +854,18 @@ public com.google.protobuf.Struct getParameters() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -816,6 +888,18 @@ public Builder setParameters(com.google.protobuf.Struct value) { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -835,6 +919,18 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -859,6 +955,18 @@ public Builder mergeParameters(com.google.protobuf.Struct value) { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -879,6 +987,18 @@ public Builder clearParameters() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -893,6 +1013,18 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; @@ -909,6 +1041,18 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * *
      * The collection of parameters associated with the event.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 2; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java index dc4e68ee6..59c3acfbb 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java @@ -53,6 +53,18 @@ public interface EventInputOrBuilder * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -65,6 +77,18 @@ public interface EventInputOrBuilder * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; @@ -77,6 +101,18 @@ public interface EventInputOrBuilder * *
    * The collection of parameters associated with the event.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 2; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java index 4836bbfa8..81c4e1ece 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java @@ -174,15 +174,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Optional. The language to retrieve entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -201,15 +200,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language to retrieve entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -676,15 +674,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -703,15 +700,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -730,15 +726,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -756,15 +751,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -778,15 +772,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language to retrieve entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequestOrBuilder.java index 89cb07e88..8c774fec7 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequestOrBuilder.java @@ -54,15 +54,14 @@ public interface GetEntityTypeRequestOrBuilder * * *
-   * Optional. The language to retrieve entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -71,15 +70,14 @@ public interface GetEntityTypeRequestOrBuilder * * *
-   * Optional. The language to retrieve entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java index c8f39205e..0bf37c819 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java @@ -182,15 +182,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Optional. The language to retrieve training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -209,15 +208,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language to retrieve training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -734,15 +732,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -761,15 +758,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -788,15 +784,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -814,15 +809,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -836,15 +830,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language to retrieve training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequestOrBuilder.java index ad64fffb9..491e98404 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequestOrBuilder.java @@ -54,15 +54,14 @@ public interface GetIntentRequestOrBuilder * * *
-   * Optional. The language to retrieve training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -71,15 +70,14 @@ public interface GetIntentRequestOrBuilder * * *
-   * Optional. The language to retrieve training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java index b08500004..c79283586 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java @@ -298,7 +298,7 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-   * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
+   * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
    * [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] with information about the recognized speech
    * words, e.g. start and end time offsets. If false or unspecified, Speech
    * doesn't return any word-level information.
@@ -318,7 +318,7 @@ public boolean getEnableWordInfo() {
    *
    *
    * 
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -328,9 +328,7 @@ public boolean getEnableWordInfo() {
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return A list containing the phraseHints. */ @@ -342,7 +340,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -352,9 +350,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() {
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return The count of phraseHints. */ @@ -366,7 +362,7 @@ public int getPhraseHintsCount() { * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -376,9 +372,7 @@ public int getPhraseHintsCount() {
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the element to return. * @return The phraseHints at the given index. @@ -391,7 +385,7 @@ public java.lang.String getPhraseHints(int index) { * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -401,9 +395,7 @@ public java.lang.String getPhraseHints(int index) {
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the value to return. * @return The bytes of the phraseHints at the given index. @@ -419,7 +411,7 @@ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) { * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -434,7 +426,7 @@ public java.util.List getSpee
    *
    *
    * 
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -450,7 +442,7 @@ public java.util.List getSpee
    *
    *
    * 
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -465,7 +457,7 @@ public int getSpeechContextsCount() {
    *
    *
    * 
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -480,7 +472,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechContext getSpeechContexts(int i
    *
    *
    * 
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -499,7 +491,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechContextOrBuilder getSpeechConte
    *
    *
    * 
-   * Optional. Which Speech model to select for the given request. Select the
+   * Which Speech model to select for the given request. Select the
    * model best suited to your domain to get best results. If a model is not
    * explicitly specified, then we auto-select a model based on the parameters
    * in the InputAudioConfig.
@@ -531,7 +523,7 @@ public java.lang.String getModel() {
    *
    *
    * 
-   * Optional. Which Speech model to select for the given request. Select the
+   * Which Speech model to select for the given request. Select the
    * model best suited to your domain to get best results. If a model is not
    * explicitly specified, then we auto-select a model based on the parameters
    * in the InputAudioConfig.
@@ -566,7 +558,7 @@ public com.google.protobuf.ByteString getModelBytes() {
    *
    *
    * 
-   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
+   * Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.v2beta1.SpeechModelVariant model_variant = 10; @@ -580,7 +572,7 @@ public int getModelVariantValue() { * * *
-   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
+   * Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.v2beta1.SpeechModelVariant model_variant = 10; @@ -602,7 +594,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechModelVariant getModelVariant() * * *
-   * Optional. If `false` (default), recognition does not cease until the
+   * If `false` (default), recognition does not cease until the
    * client closes the stream.
    * If `true`, the recognizer will detect a single spoken utterance in input
    * audio. Recognition ceases when it detects the audio's voice has
@@ -1414,7 +1406,7 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
+     * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
      * [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] with information about the recognized speech
      * words, e.g. start and end time offsets. If false or unspecified, Speech
      * doesn't return any word-level information.
@@ -1431,7 +1423,7 @@ public boolean getEnableWordInfo() {
      *
      *
      * 
-     * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
+     * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
      * [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] with information about the recognized speech
      * words, e.g. start and end time offsets. If false or unspecified, Speech
      * doesn't return any word-level information.
@@ -1452,7 +1444,7 @@ public Builder setEnableWordInfo(boolean value) {
      *
      *
      * 
-     * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
+     * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
      * [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] with information about the recognized speech
      * words, e.g. start and end time offsets. If false or unspecified, Speech
      * doesn't return any word-level information.
@@ -1482,7 +1474,7 @@ private void ensurePhraseHintsIsMutable() {
      *
      *
      * 
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1492,9 +1484,7 @@ private void ensurePhraseHintsIsMutable() {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return A list containing the phraseHints. */ @@ -1506,7 +1496,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1516,9 +1506,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return The count of phraseHints. */ @@ -1530,7 +1518,7 @@ public int getPhraseHintsCount() { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1540,9 +1528,7 @@ public int getPhraseHintsCount() {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the element to return. * @return The phraseHints at the given index. @@ -1555,7 +1541,7 @@ public java.lang.String getPhraseHints(int index) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1565,9 +1551,7 @@ public java.lang.String getPhraseHints(int index) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the value to return. * @return The bytes of the phraseHints at the given index. @@ -1580,7 +1564,7 @@ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1590,9 +1574,7 @@ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index to set the value at. * @param value The phraseHints to set. @@ -1612,7 +1594,7 @@ public Builder setPhraseHints(int index, java.lang.String value) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1622,9 +1604,7 @@ public Builder setPhraseHints(int index, java.lang.String value) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param value The phraseHints to add. * @return This builder for chaining. @@ -1643,7 +1623,7 @@ public Builder addPhraseHints(java.lang.String value) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1653,9 +1633,7 @@ public Builder addPhraseHints(java.lang.String value) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param values The phraseHints to add. * @return This builder for chaining. @@ -1671,7 +1649,7 @@ public Builder addAllPhraseHints(java.lang.Iterable values) { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1681,9 +1659,7 @@ public Builder addAllPhraseHints(java.lang.Iterable values) {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return This builder for chaining. */ @@ -1698,7 +1674,7 @@ public Builder clearPhraseHints() { * * *
-     * Optional. A list of strings containing words and phrases that the speech
+     * A list of strings containing words and phrases that the speech
      * recognizer should recognize with higher likelihood.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -1708,9 +1684,7 @@ public Builder clearPhraseHints() {
      * treat the [phrase_hints]() as a single additional [SpeechContext]().
      * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param value The bytes of the phraseHints to add. * @return This builder for chaining. @@ -1749,7 +1723,7 @@ private void ensureSpeechContextsIsMutable() { * * *
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1769,7 +1743,7 @@ private void ensureSpeechContextsIsMutable() {
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1788,7 +1762,7 @@ public int getSpeechContextsCount() {
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1807,7 +1781,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechContext getSpeechContexts(int i
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1833,7 +1807,7 @@ public Builder setSpeechContexts(
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1856,7 +1830,7 @@ public Builder setSpeechContexts(
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1881,7 +1855,7 @@ public Builder addSpeechContexts(com.google.cloud.dialogflow.v2beta1.SpeechConte
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1907,7 +1881,7 @@ public Builder addSpeechContexts(
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1930,7 +1904,7 @@ public Builder addSpeechContexts(
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1953,7 +1927,7 @@ public Builder addSpeechContexts(
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1976,7 +1950,7 @@ public Builder addAllSpeechContexts(
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -1998,7 +1972,7 @@ public Builder clearSpeechContexts() {
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -2020,7 +1994,7 @@ public Builder removeSpeechContexts(int index) {
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -2036,7 +2010,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechContext.Builder getSpeechContex
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -2056,7 +2030,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechContextOrBuilder getSpeechConte
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -2076,7 +2050,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechContextOrBuilder getSpeechConte
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -2092,7 +2066,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechContext.Builder addSpeechContex
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -2110,7 +2084,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechContext.Builder addSpeechContex
      *
      *
      * 
-     * Optional. Context information to assist speech recognition.
+     * Context information to assist speech recognition.
      * See [the Cloud Speech
      * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
      * for more details.
@@ -2148,7 +2122,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechContext.Builder addSpeechContex
      *
      *
      * 
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2180,7 +2154,7 @@ public java.lang.String getModel() {
      *
      *
      * 
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2212,7 +2186,7 @@ public com.google.protobuf.ByteString getModelBytes() {
      *
      *
      * 
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2243,7 +2217,7 @@ public Builder setModel(java.lang.String value) {
      *
      *
      * 
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2270,7 +2244,7 @@ public Builder clearModel() {
      *
      *
      * 
-     * Optional. Which Speech model to select for the given request. Select the
+     * Which Speech model to select for the given request. Select the
      * model best suited to your domain to get best results. If a model is not
      * explicitly specified, then we auto-select a model based on the parameters
      * in the InputAudioConfig.
@@ -2304,7 +2278,7 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2beta1.SpeechModelVariant model_variant = 10; @@ -2318,7 +2292,7 @@ public int getModelVariantValue() { * * *
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2beta1.SpeechModelVariant model_variant = 10; @@ -2335,7 +2309,7 @@ public Builder setModelVariantValue(int value) { * * *
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2beta1.SpeechModelVariant model_variant = 10; @@ -2354,7 +2328,7 @@ public com.google.cloud.dialogflow.v2beta1.SpeechModelVariant getModelVariant() * * *
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2beta1.SpeechModelVariant model_variant = 10; @@ -2375,7 +2349,7 @@ public Builder setModelVariant(com.google.cloud.dialogflow.v2beta1.SpeechModelVa * * *
-     * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
+     * Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
      * 
* * .google.cloud.dialogflow.v2beta1.SpeechModelVariant model_variant = 10; @@ -2394,7 +2368,7 @@ public Builder clearModelVariant() { * * *
-     * Optional. If `false` (default), recognition does not cease until the
+     * If `false` (default), recognition does not cease until the
      * client closes the stream.
      * If `true`, the recognizer will detect a single spoken utterance in input
      * audio. Recognition ceases when it detects the audio's voice has
@@ -2417,7 +2391,7 @@ public boolean getSingleUtterance() {
      *
      *
      * 
-     * Optional. If `false` (default), recognition does not cease until the
+     * If `false` (default), recognition does not cease until the
      * client closes the stream.
      * If `true`, the recognizer will detect a single spoken utterance in input
      * audio. Recognition ceases when it detects the audio's voice has
@@ -2444,7 +2418,7 @@ public Builder setSingleUtterance(boolean value) {
      *
      *
      * 
-     * Optional. If `false` (default), recognition does not cease until the
+     * If `false` (default), recognition does not cease until the
      * client closes the stream.
      * If `true`, the recognizer will detect a single spoken utterance in input
      * audio. Recognition ceases when it detects the audio's voice has
diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java
index 224bc1a73..ee838e3c3 100644
--- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java
+++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java
@@ -102,7 +102,7 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
+   * If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
    * [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] with information about the recognized speech
    * words, e.g. start and end time offsets. If false or unspecified, Speech
    * doesn't return any word-level information.
@@ -118,7 +118,7 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -128,9 +128,7 @@ public interface InputAudioConfigOrBuilder
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return A list containing the phraseHints. */ @@ -140,7 +138,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -150,9 +148,7 @@ public interface InputAudioConfigOrBuilder
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @return The count of phraseHints. */ @@ -162,7 +158,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -172,9 +168,7 @@ public interface InputAudioConfigOrBuilder
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the element to return. * @return The phraseHints at the given index. @@ -185,7 +179,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. A list of strings containing words and phrases that the speech
+   * A list of strings containing words and phrases that the speech
    * recognizer should recognize with higher likelihood.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
@@ -195,9 +189,7 @@ public interface InputAudioConfigOrBuilder
    * treat the [phrase_hints]() as a single additional [SpeechContext]().
    * 
* - * - * repeated string phrase_hints = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * + * repeated string phrase_hints = 4 [deprecated = true]; * * @param index The index of the value to return. * @return The bytes of the phraseHints at the given index. @@ -209,7 +201,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -222,7 +214,7 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -235,7 +227,7 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -248,7 +240,7 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -262,7 +254,7 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. Context information to assist speech recognition.
+   * Context information to assist speech recognition.
    * See [the Cloud Speech
    * documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    * for more details.
@@ -276,7 +268,7 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. Which Speech model to select for the given request. Select the
+   * Which Speech model to select for the given request. Select the
    * model best suited to your domain to get best results. If a model is not
    * explicitly specified, then we auto-select a model based on the parameters
    * in the InputAudioConfig.
@@ -298,7 +290,7 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. Which Speech model to select for the given request. Select the
+   * Which Speech model to select for the given request. Select the
    * model best suited to your domain to get best results. If a model is not
    * explicitly specified, then we auto-select a model based on the parameters
    * in the InputAudioConfig.
@@ -321,7 +313,7 @@ public interface InputAudioConfigOrBuilder
    *
    *
    * 
-   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
+   * Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.v2beta1.SpeechModelVariant model_variant = 10; @@ -333,7 +325,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
+   * Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
    * 
* * .google.cloud.dialogflow.v2beta1.SpeechModelVariant model_variant = 10; @@ -346,7 +338,7 @@ public interface InputAudioConfigOrBuilder * * *
-   * Optional. If `false` (default), recognition does not cease until the
+   * If `false` (default), recognition does not cease until the
    * client closes the stream.
    * If `true`, the recognizer will detect a single spoken utterance in input
    * audio. Recognition ceases when it detects the audio's voice has
diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java
index 8013d665c..fe5466e39 100644
--- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java
+++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java
@@ -6011,9 +6011,7 @@ public interface MessageOrBuilder
      *
      *
      * 
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -6025,9 +6023,7 @@ public interface MessageOrBuilder * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -6039,9 +6035,7 @@ public interface MessageOrBuilder * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -7288,67 +7282,9 @@ public enum Platform implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Actions on Google.
-       * When using Actions on Google, you can choose one of the specific
-       * Intent.Message types that mention support for Actions on Google,
-       * or you can use the advanced Intent.Message.payload field.
-       * The payload field provides access to AoG features not available in the
-       * specific message types.
-       * If using the Intent.Message.payload field, it should have a structure
-       * similar to the JSON message shown here. For more information, see
-       * [Actions on Google Webhook
-       * Format](https://developers.google.com/actions/dialogflow/webhook)
-       * <pre>{
-       *   "expectUserResponse": true,
-       *   "isSsml": false,
-       *   "noInputPrompts": [],
-       *   "richResponse": {
-       *     "items": [
-       *       {
-       *         "simpleResponse": {
-       *           "displayText": "hi",
-       *           "textToSpeech": "hello"
-       *         }
-       *       }
-       *     ],
-       *     "suggestions": [
-       *       {
-       *         "title": "Say this"
-       *       },
-       *       {
-       *         "title": "or this"
-       *       }
-       *     ]
-       *   },
-       *   "systemIntent": {
-       *     "data": {
-       *       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
-       *       "listSelect": {
-       *         "items": [
-       *           {
-       *             "optionInfo": {
-       *               "key": "key1",
-       *               "synonyms": [
-       *                 "key one"
-       *               ]
-       *             },
-       *             "title": "must not be empty, but unique"
-       *           },
-       *           {
-       *             "optionInfo": {
-       *               "key": "key2",
-       *               "synonyms": [
-       *                 "key two"
-       *               ]
-       *             },
-       *             "title": "must not be empty, but unique"
-       *           }
-       *         ]
-       *       }
-       *     },
-       *     "intent": "actions.intent.OPTION"
-       *   }
-       * }</pre>
+       * Google Assistant
+       * See [Dialogflow webhook
+       * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
        * 
* * ACTIONS_ON_GOOGLE = 8; @@ -7461,67 +7397,9 @@ public enum Platform implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Actions on Google.
-       * When using Actions on Google, you can choose one of the specific
-       * Intent.Message types that mention support for Actions on Google,
-       * or you can use the advanced Intent.Message.payload field.
-       * The payload field provides access to AoG features not available in the
-       * specific message types.
-       * If using the Intent.Message.payload field, it should have a structure
-       * similar to the JSON message shown here. For more information, see
-       * [Actions on Google Webhook
-       * Format](https://developers.google.com/actions/dialogflow/webhook)
-       * <pre>{
-       *   "expectUserResponse": true,
-       *   "isSsml": false,
-       *   "noInputPrompts": [],
-       *   "richResponse": {
-       *     "items": [
-       *       {
-       *         "simpleResponse": {
-       *           "displayText": "hi",
-       *           "textToSpeech": "hello"
-       *         }
-       *       }
-       *     ],
-       *     "suggestions": [
-       *       {
-       *         "title": "Say this"
-       *       },
-       *       {
-       *         "title": "or this"
-       *       }
-       *     ]
-       *   },
-       *   "systemIntent": {
-       *     "data": {
-       *       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
-       *       "listSelect": {
-       *         "items": [
-       *           {
-       *             "optionInfo": {
-       *               "key": "key1",
-       *               "synonyms": [
-       *                 "key one"
-       *               ]
-       *             },
-       *             "title": "must not be empty, but unique"
-       *           },
-       *           {
-       *             "optionInfo": {
-       *               "key": "key2",
-       *               "synonyms": [
-       *                 "key two"
-       *               ]
-       *             },
-       *             "title": "must not be empty, but unique"
-       *           }
-       *         ]
-       *       }
-       *     },
-       *     "intent": "actions.intent.OPTION"
-       *   }
-       * }</pre>
+       * Google Assistant
+       * See [Dialogflow webhook
+       * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
        * 
* * ACTIONS_ON_GOOGLE = 8; @@ -35350,18 +35228,18 @@ public interface RbmMediaOrBuilder *
        * Rich Business Messaging (RBM) Media displayed in Cards
        * The following media-types are currently supported:
-       * ## Image Types
-       *  image/jpeg
-       *  image/jpg'
-       *  image/gif
-       *  image/png
-       * ## Video Types
-       *  video/h263
-       *  video/m4v
-       *  video/mp4
-       *  video/mpeg
-       *  video/mpeg4
-       *  video/webm
+       * Image Types
+       * * image/jpeg
+       * * image/jpg'
+       * * image/gif
+       * * image/png
+       * Video Types
+       * * video/h263
+       * * video/m4v
+       * * video/mp4
+       * * video/mpeg
+       * * video/mpeg4
+       * * video/webm
        * 
* * Protobuf type {@code @@ -36012,18 +35890,18 @@ protected Builder newBuilderForType( *
          * Rich Business Messaging (RBM) Media displayed in Cards
          * The following media-types are currently supported:
-         * ## Image Types
-         *  image/jpeg
-         *  image/jpg'
-         *  image/gif
-         *  image/png
-         * ## Video Types
-         *  video/h263
-         *  video/m4v
-         *  video/mp4
-         *  video/mpeg
-         *  video/mpeg4
-         *  video/webm
+         * Image Types
+         * * image/jpeg
+         * * image/jpg'
+         * * image/gif
+         * * image/png
+         * Video Types
+         * * video/h263
+         * * video/m4v
+         * * video/mp4
+         * * video/mpeg
+         * * video/mpeg4
+         * * video/webm
          * 
* * Protobuf type {@code @@ -58869,9 +58747,7 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.CardOrBuilder getCardO * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -58885,9 +58761,7 @@ public boolean hasPayload() { * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -58904,9 +58778,7 @@ public com.google.protobuf.Struct getPayload() { * * *
-     * Returns a response containing a custom, platform-specific payload.
-     * See the Intent.Message.Platform type for a description of the
-     * structure that may be required for your platform.
+     * A custom platform-specific response.
      * 
* * .google.protobuf.Struct payload = 5; @@ -61551,9 +61423,7 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.CardOrBuilder getCardO * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -61567,9 +61437,7 @@ public boolean hasPayload() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -61593,9 +61461,7 @@ public com.google.protobuf.Struct getPayload() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -61617,9 +61483,7 @@ public Builder setPayload(com.google.protobuf.Struct value) { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -61638,9 +61502,7 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -61669,9 +61531,7 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -61696,9 +61556,7 @@ public Builder clearPayload() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -61710,9 +61568,7 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -61731,9 +61587,7 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * *
-       * Returns a response containing a custom, platform-specific payload.
-       * See the Intent.Message.Platform type for a description of the
-       * structure that may be required for your platform.
+       * A custom platform-specific response.
        * 
* * .google.protobuf.Struct payload = 5; @@ -66549,6 +66403,7 @@ public com.google.protobuf.ByteString getInputContextNamesBytes(int index) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -66565,6 +66420,7 @@ public com.google.protobuf.ProtocolStringList getEventsList() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -66581,6 +66437,7 @@ public int getEventsCount() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -66598,6 +66455,7 @@ public java.lang.String getEvents(int index) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -68999,6 +68857,7 @@ private void ensureEventsIsMutable() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -69015,6 +68874,7 @@ public com.google.protobuf.ProtocolStringList getEventsList() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -69031,6 +68891,7 @@ public int getEventsCount() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -69048,6 +68909,7 @@ public java.lang.String getEvents(int index) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -69065,6 +68927,7 @@ public com.google.protobuf.ByteString getEventsBytes(int index) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -69089,6 +68952,7 @@ public Builder setEvents(int index, java.lang.String value) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -69112,6 +68976,7 @@ public Builder addEvents(java.lang.String value) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -69132,6 +68997,7 @@ public Builder addAllEvents(java.lang.Iterable values) { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -69151,6 +69017,7 @@ public Builder clearEvents() { * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java index 6289ba6ea..980fed5fb 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java @@ -257,6 +257,7 @@ public interface IntentOrBuilder * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -271,6 +272,7 @@ public interface IntentOrBuilder * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -285,6 +287,7 @@ public interface IntentOrBuilder * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; @@ -300,6 +303,7 @@ public interface IntentOrBuilder * Optional. The collection of event names that trigger the intent. * If the collection of input contexts is not empty, all of the contexts must * be present in the active user session for an event to trigger this intent. + * Event names are limited to 150 characters. *
* * repeated string events = 8; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java index 49927ca02..a36a45642 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java @@ -525,93 +525,94 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gflow.googleapis.com/Intent\022)projects/{p" + "roject}/agent/intents/{intent}\022>projects" + "/{project}/locations/{location}/agent/in" - + "tents/{intent}\"\244\001\n\022ListIntentsRequest\022\016\n" - + "\006parent\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\t\022@\n\013" - + "intent_view\030\003 \001(\0162+.google.cloud.dialogf" - + "low.v2beta1.IntentView\022\021\n\tpage_size\030\004 \001(" - + "\005\022\022\n\npage_token\030\005 \001(\t\"h\n\023ListIntentsResp" - + "onse\0228\n\007intents\030\001 \003(\0132\'.google.cloud.dia" - + "logflow.v2beta1.Intent\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"y\n\020GetIntentRequest\022\014\n\004name\030\001 \001(" - + "\t\022\025\n\rlanguage_code\030\002 \001(\t\022@\n\013intent_view\030" - + "\003 \001(\0162+.google.cloud.dialogflow.v2beta1." - + "IntentView\"\267\001\n\023CreateIntentRequest\022\016\n\006pa" - + "rent\030\001 \001(\t\0227\n\006intent\030\002 \001(\0132\'.google.clou" - + "d.dialogflow.v2beta1.Intent\022\025\n\rlanguage_" - + "code\030\003 \001(\t\022@\n\013intent_view\030\004 \001(\0162+.google" - + ".cloud.dialogflow.v2beta1.IntentView\"\330\001\n" - + "\023UpdateIntentRequest\0227\n\006intent\030\001 \001(\0132\'.g" - + "oogle.cloud.dialogflow.v2beta1.Intent\022\025\n" - + "\rlanguage_code\030\002 \001(\t\022/\n\013update_mask\030\003 \001(" - + "\0132\032.google.protobuf.FieldMask\022@\n\013intent_" - + "view\030\004 \001(\0162+.google.cloud.dialogflow.v2b" - + "eta1.IntentView\"#\n\023DeleteIntentRequest\022\014" - + "\n\004name\030\001 \001(\t\"\256\002\n\031BatchUpdateIntentsReque" - + "st\022\016\n\006parent\030\001 \001(\t\022\032\n\020intent_batch_uri\030\002" - + " \001(\tH\000\022K\n\023intent_batch_inline\030\003 \001(\0132,.go" - + "ogle.cloud.dialogflow.v2beta1.IntentBatc" - + "hH\000\022\025\n\rlanguage_code\030\004 \001(\t\022/\n\013update_mas" - + "k\030\005 \001(\0132\032.google.protobuf.FieldMask\022@\n\013i" - + "ntent_view\030\006 \001(\0162+.google.cloud.dialogfl" - + "ow.v2beta1.IntentViewB\016\n\014intent_batch\"V\n" - + "\032BatchUpdateIntentsResponse\0228\n\007intents\030\001" - + " \003(\0132\'.google.cloud.dialogflow.v2beta1.I" - + "ntent\"e\n\031BatchDeleteIntentsRequest\022\016\n\006pa" - + "rent\030\001 \001(\t\0228\n\007intents\030\002 \003(\0132\'.google.clo" - + "ud.dialogflow.v2beta1.Intent\"G\n\013IntentBa" - + "tch\0228\n\007intents\030\001 \003(\0132\'.google.cloud.dial" - + "ogflow.v2beta1.Intent*?\n\nIntentView\022\033\n\027I" - + "NTENT_VIEW_UNSPECIFIED\020\000\022\024\n\020INTENT_VIEW_" - + "FULL\020\0012\375\r\n\007Intents\022\346\001\n\013ListIntents\0223.goo" - + "gle.cloud.dialogflow.v2beta1.ListIntents" - + "Request\0324.google.cloud.dialogflow.v2beta" - + "1.ListIntentsResponse\"l\202\323\344\223\002f\022*/v2beta1/" - + "{parent=projects/*/agent}/intentsZ8\0226/v2" - + "beta1/{parent=projects/*/locations/*/age" - + "nt}/intents\022\325\001\n\tGetIntent\0221.google.cloud" - + ".dialogflow.v2beta1.GetIntentRequest\032\'.g" - + "oogle.cloud.dialogflow.v2beta1.Intent\"l\202" - + "\323\344\223\002f\022*/v2beta1/{name=projects/*/agent/i" - + "ntents/*}Z8\0226/v2beta1/{name=projects/*/l" - + "ocations/*/agent/intents/*}\022\353\001\n\014CreateIn" - + "tent\0224.google.cloud.dialogflow.v2beta1.C" - + "reateIntentRequest\032\'.google.cloud.dialog" - + "flow.v2beta1.Intent\"|\202\323\344\223\002v\"*/v2beta1/{p" - + "arent=projects/*/agent}/intents:\006intentZ" - + "@\"6/v2beta1/{parent=projects/*/locations" - + "/*/agent}/intents:\006intent\022\373\001\n\014UpdateInte" - + "nt\0224.google.cloud.dialogflow.v2beta1.Upd" - + "ateIntentRequest\032\'.google.cloud.dialogfl" - + "ow.v2beta1.Intent\"\213\001\202\323\344\223\002\204\00121/v2beta1/{i" - + "ntent.name=projects/*/agent/intents/*}:\006" - + "intentZG2=/v2beta1/{intent.name=projects" - + "/*/locations/*/agent/intents/*}:\006intent\022" - + "\312\001\n\014DeleteIntent\0224.google.cloud.dialogfl" - + "ow.v2beta1.DeleteIntentRequest\032\026.google." - + "protobuf.Empty\"l\202\323\344\223\002f**/v2beta1/{name=p" - + "rojects/*/agent/intents/*}Z8*6/v2beta1/{" - + "name=projects/*/locations/*/agent/intent" - + "s/*}\022\375\001\n\022BatchUpdateIntents\022:.google.clo" - + "ud.dialogflow.v2beta1.BatchUpdateIntents" - + "Request\032\035.google.longrunning.Operation\"\213" - + "\001\202\323\344\223\002\204\001\"6/v2beta1/{parent=projects/*/ag" - + "ent}/intents:batchUpdate:\001*ZG\"B/v2beta1/" - + "{parent=projects/*/locations/*/agent}/in" - + "tents:batchUpdate:\001*\022\375\001\n\022BatchDeleteInte" - + "nts\022:.google.cloud.dialogflow.v2beta1.Ba" - + "tchDeleteIntentsRequest\032\035.google.longrun" - + "ning.Operation\"\213\001\202\323\344\223\002\204\001\"6/v2beta1/{pare" - + "nt=projects/*/agent}/intents:batchDelete" - + ":\001*ZG\"B/v2beta1/{parent=projects/*/locat" - + "ions/*/agent}/intents:batchDelete:\001*\032x\312A" - + "\031dialogflow.googleapis.com\322AYhttps://www" - + ".googleapis.com/auth/cloud-platform,http" - + "s://www.googleapis.com/auth/dialogflowB\251" - + "\001\n#com.google.cloud.dialogflow.v2beta1B\013" - + "IntentProtoP\001ZIgoogle.golang.org/genprot" - + "o/googleapis/cloud/dialogflow/v2beta1;di" - + "alogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogfl" - + "ow.V2beta1b\006proto3" + + "tents/{intent}\"\251\001\n\022ListIntentsRequest\022\016\n" + + "\006parent\030\001 \001(\t\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A" + + "\001\022@\n\013intent_view\030\003 \001(\0162+.google.cloud.di" + + "alogflow.v2beta1.IntentView\022\021\n\tpage_size" + + "\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"h\n\023ListIntent" + + "sResponse\0228\n\007intents\030\001 \003(\0132\'.google.clou" + + "d.dialogflow.v2beta1.Intent\022\027\n\017next_page" + + "_token\030\002 \001(\t\"~\n\020GetIntentRequest\022\014\n\004name" + + "\030\001 \001(\t\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\001\022@\n\013in" + + "tent_view\030\003 \001(\0162+.google.cloud.dialogflo" + + "w.v2beta1.IntentView\"\274\001\n\023CreateIntentReq" + + "uest\022\016\n\006parent\030\001 \001(\t\0227\n\006intent\030\002 \001(\0132\'.g" + + "oogle.cloud.dialogflow.v2beta1.Intent\022\032\n" + + "\rlanguage_code\030\003 \001(\tB\003\340A\001\022@\n\013intent_view" + + "\030\004 \001(\0162+.google.cloud.dialogflow.v2beta1" + + ".IntentView\"\335\001\n\023UpdateIntentRequest\0227\n\006i" + + "ntent\030\001 \001(\0132\'.google.cloud.dialogflow.v2" + + "beta1.Intent\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\001" + + "\022/\n\013update_mask\030\003 \001(\0132\032.google.protobuf." + + "FieldMask\022@\n\013intent_view\030\004 \001(\0162+.google." + + "cloud.dialogflow.v2beta1.IntentView\"#\n\023D" + + "eleteIntentRequest\022\014\n\004name\030\001 \001(\t\"\263\002\n\031Bat" + + "chUpdateIntentsRequest\022\016\n\006parent\030\001 \001(\t\022\032" + + "\n\020intent_batch_uri\030\002 \001(\tH\000\022K\n\023intent_bat" + + "ch_inline\030\003 \001(\0132,.google.cloud.dialogflo" + + "w.v2beta1.IntentBatchH\000\022\032\n\rlanguage_code" + + "\030\004 \001(\tB\003\340A\001\022/\n\013update_mask\030\005 \001(\0132\032.googl" + + "e.protobuf.FieldMask\022@\n\013intent_view\030\006 \001(" + + "\0162+.google.cloud.dialogflow.v2beta1.Inte" + + "ntViewB\016\n\014intent_batch\"V\n\032BatchUpdateInt" + + "entsResponse\0228\n\007intents\030\001 \003(\0132\'.google.c" + + "loud.dialogflow.v2beta1.Intent\"e\n\031BatchD" + + "eleteIntentsRequest\022\016\n\006parent\030\001 \001(\t\0228\n\007i" + + "ntents\030\002 \003(\0132\'.google.cloud.dialogflow.v" + + "2beta1.Intent\"G\n\013IntentBatch\0228\n\007intents\030" + + "\001 \003(\0132\'.google.cloud.dialogflow.v2beta1." + + "Intent*?\n\nIntentView\022\033\n\027INTENT_VIEW_UNSP" + + "ECIFIED\020\000\022\024\n\020INTENT_VIEW_FULL\020\0012\375\r\n\007Inte" + + "nts\022\346\001\n\013ListIntents\0223.google.cloud.dialo" + + "gflow.v2beta1.ListIntentsRequest\0324.googl" + + "e.cloud.dialogflow.v2beta1.ListIntentsRe" + + "sponse\"l\202\323\344\223\002f\022*/v2beta1/{parent=project" + + "s/*/agent}/intentsZ8\0226/v2beta1/{parent=p" + + "rojects/*/locations/*/agent}/intents\022\325\001\n" + + "\tGetIntent\0221.google.cloud.dialogflow.v2b" + + "eta1.GetIntentRequest\032\'.google.cloud.dia" + + "logflow.v2beta1.Intent\"l\202\323\344\223\002f\022*/v2beta1" + + "/{name=projects/*/agent/intents/*}Z8\0226/v" + + "2beta1/{name=projects/*/locations/*/agen" + + "t/intents/*}\022\353\001\n\014CreateIntent\0224.google.c" + + "loud.dialogflow.v2beta1.CreateIntentRequ" + + "est\032\'.google.cloud.dialogflow.v2beta1.In" + + "tent\"|\202\323\344\223\002v\"*/v2beta1/{parent=projects/" + + "*/agent}/intents:\006intentZ@\"6/v2beta1/{pa" + + "rent=projects/*/locations/*/agent}/inten" + + "ts:\006intent\022\373\001\n\014UpdateIntent\0224.google.clo" + + "ud.dialogflow.v2beta1.UpdateIntentReques" + + "t\032\'.google.cloud.dialogflow.v2beta1.Inte" + + "nt\"\213\001\202\323\344\223\002\204\00121/v2beta1/{intent.name=proj" + + "ects/*/agent/intents/*}:\006intentZG2=/v2be" + + "ta1/{intent.name=projects/*/locations/*/" + + "agent/intents/*}:\006intent\022\312\001\n\014DeleteInten" + + "t\0224.google.cloud.dialogflow.v2beta1.Dele" + + "teIntentRequest\032\026.google.protobuf.Empty\"" + + "l\202\323\344\223\002f**/v2beta1/{name=projects/*/agent" + + "/intents/*}Z8*6/v2beta1/{name=projects/*" + + "/locations/*/agent/intents/*}\022\375\001\n\022BatchU" + + "pdateIntents\022:.google.cloud.dialogflow.v" + + "2beta1.BatchUpdateIntentsRequest\032\035.googl" + + "e.longrunning.Operation\"\213\001\202\323\344\223\002\204\001\"6/v2be" + + "ta1/{parent=projects/*/agent}/intents:ba" + + "tchUpdate:\001*ZG\"B/v2beta1/{parent=project" + + "s/*/locations/*/agent}/intents:batchUpda" + + "te:\001*\022\375\001\n\022BatchDeleteIntents\022:.google.cl" + + "oud.dialogflow.v2beta1.BatchDeleteIntent" + + "sRequest\032\035.google.longrunning.Operation\"" + + "\213\001\202\323\344\223\002\204\001\"6/v2beta1/{parent=projects/*/a" + + "gent}/intents:batchDelete:\001*ZG\"B/v2beta1" + + "/{parent=projects/*/locations/*/agent}/i" + + "ntents:batchDelete:\001*\032x\312A\031dialogflow.goo" + + "gleapis.com\322AYhttps://www.googleapis.com" + + "/auth/cloud-platform,https://www.googlea" + + "pis.com/auth/dialogflowB\251\001\n#com.google.c" + + "loud.dialogflow.v2beta1B\013IntentProtoP\001ZI" + + "google.golang.org/genproto/googleapis/cl" + + "oud/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002D" + + "F\252\002\037Google.Cloud.Dialogflow.V2beta1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java index 3a4c882e8..89c349de7 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java @@ -187,15 +187,14 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. The language to list entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -214,15 +213,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language to list entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -785,15 +783,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -812,15 +809,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -839,15 +835,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -865,15 +860,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -887,15 +881,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language to list entity synonyms for. If not specified,
-     * the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequestOrBuilder.java index e284f5da1..659b0d622 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequestOrBuilder.java @@ -54,15 +54,14 @@ public interface ListEntityTypesRequestOrBuilder * * *
-   * Optional. The language to list entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -71,15 +70,14 @@ public interface ListEntityTypesRequestOrBuilder * * *
-   * Optional. The language to list entity synonyms for. If not specified,
-   * the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequest.java new file mode 100644 index 000000000..ad0fb1b7f --- /dev/null +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequest.java @@ -0,0 +1,925 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2beta1/environment.proto + +package com.google.cloud.dialogflow.v2beta1; + +/** + * + * + *
+ * The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest} + */ +public final class ListEnvironmentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) + ListEnvironmentsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListEnvironmentsRequest.newBuilder() to construct. + private ListEnvironmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListEnvironmentsRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListEnvironmentsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListEnvironmentsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest.class, + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * Required. The agent to list all environments from.
+   * Format: `projects/<Project ID>/agent`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The agent to list all environments from.
+   * Format: `projects/<Project ID>/agent`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + * + * + *
+   * Optional. The maximum number of items to return in a single page. By default 100 and
+   * at most 1000.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getParentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!getPageTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getParentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!getPageTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest other = + (com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest.class, + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest build() { + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest buildPartial() { + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest result = + new com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) { + return mergeFrom((com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest other) { + if (other == com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to list all environments from.
+     * Format: `projects/<Project ID>/agent`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * Optional. The maximum number of items to return in a single page. By default 100 and
+     * at most 1000.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * Optional. The maximum number of items to return in a single page. By default 100 and
+     * at most 1000.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The maximum number of items to return in a single page. By default 100 and
+     * at most 1000.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) + private static final com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest(); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequestOrBuilder.java new file mode 100644 index 000000000..566fde6f7 --- /dev/null +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2beta1/environment.proto + +package com.google.cloud.dialogflow.v2beta1; + +public interface ListEnvironmentsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The agent to list all environments from.
+   * Format: `projects/<Project ID>/agent`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The agent to list all environments from.
+   * Format: `projects/<Project ID>/agent`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Optional. The maximum number of items to return in a single page. By default 100 and
+   * at most 1000.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponse.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponse.java new file mode 100644 index 000000000..99ece6e3c --- /dev/null +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponse.java @@ -0,0 +1,1164 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2beta1/environment.proto + +package com.google.cloud.dialogflow.v2beta1; + +/** + * + * + *
+ * The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse} + */ +public final class ListEnvironmentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) + ListEnvironmentsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListEnvironmentsResponse.newBuilder() to construct. + private ListEnvironmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListEnvironmentsResponse() { + environments_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListEnvironmentsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListEnvironmentsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + environments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + environments_.add( + input.readMessage( + com.google.cloud.dialogflow.v2beta1.Environment.parser(), extensionRegistry)); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + environments_ = java.util.Collections.unmodifiableList(environments_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse.class, + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse.Builder.class); + } + + public static final int ENVIRONMENTS_FIELD_NUMBER = 1; + private java.util.List environments_; + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public java.util.List getEnvironmentsList() { + return environments_; + } + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public java.util.List + getEnvironmentsOrBuilderList() { + return environments_; + } + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public int getEnvironmentsCount() { + return environments_.size(); + } + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2beta1.Environment getEnvironments(int index) { + return environments_.get(index); + } + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2beta1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index) { + return environments_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < environments_.size(); i++) { + output.writeMessage(1, environments_.get(i)); + } + if (!getNextPageTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < environments_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, environments_.get(i)); + } + if (!getNextPageTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse other = + (com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) obj; + + if (!getEnvironmentsList().equals(other.getEnvironmentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getEnvironmentsCount() > 0) { + hash = (37 * hash) + ENVIRONMENTS_FIELD_NUMBER; + hash = (53 * hash) + getEnvironmentsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse.class, + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getEnvironmentsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (environmentsBuilder_ == null) { + environments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + environmentsBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2beta1.EnvironmentProto + .internal_static_google_cloud_dialogflow_v2beta1_ListEnvironmentsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse build() { + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse buildPartial() { + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse result = + new com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse(this); + int from_bitField0_ = bitField0_; + if (environmentsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + environments_ = java.util.Collections.unmodifiableList(environments_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.environments_ = environments_; + } else { + result.environments_ = environmentsBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) { + return mergeFrom((com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse other) { + if (other + == com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse.getDefaultInstance()) + return this; + if (environmentsBuilder_ == null) { + if (!other.environments_.isEmpty()) { + if (environments_.isEmpty()) { + environments_ = other.environments_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureEnvironmentsIsMutable(); + environments_.addAll(other.environments_); + } + onChanged(); + } + } else { + if (!other.environments_.isEmpty()) { + if (environmentsBuilder_.isEmpty()) { + environmentsBuilder_.dispose(); + environmentsBuilder_ = null; + environments_ = other.environments_; + bitField0_ = (bitField0_ & ~0x00000001); + environmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEnvironmentsFieldBuilder() + : null; + } else { + environmentsBuilder_.addAllMessages(other.environments_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List environments_ = + java.util.Collections.emptyList(); + + private void ensureEnvironmentsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + environments_ = + new java.util.ArrayList(environments_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.v2beta1.Environment, + com.google.cloud.dialogflow.v2beta1.Environment.Builder, + com.google.cloud.dialogflow.v2beta1.EnvironmentOrBuilder> + environmentsBuilder_; + + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public java.util.List getEnvironmentsList() { + if (environmentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(environments_); + } else { + return environmentsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public int getEnvironmentsCount() { + if (environmentsBuilder_ == null) { + return environments_.size(); + } else { + return environmentsBuilder_.getCount(); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2beta1.Environment getEnvironments(int index) { + if (environmentsBuilder_ == null) { + return environments_.get(index); + } else { + return environmentsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public Builder setEnvironments( + int index, com.google.cloud.dialogflow.v2beta1.Environment value) { + if (environmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnvironmentsIsMutable(); + environments_.set(index, value); + onChanged(); + } else { + environmentsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public Builder setEnvironments( + int index, com.google.cloud.dialogflow.v2beta1.Environment.Builder builderForValue) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.set(index, builderForValue.build()); + onChanged(); + } else { + environmentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public Builder addEnvironments(com.google.cloud.dialogflow.v2beta1.Environment value) { + if (environmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnvironmentsIsMutable(); + environments_.add(value); + onChanged(); + } else { + environmentsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public Builder addEnvironments( + int index, com.google.cloud.dialogflow.v2beta1.Environment value) { + if (environmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnvironmentsIsMutable(); + environments_.add(index, value); + onChanged(); + } else { + environmentsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public Builder addEnvironments( + com.google.cloud.dialogflow.v2beta1.Environment.Builder builderForValue) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.add(builderForValue.build()); + onChanged(); + } else { + environmentsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public Builder addEnvironments( + int index, com.google.cloud.dialogflow.v2beta1.Environment.Builder builderForValue) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.add(index, builderForValue.build()); + onChanged(); + } else { + environmentsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public Builder addAllEnvironments( + java.lang.Iterable values) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, environments_); + onChanged(); + } else { + environmentsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public Builder clearEnvironments() { + if (environmentsBuilder_ == null) { + environments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + environmentsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public Builder removeEnvironments(int index) { + if (environmentsBuilder_ == null) { + ensureEnvironmentsIsMutable(); + environments_.remove(index); + onChanged(); + } else { + environmentsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2beta1.Environment.Builder getEnvironmentsBuilder( + int index) { + return getEnvironmentsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2beta1.EnvironmentOrBuilder getEnvironmentsOrBuilder( + int index) { + if (environmentsBuilder_ == null) { + return environments_.get(index); + } else { + return environmentsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public java.util.List + getEnvironmentsOrBuilderList() { + if (environmentsBuilder_ != null) { + return environmentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(environments_); + } + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2beta1.Environment.Builder addEnvironmentsBuilder() { + return getEnvironmentsFieldBuilder() + .addBuilder(com.google.cloud.dialogflow.v2beta1.Environment.getDefaultInstance()); + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public com.google.cloud.dialogflow.v2beta1.Environment.Builder addEnvironmentsBuilder( + int index) { + return getEnvironmentsFieldBuilder() + .addBuilder(index, com.google.cloud.dialogflow.v2beta1.Environment.getDefaultInstance()); + } + /** + * + * + *
+     * The list of agent environments. There will be a maximum number of items
+     * returned based on the page_size field in the request.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + public java.util.List + getEnvironmentsBuilderList() { + return getEnvironmentsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.v2beta1.Environment, + com.google.cloud.dialogflow.v2beta1.Environment.Builder, + com.google.cloud.dialogflow.v2beta1.EnvironmentOrBuilder> + getEnvironmentsFieldBuilder() { + if (environmentsBuilder_ == null) { + environmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.v2beta1.Environment, + com.google.cloud.dialogflow.v2beta1.Environment.Builder, + com.google.cloud.dialogflow.v2beta1.EnvironmentOrBuilder>( + environments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + environments_ = null; + } + return environmentsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) + private static final com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse(); + } + + public static com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEnvironmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListEnvironmentsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponseOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponseOrBuilder.java new file mode 100644 index 000000000..794ba231e --- /dev/null +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponseOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/v2beta1/environment.proto + +package com.google.cloud.dialogflow.v2beta1; + +public interface ListEnvironmentsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + java.util.List getEnvironmentsList(); + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + com.google.cloud.dialogflow.v2beta1.Environment getEnvironments(int index); + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + int getEnvironmentsCount(); + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + java.util.List + getEnvironmentsOrBuilderList(); + /** + * + * + *
+   * The list of agent environments. There will be a maximum number of items
+   * returned based on the page_size field in the request.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2beta1.Environment environments = 1; + */ + com.google.cloud.dialogflow.v2beta1.EnvironmentOrBuilder getEnvironmentsOrBuilder(int index); + + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java index ceebdf8cf..f00377676 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java @@ -195,15 +195,14 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. The language to list training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -222,15 +221,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language to list training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -844,15 +842,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -871,15 +868,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -898,15 +894,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -924,15 +919,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -946,15 +940,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language to list training phrases, parameters and rich
-     * messages for. If not specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequestOrBuilder.java index 0444e9e5f..b58df3e86 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequestOrBuilder.java @@ -54,15 +54,14 @@ public interface ListIntentsRequestOrBuilder * * *
-   * Optional. The language to list training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -71,15 +70,14 @@ public interface ListIntentsRequestOrBuilder * * *
-   * Optional. The language to list training phrases, parameters and rich
-   * messages for. If not specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java index 7ff42e004..c9a1cb114 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java @@ -241,7 +241,8 @@ public com.google.protobuf.ByteString getVersionBytes() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -266,7 +267,8 @@ public boolean hasPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -291,7 +293,8 @@ public com.google.protobuf.Struct getPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -911,7 +914,8 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -936,7 +940,8 @@ public boolean hasPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -965,7 +970,8 @@ public com.google.protobuf.Struct getPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -998,7 +1004,8 @@ public Builder setPayload(com.google.protobuf.Struct value) { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1028,7 +1035,8 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1063,7 +1071,8 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1094,7 +1103,8 @@ public Builder clearPayload() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1119,7 +1129,8 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -1146,7 +1157,8 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequestOrBuilder.java index b66aeada2..2cb66f82c 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequestOrBuilder.java @@ -84,7 +84,8 @@ public interface OriginalDetectIntentRequestOrBuilder * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -107,7 +108,8 @@ public interface OriginalDetectIntentRequestOrBuilder * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" @@ -130,7 +132,8 @@ public interface OriginalDetectIntentRequestOrBuilder * Optional. This field is set to the value of the `QueryParameters.payload` * field passed in the request. Some integrations that query a Dialogflow * agent may provide additional information in the payload. - * In particular for the Telephony Gateway this field has the form: + * In particular, for the Dialogflow Phone Gateway integration, this field has + * the form: * <pre>{ * "telephony": { * "caller_id": "+18558363987" diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java index 5e46c4e11..d6deb7b9b 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java @@ -524,8 +524,11 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType getSessionEntityTyp * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -539,8 +542,11 @@ public boolean hasPayload() { * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -554,8 +560,11 @@ public com.google.protobuf.Struct getPayload() { * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -2708,8 +2717,11 @@ public Builder removeSessionEntityTypes(int index) { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2723,8 +2735,11 @@ public boolean hasPayload() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2742,8 +2757,11 @@ public com.google.protobuf.Struct getPayload() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2765,8 +2783,11 @@ public Builder setPayload(com.google.protobuf.Struct value) { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2785,8 +2806,11 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2810,8 +2834,11 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2831,8 +2858,11 @@ public Builder clearPayload() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2846,8 +2876,11 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; @@ -2863,8 +2896,11 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * *
-     * This field can be used to pass custom data into the webhook
-     * associated with the agent. Arbitrary JSON objects are supported.
+     * This field can be used to pass custom data to your webhook.
+     * Arbitrary JSON objects are supported.
+     * If supplied, the value is used to populate the
+     * `WebhookRequest.original_detect_intent_request.payload`
+     * field sent to your webhook.
      * 
* * .google.protobuf.Struct payload = 6; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParametersOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParametersOrBuilder.java index 218ef554b..813b01c28 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParametersOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParametersOrBuilder.java @@ -232,8 +232,11 @@ com.google.cloud.dialogflow.v2beta1.SessionEntityTypeOrBuilder getSessionEntityT * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -245,8 +248,11 @@ com.google.cloud.dialogflow.v2beta1.SessionEntityTypeOrBuilder getSessionEntityT * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; @@ -258,8 +264,11 @@ com.google.cloud.dialogflow.v2beta1.SessionEntityTypeOrBuilder getSessionEntityT * * *
-   * This field can be used to pass custom data into the webhook
-   * associated with the agent. Arbitrary JSON objects are supported.
+   * This field can be used to pass custom data to your webhook.
+   * Arbitrary JSON objects are supported.
+   * If supplied, the value is used to populate the
+   * `WebhookRequest.original_detect_intent_request.payload`
+   * field sent to your webhook.
    * 
* * .google.protobuf.Struct payload = 6; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java index 1d961acef..6be756aab 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java @@ -479,6 +479,18 @@ public com.google.protobuf.ByteString getActionBytes() { * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -493,6 +505,18 @@ public boolean hasParameters() { * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -507,6 +531,18 @@ public com.google.protobuf.Struct getParameters() { * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -2228,6 +2264,18 @@ public Builder setActionBytes(com.google.protobuf.ByteString value) { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2242,6 +2290,18 @@ public boolean hasParameters() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2260,6 +2320,18 @@ public com.google.protobuf.Struct getParameters() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2282,6 +2354,18 @@ public Builder setParameters(com.google.protobuf.Struct value) { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2301,6 +2385,18 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2325,6 +2421,18 @@ public Builder mergeParameters(com.google.protobuf.Struct value) { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2345,6 +2453,18 @@ public Builder clearParameters() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2359,6 +2479,18 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; @@ -2375,6 +2507,18 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * *
      * The collection of extracted parameters.
+     * Depending on your protocol or client library language, this is a
+     * map, associative array, symbol table, dictionary, or JSON object
+     * composed of a collection of (MapKey, MapValue) pairs:
+     * -   MapKey type: string
+     * -   MapKey value: parameter name
+     * -   MapValue type:
+     *     -   If parameter's entity type is a composite entity: map
+     *     -   Else: string or number, depending on parameter value type
+     * -   MapValue value:
+     *     -   If parameter's entity type is a composite entity:
+     *         map from composite entity property names to property values
+     *     -   Else: parameter value
      * 
* * .google.protobuf.Struct parameters = 4; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResultOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResultOrBuilder.java index e917b4ff4..42f5e8d4a 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResultOrBuilder.java @@ -143,6 +143,18 @@ public interface QueryResultOrBuilder * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -155,6 +167,18 @@ public interface QueryResultOrBuilder * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; @@ -167,6 +191,18 @@ public interface QueryResultOrBuilder * *
    * The collection of extracted parameters.
+   * Depending on your protocol or client library language, this is a
+   * map, associative array, symbol table, dictionary, or JSON object
+   * composed of a collection of (MapKey, MapValue) pairs:
+   * -   MapKey type: string
+   * -   MapKey value: parameter name
+   * -   MapValue type:
+   *     -   If parameter's entity type is a composite entity: map
+   *     -   Else: string or number, depending on parameter value type
+   * -   MapValue value:
+   *     -   If parameter's entity type is a composite entity:
+   *         map from composite entity property names to property values
+   *     -   Else: parameter value
    * 
* * .google.protobuf.Struct parameters = 4; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java index 2f416ac50..a07d165e6 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java @@ -227,7 +227,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The path of gcs source file for reloading document content.
+   * Optional. The path for a Cloud Storage source file for reloading document content.
+   * If not provided, the Document's existing source will be reloaded.
    * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -241,7 +242,8 @@ public boolean hasGcsSource() { * * *
-   * The path of gcs source file for reloading document content.
+   * Optional. The path for a Cloud Storage source file for reloading document content.
+   * If not provided, the Document's existing source will be reloaded.
    * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -258,7 +260,8 @@ public com.google.cloud.dialogflow.v2beta1.GcsSource getGcsSource() { * * *
-   * The path of gcs source file for reloading document content.
+   * Optional. The path for a Cloud Storage source file for reloading document content.
+   * If not provided, the Document's existing source will be reloaded.
    * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -773,7 +776,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The path of gcs source file for reloading document content.
+     * Optional. The path for a Cloud Storage source file for reloading document content.
+     * If not provided, the Document's existing source will be reloaded.
      * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -787,7 +791,8 @@ public boolean hasGcsSource() { * * *
-     * The path of gcs source file for reloading document content.
+     * Optional. The path for a Cloud Storage source file for reloading document content.
+     * If not provided, the Document's existing source will be reloaded.
      * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -811,7 +816,8 @@ public com.google.cloud.dialogflow.v2beta1.GcsSource getGcsSource() { * * *
-     * The path of gcs source file for reloading document content.
+     * Optional. The path for a Cloud Storage source file for reloading document content.
+     * If not provided, the Document's existing source will be reloaded.
      * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -833,7 +839,8 @@ public Builder setGcsSource(com.google.cloud.dialogflow.v2beta1.GcsSource value) * * *
-     * The path of gcs source file for reloading document content.
+     * Optional. The path for a Cloud Storage source file for reloading document content.
+     * If not provided, the Document's existing source will be reloaded.
      * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -853,7 +860,8 @@ public Builder setGcsSource( * * *
-     * The path of gcs source file for reloading document content.
+     * Optional. The path for a Cloud Storage source file for reloading document content.
+     * If not provided, the Document's existing source will be reloaded.
      * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -884,7 +892,8 @@ public Builder mergeGcsSource(com.google.cloud.dialogflow.v2beta1.GcsSource valu * * *
-     * The path of gcs source file for reloading document content.
+     * Optional. The path for a Cloud Storage source file for reloading document content.
+     * If not provided, the Document's existing source will be reloaded.
      * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -909,7 +918,8 @@ public Builder clearGcsSource() { * * *
-     * The path of gcs source file for reloading document content.
+     * Optional. The path for a Cloud Storage source file for reloading document content.
+     * If not provided, the Document's existing source will be reloaded.
      * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -921,7 +931,8 @@ public com.google.cloud.dialogflow.v2beta1.GcsSource.Builder getGcsSourceBuilder * * *
-     * The path of gcs source file for reloading document content.
+     * Optional. The path for a Cloud Storage source file for reloading document content.
+     * If not provided, the Document's existing source will be reloaded.
      * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -940,7 +951,8 @@ public com.google.cloud.dialogflow.v2beta1.GcsSourceOrBuilder getGcsSourceOrBuil * * *
-     * The path of gcs source file for reloading document content.
+     * Optional. The path for a Cloud Storage source file for reloading document content.
+     * If not provided, the Document's existing source will be reloaded.
      * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequestOrBuilder.java index c8c2784d3..3078254ae 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequestOrBuilder.java @@ -56,7 +56,8 @@ public interface ReloadDocumentRequestOrBuilder * * *
-   * The path of gcs source file for reloading document content.
+   * Optional. The path for a Cloud Storage source file for reloading document content.
+   * If not provided, the Document's existing source will be reloaded.
    * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -68,7 +69,8 @@ public interface ReloadDocumentRequestOrBuilder * * *
-   * The path of gcs source file for reloading document content.
+   * Optional. The path for a Cloud Storage source file for reloading document content.
+   * If not provided, the Document's existing source will be reloaded.
    * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; @@ -80,7 +82,8 @@ public interface ReloadDocumentRequestOrBuilder * * *
-   * The path of gcs source file for reloading document content.
+   * Optional. The path for a Cloud Storage source file for reloading document content.
+   * If not provided, the Document's existing source will be reloaded.
    * 
* * .google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java index 740428e28..252238a5a 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java @@ -193,15 +193,14 @@ public com.google.cloud.dialogflow.v2beta1.EntityTypeOrBuilder getEntityTypeOrBu * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -220,15 +219,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -853,15 +851,14 @@ public com.google.cloud.dialogflow.v2beta1.EntityTypeOrBuilder getEntityTypeOrBu * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -880,15 +877,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -907,15 +903,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -933,15 +928,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -955,15 +949,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of entity synonyms defined in `entity_type`. If not
-     * specified, the agent's default language is used.
-     * [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequestOrBuilder.java index 01993d0ef..392f535c3 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequestOrBuilder.java @@ -62,15 +62,14 @@ public interface UpdateEntityTypeRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -79,15 +78,14 @@ public interface UpdateEntityTypeRequestOrBuilder * * *
-   * Optional. The language of entity synonyms defined in `entity_type`. If not
-   * specified, the agent's default language is used.
-   * [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java index 7ab72d9da..2e93ca0ed 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java @@ -201,15 +201,14 @@ public com.google.cloud.dialogflow.v2beta1.IntentOrBuilder getIntentOrBuilder() * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -228,15 +227,14 @@ public java.lang.String getLanguageCode() { * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -911,15 +909,14 @@ public com.google.cloud.dialogflow.v2beta1.IntentOrBuilder getIntentOrBuilder() * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -938,15 +935,14 @@ public java.lang.String getLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -965,15 +961,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -991,15 +986,14 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1013,15 +1007,14 @@ public Builder clearLanguageCode() { * * *
-     * Optional. The language of training phrases, parameters and rich messages
-     * defined in `intent`. If not specified, the agent's default language is
-     * used. [Many
-     * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-     * are supported. Note: languages must be enabled in the agent before they can
-     * be used.
+     * Optional. The language used to access language-specific data.
+     * If not specified, the agent's default language is used.
+     * For more information, see
+     * [Multilingual intent and entity
+     * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
      * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequestOrBuilder.java index ea5200973..ee1bdfd56 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequestOrBuilder.java @@ -62,15 +62,14 @@ public interface UpdateIntentRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -79,15 +78,14 @@ public interface UpdateIntentRequestOrBuilder * * *
-   * Optional. The language of training phrases, parameters and rich messages
-   * defined in `intent`. If not specified, the agent's default language is
-   * used. [Many
-   * languages](https://cloud.google.com/dialogflow/docs/reference/language)
-   * are supported. Note: languages must be enabled in the agent before they can
-   * be used.
+   * Optional. The language used to access language-specific data.
+   * If not specified, the agent's default language is used.
+   * For more information, see
+   * [Multilingual intent and entity
+   * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    * 
* - * string language_code = 2; + * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java index 9a883166d..023fefe7e 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java @@ -141,12 +141,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-   * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-   * environment. If `User ID` is not specified, we assume default '-' user.
+   * Required. The session entity type to update.
    * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -160,12 +155,7 @@ public boolean hasSessionEntityType() { * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-   * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-   * environment. If `User ID` is not specified, we assume default '-' user.
+   * Required. The session entity type to update.
    * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -181,12 +171,7 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType getSessionEntityTyp * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-   * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-   * environment. If `User ID` is not specified, we assume default '-' user.
+   * Required. The session entity type to update.
    * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -616,12 +601,7 @@ public Builder mergeFrom( * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-     * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-     * environment. If `User ID` is not specified, we assume default '-' user.
+     * Required. The session entity type to update.
      * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -635,12 +615,7 @@ public boolean hasSessionEntityType() { * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-     * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-     * environment. If `User ID` is not specified, we assume default '-' user.
+     * Required. The session entity type to update.
      * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -660,12 +635,7 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType getSessionEntityTyp * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-     * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-     * environment. If `User ID` is not specified, we assume default '-' user.
+     * Required. The session entity type to update.
      * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -688,12 +658,7 @@ public Builder setSessionEntityType( * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-     * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-     * environment. If `User ID` is not specified, we assume default '-' user.
+     * Required. The session entity type to update.
      * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -713,12 +678,7 @@ public Builder setSessionEntityType( * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-     * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-     * environment. If `User ID` is not specified, we assume default '-' user.
+     * Required. The session entity type to update.
      * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -745,12 +705,7 @@ public Builder mergeSessionEntityType( * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-     * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-     * environment. If `User ID` is not specified, we assume default '-' user.
+     * Required. The session entity type to update.
      * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -770,12 +725,7 @@ public Builder clearSessionEntityType() { * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-     * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-     * environment. If `User ID` is not specified, we assume default '-' user.
+     * Required. The session entity type to update.
      * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -790,12 +740,7 @@ public Builder clearSessionEntityType() { * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-     * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-     * environment. If `User ID` is not specified, we assume default '-' user.
+     * Required. The session entity type to update.
      * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -814,12 +759,7 @@ public Builder clearSessionEntityType() { * * *
-     * Required. The entity type to update. Format:
-     * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-     * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-     * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-     * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-     * environment. If `User ID` is not specified, we assume default '-' user.
+     * Required. The session entity type to update.
      * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequestOrBuilder.java index 9d9c7a1b9..254a117ac 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequestOrBuilder.java @@ -27,12 +27,7 @@ public interface UpdateSessionEntityTypeRequestOrBuilder * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-   * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-   * environment. If `User ID` is not specified, we assume default '-' user.
+   * Required. The session entity type to update.
    * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -44,12 +39,7 @@ public interface UpdateSessionEntityTypeRequestOrBuilder * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-   * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-   * environment. If `User ID` is not specified, we assume default '-' user.
+   * Required. The session entity type to update.
    * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; @@ -61,12 +51,7 @@ public interface UpdateSessionEntityTypeRequestOrBuilder * * *
-   * Required. The entity type to update. Format:
-   * `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
-   * Display Name>` or `projects/<Project ID>/agent/environments/<Environment
-   * ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
-   * Name>`. If `Environment ID` is not specified, we assume default 'draft'
-   * environment. If `User ID` is not specified, we assume default '-' user.
+   * Required. The session entity type to update.
    * 
* * .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_type = 1; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java index fd8fbe6a7..24f226b22 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java @@ -222,8 +222,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Optional. The text to be shown on the screen. This value is passed directly
-   * to `QueryResult.fulfillment_text`.
+   * Optional. The text response message intended for the end-user.
+   * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
    * 
* * string fulfillment_text = 1; @@ -245,8 +247,10 @@ public java.lang.String getFulfillmentText() { * * *
-   * Optional. The text to be shown on the screen. This value is passed directly
-   * to `QueryResult.fulfillment_text`.
+   * Optional. The text response message intended for the end-user.
+   * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
    * 
* * string fulfillment_text = 1; @@ -271,8 +275,9 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -285,8 +290,9 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -299,8 +305,9 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -312,8 +319,9 @@ public int getFulfillmentMessagesCount() { * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -325,8 +333,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message getFulfillmentMessages * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -342,7 +351,10 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message getFulfillmentMessages * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_source`.
+   * Optional. A custom field used to identify the webhook source.
+   * Arbitrary strings are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
    * 
* * string source = 3; @@ -364,7 +376,10 @@ public java.lang.String getSource() { * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_source`.
+   * Optional. A custom field used to identify the webhook source.
+   * Arbitrary strings are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
    * 
* * string source = 3; @@ -389,28 +404,16 @@ public com.google.protobuf.ByteString getSourceBytes() { * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -424,28 +427,16 @@ public boolean hasPayload() { * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -459,28 +450,16 @@ public com.google.protobuf.Struct getPayload() { * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -495,8 +474,10 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -508,8 +489,10 @@ public java.util.List getOutputCont * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -522,8 +505,10 @@ public java.util.List getOutputCont * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -535,8 +520,10 @@ public int getOutputContextsCount() { * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -548,8 +535,10 @@ public com.google.cloud.dialogflow.v2beta1.Context getOutputContexts(int index) * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -565,8 +554,7 @@ public com.google.cloud.dialogflow.v2beta1.ContextOrBuilder getOutputContextsOrB * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -582,8 +570,7 @@ public boolean hasFollowupEventInput() { * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -601,8 +588,7 @@ public com.google.cloud.dialogflow.v2beta1.EventInput getFollowupEventInput() { * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -640,9 +626,9 @@ public boolean getEndInteraction() { *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -658,9 +644,9 @@ public boolean getEndInteraction() { *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -676,9 +662,9 @@ public boolean getEndInteraction() { *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -693,9 +679,9 @@ public int getSessionEntityTypesCount() { *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -710,9 +696,9 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType getSessionEntityTyp *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -1311,8 +1297,10 @@ public Builder mergeFrom( * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1334,8 +1322,10 @@ public java.lang.String getFulfillmentText() { * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1357,8 +1347,10 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1379,8 +1371,10 @@ public Builder setFulfillmentText(java.lang.String value) { * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1397,8 +1391,10 @@ public Builder clearFulfillmentText() { * * *
-     * Optional. The text to be shown on the screen. This value is passed directly
-     * to `QueryResult.fulfillment_text`.
+     * Optional. The text response message intended for the end-user.
+     * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
      * 
* * string fulfillment_text = 1; @@ -1439,8 +1435,9 @@ private void ensureFulfillmentMessagesIsMutable() { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1458,8 +1455,9 @@ private void ensureFulfillmentMessagesIsMutable() { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1476,8 +1474,9 @@ public int getFulfillmentMessagesCount() { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1494,8 +1493,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message getFulfillmentMessages * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1519,8 +1519,9 @@ public Builder setFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1541,8 +1542,9 @@ public Builder setFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1566,8 +1568,9 @@ public Builder addFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1591,8 +1594,9 @@ public Builder addFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1613,8 +1617,9 @@ public Builder addFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1635,8 +1640,9 @@ public Builder addFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1657,8 +1663,9 @@ public Builder addAllFulfillmentMessages( * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1678,8 +1685,9 @@ public Builder clearFulfillmentMessages() { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1699,8 +1707,9 @@ public Builder removeFulfillmentMessages(int index) { * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1714,8 +1723,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder getFulfillment * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1733,8 +1743,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder getFulfillment * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1752,8 +1763,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder getFulfillment * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1768,8 +1780,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder getFulfillment * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1785,8 +1798,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder addFulfillment * * *
-     * Optional. The collection of rich messages to present to the user. This
-     * value is passed directly to `QueryResult.fulfillment_messages`.
+     * Optional. The rich response messages intended for the end-user.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1822,7 +1836,10 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder addFulfillment * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1844,7 +1861,10 @@ public java.lang.String getSource() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1866,7 +1886,10 @@ public com.google.protobuf.ByteString getSourceBytes() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1887,7 +1910,10 @@ public Builder setSource(java.lang.String value) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1904,7 +1930,10 @@ public Builder clearSource() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_source`.
+     * Optional. A custom field used to identify the webhook source.
+     * Arbitrary strings are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
      * 
* * string source = 3; @@ -1933,28 +1962,16 @@ public Builder setSourceBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -1968,28 +1985,16 @@ public boolean hasPayload() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2007,28 +2012,16 @@ public com.google.protobuf.Struct getPayload() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2050,28 +2043,16 @@ public Builder setPayload(com.google.protobuf.Struct value) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2090,28 +2071,16 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2135,28 +2104,16 @@ public Builder mergePayload(com.google.protobuf.Struct value) { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2176,28 +2133,16 @@ public Builder clearPayload() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2211,28 +2156,16 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2248,28 +2181,16 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * *
-     * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-     * See the related `fulfillment_messages[i].payload field`, which may be used
-     * as an alternative to this field.
-     * This field can be used for Actions on Google responses.
-     * It should have a structure similar to the JSON message shown here. For more
-     * information, see
-     * [Actions on Google Webhook
-     * Format](https://developers.google.com/actions/dialogflow/webhook)
-     * <pre>{
-     *   "google": {
-     *     "expectUserResponse": true,
-     *     "richResponse": {
-     *       "items": [
-     *         {
-     *           "simpleResponse": {
-     *             "textToSpeech": "this is a simple response"
-     *           }
-     *         }
-     *       ]
-     *     }
-     *   }
-     * }</pre>
+     * Optional. This field can be used to pass custom data from your webhook to the
+     * integration or API caller. Arbitrary JSON objects are supported.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+     * This field is also used by the
+     * [Google Assistant
+     * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+     * for rich response messages.
+     * See the format definition at [Google Assistant Dialogflow webhook
+     * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
      * 
* * .google.protobuf.Struct payload = 4; @@ -2312,8 +2233,10 @@ private void ensureOutputContextsIsMutable() { * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2329,8 +2252,10 @@ public java.util.List getOutputCont * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2346,8 +2271,10 @@ public int getOutputContextsCount() { * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2363,8 +2290,10 @@ public com.google.cloud.dialogflow.v2beta1.Context getOutputContexts(int index) * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2386,8 +2315,10 @@ public Builder setOutputContexts(int index, com.google.cloud.dialogflow.v2beta1. * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2407,8 +2338,10 @@ public Builder setOutputContexts( * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2430,8 +2363,10 @@ public Builder addOutputContexts(com.google.cloud.dialogflow.v2beta1.Context val * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2453,8 +2388,10 @@ public Builder addOutputContexts(int index, com.google.cloud.dialogflow.v2beta1. * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2474,8 +2411,10 @@ public Builder addOutputContexts( * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2495,8 +2434,10 @@ public Builder addOutputContexts( * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2516,8 +2457,10 @@ public Builder addAllOutputContexts( * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2536,8 +2479,10 @@ public Builder clearOutputContexts() { * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2556,8 +2501,10 @@ public Builder removeOutputContexts(int index) { * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2569,8 +2516,10 @@ public com.google.cloud.dialogflow.v2beta1.Context.Builder getOutputContextsBuil * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2587,8 +2536,10 @@ public com.google.cloud.dialogflow.v2beta1.ContextOrBuilder getOutputContextsOrB * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2605,8 +2556,10 @@ public com.google.cloud.dialogflow.v2beta1.ContextOrBuilder getOutputContextsOrB * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2619,8 +2572,10 @@ public com.google.cloud.dialogflow.v2beta1.Context.Builder addOutputContextsBuil * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2633,8 +2588,10 @@ public com.google.cloud.dialogflow.v2beta1.Context.Builder addOutputContextsBuil * * *
-     * Optional. The collection of output contexts. This value is passed directly
-     * to `QueryResult.output_contexts`.
+     * Optional. The collection of output contexts that will overwrite currently
+     * active contexts for the session and reset their lifespans.
+     * When provided, Dialogflow uses this field to populate
+     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2674,8 +2631,7 @@ public com.google.cloud.dialogflow.v2beta1.Context.Builder addOutputContextsBuil * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2691,8 +2647,7 @@ public boolean hasFollowupEventInput() { * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2714,8 +2669,7 @@ public com.google.cloud.dialogflow.v2beta1.EventInput getFollowupEventInput() { * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2739,8 +2693,7 @@ public Builder setFollowupEventInput(com.google.cloud.dialogflow.v2beta1.EventIn * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2762,8 +2715,7 @@ public Builder setFollowupEventInput( * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2791,8 +2743,7 @@ public Builder mergeFollowupEventInput(com.google.cloud.dialogflow.v2beta1.Event * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2814,8 +2765,7 @@ public Builder clearFollowupEventInput() { * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2831,8 +2781,7 @@ public com.google.cloud.dialogflow.v2beta1.EventInput.Builder getFollowupEventIn * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2853,8 +2802,7 @@ public com.google.cloud.dialogflow.v2beta1.EventInput.Builder getFollowupEventIn * * *
-     * Optional. Makes the platform immediately invoke another `DetectIntent` call
-     * internally with the specified event as input.
+     * Optional. Invokes the supplied events.
      * When this field is set, Dialogflow ignores the `fulfillment_text`,
      * `fulfillment_messages`, and `payload` fields.
      * 
@@ -2959,9 +2907,9 @@ private void ensureSessionEntityTypesIsMutable() { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -2981,9 +2929,9 @@ private void ensureSessionEntityTypesIsMutable() { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3002,9 +2950,9 @@ public int getSessionEntityTypesCount() { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3023,9 +2971,9 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType getSessionEntityTyp *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3051,9 +2999,9 @@ public Builder setSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3076,9 +3024,9 @@ public Builder setSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3104,9 +3052,9 @@ public Builder addSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3132,9 +3080,9 @@ public Builder addSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3157,9 +3105,9 @@ public Builder addSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3182,9 +3130,9 @@ public Builder addSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3208,9 +3156,9 @@ public Builder addAllSessionEntityTypes( *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3232,9 +3180,9 @@ public Builder clearSessionEntityTypes() { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3256,9 +3204,9 @@ public Builder removeSessionEntityTypes(int index) { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3274,9 +3222,9 @@ public Builder removeSessionEntityTypes(int index) { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3296,9 +3244,9 @@ public Builder removeSessionEntityTypes(int index) { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3318,9 +3266,9 @@ public Builder removeSessionEntityTypes(int index) { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3337,9 +3285,9 @@ public Builder removeSessionEntityTypes(int index) { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3357,9 +3305,9 @@ public Builder removeSessionEntityTypes(int index) { *
      * Optional. Additional session entity types to replace or extend developer
      * entity types with. The entity synonyms apply to all languages and persist
-     * for the session of this query. Setting the session entity types inside
-     * webhook overwrites the session entity types that have been set through
-     * `DetectIntentRequest.query_params.session_entity_types`.
+     * for the session. Setting this data from a webhook overwrites
+     * the session entity types that have been set using `detectIntent`,
+     * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
      * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java index 9af9caf6b..4fbccd00f 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java @@ -27,8 +27,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The text to be shown on the screen. This value is passed directly
-   * to `QueryResult.fulfillment_text`.
+   * Optional. The text response message intended for the end-user.
+   * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
    * 
* * string fulfillment_text = 1; @@ -40,8 +42,10 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The text to be shown on the screen. This value is passed directly
-   * to `QueryResult.fulfillment_text`.
+   * Optional. The text response message intended for the end-user.
+   * It is recommended to use `fulfillment_messages.text.text[0]` instead.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
    * 
* * string fulfillment_text = 1; @@ -54,8 +58,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -65,8 +70,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -76,8 +82,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -87,8 +94,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -99,8 +107,9 @@ public interface WebhookResponseOrBuilder * * *
-   * Optional. The collection of rich messages to present to the user. This
-   * value is passed directly to `QueryResult.fulfillment_messages`.
+   * Optional. The rich response messages intended for the end-user.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -112,7 +121,10 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_source`.
+   * Optional. A custom field used to identify the webhook source.
+   * Arbitrary strings are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
    * 
* * string source = 3; @@ -124,7 +136,10 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_source`.
+   * Optional. A custom field used to identify the webhook source.
+   * Arbitrary strings are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
    * 
* * string source = 3; @@ -137,28 +152,16 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -170,28 +173,16 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -203,28 +194,16 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. This value is passed directly to `QueryResult.webhook_payload`.
-   * See the related `fulfillment_messages[i].payload field`, which may be used
-   * as an alternative to this field.
-   * This field can be used for Actions on Google responses.
-   * It should have a structure similar to the JSON message shown here. For more
-   * information, see
-   * [Actions on Google Webhook
-   * Format](https://developers.google.com/actions/dialogflow/webhook)
-   * <pre>{
-   *   "google": {
-   *     "expectUserResponse": true,
-   *     "richResponse": {
-   *       "items": [
-   *         {
-   *           "simpleResponse": {
-   *             "textToSpeech": "this is a simple response"
-   *           }
-   *         }
-   *       ]
-   *     }
-   *   }
-   * }</pre>
+   * Optional. This field can be used to pass custom data from your webhook to the
+   * integration or API caller. Arbitrary JSON objects are supported.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
+   * This field is also used by the
+   * [Google Assistant
+   * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
+   * for rich response messages.
+   * See the format definition at [Google Assistant Dialogflow webhook
+   * format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
    * 
* * .google.protobuf.Struct payload = 4; @@ -235,8 +214,10 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -246,8 +227,10 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -257,8 +240,10 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -268,8 +253,10 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -280,8 +267,10 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. The collection of output contexts. This value is passed directly
-   * to `QueryResult.output_contexts`.
+   * Optional. The collection of output contexts that will overwrite currently
+   * active contexts for the session and reset their lifespans.
+   * When provided, Dialogflow uses this field to populate
+   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -292,8 +281,7 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -307,8 +295,7 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -322,8 +309,7 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
-   * Optional. Makes the platform immediately invoke another `DetectIntent` call
-   * internally with the specified event as input.
+   * Optional. Invokes the supplied events.
    * When this field is set, Dialogflow ignores the `fulfillment_text`,
    * `fulfillment_messages`, and `payload` fields.
    * 
@@ -353,9 +339,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -368,9 +354,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -383,9 +369,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -398,9 +384,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -414,9 +400,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag *
    * Optional. Additional session entity types to replace or extend developer
    * entity types with. The entity synonyms apply to all languages and persist
-   * for the session of this query. Setting the session entity types inside
-   * webhook overwrites the session entity types that have been set through
-   * `DetectIntentRequest.query_params.session_entity_types`.
+   * for the session. Setting this data from a webhook overwrites
+   * the session entity types that have been set using `detectIntent`,
+   * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
    * 
* * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/agent.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/agent.proto index 57628f2b8..7bfedab4f 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/agent.proto +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/agent.proto @@ -19,6 +19,7 @@ package google.cloud.dialogflow.v2beta1; import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/v2beta1/environment.proto"; import "google/cloud/dialogflow/v2beta1/validation_result.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/audio_config.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/audio_config.proto index af3112ba5..15ac78d21 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/audio_config.proto +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/audio_config.proto @@ -194,13 +194,13 @@ message InputAudioConfig { // the same session do not necessarily need to specify the same language. string language_code = 3; - // Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in + // If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in // [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] with information about the recognized speech // words, e.g. start and end time offsets. If false or unspecified, Speech // doesn't return any word-level information. bool enable_word_info = 13; - // Optional. A list of strings containing words and phrases that the speech + // A list of strings containing words and phrases that the speech // recognizer should recognize with higher likelihood. // // See [the Cloud Speech @@ -210,19 +210,16 @@ message InputAudioConfig { // This field is deprecated. Please use [speech_contexts]() instead. If you // specify both [phrase_hints]() and [speech_contexts](), Dialogflow will // treat the [phrase_hints]() as a single additional [SpeechContext](). - repeated string phrase_hints = 4 [ - deprecated = true, - (google.api.field_behavior) = OPTIONAL - ]; + repeated string phrase_hints = 4 [deprecated = true]; - // Optional. Context information to assist speech recognition. + // Context information to assist speech recognition. // // See [the Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. repeated SpeechContext speech_contexts = 11; - // Optional. Which Speech model to select for the given request. Select the + // Which Speech model to select for the given request. Select the // model best suited to your domain to get best results. If a model is not // explicitly specified, then we auto-select a model based on the parameters // in the InputAudioConfig. @@ -235,10 +232,10 @@ message InputAudioConfig { // for more details. string model = 7; - // Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use. + // Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use. SpeechModelVariant model_variant = 10; - // Optional. If `false` (default), recognition does not cease until the + // If `false` (default), recognition does not cease until the // client closes the stream. // If `true`, the recognizer will detect a single spoken utterance in input // audio. Recognition ceases when it detects the audio's voice has diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/context.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/context.proto index 78b8e1340..fb1c3cee3 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/context.proto +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/context.proto @@ -183,15 +183,26 @@ message Context { string name = 1; // Optional. The number of conversational query requests after which the - // context expires. If set to `0` (the default) the context expires + // context expires. The default is `0`. If set to `0`, the context expires // immediately. Contexts expire automatically after 20 minutes if there // are no matching queries. int32 lifespan_count = 2; // Optional. The collection of parameters associated with this context. - // Refer to [this - // doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) - // for syntax. + // + // Depending on your protocol or client library language, this is a + // map, associative array, symbol table, dictionary, or JSON object + // composed of a collection of (MapKey, MapValue) pairs: + // + // - MapKey type: string + // - MapKey value: parameter name + // - MapValue type: + // - If parameter's entity type is a composite entity: map + // - Else: string or number, depending on parameter value type + // - MapValue value: + // - If parameter's entity type is a composite entity: + // map from composite entity property names to property values + // - Else: parameter value google.protobuf.Struct parameters = 3; } diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/document.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/document.proto index 1e6659111..02b6e4e81 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/document.proto +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/document.proto @@ -71,9 +71,6 @@ service Documents { // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. - // - // Operation rpc CreateDocument(CreateDocumentRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*/knowledgeBases/*}/documents" @@ -83,15 +80,16 @@ service Documents { body: "document" } }; + option (google.longrunning.operation_info) = { + response_type: "Document" + metadata_type: "KnowledgeOperationMetadata" + }; } // Deletes the specified document. // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. - // - // Operation rpc DeleteDocument(DeleteDocumentRequest) returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}" @@ -99,15 +97,16 @@ service Documents { delete: "/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}" } }; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "KnowledgeOperationMetadata" + }; } // Updates the specified document. // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. - // - // Operation rpc UpdateDocument(UpdateDocumentRequest) returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2beta1/{document.name=projects/*/knowledgeBases/*/documents/*}" @@ -117,6 +116,10 @@ service Documents { body: "document" } }; + option (google.longrunning.operation_info) = { + response_type: "Document" + metadata_type: "KnowledgeOperationMetadata" + }; } // Reloads the specified document from its specified source, content_uri or @@ -126,9 +129,6 @@ service Documents { // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. - // - // Operation rpc ReloadDocument(ReloadDocumentRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}:reload" @@ -138,6 +138,10 @@ service Documents { body: "*" } }; + option (google.longrunning.operation_info) = { + response_type: "Document" + metadata_type: "KnowledgeOperationMetadata" + }; } } @@ -299,7 +303,8 @@ message ReloadDocumentRequest { // Optional. If provided, the service will load the contents from the source // and update document in the knowledge base. oneof source { - // The path of gcs source file for reloading document content. + // Optional. The path for a Cloud Storage source file for reloading document content. + // If not provided, the Document's existing source will be reloaded. GcsSource gcs_source = 3; } } diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/entity_type.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/entity_type.proto index a7e7fb280..0f0932d2d 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/entity_type.proto +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/entity_type.proto @@ -283,13 +283,12 @@ message ListEntityTypesRequest { // Format: `projects//agent`. string parent = 1; - // Optional. The language to list entity synonyms for. If not specified, - // the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 2; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. @@ -316,13 +315,12 @@ message GetEntityTypeRequest { // Format: `projects//agent/entityTypes/`. string name = 1; - // Optional. The language to retrieve entity synonyms for. If not specified, - // the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 2; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; } // The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType]. @@ -334,13 +332,12 @@ message CreateEntityTypeRequest { // Required. The entity type to create. EntityType entity_type = 2; - // Optional. The language of entity synonyms defined in `entity_type`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 3; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; } // The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]. @@ -348,13 +345,12 @@ message UpdateEntityTypeRequest { // Required. The entity type to update. EntityType entity_type = 1; - // Optional. The language of entity synonyms defined in `entity_type`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 2; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. google.protobuf.FieldMask update_mask = 3; @@ -390,13 +386,12 @@ message BatchUpdateEntityTypesRequest { EntityTypeBatch entity_type_batch_inline = 3; } - // Optional. The language of entity synonyms defined in `entity_types`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 4; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. google.protobuf.FieldMask update_mask = 5; @@ -428,13 +423,12 @@ message BatchCreateEntitiesRequest { // Required. The entities to create. repeated EntityType.Entity entities = 2; - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 3; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; } // The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities]. @@ -446,13 +440,12 @@ message BatchUpdateEntitiesRequest { // Required. The entities to update or create. repeated EntityType.Entity entities = 2; - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 3; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. google.protobuf.FieldMask update_mask = 4; @@ -469,13 +462,12 @@ message BatchDeleteEntitiesRequest { // `projects/`. repeated string entity_values = 2; - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 3; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; } // This message is a wrapper around a collection of entity types. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/environment.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/environment.proto new file mode 100644 index 000000000..386c014d6 --- /dev/null +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/environment.proto @@ -0,0 +1,135 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.dialogflow.v2beta1; + +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/cloud/dialogflow/v2beta1/audio_config.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/client.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option java_multiple_files = true; +option java_outer_classname = "EnvironmentProto"; +option java_package = "com.google.cloud.dialogflow.v2beta1"; +option objc_class_prefix = "DF"; + +// Manages agent environments. +service Environments { + option (google.api.default_host) = "dialogflow.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/dialogflow"; + + // Returns the list of all non-draft environments of the specified agent. + rpc ListEnvironments(ListEnvironmentsRequest) returns (ListEnvironmentsResponse) { + option (google.api.http) = { + get: "/v2beta1/{parent=projects/*/agent}/environments" + additional_bindings { + get: "/v2beta1/{parent=projects/*/locations/*/agent}/environments" + } + }; + } +} + +// Represents an agent environment. +message Environment { + option (google.api.resource) = { + type: "dialogflow.googleapis.com/Environment" + pattern: "projects/{project}/agent/environments/{environment}" + }; + + // Represents an environment state. When a environment is pointed to a new + // agent version, the environment is temporarily set to the `LOADING` state. + // During that time, the environment keeps on serving the previous version of + // the agent. After the new agent version is done loading, the environment is + // set back to the `RUNNING` state. + enum State { + // Not specified. This value is not used. + STATE_UNSPECIFIED = 0; + + // Stopped. + STOPPED = 1; + + // Loading. + LOADING = 2; + + // Running. + RUNNING = 3; + } + + // Output only. The unique identifier of this agent environment. + // Format: `projects//agent/environments/`. + // For Environment ID, "-" is reserved for 'draft' environment. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The developer-provided description for this environment. + // The maximum length is 500 characters. If exceeded, the request is rejected. + string description = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The agent version loaded into this environment. + // Format: `projects//agent/versions/`. + string agent_version = 3 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Version" + } + ]; + + // Output only. The state of this environment. This field is read-only, i.e., it cannot be + // set by create and update methods. + State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The last update time of this environment. This field is read-only, i.e., it + // cannot be set by create and update methods. + google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments]. +message ListEnvironmentsRequest { + // Required. The agent to list all environments from. + // Format: `projects//agent`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Environment" + } + ]; + + // Optional. The maximum number of items to return in a single page. By default 100 and + // at most 1000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous list request. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments]. +message ListEnvironmentsResponse { + // The list of agent environments. There will be a maximum number of items + // returned based on the page_size field in the request. + repeated Environment environments = 1; + + // Token to retrieve the next page of results, or empty if there are no + // more results in the list. + string next_page_token = 2; +} diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/intent.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/intent.proto index fa0a0bc04..1b1687262 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/intent.proto +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/intent.proto @@ -609,21 +609,21 @@ message Intent { // Rich Business Messaging (RBM) Media displayed in Cards // The following media-types are currently supported: // - // ## Image Types + // Image Types // - // image/jpeg - // image/jpg' - // image/gif - // image/png + // * image/jpeg + // * image/jpg' + // * image/gif + // * image/png // - // ## Video Types + // Video Types // - // video/h263 - // video/m4v - // video/mp4 - // video/mpeg - // video/mpeg4 - // video/webm + // * video/h263 + // * video/m4v + // * video/mp4 + // * video/mpeg + // * video/mpeg4 + // * video/webm message RbmMedia { // Media height enum Height { @@ -963,67 +963,9 @@ message Intent { // Viber. VIBER = 7; - // Actions on Google. - // When using Actions on Google, you can choose one of the specific - // Intent.Message types that mention support for Actions on Google, - // or you can use the advanced Intent.Message.payload field. - // The payload field provides access to AoG features not available in the - // specific message types. - // If using the Intent.Message.payload field, it should have a structure - // similar to the JSON message shown here. For more information, see - // [Actions on Google Webhook - // Format](https://developers.google.com/actions/dialogflow/webhook) - //
{
-      //   "expectUserResponse": true,
-      //   "isSsml": false,
-      //   "noInputPrompts": [],
-      //   "richResponse": {
-      //     "items": [
-      //       {
-      //         "simpleResponse": {
-      //           "displayText": "hi",
-      //           "textToSpeech": "hello"
-      //         }
-      //       }
-      //     ],
-      //     "suggestions": [
-      //       {
-      //         "title": "Say this"
-      //       },
-      //       {
-      //         "title": "or this"
-      //       }
-      //     ]
-      //   },
-      //   "systemIntent": {
-      //     "data": {
-      //       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
-      //       "listSelect": {
-      //         "items": [
-      //           {
-      //             "optionInfo": {
-      //               "key": "key1",
-      //               "synonyms": [
-      //                 "key one"
-      //               ]
-      //             },
-      //             "title": "must not be empty, but unique"
-      //           },
-      //           {
-      //             "optionInfo": {
-      //               "key": "key2",
-      //               "synonyms": [
-      //                 "key two"
-      //               ]
-      //             },
-      //             "title": "must not be empty, but unique"
-      //           }
-      //         ]
-      //       }
-      //     },
-      //     "intent": "actions.intent.OPTION"
-      //   }
-      // }
+ // Google Assistant + // See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) ACTIONS_ON_GOOGLE = 8; // Telephony Gateway. @@ -1047,9 +989,7 @@ message Intent { // Displays a card. Card card = 4; - // Returns a response containing a custom, platform-specific payload. - // See the Intent.Message.Platform type for a description of the - // structure that may be required for your platform. + // A custom platform-specific response. google.protobuf.Struct payload = 5; // Returns a voice or text-only response for Actions on Google. @@ -1186,6 +1126,7 @@ message Intent { // Optional. The collection of event names that trigger the intent. // If the collection of input contexts is not empty, all of the contexts must // be present in the active user session for an event to trigger this intent. + // Event names are limited to 150 characters. repeated string events = 8; // Optional. The collection of examples that the agent is @@ -1246,13 +1187,12 @@ message ListIntentsRequest { // Format: `projects//agent`. string parent = 1; - // Optional. The language to list training phrases, parameters and rich - // messages for. If not specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 2; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The resource view to apply to the returned intent. IntentView intent_view = 3; @@ -1282,13 +1222,12 @@ message GetIntentRequest { // Format: `projects//agent/intents/`. string name = 1; - // Optional. The language to retrieve training phrases, parameters and rich - // messages for. If not specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 2; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The resource view to apply to the returned intent. IntentView intent_view = 3; @@ -1303,13 +1242,12 @@ message CreateIntentRequest { // Required. The intent to create. Intent intent = 2; - // Optional. The language of training phrases, parameters and rich messages - // defined in `intent`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 3; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The resource view to apply to the returned intent. IntentView intent_view = 4; @@ -1320,13 +1258,12 @@ message UpdateIntentRequest { // Required. The intent to update. Intent intent = 1; - // Optional. The language of training phrases, parameters and rich messages - // defined in `intent`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 2; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. google.protobuf.FieldMask update_mask = 3; @@ -1366,13 +1303,12 @@ message BatchUpdateIntentsRequest { IntentBatch intent_batch_inline = 3; } - // Optional. The language of training phrases, parameters and rich messages - // defined in `intents`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - string language_code = 4; + // Optional. The language used to access language-specific data. + // If not specified, the agent's default language is used. + // For more information, see + // [Multilingual intent and entity + // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). + string language_code = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. google.protobuf.FieldMask update_mask = 5; diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session.proto index 8531b45a2..ae25c967d 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session.proto +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session.proto @@ -84,8 +84,6 @@ service Sessions { } } -// ============================================================================ -// Requests and responses for custom methods. // The request to detect user's intent. message DetectIntentRequest { // Required. The name of the session this query is sent to. Format: @@ -192,8 +190,11 @@ message QueryParameters { // for the session of this query. repeated SessionEntityType session_entity_types = 5; - // This field can be used to pass custom data into the webhook - // associated with the agent. Arbitrary JSON objects are supported. + // This field can be used to pass custom data to your webhook. + // Arbitrary JSON objects are supported. + // If supplied, the value is used to populate the + // `WebhookRequest.original_detect_intent_request.payload` + // field sent to your webhook. google.protobuf.Struct payload = 6; // KnowledgeBases to get alternative results from. If not set, the @@ -280,6 +281,20 @@ message QueryResult { string action = 3; // The collection of extracted parameters. + // + // Depending on your protocol or client library language, this is a + // map, associative array, symbol table, dictionary, or JSON object + // composed of a collection of (MapKey, MapValue) pairs: + // + // - MapKey type: string + // - MapKey value: parameter name + // - MapValue type: + // - If parameter's entity type is a composite entity: map + // - Else: string or number, depending on parameter value type + // - MapValue value: + // - If parameter's entity type is a composite entity: + // map from composite entity property names to property values + // - Else: parameter value google.protobuf.Struct parameters = 4; // This field is set to: @@ -658,6 +673,20 @@ message EventInput { string name = 1; // The collection of parameters associated with the event. + // + // Depending on your protocol or client library language, this is a + // map, associative array, symbol table, dictionary, or JSON object + // composed of a collection of (MapKey, MapValue) pairs: + // + // - MapKey type: string + // - MapKey value: parameter name + // - MapValue type: + // - If parameter's entity type is a composite entity: map + // - Else: string or number, depending on parameter value type + // - MapValue value: + // - If parameter's entity type is a composite entity: + // map from composite entity property names to property values + // - Else: parameter value google.protobuf.Struct parameters = 2; // Required. The language of this query. See [Language diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session_entity_type.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session_entity_type.proto index affcd8a37..90b8849a6 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session_entity_type.proto +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session_entity_type.proto @@ -271,12 +271,7 @@ message CreateSessionEntityTypeRequest { // The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType]. message UpdateSessionEntityTypeRequest { - // Required. The entity type to update. Format: - // `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. + // Required. The session entity type to update. SessionEntityType session_entity_type = 1; // Optional. The mask to control which fields get updated. diff --git a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/webhook.proto b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/webhook.proto index 84c735469..9e5d2a4c4 100644 --- a/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/webhook.proto +++ b/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/webhook.proto @@ -71,48 +71,42 @@ message WebhookRequest { // [Protocol Buffers Language // Guide](https://developers.google.com/protocol-buffers/docs/proto3#json). message WebhookResponse { - // Optional. The text to be shown on the screen. This value is passed directly - // to `QueryResult.fulfillment_text`. + // Optional. The text response message intended for the end-user. + // It is recommended to use `fulfillment_messages.text.text[0]` instead. + // When provided, Dialogflow uses this field to populate + // [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller. string fulfillment_text = 1; - // Optional. The collection of rich messages to present to the user. This - // value is passed directly to `QueryResult.fulfillment_messages`. + // Optional. The rich response messages intended for the end-user. + // When provided, Dialogflow uses this field to populate + // [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller. repeated Intent.Message fulfillment_messages = 2; - // Optional. This value is passed directly to `QueryResult.webhook_source`. + // Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. + // When provided, Dialogflow uses this field to populate + // [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. string source = 3; - // Optional. This value is passed directly to `QueryResult.webhook_payload`. - // See the related `fulfillment_messages[i].payload field`, which may be used - // as an alternative to this field. - // - // This field can be used for Actions on Google responses. - // It should have a structure similar to the JSON message shown here. For more - // information, see - // [Actions on Google Webhook - // Format](https://developers.google.com/actions/dialogflow/webhook) - //
{
-  //   "google": {
-  //     "expectUserResponse": true,
-  //     "richResponse": {
-  //       "items": [
-  //         {
-  //           "simpleResponse": {
-  //             "textToSpeech": "this is a simple response"
-  //           }
-  //         }
-  //       ]
-  //     }
-  //   }
-  // }
+ // Optional. This field can be used to pass custom data from your webhook to the + // integration or API caller. Arbitrary JSON objects are supported. + // When provided, Dialogflow uses this field to populate + // [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller. + // This field is also used by the + // [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog) + // for rich response messages. + // See the format definition at [Google Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) google.protobuf.Struct payload = 4; - // Optional. The collection of output contexts. This value is passed directly - // to `QueryResult.output_contexts`. + // Optional. The collection of output contexts that will overwrite currently + // active contexts for the session and reset their lifespans. + // When provided, Dialogflow uses this field to populate + // [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. repeated Context output_contexts = 5; - // Optional. Makes the platform immediately invoke another `DetectIntent` call - // internally with the specified event as input. + // Optional. Invokes the supplied events. // When this field is set, Dialogflow ignores the `fulfillment_text`, // `fulfillment_messages`, and `payload` fields. EventInput followup_event_input = 6; @@ -124,9 +118,9 @@ message WebhookResponse { // Optional. Additional session entity types to replace or extend developer // entity types with. The entity synonyms apply to all languages and persist - // for the session of this query. Setting the session entity types inside - // webhook overwrites the session entity types that have been set through - // `DetectIntentRequest.query_params.session_entity_types`. + // for the session. Setting this data from a webhook overwrites + // the session entity types that have been set using `detectIntent`, + // `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. repeated SessionEntityType session_entity_types = 10; } @@ -145,7 +139,8 @@ message OriginalDetectIntentRequest { // field passed in the request. Some integrations that query a Dialogflow // agent may provide additional information in the payload. // - // In particular for the Telephony Gateway this field has the form: + // In particular, for the Dialogflow Phone Gateway integration, this field has + // the form: //
{
   //  "telephony": {
   //    "caller_id": "+18558363987"
diff --git a/synth.metadata b/synth.metadata
index 4a195a3a5..b1e4fd9e9 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,23 +4,23 @@
       "git": {
         "name": ".",
         "remote": "https://github.com/googleapis/java-dialogflow.git",
-        "sha": "fe90a7ee41cb6f62856ff5b85187405a32b4638d"
+        "sha": "26a4fc41fd364fa0031317367ca34577ba24ee8d"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "3d52f3c126fbfc31f067a7f54737b7f0dfbce163",
-        "internalRef": "304635286"
+        "sha": "28e76243c23cc282efbb288cb558c174e3e5e9ee",
+        "internalRef": "308294748"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "3d52f3c126fbfc31f067a7f54737b7f0dfbce163",
-        "internalRef": "304635286"
+        "sha": "28e76243c23cc282efbb288cb558c174e3e5e9ee",
+        "internalRef": "308294748"
       }
     },
     {

From a4b47585a60bfe5d5cadc670955ce56c26dafaa0 Mon Sep 17 00:00:00 2001
From: Jeff Ching 
Date: Mon, 27 Apr 2020 10:18:52 -0700
Subject: [PATCH 42/43] deps: import google-cloud-shared-dependencies and use
 flatten-maven-plugin (#168)

* deps: import google-cloud-shared-dependencies and use flatten-maven-plugin

* chore: remove unused properties
---
 .gitignore                                    |  4 +-
 google-cloud-dialogflow/pom.xml               |  9 ++
 grpc-google-cloud-dialogflow-v2/pom.xml       |  9 ++
 grpc-google-cloud-dialogflow-v2beta1/pom.xml  |  9 ++
 pom.xml                                       | 84 +------------------
 proto-google-cloud-dialogflow-v2/pom.xml      |  9 ++
 proto-google-cloud-dialogflow-v2beta1/pom.xml |  9 ++
 7 files changed, 52 insertions(+), 81 deletions(-)

diff --git a/.gitignore b/.gitignore
index 18ac2c6ba..a4308de9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,4 +41,6 @@ api_key
 
 # Python utilities
 *.pyc
-artman-genfiles
\ No newline at end of file
+artman-genfiles
+
+.flattened-pom.xml
\ No newline at end of file
diff --git a/google-cloud-dialogflow/pom.xml b/google-cloud-dialogflow/pom.xml
index b19a785b2..65ab690f1 100644
--- a/google-cloud-dialogflow/pom.xml
+++ b/google-cloud-dialogflow/pom.xml
@@ -111,4 +111,13 @@
       
     
   
+
+  
+    
+      
+        org.codehaus.mojo
+        flatten-maven-plugin
+      
+    
+  
 
\ No newline at end of file
diff --git a/grpc-google-cloud-dialogflow-v2/pom.xml b/grpc-google-cloud-dialogflow-v2/pom.xml
index 18356b576..a870dbc60 100644
--- a/grpc-google-cloud-dialogflow-v2/pom.xml
+++ b/grpc-google-cloud-dialogflow-v2/pom.xml
@@ -57,4 +57,13 @@
       
     
   
+
+  
+    
+      
+        org.codehaus.mojo
+        flatten-maven-plugin
+      
+    
+  
 
\ No newline at end of file
diff --git a/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/grpc-google-cloud-dialogflow-v2beta1/pom.xml
index 8b2d80347..0a39adcfb 100644
--- a/grpc-google-cloud-dialogflow-v2beta1/pom.xml
+++ b/grpc-google-cloud-dialogflow-v2beta1/pom.xml
@@ -57,4 +57,13 @@
       
     
   
+
+  
+    
+      
+        org.codehaus.mojo
+        flatten-maven-plugin
+      
+    
+  
 
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 64cefeabd..d5b91ace1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,17 +63,6 @@
     UTF-8
     github
     google-cloud-dialogflow-parent
-    1.93.4
-    1.9.0
-    1.17.0
-    1.56.0
-    1.29.0
-    3.11.4
-    4.13
-    29.0-android
-    1.4.4
-    1.3.2
-    1.18
   
 
   
@@ -103,78 +92,13 @@
         google-cloud-dialogflow
         1.0.1-SNAPSHOT
       
-
-      
-        io.grpc
-        grpc-bom
-        ${grpc.version}
-        pom
-        import
-      
-      
-        com.google.api
-        gax-bom
-        ${gax.version}
-        pom
-        import
-      
       
-        com.google.guava
-        guava-bom
-        ${guava.version}
+        com.google.cloud
+        google-cloud-shared-dependencies
+        0.2.0
         pom
         import
       
-
-      
-        com.google.protobuf
-        protobuf-java
-        ${protobuf.version}
-      
-      
-        com.google.api
-        api-common
-        ${google.api-common.version}
-      
-      
-        com.google.api.grpc
-        proto-google-common-protos
-        ${google.common-protos.version}
-      
-      
-        com.google.cloud
-        google-cloud-core
-        ${google.core.version}
-      
-      
-        org.threeten
-        threetenbp
-        ${threeten.version}
-      
-      
-        javax.annotation
-        javax.annotation-api
-        ${javax.annotations.version}
-      
-      
-        org.codehaus.mojo
-        animal-sniffer-annotations
-        ${animal-sniffer.version}
-      
-
-      
-        junit
-        junit
-        ${junit.version}
-        test
-      
-      
-        com.google.api
-        gax-grpc
-        ${gax.version}
-        testlib
-        test
-      
     
   
 
@@ -264,7 +188,7 @@
             https://developers.google.com/protocol-buffers/docs/reference/java/
             https://googleapis.dev/java/google-auth-library/latest/
             https://googleapis.dev/java/gax/latest/
-            https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/
+            https://googleapis.github.io/api-common-java/1.9.0/apidocs/
           
         
       
diff --git a/proto-google-cloud-dialogflow-v2/pom.xml b/proto-google-cloud-dialogflow-v2/pom.xml
index 3ebf26492..f94ab5e2d 100644
--- a/proto-google-cloud-dialogflow-v2/pom.xml
+++ b/proto-google-cloud-dialogflow-v2/pom.xml
@@ -30,4 +30,13 @@
       guava
     
   
+
+  
+    
+      
+        org.codehaus.mojo
+        flatten-maven-plugin
+      
+    
+  
 
\ No newline at end of file
diff --git a/proto-google-cloud-dialogflow-v2beta1/pom.xml b/proto-google-cloud-dialogflow-v2beta1/pom.xml
index 04fb6d95d..5344879f8 100644
--- a/proto-google-cloud-dialogflow-v2beta1/pom.xml
+++ b/proto-google-cloud-dialogflow-v2beta1/pom.xml
@@ -30,4 +30,13 @@
       guava
     
   
+
+  
+    
+      
+        org.codehaus.mojo
+        flatten-maven-plugin
+      
+    
+  
 
\ No newline at end of file

From 17fd213b88123f7467ed794d640d651b11f3e10d Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
 <55107282+release-please[bot]@users.noreply.github.com>
Date: Mon, 27 Apr 2020 18:08:16 +0000
Subject: [PATCH 43/43] chore: release 2.0.0 (#169)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

:robot: I have created a release \*beep\* \*boop\*
---
## [2.0.0](https://www.github.com/googleapis/java-dialogflow/compare/v1.0.0...v2.0.0) (2020-04-27)


### ⚠ BREAKING CHANGES

* **v2:** Resource name usage has changed:
  * `ProjectAgentName` is removed. Please use `AgentName` instead.
  * `AgentName` previously existed, but was unused. It now matches the behavior of the old `ProjectAgentName` class
  * `ContextsClient.update` now requires a `FieldMask` argument.

### Features

* **v2:** add ListEnvironments ([#167](https://www.github.com/googleapis/java-dialogflow/issues/167)) ([ed5bbf5](https://www.github.com/googleapis/java-dialogflow/commit/ed5bbf503cc6d00dbeebee057d87e5ae560bcd67))


### Dependencies

* import google-cloud-shared-dependencies and use flatten-maven-plugin ([#168](https://www.github.com/googleapis/java-dialogflow/issues/168)) ([a4b4758](https://www.github.com/googleapis/java-dialogflow/commit/a4b47585a60bfe5d5cadc670955ce56c26dafaa0))
* update core dependencies ([#108](https://www.github.com/googleapis/java-dialogflow/issues/108)) ([58fe433](https://www.github.com/googleapis/java-dialogflow/commit/58fe433eefa2cae7ad06353dda5702968e161f84))
* update dependency com.google.api:api-common to v1.9.0 ([#129](https://www.github.com/googleapis/java-dialogflow/issues/129)) ([adf469b](https://www.github.com/googleapis/java-dialogflow/commit/adf469b69fcfb837b30cb1f7bbfc559abb07f23d))
* update dependency com.google.cloud:google-cloud-core to v1.93.1 ([#106](https://www.github.com/googleapis/java-dialogflow/issues/106)) ([6c1ffac](https://www.github.com/googleapis/java-dialogflow/commit/6c1ffac64ac9cd9d7cbb96389f38f78a66081c45))
* update dependency com.google.cloud:google-cloud-core to v1.93.4 ([#138](https://www.github.com/googleapis/java-dialogflow/issues/138)) ([cb6ed7a](https://www.github.com/googleapis/java-dialogflow/commit/cb6ed7aec331a9033804bfe2471240c370771306))
* update dependency com.google.guava:guava-bom to v29 ([#145](https://www.github.com/googleapis/java-dialogflow/issues/145)) ([143b299](https://www.github.com/googleapis/java-dialogflow/commit/143b2993924b527e1a11835aa630be2b3265bc58))
* update dependency io.grpc:grpc-bom to v1.29.0 ([#161](https://www.github.com/googleapis/java-dialogflow/issues/161)) ([6650bfc](https://www.github.com/googleapis/java-dialogflow/commit/6650bfcd74c189881752053db1c25975676fa40d))
* update dependency org.threeten:threetenbp to v1.4.3 ([#119](https://www.github.com/googleapis/java-dialogflow/issues/119)) ([7a6ddd2](https://www.github.com/googleapis/java-dialogflow/commit/7a6ddd2e6bb36198f0c870abb068fad2f91e1410))
* update dependency org.threeten:threetenbp to v1.4.4 ([#166](https://www.github.com/googleapis/java-dialogflow/issues/166)) ([58e9e2f](https://www.github.com/googleapis/java-dialogflow/commit/58e9e2f79a9b5dfb0811271480cbb8a94759463f))


### Documentation

* **v2:** update generated javadocs from proto annotations ([cc93b16](https://www.github.com/googleapis/java-dialogflow/commit/cc93b16e596e1f13164a3fde1050c6f9369d5f1f))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
---
 CHANGELOG.md                                  | 29 +++++++++++++++++++
 README.md                                     |  4 +--
 google-cloud-dialogflow-bom/pom.xml           | 12 ++++----
 google-cloud-dialogflow/pom.xml               |  4 +--
 grpc-google-cloud-dialogflow-v2/pom.xml       |  4 +--
 grpc-google-cloud-dialogflow-v2beta1/pom.xml  |  4 +--
 pom.xml                                       | 12 ++++----
 proto-google-cloud-dialogflow-v2/pom.xml      |  4 +--
 proto-google-cloud-dialogflow-v2beta1/pom.xml |  4 +--
 versions.txt                                  | 10 +++----
 10 files changed, 58 insertions(+), 29 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 69f170303..45006566b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,34 @@
 # Changelog
 
+## [2.0.0](https://www.github.com/googleapis/java-dialogflow/compare/v1.0.0...v2.0.0) (2020-04-27)
+
+
+### ⚠ BREAKING CHANGES
+
+* **v2:** Resource name usage has changed:
+
+### Features
+
+* **v2:** add ListEnvironments ([#167](https://www.github.com/googleapis/java-dialogflow/issues/167)) ([ed5bbf5](https://www.github.com/googleapis/java-dialogflow/commit/ed5bbf503cc6d00dbeebee057d87e5ae560bcd67))
+
+
+### Dependencies
+
+* import google-cloud-shared-dependencies and use flatten-maven-plugin ([#168](https://www.github.com/googleapis/java-dialogflow/issues/168)) ([a4b4758](https://www.github.com/googleapis/java-dialogflow/commit/a4b47585a60bfe5d5cadc670955ce56c26dafaa0))
+* update core dependencies ([#108](https://www.github.com/googleapis/java-dialogflow/issues/108)) ([58fe433](https://www.github.com/googleapis/java-dialogflow/commit/58fe433eefa2cae7ad06353dda5702968e161f84))
+* update dependency com.google.api:api-common to v1.9.0 ([#129](https://www.github.com/googleapis/java-dialogflow/issues/129)) ([adf469b](https://www.github.com/googleapis/java-dialogflow/commit/adf469b69fcfb837b30cb1f7bbfc559abb07f23d))
+* update dependency com.google.cloud:google-cloud-core to v1.93.1 ([#106](https://www.github.com/googleapis/java-dialogflow/issues/106)) ([6c1ffac](https://www.github.com/googleapis/java-dialogflow/commit/6c1ffac64ac9cd9d7cbb96389f38f78a66081c45))
+* update dependency com.google.cloud:google-cloud-core to v1.93.4 ([#138](https://www.github.com/googleapis/java-dialogflow/issues/138)) ([cb6ed7a](https://www.github.com/googleapis/java-dialogflow/commit/cb6ed7aec331a9033804bfe2471240c370771306))
+* update dependency com.google.guava:guava-bom to v29 ([#145](https://www.github.com/googleapis/java-dialogflow/issues/145)) ([143b299](https://www.github.com/googleapis/java-dialogflow/commit/143b2993924b527e1a11835aa630be2b3265bc58))
+* update dependency io.grpc:grpc-bom to v1.29.0 ([#161](https://www.github.com/googleapis/java-dialogflow/issues/161)) ([6650bfc](https://www.github.com/googleapis/java-dialogflow/commit/6650bfcd74c189881752053db1c25975676fa40d))
+* update dependency org.threeten:threetenbp to v1.4.3 ([#119](https://www.github.com/googleapis/java-dialogflow/issues/119)) ([7a6ddd2](https://www.github.com/googleapis/java-dialogflow/commit/7a6ddd2e6bb36198f0c870abb068fad2f91e1410))
+* update dependency org.threeten:threetenbp to v1.4.4 ([#166](https://www.github.com/googleapis/java-dialogflow/issues/166)) ([58e9e2f](https://www.github.com/googleapis/java-dialogflow/commit/58e9e2f79a9b5dfb0811271480cbb8a94759463f))
+
+
+### Documentation
+
+* **v2:** update generated javadocs from proto annotations ([cc93b16](https://www.github.com/googleapis/java-dialogflow/commit/cc93b16e596e1f13164a3fde1050c6f9369d5f1f))
+
 ## [1.0.0](https://www.github.com/googleapis/java-dialogflow/compare/v0.120.2...v1.0.0) (2020-03-02)
 
 
diff --git a/README.md b/README.md
index d0846265b..141c63009 100644
--- a/README.md
+++ b/README.md
@@ -47,11 +47,11 @@ If you are using Maven without BOM, add this to your dependencies:
 
 If you are using Gradle, add this to your dependencies
 ```Groovy
-compile 'com.google.cloud:google-cloud-dialogflow:1.0.0'
+compile 'com.google.cloud:google-cloud-dialogflow:2.0.0'
 ```
 If you are using SBT, add this to your dependencies
 ```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "1.0.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "2.0.0"
 ```
 [//]: # ({x-version-update-end})
 
diff --git a/google-cloud-dialogflow-bom/pom.xml b/google-cloud-dialogflow-bom/pom.xml
index 711364123..6df374f80 100644
--- a/google-cloud-dialogflow-bom/pom.xml
+++ b/google-cloud-dialogflow-bom/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-dialogflow-bom
-  1.0.1-SNAPSHOT
+  2.0.0
   pom
   
     com.google.cloud
@@ -64,27 +64,27 @@
       
         com.google.api.grpc
         proto-google-cloud-dialogflow-v2
-        1.0.1-SNAPSHOT
+        2.0.0
       
       
         com.google.api.grpc
         grpc-google-cloud-dialogflow-v2beta1
-        0.86.1-SNAPSHOT
+        0.87.0
       
       
         com.google.api.grpc
         grpc-google-cloud-dialogflow-v2
-        1.0.1-SNAPSHOT
+        2.0.0
       
       
         com.google.cloud
         google-cloud-dialogflow
-        1.0.1-SNAPSHOT
+        2.0.0
       
       
         com.google.api.grpc
         proto-google-cloud-dialogflow-v2beta1
-        0.86.1-SNAPSHOT
+        0.87.0
       
     
   
diff --git a/google-cloud-dialogflow/pom.xml b/google-cloud-dialogflow/pom.xml
index 65ab690f1..4ab15cd61 100644
--- a/google-cloud-dialogflow/pom.xml
+++ b/google-cloud-dialogflow/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-dialogflow
-  1.0.1-SNAPSHOT
+  2.0.0
   jar
   Google Cloud Dialog Flow API
   https://github.com/googleapis/java-dialogflow
@@ -11,7 +11,7 @@
   
     com.google.cloud
     google-cloud-dialogflow-parent
-    1.0.1-SNAPSHOT
+    2.0.0
   
   
     google-cloud-dialogflow
diff --git a/grpc-google-cloud-dialogflow-v2/pom.xml b/grpc-google-cloud-dialogflow-v2/pom.xml
index a870dbc60..3a099ab55 100644
--- a/grpc-google-cloud-dialogflow-v2/pom.xml
+++ b/grpc-google-cloud-dialogflow-v2/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-dialogflow-v2
-  1.0.1-SNAPSHOT
+  2.0.0
   grpc-google-cloud-dialogflow-v2
   GRPC library for grpc-google-cloud-dialogflow-v2
   
     com.google.cloud
     google-cloud-dialogflow-parent
-    1.0.1-SNAPSHOT
+    2.0.0
   
   
     
diff --git a/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/grpc-google-cloud-dialogflow-v2beta1/pom.xml
index 0a39adcfb..c2207ace7 100644
--- a/grpc-google-cloud-dialogflow-v2beta1/pom.xml
+++ b/grpc-google-cloud-dialogflow-v2beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-dialogflow-v2beta1
-  0.86.1-SNAPSHOT
+  0.87.0
   grpc-google-cloud-dialogflow-v2beta1
   GRPC library for grpc-google-cloud-dialogflow-v2beta1
   
     com.google.cloud
     google-cloud-dialogflow-parent
-    1.0.1-SNAPSHOT
+    2.0.0
   
   
     
diff --git a/pom.xml b/pom.xml
index d5b91ace1..feeaa6a22 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-dialogflow-parent
   pom
-  1.0.1-SNAPSHOT
+  2.0.0
   Google Cloud Dialog Flow API Parent
   https://github.com/googleapis/java-dialogflow
   
@@ -70,27 +70,27 @@
       
         com.google.api.grpc
         proto-google-cloud-dialogflow-v2
-        1.0.1-SNAPSHOT
+        2.0.0
       
       
         com.google.api.grpc
         proto-google-cloud-dialogflow-v2beta1
-        0.86.1-SNAPSHOT
+        0.87.0
       
       
         com.google.api.grpc
         grpc-google-cloud-dialogflow-v2beta1
-        0.86.1-SNAPSHOT
+        0.87.0
       
       
         com.google.api.grpc
         grpc-google-cloud-dialogflow-v2
-        1.0.1-SNAPSHOT
+        2.0.0
       
       
         com.google.cloud
         google-cloud-dialogflow
-        1.0.1-SNAPSHOT
+        2.0.0
       
       
         com.google.cloud
diff --git a/proto-google-cloud-dialogflow-v2/pom.xml b/proto-google-cloud-dialogflow-v2/pom.xml
index f94ab5e2d..41cdf0467 100644
--- a/proto-google-cloud-dialogflow-v2/pom.xml
+++ b/proto-google-cloud-dialogflow-v2/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-dialogflow-v2
-  1.0.1-SNAPSHOT
+  2.0.0
   proto-google-cloud-dialogflow-v2
   PROTO library for proto-google-cloud-dialogflow-v2
   
     com.google.cloud
     google-cloud-dialogflow-parent
-    1.0.1-SNAPSHOT
+    2.0.0
   
   
     
diff --git a/proto-google-cloud-dialogflow-v2beta1/pom.xml b/proto-google-cloud-dialogflow-v2beta1/pom.xml
index 5344879f8..8db83fd73 100644
--- a/proto-google-cloud-dialogflow-v2beta1/pom.xml
+++ b/proto-google-cloud-dialogflow-v2beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-dialogflow-v2beta1
-  0.86.1-SNAPSHOT
+  0.87.0
   proto-google-cloud-dialogflow-v2beta1
   PROTO library for proto-google-cloud-dialogflow-v2beta1
   
     com.google.cloud
     google-cloud-dialogflow-parent
-    1.0.1-SNAPSHOT
+    2.0.0
   
   
     
diff --git a/versions.txt b/versions.txt
index 737d44197..b1b995ee6 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,8 +1,8 @@
 # Format:
 # module:released-version:current-version
 
-proto-google-cloud-dialogflow-v2:1.0.0:1.0.1-SNAPSHOT
-proto-google-cloud-dialogflow-v2beta1:0.86.0:0.86.1-SNAPSHOT
-grpc-google-cloud-dialogflow-v2beta1:0.86.0:0.86.1-SNAPSHOT
-grpc-google-cloud-dialogflow-v2:1.0.0:1.0.1-SNAPSHOT
-google-cloud-dialogflow:1.0.0:1.0.1-SNAPSHOT
+proto-google-cloud-dialogflow-v2:2.0.0:2.0.0
+proto-google-cloud-dialogflow-v2beta1:0.87.0:0.87.0
+grpc-google-cloud-dialogflow-v2beta1:0.87.0:0.87.0
+grpc-google-cloud-dialogflow-v2:2.0.0:2.0.0
+google-cloud-dialogflow:2.0.0:2.0.0